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

* Re: random match on linux-2.6
  2005-04-16 20:55 random match on linux-2.6 Javier Valencia
@ 2005-04-17 19:54 ` Jonas Berlin
  0 siblings, 0 replies; 2+ messages in thread
From: Jonas Berlin @ 2005-04-17 19:54 UTC (permalink / raw)
  To: Javier Valencia; +Cc: netfilter-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoting Javier Valencia on 2005-04-16 20:55 UTC:
> 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.

There are some minor changes that usually needs to be done when
migrating to 2.6.. it's mostly coding standard differencies, usually
they work as is also..

Someone already ported the random match in November last year. There are
some other patches as well that have not gotten merged, I'm in the
process of collecting them in order to remind the developers about their
existence..

- --
- - xkr47
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCYr7rxyF48ZTvn+4RAsZHAKDhWvcyfHFhvJxYXcGww0eVGlAXQQCfbcW9
n67tZVesixFmL0TsRM1Nh04=
=kKhs
-----END PGP SIGNATURE-----

^ 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.