Skip to content

Instantly share code, notes, and snippets.

@cghsystems cghsystems/tcpdump
Created Jan 17, 2014

Embed
What would you like to do?
In order to listen to network packet on a given network and port
#!/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
You can’t perform that action at this time.