The DHCP Request is a broadcast UDP packet,Theoretically I could snnifering it with the Port 67(which dest port of DHCP Request) For example, I could snnifering other device DHCP Request info in LAN under mac os Wireshark
But With Android Application When I run
DatagramSocket socket = new DatagramSocket("67");
I get Exception with java.net.bindexception bind failed access (permission denied) Which since I may not bind port under 1024
So Is there any other API or Method I could sniffering without root privilage?
PS: Fing Mobile SDK claim it does contains DHCP monitoring so it may have someway doing this
PSPS: It seems Fing implement DHCP sniifer by it's Fingbox