* [LARTC] REQ: A "tcfilter" program
@ 2004-09-26 19:59 gypsy
2004-09-27 12:21 ` Antonios Chalkiopoulos
0 siblings, 1 reply; 2+ messages in thread
From: gypsy @ 2004-09-26 19:59 UTC (permalink / raw)
To: lartc
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 / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] REQ: A "tcfilter" program
2004-09-26 19:59 [LARTC] REQ: A "tcfilter" program gypsy
@ 2004-09-27 12:21 ` Antonios Chalkiopoulos
0 siblings, 0 replies; 2+ messages in thread
From: Antonios Chalkiopoulos @ 2004-09-27 12:21 UTC (permalink / raw)
To: lartc
>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 / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-09-27 12:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-26 19:59 [LARTC] REQ: A "tcfilter" program gypsy
2004-09-27 12:21 ` Antonios Chalkiopoulos
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.