testing UDP ports

Red Squirrel

No Lifer
May 24, 2003
70,204
13,591
126
www.anyf.ca
What is the best way to test that a UDP port is responding? From my understanding of UDP, it never really "responds" unless it's built into the layer 7 protocol being used. So if I want to test whether or not a UDP port actually is open or blocked, what is the best way of doing this?
 

Crusty

Lifer
Sep 30, 2001
12,684
2
81
tcpdump

I know the name says tcp... but it can capture UDP packets too. You can probably also use netcat to open up a port to listen on as well.