Security Basics mailing list archives

Test UDP Ports


From: "ml () bortal de" <ml () bortal de>
Date: Tue, 19 Feb 2008 12:49:31 +0100

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


Current thread: