Solved

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

Posted on 2010-11-07
3
729 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 200 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 150 total points
ID: 34081612
nmap -p port -sU hostaddress
0
 

Author Closing Comment

by:sunhux
ID: 34118325
ok
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
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 find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…

785 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