Please let me know Regarding Port Scan

Can any one please let me know below ones

1) How to Perform the Port Scan in Solaris Environment and how to block the unwanted Ports.

2) How to know whether particular Port is listning the requests or not?

Thanks
Ramkumar.B

Try "nmap" to scan for open port. You can use nmap to verify about your firewall policy as well

The ancient and widely ported tool for configuring local-host firewall is "ipf". Solaris 10 System Administrator Collection ->> System Administration Guide: IP Services ; provide good write-up to achieve that. Go to URL http://docs.sun.com/app/docs/doc/816-4554/6maoq023u

You may look into a tool "armor" URL http://www.spitzner.net/armoring.html

I use "lsof" for that. Though, you may use "netstat" also.

Regards.

I've used it few times on a BSD server, the command was :
nmap -v -A -P0 10.10.1.1 (replaced by your actual IP) and it gives pretty good output like :

+ much more....

What command similar to nmap for AIX 5.3? Our box didnt have nmap.

In my machine when i run nmap...it says command not found.

Is there any other way to the get the job done.

http://aixpdslib.seas.ucla.edu/packages/nmap.html

http://www.bullfreeware.com/ :wink: