Packet Capture and Analysis tool for passively discovering routable address space by observing bitmask changes on captured packets
GOatherd analyzes tcp/ip communications (either live on the wire, or from a previously captured .pcap file) and assesses their source ARP and IP addresses with XOR bitwise pattern matching to make an intelligent attempt to determine:
- what addresses on your local network are the 'downstream' gateways (gateways from other networks), and which one (at minimum) is the 'upstream' gateway (ie the gateway address for the local subnet).
- To the best of its abilities, what CIDR subnets are 'downstream' from the local network (incoming to it from one or more layers of downstream gateways).
- attempts to find a common range of TTL variances to guestimate how many 'hops' downstream a particular submet is from the currently observed network.
You'll be needing the LibPCAP include files to compile for packet capture.
apt-get install libpcap-dev
on debian-derived Linux distributions