- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- blocking sendmail ports 25 and 587
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
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-23-2008 08:43 AM
тАО06-23-2008 08:43 AM
block in quick proto tcp from any to any port = 25
block in quick proto tcp from any to any port = 587
I then load with:
ipf -Fa -Ad -f /etc/opt/ipf/ipf.conf
and get no errors...I can see the rules are active with:
ipfstat -ioh
empty list for ipfilter(out)
0 block in quick on lan2 proto tcp from any to any port = 25
0 block in quick on lan2 proto tcp from any to any port = 587
but when I run a scan with nmap from my workstation both 25 and 587 are still showing open...
I should say that I didn't have any problems getting this working my HPUX 11.0 servers...
What gives?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2008 08:57 AM
тАО06-23-2008 08:57 AM
Re: blocking sendmail ports 25 and 587
Perhaps the ipf daemon itself is not running.
Check the startup script in /sbin/init.d
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-23-2008 08:58 AM
тАО06-23-2008 08:58 AM
Re: blocking sendmail ports 25 and 587
If no service is running then nothing can talk to them ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2008 09:35 AM
тАО06-23-2008 09:35 AM
Re: blocking sendmail ports 25 and 587
>Perhaps the ipf daemon itself is not running.
>Check the startup script in /sbin/init.d
>SEP
here's my ps output:
ps -ef|grep -i ipmon
root 24740 18103 0 13:22:55 pts/0 0:00 grep -i ipmon
root 23999 1 0 13:06:31 ? 0:00 ipmon -sD
I've restarted it also to make sure - to no avail...any other ideas? I've tried several different rules (specifying lan2 instead of any, etc.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2008 10:07 PM
тАО06-23-2008 10:07 PM
Solutionbetter you check out the docs from docs.hp.com for IP Filter
http://www.docs.hp.com/en/5991-7705/index.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2008 05:30 AM
тАО06-24-2008 05:30 AM
Re: blocking sendmail ports 25 and 587
2. You can also stop sendmail listening on those ports by editing /etc/rc.config.d/mailservs and specifying SENDMAIL_SENDONLY=1, then stop and start sendmail with /sbin/init.d/sendmail stop ; /sbin/init.d/sendmail start.
Its a better way than trying to use ipfilter. It won't stop you sending mail out from the server but it stops it receiving.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2008 06:06 AM
тАО06-24-2008 06:06 AM
Re: blocking sendmail ports 25 and 587
to enable it....
*#&@#$%$^)(^&#$@ IT!