TCP Dump
=========
How can I show ALL traffic on a specified interface?
tcpdump -i eth0
Will show ALL traffic on interface eth0.
How can I capture a specified number of packets?
tcpdump -c 20 -i eth0
The -c argument specifies the number of packets to capture. For example, this command will capture 20 packets on the specified interface eth0 and quit:
How do I show the MAC address in the capture?
tcpdump -e -i eth0
This filter will display the MAC address as well as the basic information.
How can I look for the Welchia Worm with TCPDUMP?
tcpdump -tnn -i eth0 "icmp[icmptype]==icmp-echo && icmp[8]==0xAA && icmp[9]==0xAA && icmp[10]==0xAA && icmp[11]==0xAA"
Sure can. Try this script. Keep in mind that your sniffer will need to be located where it can see all traffic on your network for this to be useful.
How can I use TCPDUMP to determine the top talker on my network?
tcpdump -tnn -c 20000 -i eth0 | awk -F "." '{print $1"."$2"."$3"."$4}' | sort | uniq -c | sort -nr | awk ' $1 > 100 '
Depending on how busy your network is, you might want to lower the `-c 20000' (packet count) to fit your needs. This script will capture 20,000 packets and sort by top talkers
Labels
- Cheat Sheets (7)
- Checkpoint (159)
- Cisco (24)
- Commands (5)
- Fortigate (2)
- Frame-Relay (9)
- Linux (3)
- Netscaler (29)
- Netscreen (2)
- Nokia (7)
- UNIX (2)
Live Traffic
Comments
Search This Blog
Blog Archive
-
▼
2011
(107)
-
▼
June
(49)
- Configuring controller E1
- Autonegotiation Valid Configuration
- Hardware Troubleshooting for Cisco 12000 Series In...
- troubleshooting high CPU utilization
- NetScaler Password Recovery Procedure
- Configuring DNS
- Configuring Link Aggregate Channels
- To configure a VLAN by using the NetScaler command...
- Configuring Network Interfaces
- Enabling and Disabling MAC-Based Forwarding Mode
- Enabling and Disabling Layer 2 or 3 Mode
- Binding the SSL Policy to an SSL Vserver
- Creating SSL Policies
- Creating an SSL Action to Enable OWA Support
- Binding an SSL Certificate Key Pair to the Vserver
- Adding a Certificate Key Pair
- Binding Services to the SSL Vserver
- Adding an SSL-Based Vserver
- Securing Load Balanced Traffic by Using SSL
- Binding a Compression Policy to a Vserver
- Configuring Services to Compress Data
- Enabling Compression
- Configuring Backup Vservers
- Configuring URL Redirection
- How To Perform a SecurePlatform Firewall Health Ch...
- VPN between Check Point Security Gateway and Cisco...
- SmartView Tracker allows a maximum of 0 windows
- What is ike.elg?
- How can I troubleshoot Cisco to Check Point VPN
- How to increase sizes of buffer / ring descriptor ...
- The CPinfo utility
- What information is required to troubleshoot the V...
- Enabling IKE and VPN debugging
- How do I run full blown VPN debug on gateway for t...
- How to generate a valid ike debug, vpn debug and f...
- The reason why we need LDAP profiles
- How To Perform a SecurePlatform Firewall Health Ch...
- Checkpoint - Log File Corrupted
- The netstat Command
- VI - Cheat Sheet
- Checkpoint - Critical error messages and logs
- TCP DUMP
- Checkpoint : Unwanted Services : Save Memory
- Checkpoint Commands - In depth - tHEY dONT liKE BU...
- Path of Database Revision Controls
- NTP in Splat
- Upgrade and Roadmap Diagrams Now Include R75.10
- CPX 2011: Security Gateways in the data center
- Advanced migration of Provider-1 R7x
-
▼
June
(49)
Post a Comment