Hi,
I did a series of tests for LNST lately where I needed to check whether packets with some properties left or arrived to some interface. The usual way of doing this is to run tcpdump with some filter, grep the results for the required properties and see if you get something.
I thought it might be useful to be able to do this natively in LNST. Maybe crate new command type like this:
<command type="packet_assert" timeout="10" bg_id="5"> <option name="interface" value="192.168.1.100" /> <option name="filter" value="igmp" /> <option name="grep_for" value="igmp query v{$igmp_version}" /> <option name="grep_for" value="> {$multiaddr}" /> <option name="min_count" value="5" /> </command>
Do you think it's a good idea or should I do it some other way/not do things like this at all?
We could discuss it together with the previous sysctl proposal if you're interested.
Thank you, Radek Pazdera
Mon, Apr 30, 2012 at 04:14:46PM CEST, rpazdera@redhat.com wrote:
Hi,
I did a series of tests for LNST lately where I needed to check whether packets with some properties left or arrived to some interface. The usual way of doing this is to run tcpdump with some filter, grep the results for the required properties and see if you get something.
I thought it might be useful to be able to do this natively in LNST. Maybe crate new command type like this:
<command type="packet_assert" timeout="10" bg_id="5"> <option name="interface" value="192.168.1.100" /> <option name="filter" value="igmp" /> <option name="grep_for" value="igmp query v{$igmp_version}" /> <option name="grep_for" value="> {$multiaddr}" /> <option name="min_count" value="5" /> </command>
Do you think it's a good idea or should I do it some other way/not do things like this at all?
We could discuss it together with the previous sysctl proposal if you're interested.
Hi Radek.
I like both your proposals. Sure we can meet up and discuss it further. Catch me up on IRC and we can settle time and place.
Jirka
Thank you, Radek Pazdera _______________________________________________ LNST-developers mailing list LNST-developers@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/lnst-developers
lnst-developers@lists.fedorahosted.org