- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Telnet and Port(s)
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
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
06-15-2007 05:46 AM
06-15-2007 05:46 AM
1.) Is it possible to change it's default port that it uses from port 23 to something else? If so how would I go about doing this?????
2.) Is it possible to have telnet use a range of ports? If so how would I go about doing this?????
Thanks,
KPS
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2007 05:54 AM
06-15-2007 05:54 AM
Re: Telnet and Port(s)
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2007 05:56 AM
06-15-2007 05:56 AM
Re: Telnet and Port(s)
You may adjust the settings in /etc/services and you need to connect like this:
telnet hostname port
But again: why?
2) IMHO that make no sense.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2007 06:00 AM
06-15-2007 06:00 AM
Re: Telnet and Port(s)
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2007 06:07 AM
06-15-2007 06:07 AM
Re: Telnet and Port(s)
I appreciate the answers to these.
Thanks,
KPS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2007 06:16 AM
06-15-2007 06:16 AM
Re: Telnet and Port(s)
The telnet client can usually take a port number, for example:
"telnet somehost.example 1234"
1.) You might edit the "telnet..." line in /etc/services, then restart inetd.
But why bother? Changing the telnet port number is just security by obscurity, and not very good at that. There are certainly port scanners and network traffic sniffers that can easily identify a telnet server response without relying on port numbers at all.
If you want security, encryption is the way to go. Just install OpenSSH and disable telnet entirely.
If you cannot get rid of telnetd, at least use /var/adm/inetd.sec (or tcpwrappers) to limit access to it. Allow only the clients you need, and block everything else.
2.) Why would you do this? Telnetd (or, more accurately, inetd) can handle any number of simultaneous connections as-is. Just make sure you have enough PTYs available. Use SAM to change kernel configuration if necessary; the variables are "nstrpty" and "nstrtel".
There is nothing to prevent you from assigning several names like "telnet1", "telnet2", "telnet3" etc. to arbitrary port numbers in /etc/services and then configuring /etc/inetd.conf to start a telnetd process if anyone tries to connect to those ports.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2007 06:17 AM
06-15-2007 06:17 AM
Solution/usr/sbin/inetd -c
If I run
telnet testsystem 23333
it is working fine.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2007 06:20 AM
06-15-2007 06:20 AM
Re: Telnet and Port(s)
Thanks to all for your recommendations...
KPS