Which of the following commands accomplish this?

You want to use netcat to generate huge amount of useless network data continuously for various performance testing between 2 hosts. Which of the following commands accomplish this?

You want to use netcat to generate huge amount of useless network data continuously for various performance testing between 2 hosts. Which of the following commands accomplish this?

A.
Machine A #yes AAAAAAAAAAAAAAAAAAAAAA |nc -v -v -l -p 2222 > /dev/null Machine B #yes BBBBBBBBBBBBBBBBBBBBBB | nc machinea 2222 > /dev/null

B.
Machine A cat somefile |nc -v -v -l -p 2222 Machine B cat somefile | nc othermachine 2222

C.
Machine Anc -l -p 1234 | uncompress -c | tar xvfp Machine B tar cfp – /some/dir | compress -c | nc -w 3 machinea 1234

D.
Machine A while true : do nc -v -l -s -p 6000 machineb 2 Machine B while true ; do nc -v -l -s -p 6000 machinea 2 done



Leave a Reply 2

Your email address will not be published. Required fields are marked *


Minh Holje

Minh Holje

hi!,I like your writing so much! percentage we be in contact extra approximately your article on AOL? I need a specialist on this house to solve my problem. May be that is you! Looking forward to peer you.

http://www.bastcilkdoptb.com/

mr_tienvu

mr_tienvu

I agree with the answer.