-m owner & -j MARK problem
what's wrong with the following command?
[root:pts/5][~]# iptables -t mangle -A PREROUTING -i eth0 -m owner --gid-owner 101 -j MARK --set-mark 101
iptables: Invalid argument
[root:pts/5][~]# uname -r
2.6.1
[root:pts/5][~]# iptables -V
iptables v1.2.9
Quoted 5 lines · Radu Anghel
what's wrong with the following command?
[root:pts/5][~]# iptables -t mangle -A PREROUTING -i eth0 -m owner --gid-owner 101 -j MARK --set-mark 101
iptables: Invalid argument
According to
http://www.netfilter.org/documentation/HOWTO/packet-filtering-HOWTO-7.html#ss7.3
the owner match is only valid in the OUTPUT chain?
Antony.
Signature · 8 lines
Never write it in Perl if you can do it in Awk.
Never do it in Awk if sed can handle it.
Never use sed when tr can do the job.
Never invoke tr when cat is sufficient.
Avoid using cat whenever possible.
Please reply to the list;
please don't CC me.