Please let me know Regarding Port Scan


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Please let me know Regarding Port Scan
# 1  
Old 05-06-2007
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
# 2  
Old 05-07-2007
nmap and ipf

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
# 3  
Old 05-07-2007
Quote:
Originally Posted by myramkumar
2) How to know whether particular Port is listning the requests or not?
I use "lsof" for that. Though, you may use "netstat" also.

Regards.
# 4  
Old 05-07-2007
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 :
Quote:
Host my.host.tld (IP goes here) appears to be up ... good.
Interesting ports on my.host.tld (IP goes here):
Not shown: 1670 closed ports
PORT STATE SERVICE VERSION
21/tcp open ftp ProFTPD 1.2.10
22/tcp open ssh OpenSSH 4.2p1 (FreeBSD 20050903; protocol 1.99)
25/tcp open smtp qmail smtpd
53/tcp open domain
80/tcp open http Apache httpd 2.0.54
106/tcp open pop3pw poppassd
443/tcp open ssl/http Apache httpd 2.0.54
465/tcp open ssl/ssl OpenSSL
3306/tcp open mysql MySQL (unauthorized)
8443/tcp open http Apache httpd 1.3.33 ((FreeBSD) mod_ssl/2.8.22 OpenSSL/0.9.7e PHP/5.0.5)
No exact OS matches for host (If you know what OS is running on it, see http://www.insecure.org/cgi-bin/nmap-submit.cgi).
TCP/IP fingerprint:
+ much more....
# 5  
Old 05-08-2007
for aix?

What command similar to nmap for AIX 5.3? Our box didnt have nmap.
# 6  
Old 05-17-2007
In my machine when i run nmap...it says command not found.

Is there any other way to the get the job done.
# 7  
Old 05-17-2007
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. Solaris

How to find port number wwn of particular port on dual port HBA,?

please find the below o/p for your reference bash-3.00# fcinfo hba-port HBA Port WWN: 21000024ff295a34 OS Device Name: /dev/cfg/c2 Manufacturer: QLogic Corp. Model: 375-3356-02 Firmware Version: 05.03.02 FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies

2. Shell Programming and Scripting

Formatting port scan output

I need to format port scan output for input into another app. This is what I have; 1025/tcp 1521/tcp 2301/tcp 2381/tcp 3191/tcp 3389/tcp 5938/tcp 47001/tcp 54321/tcp 21/tcp 80/tcp 135/tcp 139/tcp 445/tcp 1025/tcp (4 Replies)
Discussion started by: lewk
4 Replies

3. Shell Programming and Scripting

port scan shell script

Hi, Can any one please suggest me commands for making port scan shell script. (3 Replies)
Discussion started by: nrbhole
3 Replies

4. UNIX for Dummies Questions & Answers

unix program that can port scan a c block of ips for proxies

can anyone tell me a unix program that can port scan a c block of ips for proxies? a fast one, with reliable results, that can load an ip list, or set an ip range, and specify ports thanks! (1 Reply)
Discussion started by: user
1 Replies
Login or Register to Ask a Question