Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
iptables -m nth doesn't work!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
qmx
n00b
n00b


Joined: 31 Mar 2005
Posts: 46

PostPosted: Tue Apr 26, 2005 12:32 pm    Post subject: iptables -m nth doesn't work! Reply with quote

# iptables -t mangle -A PREROUTING -i lo -m nth --every 2 -j MARK --set-mark 1
iptables: No chain/target/match by that name


any ideas?

ps: patch-o-matic already applyed on kernel + iptables HAS libipt_nth.so
Back to top
View user's profile Send private message
the_sphynx
Apprentice
Apprentice


Joined: 19 May 2004
Posts: 156
Location: Thornton, CO

PostPosted: Tue Apr 26, 2005 3:22 pm    Post subject: Reply with quote

Is it compiled as a module or into the kernel? Show us your lsmod and kernel version.
_________________
Folding@Home User 285941
Back to top
View user's profile Send private message
qmx
n00b
n00b


Joined: 31 Mar 2005
Posts: 46

PostPosted: Wed Apr 27, 2005 12:55 am    Post subject: Reply with quote

is compiled inside kernel. iptables has .so file too, but when i try to apply a rule it says: invalid chain/match/target
Back to top
View user's profile Send private message
the_sphynx
Apprentice
Apprentice


Joined: 19 May 2004
Posts: 156
Location: Thornton, CO

PostPosted: Thu Apr 28, 2005 5:00 pm    Post subject: Reply with quote

I noticed that with my setup I had to use the -p tcp or -p udp option before I state my -m arguments.
_________________
Folding@Home User 285941
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum