pcap
Threading and pcap issues
I have a GUI program that allows a user a scan a network, the issue is that when the pcap_loop function is called, my GUI program becomes unresponsive.(the pcap_loop blocks the current thread).[详细]
2023-02-02 13:37 分类:问答libpcap get MAC from AF_LINK sockaddr_dl (OSX)
I am trying to obtain the MAC addresses of all of my interface on OSX using C.The common ways to obtain it Linux dont work on BSD - from everything I have seen, you must obtain the interfaces and look[详细]
2023-02-01 17:24 分类:问答pcap function: pcap_open() question
When I successfully find a device on my computer, and make the call to pcap_open(...) Is this giving me packets only going to and from my computer? What about other computes 开发者_Go百科on the networ[详细]
2023-02-01 17:02 分类:问答pcap_set_rfmon does not work?
I am trying to set my device to monitor mode, and i know its capable of being in monitor mode doing a \"iwc开发者_开发技巧onfig wlan0 mode monitor\" works, i run my code and i can capture packets from[详细]
2023-02-01 10:09 分类:问答How do I get Wireshark to read header-less pcap files without a UDP/IP/Ethernet header?
Does Wireshark support a format that doesn\'t require TCP/UDP/Ethernet he开发者_开发知识库aders in every packet?[详细]
2023-01-31 11:19 分类:问答pcap why always packets of 8 bytes... why?
I\'m using the pcap library but I don\'t know why I get always this output: new packet with size: udata= 8 hdr=8 pkt=8[详细]
2023-01-31 07:15 分类:问答How to filter POST requests using pcap?
I am playing around with the pcap library in C. I can filter http traffic using the filter expression \"port 80\" in the pcap_compile call, but now I\'m wondering whether I can filter POST requests sp[详细]
2023-01-30 06:42 分类:问答libpcap setfilter() function and packet loss
this is my first question here @stackoverflow. I\'m writing a monitoring tool for some VoIP production servers, particularly a sniff tool that allows to capture all traffic (VoIP calls) that match a[详细]
2023-01-28 18:17 分类:问答pcap only picking up on new connections
I wrote a very simple C program to do a packet capture using pcap. Thing is, it only picks up on a small subset of my network activity. (I think the pattern is that it only picks up on new TCP connect[详细]
2023-01-28 02:37 分类:问答Ruby/C/Makefile, what is the default pcap.h file that is used in -lpcap/#include <pcap.h>
How can I determine what pcap.h file is being included in a C source that is being compiled/installed via a Makefile?[详细]
2023-01-28 02:10 分类:问答