owner-Match in 2.6.20-rc5 (fwd)
Jan Engelhardt
jengelh at linux01.gwdg.de
Thu Jan 25 23:14:49 CET 2007
>> >> The report below was posted on the netfilter user list. Isn't there any
>> >> ill side effect by reverting the change?
>> >
>> >Performance regression :-(
>> >
>> >This optimization saves a whole handful of heavy atomic operations in
>> >the packet transmit path of TCP.
>> >
>> >As I understand it, the owner-Match is not in the upstream tree, and
>> >it's the only thing that cares, so I see no reason to cater for it.
>>
>> For me, it's there.
>> -rw-r--r-- 1 jengelh users 2247 Jan 25 21:37
>> /erk/kernel/linux-2.6.20-rc6/net/ipv4/netfilter/ipt_owner.c
>
>Ok, I'll see what I can do about this :-)
>
People really depend on this. Much more than than pid/comm/smpunsafe stuff.
For example, a web server [cgi enabled, etc.] which also runs squid,
to force all webtraffic through it:
-A OUTPUT -p tcp --dport 80 -m owner ! --uid-owner
squid -j REDIRECT --to-ports 3128
-`J'
--
More information about the netfilter-devel
mailing list