Skip to content

Instantly share code, notes, and snippets.

@riywo
Created February 22, 2011 09:18
Show Gist options
  • Save riywo/838408 to your computer and use it in GitHub Desktop.
Save riywo/838408 to your computer and use it in GitHub Desktop.
httpのtcpdumpをmk-query-digestに食わせる時に、GET example.comのものだけ抜き出す場合
tcpdump -s 65535 -xx -n -q -tttt port 80 > tcpdump.log
mk-query-digest --type http --filter '($event->{fingerprint} || "") =~ m/^get example\.com/' --limit 100% tcpdump.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment