- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How can I know user telnet udp port
Operating System - HP-UX
1819803
Members
3010
Online
109607
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО03-28-2004 06:28 PM
тАО03-28-2004 06:28 PM
How can I know user telnet udp port
All,
How can I know user telnet udp port?
I only use netstat to show deticate IP address netstat -a | grep 10.37.119.174
tcp 0 0 wmxcto.telnet 10.37.119.174.2398 ESTABLISHED
tcp 0 0 wmxcto.telnet 10.37.119.174.2402 ESTABLISHED
tcp 0 0 wmxcsd.telnet 10.37.119.174.2523 ESTABLISHED
But I want to identify which entry is owned by this login account on script file...How can I do?
How can I know user telnet udp port?
I only use netstat to show deticate IP address netstat -a | grep 10.37.119.174
tcp 0 0 wmxcto.telnet 10.37.119.174.2398 ESTABLISHED
tcp 0 0 wmxcto.telnet 10.37.119.174.2402 ESTABLISHED
tcp 0 0 wmxcsd.telnet 10.37.119.174.2523 ESTABLISHED
But I want to identify which entry is owned by this login account on script file...How can I do?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2004 06:43 PM
тАО03-28-2004 06:43 PM
Re: How can I know user telnet udp port
lsof |egrep "10.37.119.174|$SCRIPT_NAME"
Kaps
Kaps
Nothing is impossible
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2004 06:47 PM
тАО03-28-2004 06:47 PM
Re: How can I know user telnet udp port
hi
telnet can't use udp port. It use only tcp connect
see man 1m telnetd
"The Internet daemon (inetd)
executes telnetd when it receives a service request at the port listed
in the services database for telnet using the tcp protocol (see
inetd(1M) and services(4))."
telnet can't use udp port. It use only tcp connect
see man 1m telnetd
"The Internet daemon (inetd)
executes telnetd when it receives a service request at the port listed
in the services database for telnet using the tcp protocol (see
inetd(1M) and services(4))."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2004 07:06 PM
тАО03-28-2004 07:06 PM
Re: How can I know user telnet udp port
Hmmm, I assume you are searching for the TCP connection since telnet doesn't use UDP.
Usually I would recommend to use lsof, e.g.:
# lsof -bp 2>/dev/null | grep ESTABLISHED
Unfortunately lsof doesn't support IPv6 yet. So for telnet on IPv6 enabled systems you see only "unsupported family: AF_22".
#define AF_INET6 22 /* IPv6 protocol */
To use lsof you would need to change "tcp6" to "tcp" in inetd.conf or get lsof enhanced to support AF_INET6 connections.
Best regards...
Dietmar.
Usually I would recommend to use lsof, e.g.:
# lsof -bp
Unfortunately lsof doesn't support IPv6 yet. So for telnet on IPv6 enabled systems you see only "unsupported family: AF_22".
#define AF_INET6 22 /* IPv6 protocol */
To use lsof you would need to change "tcp6" to "tcp" in inetd.conf or get lsof enhanced to support AF_INET6 connections.
Best regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP