2.4.20 - ntfilter (owner) problems
This is my first time posting, I am not sure if I'm in the right place, so correct me if I'm wrong.
I recently compiled 2.4.20 with netfilter support, with the owner module (-m owner), and after several attempts of trying to use it (worked for 2.4.18), it gives an error.
[root@scsi1 slinksi]# iptables -I OUTPUT -m owner --uid-owner root
iptables: Target problem
setsockopt(3, SOL_IP, 0x40 /* IP_??? */, [1953261926], 912) = -1 EINVAL (Invalid argument)
(strace)
This is enabled in the netfilter section, compiled in, not as a module, I also have grsecurity support (1.9.8)
.
Any help is appreciated, I am going to try 2.4.19.
Quoted 6 lines
I recently compiled 2.4.20 with netfilter support, with the owner module (-m owner), and after several attempts of trying to use it (worked for 2.4.18), it gives an error.
[root@scsi1 slinksi]# iptables -I OUTPUT -m owner --uid-owner root
iptables: Target problem
Where is your target?! Is see no one!
You don't need a -j target to use the owner module, I use it for bandwidth byte/counter logging, but heres some output for you to read.
[root@scsi1 root]# uname -r
2.4.20-grsec
[root@scsi1 root]# iptables -I OUTPUT -m owner --uid-owner root -j ACCEPT
iptables: Target problem
laptop:~# uname -r 2.4.19 laptop:~# iptables -I OUTPUT -m owner --uid-owner root laptop:~# iptables -I OUTPUT -m owner --uid-owner root -j ACCEPT laptop:~#
----- Original Message -----
From: "Thorsten Scherf" <[email protected]>
To: "blkcore" <[email protected]>; <[email protected]>
Sent: Tuesday, January 07, 2003 3:19 PM
Subject: Re: 2.4.20 - ntfilter (owner) problems
Quoted 6 lines
I recently compiled 2.4.20 with netfilter support, with the owner module (-m owner), and after several attempts of trying to use it (worked for 2.4.18), it gives an error.
[root@scsi1 slinksi]# iptables -I OUTPUT -m owner --uid-owner root
iptables: Target problem
Where is your target?! Is see no one!