HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- outgoing traffic logging with tcpdump
Operating System - HP-UX
1833116
Members
3451
Online
110051
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
Forums
Discussions
Discussions
Discussions
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
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
04-01-2003 06:43 PM
04-01-2003 06:43 PM
outgoing traffic logging with tcpdump
Hi,
I need to log outgoing traffic from my RHL 8 box thru tcpdump. I've tried tcpdump -p -i eth0 dst net xxx.xx, but I just keep getting the following messages running.
10:39:53.629112 xxx.xx.xx.xx.1182 > jumpoff.ssh: . ack 48092 win 64240 (DF)
10:39:53.640372 jumpoff.ssh > xxx.xx.xx.xx.1182: P 48092:48288(196) ack 1 win 6432 (DF) [tos 0x10]
10:39:53.652068 jumpoff.ssh > xxx.xx.xx.xx.1182: P 48288:48404(116) ack 1 win 6432 (DF) [tos 0x10]
10:39:53.652502 xxx.xx.xx.xx.1182 > jumpoff.ssh: . ack 48404 win 63928 (DF)
10:39:53.663808 jumpoff.ssh > xxx.xx.xx.xx.1182: P 48404:48600(196) ack 1 win 6432 (DF) [tos 0x10]
10:39:53.675520 jumpoff.ssh > xxx.xx.xx.xx.1182: P 48600:48716(116) ack 1 win 6432 (DF) [tos 0x10]
This is not what I want, it's too details and eating up my diskspace should I keeping logging them. I just need to know the time, target address and who the made the connection to other hosts via this box. Simple task I believe. Pls advise on what option should I use. I need this very URGENTLY, live or death kinda situation.
Thank you.
I need to log outgoing traffic from my RHL 8 box thru tcpdump. I've tried tcpdump -p -i eth0 dst net xxx.xx, but I just keep getting the following messages running.
10:39:53.629112 xxx.xx.xx.xx.1182 > jumpoff.ssh: . ack 48092 win 64240 (DF)
10:39:53.640372 jumpoff.ssh > xxx.xx.xx.xx.1182: P 48092:48288(196) ack 1 win 6432 (DF) [tos 0x10]
10:39:53.652068 jumpoff.ssh > xxx.xx.xx.xx.1182: P 48288:48404(116) ack 1 win 6432 (DF) [tos 0x10]
10:39:53.652502 xxx.xx.xx.xx.1182 > jumpoff.ssh: . ack 48404 win 63928 (DF)
10:39:53.663808 jumpoff.ssh > xxx.xx.xx.xx.1182: P 48404:48600(196) ack 1 win 6432 (DF) [tos 0x10]
10:39:53.675520 jumpoff.ssh > xxx.xx.xx.xx.1182: P 48600:48716(116) ack 1 win 6432 (DF) [tos 0x10]
This is not what I want, it's too details and eating up my diskspace should I keeping logging them. I just need to know the time, target address and who the made the connection to other hosts via this box. Simple task I believe. Pls advise on what option should I use. I need this very URGENTLY, live or death kinda situation.
Thank you.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2003 07:13 PM
04-01-2003 07:13 PM
Re: outgoing traffic logging with tcpdump
Hi,
I do not remember the filtering syntax on top of my head
You would need to use filters. Following may help you
tcpdump ip and not host xx.xx.xx.xx
Replace xx.xx.xx.xx with your local IP.
-Sri
I do not remember the filtering syntax on top of my head
You would need to use filters. Following may help you
tcpdump ip and not host xx.xx.xx.xx
Replace xx.xx.xx.xx with your local IP.
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2003 07:16 PM
04-01-2003 07:16 PM
Re: outgoing traffic logging with tcpdump
Hi,
Also look at the following man page of 'tcpdump' filtering to get more details.
http://www.ethereal.com/tcpdump.8.html
-Sri
Also look at the following man page of 'tcpdump' filtering to get more details.
http://www.ethereal.com/tcpdump.8.html
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2003 07:25 PM
04-01-2003 07:25 PM
Re: outgoing traffic logging with tcpdump
Take a look at the first couple of examples. It may be what you wanted.
http://www.tcpdump.org/tcpdump_man.html
http://www.tcpdump.org/tcpdump_man.html
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP