Skip to contentSkip to conversation

ctvolume match (replaces previous flow match patch)

PATCH Jay Schulist 1 participant 1 message Sep 19, 2002 1 message not in the archive netfilter

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 6 lines · Harald Welte

a) it is not conforming the system all other patches use
b) if I apply the patch to the iptables subdirectory, and somebody has an old (unpatched) kernel source installed, compilation will fail. This is what we usually solve with the '.*-test' files in the extensions directory.

alright, I hope I did everything okay, attached is a tar-ball with all the patch-o-matic files and a proper patch to iptables tar-ball with the .*-test file.

This version allows u_int64_t counter values and allows the user to specify values in (K)ilobit, (M)egabit, (G)igabit. It will also display values in (K)ilobit, (M)egabit, (G)igabit when an iptables -L is performed but saves the values out in their full u_int64_t value.

ctvolume v1.2.7a options:
--packet-{lt,gt,eq} num match by 'num' packets in one direction.
--byte-{lt,gt,eq} num match by 'num' bytes in one direction

'num' allows 'KMG' suffixes to signify units of (K)ilobit, (M)egabit, (G)igabit.

Let me know if anything is missing, etc.

Thanks,
jay-s.