nethacks
Network tools and hacks
- asnames.sh fetch ASN to AS name mapping file from RIPE
- bind-query-report.pl BIND query log report
- compactaddrs.pl aggregates contiguous IPv4/IPv6 addresses into prefixes
- enumerate-cidr.pl enumerate all IP addresses in a CIDR prefix
- gpg-ring-check.sh examine a GnuPG public key ring for expiring, expired, revoked keys
- ipaddr-info.py map IP addresses to BGP ASN and PTR name
- nobogons.pl IPv4/IPv6 address prefixes via STDIN, remove bogons, back to STDOUT
- priority-decode.pl Juniper-specific syslog priority decoder
- random-ipv4addrs.go Go implementation by Brett Lykins
- random-ipv4addrs.pl generates a random list of IPv4 addresses to STDOUT, 10 million by default
- random-ipv4addrs.py rough, simpler equivalent of the Perl version
- randomize-lines.pl randomize lines in a file
- refresh-pyasn-dat.sh fetch latest RIB data for PyASN
- pcapr.sh capture traffic and write pcap files at regular intervals
- pcapsum.pl libpcap packet summarization tool
- prr-asn.py map IP addresses to origin ASN with pyasn and RIPE's asn.txt
- pyasn_util_download.py.patch patch to compliment refresh-pyasn-dat.sh
- secure-junos-mcast.html Lenny's Junos secure multicast template
- tc-asn.pl map IP addresses to origin ASN with Cymru's address mapping service (original Perl version)
- tc-asn.py map IP addresses to origin ASN with Cymru's address mapping service (Python version)
- v4rand-buckets.pl randomize all IPv4 addresses into file buckets
To apply the pyasn_util_download.py patch:
cd ~/.local/bin
patch -p1 pyasn_util_download.py < pyasn_util_download.py.patch