[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

equivalent of MS portquery for Linux & HP-UX to check Udp connectivity

Posted on 2010-11-07
3
Medium Priority
?
764 Views
Last Modified: 2012-05-10

Hi

To test if the firewall permissioned for a certain port (in my case, I need to test
for Udp port being permissioned), I would use portquery on the initiating node.

For Windows & Unix, I can use "telnet destination_IP port" to test tcp port
connectivity.  WHat about udp port on Linux & HP-UX ?
0
Comment
Question by:sunhux
3 Comments
 
LVL 2

Accepted Solution

by:
nimda7 earned 800 total points
ID: 34081590
Try "netcat"

nc -zu <ip> <udpport>

where:
-u    UDP mode
-z    zero-I/O mode [used for scanning]
0
 
LVL 17

Assisted Solution

by:sweetfa2
sweetfa2 earned 600 total points
ID: 34081612
nmap -p port -sU hostaddress
0
 

Author Closing Comment

by:sunhux
ID: 34118325
ok
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

590 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question