iptables: uid-match is not working.

Yura Pismerov y.pismerov at armorware.net
Tue Nov 14 16:53:57 UTC 2006


Hi everybody.

I am sorry in advance if this is wrong list to ask this particular
question...
I am trying to get to work a simple iptables rule that works for me on
another (non-Ubuntu)  machine running Debian.
I run Edgy. The machine was upgraded from Dapper with apt-get dist-upgrade.
The rule in question is:

iptables -A OUTPUT -j ACCEPT -m owner --uid-owner 0 (or any other
non-root UID, does not really matter).

For some reason this rule does not account any packets (the pkts and
bytes columns in iptables -L -nv output display zeros).
I've tried it with default 2.6.17-10-386 kernel and with the older
2.6.15-27 - no difference.
What gives ?

Thanks in advance.






More information about the kernel-team mailing list