Security Basics mailing list archives

Re: Test UDP Ports


From: Patrick J Kobly <patrick () kobly com>
Date: Tue, 19 Feb 2008 13:01:10 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

nc -l -k -u 123

PK

ml () bortal de wrote:
| Hello List,
|
| in order to do some firewall testing i would like to simulate services
| (loads of ports).
| So far it works well with TCP using netcat, nmap and some bash script.
| It works like a charm.
|
| I ran into problems doing the same with UDP. As soon as i fire up my
| nmap UDP scan my netcat dies and as a result i get a closed port.
|
| How i start it up:
| ---------------------
| Server: netcat -u -l -p 123
| Client: nmap -p 123 -P0 -sU ServerHost
|
|
| Any idea how i can tell netcat to stay alive?
|
|
| Thanks, Mario
|

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHuzWGCODE1AJ6UNoRAjuYAJ4qFLJHin8YBCKW0Fb/ROfmvxkxKwCdEAES
9SoSu2kEYLcfMZfd8nJWh0I=
=/pTu
-----END PGP SIGNATURE-----


Current thread: