Skip to contentSkip to conversation

REQ: A "tcfilter" program

LARTC gypsy 2 participants 2 messages Sep 26, 2004 – Sep 27, 2004

lore
Share & tools
lore

gypsy

author
#0 lore raw

Will someone please write a program that can be used to assist with u32 matches?

What I envision is something like ipchains' "--check" option, which tests a packet against the selected chain. tcfilter should check against the loaded filters.

It would be REALLY nice if:
1) counters (showing the number of hits (in packets)) could be included.
2) a debug mode showing what the packet header looks like, with options for hex or decimal - somewhat like an ASM DEBUG dump. This would show the packet being tested and, for each u32 entry, the decision to match or not...
3) the ability to test a packet against a single u32 entry.
4) a "trace" that would, where more than one filter matches, show which one was used.

Another nice feature would be the ability to check for a fwmark.

I can't pay for this, but perhaps I have something other than cash that you want?

gypsy
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw
Quoted 9 lines

It would be REALLY nice if:
1) counters (showing the number of hits (in packets)) could be included.
2) a debug mode showing what the packet header looks like, with options for hex or decimal - somewhat like an ASM DEBUG dump. This would show the packet being tested and, for each u32 entry, the decision to match or not...
3) the ability to test a packet against a single u32 entry.
4) a "trace" that would, where more than one filter matches, show which one was used.

For (1) you can take a look at a few PHP scripts that i wrote to count :
bytes, packets and dropped packets that go through qdiscs and their classes (only GRED is not properly parsed yet)

see 143.233.4.210/qos/
files: tc.phps and graph.phps

Work is of course in progress..
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/