Can't get capture working #308
Replies: 3 comments 3 replies
|
show tcpdump output |
0 replies
|
I don't use a mac, but in the README for MAC OS we have:
|
3 replies
|
Evidently you have to set immediate mode. This example works fine: let mut cap = Capture::from_device("en1") |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I can list the existing devices okay using the Device::List() function, so i know that libpcap is installed and working fine on my Mac OSX machine.
But when i try to capture some packets on the "en1" interface (my wifi port which is quite active and tcpdump shows plenty of action), it just hangs. Can someone please tell me what i am doing wrong?
I don't understand how to get past square one with this library.
let mut cap = Capture::from_device("en1").unwrap()
.open().unwrap();
All reactions