On Thu, 28 Jul 2005 16:23:43 -0700 Dirk Morris <dmorris@metaloft.com> wrote:> I think the new mac ageing (sometime since 2.6.8.1) may be too > aggressive. Now it updates the table at a much later time, with a > comment in the code that leads me to believe > this is to prevent counting spoofed packets and a DOS. > > My problem is that the update occurs after the netfilter hooks which > may do weird things to change the course of the packet so that it > does not get counted. > (in my case, redirecting, queueing to userspace, nonlocally bound > sockets, etc). > For me this causes packets to go spewing out on the wrong interface > when the timer expires. > > I used the attached patch to revert back to the old method. > > -DirkIf you are whacking the source address, that seems wrong. The fix for that would be to copy the original source address somewhere, then extract it back afterwards.
I think the new mac ageing (sometime since 2.6.8.1) may be too aggressive. Now it updates the table at a much later time, with a comment in the code that leads me to believe this is to prevent counting spoofed packets and a DOS. My problem is that the update occurs after the netfilter hooks which may do weird things to change the course of the packet so that it does not get counted. (in my case, redirecting, queueing to userspace, nonlocally bound sockets, etc). For me this causes packets to go spewing out on the wrong interface when the timer expires. I used the attached patch to revert back to the old method. -Dirk -------------- next part -------------- A non-text attachment was scrubbed... Name: bridge-mac-ageing-fix.patch Type: text/x-patch Size: 545 bytes Desc: not available Url : http://lists.linux-foundation.org/pipermail/bridge/attachments/20050728/3874a76d/bridge-mac-ageing-fix-0002.bin
Apparently Analagous Threads
- [LLVMdev] Memory Dependence Analysis: getNonLocalDependency()
- [LLVMdev] Memory Dependence Analysis: getNonLocalDependency()
- MemDep: Invalidating NonLocal result cache entries?
- Zaptel modules are being installed in different directory
- [LLVMdev] nonlocal go to -- how?