Package:Odhcploc
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Odhcploc
Tip
We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.
ODHCPloc is a package to locate unauthorized dhcp servers.
Installation
root # emerge net-analyzer/odhcploc
Usage
change the ip from 192.168.1.25 to your ip:
root # odhcploc -c 3 192.168.1.25 03:57:37 (IP)192.168.1.5 OFFER (S)192.168.1.1 *** 03:57:55 (IP)192.168.1.5 OFFER (S)192.168.1.1 ***
This does not insert the users ip into the dhcp client table.
example pulled from odhcploc website:
root # odhcploc -v 192.168.1.218 22:21:15 (S)192.168.1.2 *** Message type: 2 Boot reply Hardware type: 1 Hardware addr len: 6 Hops: 0 Transaction ID: 0x00000000 Seconds elapsed: 0 Flags: 0x0000 Client IP address: 0.0.0.0 Your (client) IP address: 192.168.1.104 Next server IP address: 192.168.1.2 Relay agent IP address: 0.0.0.0 Client MAC address: 31:32:33:34:35:36 Server host name not given Boot file name not given Valid magic cookie Option(t= 53, l= 1): DHCP Message Type - DHCP Offer Option(t= 54, l= 4): Server Identifier - 192.168.1.2 Option(t= 51, l= 4): IP Address Lease Time - 86400 Option(t= 1, l= 4): Subnet Mask - 255.255.255.0 Option(t= 3, l= 4): Router Option - 192.168.1.2 Option(t= 15, l= 22): Domain Name - test.example.com Option(t= 6, l= 8): Domain Name Server Option - 192.168.1.2 Option(t=255): End Option