![]() ![]() ![]() I've been drinking wine too, lol, but at my old place in Victoria, if you plugged into a port on my router, you would see NO traffic that I sent to the Internet. I admit all I've learned about networking has not been through school but, this being the scenario, I have a feeling the network switch might be an issue? (You mentioned both modes in your edit) This is assuming you are using a NAT router in conjunction with a DHCP server. To answer the subject line question, "Is promiscuous mode sufficient to sniff packets in a wifi network?", the answer is yes, catching the packets just requires a network adapter that can be put into "monitor" or "promiscuous" mode, ie both modes work.that part isn't that hard. ![]() iw phy phy0 info tells that my NIC supports the monitor mode but if I try to add a new interface with sudo iw phy phy0 interface add mon0 type monitor I get the following: iw devĬhannel 7 (2442 MHz), width: 20 MHz, center1: 2442 MHz Then I open wireshark and I start to capture traffic on wlo1 interface but I don't see any packets from source 192.168.1.2 and I'm surfing the net with my smartphone (so, I'm generating traffic). Since the promiscuous mode is on, I should see all the traffic that my NIC can capture. The P on the flag column indicates the promiscuous mode, so I'm assuming it is enabled. Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR FlgĮnp8s0 1500 0 28962 0 1 0 22923 0 0 0 BMU To achieve the goal I set the wireless interface in promiscuous mode with sudo ip link wlo1 promiscuous on and I check if it is enabled with netstat -i: Kernel Interface table So I want to be able to see (part of) the traffic between my smartphone and the router. the laptop that I'm using to sniff traffic 192.168.1.9.I don't want to modify the content of these packets and I don't need to read the content of every packet.Īctually, the wlan configuration is the following: I'm connected to my WiFi network and I want to capture and analyze packets that other clients are exchanging with the gateway. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |