On Mon, Dec 14, 2015 at 4:13 PM, Burak Özalp
<burak.oz...@labrisnetworks.com> wrote:
> Thank you it works!!
>
>
> On 14-12-2015 15:51, Daniel Borkmann wrote:
>>
>> On 12/14/2015 02:45 PM, Burak Özalp wrote:
>>>
>>> Hi everbody,
>>>
>>> I recently use trafgen, it is very useful and with your helps, I manage
>>> to create 6Mpps as you know. My problem is, is it possible to set pps value
>>> with argument or config file? I need very small values (like 140pps) and i
>>> want to use trafgen instead of hping, because it deserves it :)
>>>
>>> How can i restrict pps value?
>>
>>
>> Setting a concrete pps value is currently not supported, but you can
>> specify a interpacket gap that trafgen should wait between packets,
>> perhaps that helps a bit in reducing your load:
>>
>> $ trafgen -h
>> [...]
>>   -t|--gap <time>                Set approx. interpacket gap (s/ms/us/ns,
>> def: us)
>> [...]
>>
>>> Best Regards
>>> Burak Ozalp
>
>

Hi Burak,

New "-b,--rate" option was added for trafgen (you can pull latest
sources from development repo) which allows to specify packet sending
rate in:

    <num>pps/B/kB/MB/GB/kBit/Mbit/Gbit/KiB/MiB/GiB.

Regards,
Vadim Kochan

-- 
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 netsniff-ng+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to