On 2014-07-18 at 15:09:55 +0200, 'peter' via netsniff-ng 
<[email protected]> wrote:
> hi,
> 
> 
> im looking for a way to automate packet generation for traffic
> shaper testing.
> found a testfile online and modified it a bit, only
> source/destination ip are valid for the interface ...the rest is
> from the sourcefile so there are wrong mac addresses and so on.
> for traffic shaping testing (HFSC) i only need a mix of small / big
> packets that i can capture and graph.
> its udp, its 322bytes long (according to trafgen output).
> 
> 
> when i run:
> trafgen --cpp --dev wlan0 --conf packets/322bytes -t 10ms -n 10
> 
> and:
> tcpdump -i wlan0 port 7777
> 
> 
> it shows 10 packets, each about 10ms apart from another but it takes
> some seconds before the packets show up in tcpdump...why is that?

Any specific reason you're using tcpdump instead of netsniff-ng? ;-)

> running the same command with "-n 100" i get:
> 31 packets captured
> 100 packets received by filter
> 69 packets dropped by kernel
> 
> when aborting tcpdump with ctrl+c.
> why would the linux kernel drop packets? since they are 10ms apart
> and 322bytes long it should manage?
> it not like i send 1000 packets without time between sends or am i
> hitting some limitation?

What does the trafgen config file look like? What kernel version are you
using? What driver for wlan0? What version of
netsniff-ng/trafgen/tcpdump?

Without this information it's gonna be rather difficult to pinpoint the
problem...

Cheers
Tobias

-- 
You received this message because you are subscribed to the Google Groups 
"netsniff-ng" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to