Re: [tcpdump-workers] libpcap OSX problems

2010-12-29 Thread Guy Harris
On Dec 29, 2010, at 7:59 PM, Mathew Rowley wrote: > I have been debugging why libpcap is unable to sniff packets in pcaprub (of > metasploit) and have found a few things. Maybe some of you can enlighten me. > > 1. With this sample source - if the timeout variable is 0 in pcap_open_live, > cap

[tcpdump-workers] libpcap OSX problems

2010-12-29 Thread Mathew Rowley
I have been debugging why libpcap is unable to sniff packets in pcaprub (of metasploit) and have found a few things. Maybe some of you can enlighten me. 1. With this sample source - if the timeout variable is 0 in pcap_open_live, capturing does not work. Setting to >0 allows things to work. 2.