[TriLUG] need help, netcat as a traffic generator?

Aaron S. Joyner aaron at joyner.ws
Thu Aug 24 11:15:02 EDT 2006


Greg Brown wrote:

> Sweet.. that's the sweet data generator I was looking for.
>
> THANKS!!
>
> Greg
>
> On 8/23/06, Brian Henning <brian at strutmasters.com> wrote:
>
>>
>> How about:
>>
>> cat /dev/urandom | {your stdin-crunching netcat command on A}
>
Just to throw in another data point, you could also use /dev/zero, which
will give you an endless stream of zeros.  If you don't care about what
the data is (ie. don't need it to be at least moderately random), using
/dev/zero won't needlessly deplete your systems source of random).

Aaron S. Joyner



More information about the TriLUG mailing list