- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Port vulnerability
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2004 06:30 AM
тАО01-21-2004 06:30 AM
How can i know what ports is in use by my system ?
Do you have a recommendation about removing ports in the services file?
how can i identify the ports vulnerable to my system?
thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2004 06:34 AM
тАО01-21-2004 06:34 AM
SolutionThats a good start.
Oracle doesn't bother using it
netstat -an | more
will let you complile a more complete list.
It will show the ports whether or not its reserved.
You need to be careful with ports 1-1024 because thats root lannd and problems will have a large impact on your system.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2004 06:35 AM
тАО01-21-2004 06:35 AM
Re: Port vulnerability
You can look at all the opened ports on the system by using the command 'netstat -an |grep LISTEN'
A good rule is not to disable everything and open only the ones that are required.
It is not necessary that all the ports will be listed in /etc/services. You can write your own program that will listen at a port.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2004 06:35 AM
тАО01-21-2004 06:35 AM
Re: Port vulnerability
1) Run netstat -an & all ports in use or in a listening state will be listed. Suggest you output to a file as this is usually a long list.
2) No need to remove anything from the services file. This is merely a lookup file for the inetd daemon & is used to put a "name" on a port. It should be noted that one doesn't have to have an entry in the services file for the request to be serviced by inetd.
3) A portscan tool can be used to determine just what ports the system will respond to. Services can be turned off/on by editing the /etc/inetd.conf file. Access can be granted/denied several ways - by using the /var/adm/inetd.sec file or through a program like tcp-swappers.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2004 06:37 AM
тАО01-21-2004 06:37 AM
Re: Port vulnerability
Should be tcp-wrappers of course
LOL,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2004 06:44 AM
тАО01-21-2004 06:44 AM
Re: Port vulnerability
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2004 07:45 PM
тАО01-21-2004 07:45 PM
Re: Port vulnerability
You should also read the man pages for "inetd.sec".
Good luck,
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2004 07:54 PM
тАО01-21-2004 07:54 PM
Re: Port vulnerability
bash-2.05# nmap 172.25.5.51
Starting nmap V. 2.54BETA22 ( www.insecure.org/nmap/ )
Interesting ports on tserver (172.25.5.51):
(The 1528 ports scanned but not shown below are in state: closed)
Port State Service
53/tcp open domain
88/tcp open kerberos-sec
135/tcp open loc-srv
139/tcp open netbios-ssn
389/tcp open ldap
445/tcp open microsoft-ds
464/tcp open kpasswd5
593/tcp open http-rpc-epmap
636/tcp open ldapssl
1030/tcp open iad1
1031/tcp open iad2
1080/tcp open socks
1103/tcp open xaudio
8082/tcp open blackice-alerts
Nmap run completed -- 1 IP address (1 host up) scanned in 1 second
bash-2.05#
Hope this helps
-Vijay