All of lore.kernel.org
 help / color / mirror / Atom feed
* random match on linux-2.6
@ 2005-04-16 20:55 Javier Valencia
  2005-04-17 19:54 ` Jonas Berlin
  0 siblings, 1 reply; 2+ messages in thread
From: Javier Valencia @ 2005-04-16 20:55 UTC (permalink / raw)
  To: netfilter-devel

I've seen that it's not available on 2.6, but it's just the same in both 
kernels, copied contents of ...random/linux to ...random/linux-2.6, and 
worked fine. I don't know if you already know that.

enigma ~ # uname -a
Linux enigma 2.6.11-gentoo-r4 #2 Tue Mar 29 23:30:54 WEST 2005 i686 
Intel(R) Pentium(R) 4 CPU 2.80GHz GenuineIntel GNU/Linux

enigma ~ # iptables -A INPUT -p icmp -m random --average 30 -j DROP
enigma ~ # iptables --list -v -n
Chain INPUT (policy ACCEPT 190K packets, 77M bytes)
 pkts bytes target     prot opt in     out     source               
destination        
    0     0 DROP       icmp --  *      *       0.0.0.0/0            
0.0.0.0/0            random 30%

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-04-17 19:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-16 20:55 random match on linux-2.6 Javier Valencia
2005-04-17 19:54 ` Jonas Berlin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.