Guys, not so long ago I began to learn the basics of networking and as a practice I write the simplest sniffers. I have several network interfaces on my device:
ccmni0- 3G mobile interfaceap0- Hotspot interface (traffic distribution)wlan0- Wi-Fi interface for connecting to the router
I bind a raw socket to an access point ( ap0 ), but I can’t catch anything that happens to the device connected to it. What could be the problem?
libpcapin your project. - 0andriy