Vote count:
0
I'm programming a sniffer over a wifi network and I get some problem with filters I use lorcon2(pcap) in my code
Actually I have the following string
"wlan proto \ip and ip proto \tcp"
"wlan proto \arp and arp dst 255.255.255.255"
"wlan proto \arp"
"wlan proto \ip and ip host 192.168.1.2"
"wlan proto \ip"
when setting it with the lorcon_set_filter() function
I cannot get any packet from my app (I use lorcon_dispatch the as pcap_dispatch ) for sure I'm in a "non-blocking" mode but I get not packet
but with a "" string filter it works perfectly
Thanks
asked 31 secs ago
Setting filter on wifi network using pcap(lorcon2)
Aucun commentaire:
Enregistrer un commentaire