- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /etc/services
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
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
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
04-07-2003 05:56 PM
04-07-2003 05:56 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2003 06:02 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2003 06:06 PM
04-07-2003 06:06 PM
Re: /etc/services
#TCP 25 SMTP
Does this disable port 25 immediately?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2003 06:09 PM
04-07-2003 06:09 PM
Re: /etc/services
cat /etc/services | sort -n | more
Don't confuse this with starting the network utility like oracle's listener or one of the inetd utilities. When you make a port you reserve buffer space and allow the system to create a system file for parsing. That's why ports are analyzed with lsof, the list open files command.
lsof -i tcp:23
lsof -i udp:123, etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2003 06:13 PM
04-07-2003 06:13 PM
Re: /etc/services
Probably not. You've got to stop the application. Run:
lsof -i smtp:25
Is there a sendmail daemon perhaps?
killsm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2003 06:25 PM
04-07-2003 06:25 PM
Re: /etc/services
/sbin/init.d/sendmail stop
Sendmail will no longer run and port 25 will be unused and will not respond to probes. To keep sendmail from running upon a reboot, edit the config file:
/etc/rc.config.d/mailservs
and change this line to read:
export SENDMAIL_SERVER=0
That will keep sendmail from running.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2003 08:52 PM
04-07-2003 08:52 PM
Re: /etc/services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2003 09:06 PM
04-07-2003 09:06 PM
Re: /etc/services
"HP recommends that system administrators use ``/sbin/init.d/sendmail start'' and ``/sbin/init.d/sendmail stop'' to start and stop sendmail;"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 05:16 AM
04-08-2003 05:16 AM
Re: /etc/services
If you comment out the port 25 reference you have no functional effect.
You can control stmp traffic by making changes to the sendmail.mc file, generating a new sendmail.cf file and block incoming mail traffic on any port or IP address.
If you want to block traffic further, you need to have some kind of firewall between your box and your users. HP has a free one, or you can have an external pc based firewall.
I refer to /etc/services as a reservation file because when you install oracle on a system it takes up several ports. Oracle doesn't bother adding entries to the /etc/services file and everything works great.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com