Created
January 17, 2014 12:20
-
-
Save cghsystems/8472536 to your computer and use it in GitHub Desktop.
In order to listen to network packet on a given network and port
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo tcpdump -A -i eth1 port 4222 -s0 | |
#-w dumps the output out to a file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment