All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] flow statistic match
@ 2002-09-18  6:44 ` Jay Schulist
  0 siblings, 0 replies; 9+ messages in thread
From: Jay Schulist @ 2002-09-18  6:44 UTC (permalink / raw)
  To: Harald Welte; +Cc: netfilter-devel, netfilter, Jay Schulist

[-- Attachment #1: Type: TEXT/PLAIN, Size: 804 bytes --]

Hello Harald,
Here is a new match which adds per tuple packet and byte statistics along
with allowing the user to match on the number of bytes and packets for a
flow.

Iptables userspace patch is against a clean iptables-1.2.7a
Kernel patch is against a clean linux-2.4.19

# cat /proc/net/ip_conntrack
tcp      6 432000 ESTABLISHED src=192.168.1.3 dst=192.168.1.100 sport=22
dport=3368 pkts=39 bytes=4024 src=192.168.1.100 dst=192.168.1.3 sport=3368
dport=22 pkts=47 bytes=3512 use=1

flow v1.2.7a options:
   --lt-packet  num             Match on less than 'num' packet.
   --lt-byte    num             Match on less than 'num' byte.
   --gt-packet num              Match on greater than or equal 'num' packet.
   --gt-byte   num              Match on greater than or equal 'num' byte.

Thanks,
jay-s.

[-- Attachment #2: Type: APPLICATION/octet-stream, Size: 2189 bytes --]

[-- Attachment #3: Type: APPLICATION/octet-stream, Size: 1809 bytes --]

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

end of thread, other threads:[~2002-10-01  8:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-18  6:44 [PATCH] flow statistic match Jay Schulist
2002-09-18  6:44 ` Jay Schulist
2002-09-18 21:41 ` Antony Stone
2002-09-18 10:46   ` Jay Schulist
2002-09-18 21:59 ` Patrick Schaaf
2002-09-18 22:15   ` Jay Schulist
2002-09-18 22:15     ` Jay Schulist
2002-10-01  8:53   ` Roberto Nibali
2002-09-19  9:34 ` Peter Surda

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.