The UNIX Forums
"Join the Network of UNIX System Users"


 
Subject: please let me know regarding port scan
discer
Newbie
Rank: 1



UID 117
Digest Posts 0
Credits 0
Posts 14
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 14, 2007 09:09 AM  Profile | P.M. 
please let me know regarding port scan



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


Top
livingingermany
Newbie
Rank: 1



UID 237
Digest Posts 0
Credits 0
Posts 33
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 14, 2007 09:09 AM  Profile | P.M. 
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
Top
AllyWalker
Newbie
Rank: 1



UID 48
Digest Posts 0
Credits 0
Posts 49
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 14, 2007 09:09 AM  Profile | P.M. 
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.
Top
GTL
Newbie
Rank: 1



UID 166
Digest Posts 0
Credits 0
Posts 13
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 14, 2007 09:10 AM  Profile | P.M. 
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:
Top
CYBERAY
Newbie
Rank: 1



UID 102
Digest Posts 0
Credits 0
Posts 73
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 14, 2007 09:10 AM  Profile | P.M. 
for aix?



what command similar to nmap for aix 5.3? our box didnt have nmap.
Top
Floryn
Newbie
Rank: 1



UID 145
Digest Posts 0
Credits 0
Posts 8
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 14, 2007 09:10 AM  Profile | P.M. 
in my machine when i run nmap...it says command not found.
Top
mantero
Newbie
Rank: 1



UID 248
Digest Posts 0
Credits 0
Posts 18
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 14, 2007 09:10 AM  Profile | P.M. 
Top
frankcow
Newbie
Rank: 1



UID 150
Digest Posts 0
Credits 0
Posts 31
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 14, 2007 09:11 AM  Profile | P.M. 
Top
 

 

All times are GMT, the time now is Jul 31, 2010 03:32 AM

Powered by Discuz! 5.0.0  © 2001-2006 UNIX Forums
Processed in 0.006857 second(s), 8 queries

Clear Cookies - Contact Us - UNIX Help - Archiver - WAP