Skip to content

Instantly share code, notes, and snippets.

@fqrouter
Created June 29, 2014 16:46
Show Gist options
  • Select an option

  • Save fqrouter/72df962f3c25e6ea9b4d to your computer and use it in GitHub Desktop.

Select an option

Save fqrouter/72df962f3c25e6ea9b4d to your computer and use it in GitHub Desktop.

Revisions

  1. fqrouter created this gist Jun 29, 2014.
    2 changes: 2 additions & 0 deletions top_talker.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    tcpdump -tnn -c 20000 -i venet0 src port 443 | awk -F "." '{print $1"."$2"."$3"."$4}' | sort | uniq -c | sort -nr | awk ' $1 > 100 '
    tshark -i venet0 -Y "ssl.handshake.extensions_server_name" -Tfields -e "ip.dst" -e "ssl.handshake.extensions_server_name"