- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Ports of /etc/services of hpux-11.23
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
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
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
тАО06-14-2009 10:48 PM
тАО06-14-2009 10:48 PM
We have HPUX11.23 over one of the server and we need to close the following ports in /etc/services :
Exec 512/tcp
Ident 113/tcp
Daytime 13/tcp
Echo 7/tcp
Discard 9/tcp
Swat 901/tcp
Ntalk 518/tcp
but i don't have the knowledge that what is the role of these ports in hpux-11.23 and what would be the effect if go ahead and close this ports as per the requirement.
If anyone has the answer then please help me out.
Regards
MAK
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2009 11:08 PM
тАО06-14-2009 11:08 PM
Re: Ports of /etc/services of hpux-11.23
most of this ports can be blocked on network level ( network infrastucture ) but you should know if some ports are not required for some runnig services on your server.
mikap
PS : ask the network admins if some traffice on this ports is presented.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2009 11:15 PM
тАО06-14-2009 11:15 PM
Re: Ports of /etc/services of hpux-11.23
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2009 11:17 PM
тАО06-14-2009 11:17 PM
Re: Ports of /etc/services of hpux-11.23
man
but it is better to block them in network layer like in firewall or router something not inside the unix machine. .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2009 01:17 AM
тАО06-15-2009 01:17 AM
Re: Ports of /etc/services of hpux-11.23
exec -> is used for rexec
ident -> is used by MC/SG and sendmail
it may be a problem to disable it
it permit to identify from a 4ulp (ips/ports) who is the owner of the connection.
Daytime as its name
echo echo received messages
discard just discard received messages
the 2 previous are usually usefull for tests and troubleshooting, but not mandatory
ntalk no pb to disable
swat is for Samba Web Administration Tool so should not be a problem to disable it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2009 02:14 AM
тАО06-15-2009 02:14 AM
Re: Ports of /etc/services of hpux-11.23
Then please tell me why not to process over these ports in /etc/services .
As far as i know inetd.conf file will enable and disable internet daemons.
Regards
MAk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2009 02:23 AM
тАО06-15-2009 02:23 AM
Re: Ports of /etc/services of hpux-11.23
These ports can be safely closed.
/etc/sevices is really a reservations file.
Some of the services in there can continue to function without the entry. Disabling swat is likely to take down the swat samba configuration service.
netstat -an | grep ##
See if there are services listening on those ports, and take those daemons down to complete the job.
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
тАО06-15-2009 02:34 AM
тАО06-15-2009 02:34 AM
Solutionthere is no reservation done at all, only naming.
Then those ports/name are used by daemons doing
getservbyname()
all the port you mentionned in the list are managed by inetd whih in this case is the daemon, which for each of its inetd.conf line will do a getservbyname() to get the port number on which it must listen for each service.
If you comment in /etc/services, inetd will not listen on the port because it will not find the port by its name, giving an error in syslog
But the best way to disable those services is to comment them in inetd.conf, then restart inetd with inetd -c .
Then the ports will be closed.