- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to trace UDP port ?
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
09-20-2002 10:34 AM
09-20-2002 10:34 AM
How to trace UDP port ?
I??d like to trace an UDP port 5555, because I have a programa that tries to use this port but until now didn??t work. So what I need is a way to trace the attempts in use this port.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2002 10:38 AM
09-20-2002 10:38 AM
Re: How to trace UDP port ?
The only thing I know that would show you what is using the port is 'lsof', and I don't know if that would give you the information you are looking for. To debug your application, you might have to write a little program to talk/listen to port 5555 and code it to show you what is coming in, and maybe to send something back to see how your application responds.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2002 10:38 AM
09-20-2002 10:38 AM
Re: How to trace UDP port ?
You can use nettl to trace the packets that are generating to|from 5555. Look for the man page of nettl for more info. There is a GUI for nettl available on patched 11.0 - nettladm. It will be much easier for you.
If you want another solution, you can use ethereal (my favourite). But you would need to understand the syntax of tcpdump filters to get accurate measurement.
Again this is only for 11.0 onwards and there are a lot of dependencies to install too.
http://hpux.connect.org.uk/hppd/hpux/Gtk/Applications/ethereal-0.9.4/
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2002 10:41 AM
09-20-2002 10:41 AM
Re: How to trace UDP port ?
Use 'lsof' (from the HP-UX Porting Center) :
# lsof -i udp:5555
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2002 10:48 AM
09-20-2002 10:48 AM
Re: How to trace UDP port ?
A gui for nettl? I just tried it. Cool! I didn't know there was such a beast.
I love it when I hang out here and learn something new! (Which, given my general lack of knowledge, happens quite frequently!)
Thanks!
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2002 01:10 PM
09-20-2002 01:10 PM
Re: How to trace UDP port ?
It will give you the name of the application or user using the port.
lsof -i @ hostname:5555
Regards,
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2002 04:35 PM
09-20-2002 04:35 PM
Re: How to trace UDP port ?
But I was just wondering , is it not that omniback uses this port ?