Skip to content

Instantly share code, notes, and snippets.

@antonlindstrom
Created March 7, 2010 19:10
Show Gist options
  • Save antonlindstrom/324565 to your computer and use it in GitHub Desktop.
Save antonlindstrom/324565 to your computer and use it in GitHub Desktop.
tcpdump helper
#!/bin/bash
IFACE=vr0
LOGNAME=demolog
IPADDR=127.0.0.1
tcpdump -i $IFACE -s 8192 -w $LOGNAME.log host $IPADDR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment