[NTLUG:Discuss] OT: UDP Help

Robert Citek rwcitek at alum.calberkeley.org
Mon Dec 22 16:46:02 CST 2003


On Monday, December 22, 2003, at 03:58  PM, Merlin wrote:
> So, the question is, how can I tell, other than nmap or other
> port-mapping/probing tool because my network guys will string me up by 
> my
> toenails, if this particular UDP port is being routed?  I know that I 
> can
> telnet www.xxx.yyy.zzz:nn to check a TCP port, but I'm pretty sure this
> doesn't work for UDP.  Anybody have any ideas?

Netcat (aka nc at the command line)

> Also, unfortunately, a Winbloze solution would be helpful.  I have 
> Cygwin
> on my box, so I can try that if need be, but Winbloze would help.

http://cygwin.com/packages/

 From the readme file:

<quote>
You can use netcat to generate huge amounts of useless network data for
various performance testing.  For example, doing

         yes AAAAAAAAAAAAAAAAAAAAAA | nc -v -v -l -p 2222 > /dev/null

on one side and then hitting it with

         yes BBBBBBBBBBBBBBBBBBBBBB | nc othermachine 2222 > /dev/null

from another host will saturate your wires with A's and B's.  The "very
verbose" switch usage will tell you how many of each were sent and 
received
after you interrupt either side.  Using UDP mode produces tremendously 
MORE
trash per unit time in the form of fragmented 8 Kbyte mobygrams -- 
enough to
stress-test kernels and network interfaces.  Firing random binary data 
into
</quote>

Regards,
- Robert




More information about the Discuss mailing list