random match in patch-o-matic
Fabrice MARIE
fabrice@celestix.com
Tue, 16 Oct 2001 23:29:42 +0800
Hello,
On Tuesday 16 October 2001 19:00, Hans Lohmander wrote:
> Hi,
> the nth match can be handy logging specific packets.
which is not random anymore ;-)
> You will see where they came from and approx. how many
> without filling up your log. Maybe to find out if you want
> to know more. Alternatively use tcpdump...
> What random does I don't know (yet).
Random simply match a packet randomly, based on a probability.
nth has some nice properties, but nth match is not random..
Anyway, Maciej wanted this match, now he's got it :)
he probably has a good reason, and he will probably explain
this more in details :)
Have a nice day,
Fabrice.
--
Fabrice MARIE
Senior R&D Engineer
Celestix Networks
http://www.celestix.com/
"Silly hacker, root is for administrators"
-Unknown