icmp
It's possible to shape icmp protocol using htb.init script ?
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Anybody know how to shape icmp traffic using htb.init script ?
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 4 lines · Key
It's possible to shape icmp protocol using htb.init script ?
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Yes, it's possible.
# match icmp echo request tc filter add dev $dev protocol ip parent x: u32 \ match ip icmp_type 0x08 0xff flowid 1:2
# match icmp echo reply tc filter add dev $dev protocol ip parent x: u32 \ match ip icmp_type 0x00 0xff flowid 1:2
See /usr/include/linux/icmp.h for more types.
---
Catalin(ux aka Dino) BOIE
catab at deuroconsult.ro
http://kernel.umbrella.ro/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/