Home · Latest · Trends  /  general
0

Using netcat, check for UDP port open

rated 0 times [  0] [ 0]  / comments: 0 / hits: 324  / 1 year ago, tue, aug 15, 2017, 13:27:17
If you need to find out of a server's port is open via UDP, you can use this. Obviously, use your active interface - in this example, it's eth0.
# First, log into the server and use tcpdump to listen to a port via udp:
tcpdump -i eth0 udp port 8080 -vv -X

# Then, on your client, connect via nc to the server
nc -u $server 8080

# Next, type some text on the client, you should see it on the server side.
More From » general
 

Comments

There are no comments for this Snippet yet
Only authorized users can post. Please sign in first, or register a free account
 
Share
Sponsor
Posted
rob

rob

Member since Feb 22, 2017
Total Code Snippets: 118
Total Comments: 1
Location: n/a
Following
User not following anyone yet.
rob snippets
2 yaers ago, wed, feb 22, 2017
2 yaers ago, wed, feb 22, 2017
2 yaers ago, wed, feb 22, 2017
2 yaers ago, wed, feb 22, 2017
2 yaers ago, wed, feb 22, 2017
2 yaers ago, wed, feb 22, 2017
2 yaers ago, wed, feb 22, 2017
2 yaers ago, wed, feb 22, 2017