Skip to contentSkip to conversation

tc and iptables

DISCUSSION nimit 2 participants 2 messages Dec 11, 2002 – Dec 16, 2002

lore
Share & tools
lore

nimit

author
#0 lore raw

hello,
i am new to netfilter, just learning to use iptables and tc, but i am
not clear which one is more suitable for bytelimiting purpose.

with regards,
nimit

#1 lore raw
Quoted 2 lines · nimit

i am new to netfilter, just learning to use iptables and tc, but i am
not clear which one is more suitable for bytelimiting purpose.

Well... See LARTC at http://lartc.org/...

Netfilter is a packet filter, which is suitable for filtering network flows.
tc is a traffic control utility, which is suitable for controling traffic behaviour, so bytelimiting purposes.

Netfilter's limit match is _not_ suitable for traffic shaping, as said in Filtergin HOWTO.

Signature · 4 lines
Cédric Blancher  <[email protected]>
Consultant en sécurité des systèmes et réseaux  - Cartel Sécurité
Tél: +33 (0)1 44 06 97 87 - Fax: +33 (0)1 44 06 97 99
PGP KeyID:157E98EE  FingerPrint:FA62226DA9E72FA8AECAA240008B480E157E98EE