- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Need info on running "TCPDUMP" on HP-UX servers.
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
тАО10-06-2006 03:57 AM
тАО10-06-2006 03:57 AM
I need to run 'tcpdump' on two servers, to capture IP Packets, for a port, but I am failing to get the command right with all the arguments.Please help me.!!
Thanks in Advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2006 04:13 AM
тАО10-06-2006 04:13 AM
Re: Need info on running "TCPDUMP" on HP-UX servers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2006 04:32 AM
тАО10-06-2006 04:32 AM
Solution"tcpdump port 1521"
or
"tcpdump tcp port 1521"
If you want to get traffic from just one server:
"tcpdump host serverb"
or
"tcpdump dst host serverb"
or
"tcpdump src host servera"
depanding on what you actually want...
Hope it helps
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2006 05:54 AM
тАО10-06-2006 05:54 AM
Re: Need info on running "TCPDUMP" on HP-UX servers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2006 11:18 AM
тАО10-06-2006 11:18 AM
Re: Need info on running "TCPDUMP" on HP-UX servers.
http://hpux.connect.org.uk/hppd/hpux/Gtk/Applications/wireshark-0.99.2/
it is an Xwindows program with a LARGE number of runtime dependencies, making the installation and usage a bit tricky. However, the PC Windows version is very simple to install and use and with WinPcap (supplied with the program), you can trace the HP-UX packets from your PC. Wireshark also reads a large number of packet trace formats including HP-UX nettl files.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-08-2006 06:58 PM
тАО10-08-2006 06:58 PM
Re: Need info on running "TCPDUMP" on HP-UX servers.
You can grab traffic with tcpdump - look at option that allows to write grabbed traffic into file. This file can then be openned with Ethereal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-08-2006 08:41 PM
тАО10-08-2006 08:41 PM
Re: Need info on running "TCPDUMP" on HP-UX servers.
To get the complete contents of the packet, you need to specify the maximum size to capture to be equal or greater than the maximum size of the packet on the type of network you're using.
This is done using the option '-s
Newer versions of tcpdump allow the use of '-s 0' to mean "get everything, whatever the max size is".
To get the packet contents in hexadecimal listing, you can use option -x or -xx, depending on whether you want to include the link level headers or not. To get a "hex + ascii" -style output, you can use -X or -XX, respectively.