With MacOSx, I am trying to run my nic in promiscuous mode and then use tshark / tcpdump to capture traffic.
Option 1:
ifconfig en0 promisc
but I get this message:
ifconfig: promisc: bad value
Option 2:
I tried sudo tcpdump -In -i en0 host 10.0.0.2 and it didn't work too. I followed: tcpdump promiscuous mode on OSX 10.8 . 10.0.0.2 is my local host - and it prints nothing to bash:
tcpdump: listening on en0, link-type IEEE802_11_RADIO (802.11 plus radiotap header), capture size 65535 bytes
^C
0 packets captured
99 packets received by filter
0 packets dropped by kernel
BPF do not have the payload decryptedthe key is identical to all the hosts in the network. – 0x90 Apr 30 '13 at 04:10