All of lore.kernel.org
 help / color / mirror / Atom feed
* nth, random and fuzzy match
@ 2006-04-06 17:53 Patrick McHardy
  2006-04-12  8:47 ` Harald Welte
  0 siblings, 1 reply; 3+ messages in thread
From: Patrick McHardy @ 2006-04-06 17:53 UTC (permalink / raw)
  To: Netfilter Development Mailinglist

Also following the decisions from the netfilter workshop,
I've started merging nth and random into a new "statistic"
match. I won't merge fuzzy since it seems to obscure and
complex and I don't see what it offers beyond nth + random.

The current nth match optionally uses shared state for the
counters (which as we know isn't pretty with the current
iptables userspace interface) and has a compile-time limit
on the number of shared counters. I don't see the need for
this shared state, I think everything expressable today
should also be expressable using just per-match state.

So my questions to the nth users: is anyone using the nth
match in a way that can't be done by just matching on every
nth packet with an optional starting point?

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

* Re: nth, random and fuzzy match
  2006-04-06 17:53 nth, random and fuzzy match Patrick McHardy
@ 2006-04-12  8:47 ` Harald Welte
  2006-04-12 18:57   ` Patrick McHardy
  0 siblings, 1 reply; 3+ messages in thread
From: Harald Welte @ 2006-04-12  8:47 UTC (permalink / raw)
  To: Patrick McHardy; +Cc: Netfilter Development Mailinglist

[-- Attachment #1: Type: text/plain, Size: 707 bytes --]

On Thu, Apr 06, 2006 at 07:53:30PM +0200, Patrick McHardy wrote:
> So my questions to the nth users: is anyone using the nth
> match in a way that can't be done by just matching on every
> nth packet with an optional starting point?

I suggest posting this to the users mailinglist, since the question is
addressed to users :)

-- 
- Harald Welte <laforge@netfilter.org>                 http://netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: nth, random and fuzzy match
  2006-04-12  8:47 ` Harald Welte
@ 2006-04-12 18:57   ` Patrick McHardy
  0 siblings, 0 replies; 3+ messages in thread
From: Patrick McHardy @ 2006-04-12 18:57 UTC (permalink / raw)
  To: Harald Welte; +Cc: Netfilter Development Mailinglist

Harald Welte wrote:
> On Thu, Apr 06, 2006 at 07:53:30PM +0200, Patrick McHardy wrote:
> 
>>So my questions to the nth users: is anyone using the nth
>>match in a way that can't be done by just matching on every
>>nth packet with an optional starting point?
> 
> 
> I suggest posting this to the users mailinglist, since the question is
> addressed to users :)

I already decided for myself, the functionality is not affected
by removing the shared counters, it just needs to be used
slightly different in some cases.

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

end of thread, other threads:[~2006-04-12 18:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-06 17:53 nth, random and fuzzy match Patrick McHardy
2006-04-12  8:47 ` Harald Welte
2006-04-12 18:57   ` Patrick McHardy

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.