Skip to content

Instantly share code, notes, and snippets.

@gdm85
Last active February 10, 2018 13:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gdm85/6b3df27c91eff6e89954e53ed737dea8 to your computer and use it in GitHub Desktop.
Save gdm85/6b3df27c91eff6e89954e53ed737dea8 to your computer and use it in GitHub Desktop.
Example output of /iftop/history
{
"version": "1.0pre4",
"history": [{
"source": "192.168.1.10:55340",
"destination": "172.207.13.3:443",
"received": 4758,
"sent": 1118,
"protocol": 6
},
{
"source": "192.168.1.10:49992",
"destination": "172.207.13.14:443",
"received": 5211,
"sent": 796,
"protocol": 6
},
{
"source": "192.168.1.10:44984",
"destination": "191.18.253.113:443",
"received": 30039,
"sent": 5239,
"protocol": 6
},
{
"source": "192.168.1.10:44994",
"destination": "191.18.253.113:443",
"received": 50410,
"sent": 5405,
"protocol": 6
},
{
"source": "192.168.1.10:44996",
"destination": "191.18.253.113:443",
"received": 396907,
"sent": 39739,
"protocol": 6
},
{
"source": "192.168.1.10:59186",
"destination": "172.207.13.14:443",
"received": 2234,
"sent": 3404,
"protocol": 17
},
{
"source": "192.168.1.10:40728",
"destination": "34.206.192.95:443",
"received": 10378,
"sent": 27701,
"protocol": 6
},
{
"source": "192.168.1.10:45526",
"destination": "191.18.253.113:443",
"received": 3876,
"sent": 784,
"protocol": 6
},
{
"source": "192.168.1.10:36876",
"destination": "191.18.253.125:443",
"received": 980,
"sent": 2723,
"protocol": 6
},
{
"source": "192.168.1.10:56392",
"destination": "151.101.112.133:443",
"received": 5440,
"sent": 1544,
"protocol": 6
},
{
"source": "192.168.1.10:56412",
"destination": "151.101.112.133:443",
"received": 6050,
"sent": 2230,
"protocol": 6
},
{
"source": "192.168.1.10:45618",
"destination": "191.18.253.113:443",
"received": 24752,
"sent": 2439,
"protocol": 6
},
{
"source": "192.168.1.10:45620",
"destination": "191.18.253.113:443",
"received": 6450,
"sent": 2001,
"protocol": 6
},
{
"source": "192.168.1.10:44928",
"destination": "191.18.253.124:443",
"received": 1514,
"sent": 6448,
"protocol": 6
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment