- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Drop telnet to port 25
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
тАО04-01-2004 02:56 AM
тАО04-01-2004 02:56 AM
Drop telnet to port 25
Can I drop telnet to port 25? how can I do it?
Thanks,
Tzvika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2004 03:00 AM
тАО04-01-2004 03:00 AM
Re: Drop telnet to port 25
I think so, BUT you'd have to disable sendmail & remove it's entry from /etc/services & then edit /etc/services to make telnet 25/tcp now.
AND whenever someone telnets they'd have to
telnet hostname 25
Doable, but not practical IMO.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2004 09:50 AM
тАО04-01-2004 09:50 AM
Re: Drop telnet to port 25
if you want to telnet to port 25:
telnet destination-ip 25
if it is the server telnetd on port 25
you can define a port in /etc/services
mytelnet 25/tcp
then in /etc/inetd.conf
copy the telnet line and replace the leading telnet by mytelnet.
mytelnet stream tcp nowait root /usr/lbin/telnetd telnetd
then inetd -c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2004 10:11 AM
тАО04-01-2004 10:11 AM
Re: Drop telnet to port 25
If you just would like the capability of being able to just send mails outside then recommended practice is to have sendmail run via cron at a defined interval than as a daemon. The sendmail run via cron will ensure that repeated attempts are made for unsuccessful mail deliveries.
This way you can make sure none can telnet to 25.
Or if you would like to restrict telnet access only to nodes from certain network then have inetd kicks off a sendmail and restrict the hosts via /var/adm/inetd.sec
Sundar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2004 06:48 PM
тАО04-03-2004 06:48 PM
Re: Drop telnet to port 25
What I want is to keep my sendmail on BUT drop the telnet to port 25. Any ideas?
Thanks,
Tzvika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2004 08:17 PM
тАО04-03-2004 08:17 PM
Re: Drop telnet to port 25
If your concerns are becoming a spam relay, there are settings you can change to keep from mail being relayed from the outside world.
I personally don't use it, so can't vouch for it, but Postfix (www.postfix.org) is a 3rd party alternative.
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2004 08:18 PM
тАО04-03-2004 08:18 PM
Re: Drop telnet to port 25
That said, I'd use a high value port number which is not used (so you don't conflict with anything else) say "telnet 21021/tcp", This port is not registered so you are not likely to be playing "musical port numbers".
my 0.02├в ┬м worth, regards