Skip to content

Instantly share code, notes, and snippets.

View akhepcat's full-sized avatar

Leif akhepcat

  • Anchorage, AK
View GitHub Profile
@akhepcat
akhepcat / ipcapuniq.sh
Last active May 31, 2017 06:04
a script to tcpdump only uniquely seen IP addresses
#!/bin/bash
DBFILE=ipcapuniq.log
if [ -z "${1}" ]
then
echo "$0 [iface] {expr....}"
exit 1
fi
ifaces=$(ip link show | grep UP | cut -f 2 -d: )
ifaces=$(echo $ifaces)

Keybase proof

I hereby claim:

  • I am akhepcat on github.
  • I am ak_hepcat (https://keybase.io/ak_hepcat) on keybase.
  • I have a public key whose fingerprint is 1E3E 9937 804A 5948 5328 CE94 9599 700F 08BE EDA8

To claim this, I am signing this object: