Can't see the traffic generated on the same machine on another interface
Closed this issue · 5 comments
Is there any option for a VM to see the traffic generated on the same machine on another interface?
My configuration is as follows:
- VM attacker (server)
- VM AP (client)
When the attacker raises a Rogue AP from one of the interfaces, from the rest of the same machine does not appear that traffic. it only appears if the server is not raised.
I have tried to monitor the traffic with airodump-ng from the AP VM but I can't see the traffic from the rest of the interfaces either, only the traffic from the attacker VM. Each one can see the traffic of the rest but not their own, not even in spy mode.
Thank you very much, I love the repo.
Hi
Sorry, i don't understand :
- On the VM attacker, you have the Server AND a Client, or only the Server ? (On each "Wifi" VM, you must have at least one Client)
- Do you use VHost or TCP ? (I assume TCP)
- On AP :
ifconfig wlan0 down
iwconfig wlan0 mode Monitor
ifconfig wlan0 up
create_ap wlan0 wlan0 MyAccessPoint MyPassPhrase
- On an other tab of AP
tcpdump -n -e -i wlan0
Then i can see the broadcast of BSSID
(But perhaps that i don't understand your question)
I am using TCP, one VM has the server and a client, and the other has only a client. The problem is when trying to see the wlan0 AP from wlan1 in the same machine. From the other VM it can be seen without problems. And if you don't use vwifi using only mac80211_hwsim locally also works.
Could you do all your tests with this branch send_to_interfaces_on_same_VM ?
Thank you
OK, now it seems to work fine. I have created an AP on wlan0 and I can see the traffic from wlan1 (airodump-ng wlan1mon -c1).
I am going to do more tests in my lab, but everything seems to be working perfectly. Thank you very much.
I close the issue, if it is possible to include it in the main branch great, meanwhile I use this branch.
Thank you very much for the help and for the project.