pcap
Listening on two devices at once with libpcap
I am trying to listen on two devices with libpcap but I still cant find out how to do the trick. I tried to set device to \"any\" but it isnt working. I am trying to write dhcp relay agent so i need t[详细]
2023-01-27 20:47 分类:问答Pcap library for C# odd problem
I\'m currently using the PCAP C# library and making no changes from the received packet. The problem is illustrated in the following image.[详细]
2023-01-26 21:20 分类:问答zero read timeout for pcap
Is -1 a valid read timeout for pcap? I was told by someone that setting to_ms to -1 in pcap_open_live(char *device, int snaplen, int promisc, int开发者_JAVA百科 to_ms, char *errbuf); causes it to ret[详细]
2023-01-26 17:19 分类:问答Packet Logging with Pcap for C#
I\'m currently using the pcap library for C# and was wondering if there were any built in functions to remove the IP开发者_运维知识库 headers and the TCP/UDP/ECT headers? If not, could anyone post how[详细]
2023-01-26 10:28 分类:问答How to ignore own packets by WinPcap?
When I inject any packet via WinPcap it will be captured in this moment. I dont want to ca开发者_JAVA技巧pture packets, witch were injected myself.[详细]
2023-01-24 19:21 分类:问答C pcap detecting inbound datagrams
In C I bind a datagram socket (AF_INET, SOCK_DGRAM) to INADDR_ANY. I then periodically use this socket to send and receive datagrams, and monitor the开发者_如何学编程 flow of packets with pcap. The pr[详细]
2023-01-23 11:55 分类:问答how to determinate destination MAC address
My application is running on CentOS 5.5 I need to send raw packets using libpcap API: pcap_inject() or pcap_sendpacket()[详细]
2023-01-22 07:45 分类:问答Linux text editor similar to Notepad++ for processing packet captures
I am looking for a very specific functionality which Notepad++ has in a Linux text editor. If you use tcpdump -x to get a hex dump of network traffic, Notepad++ allows you to easily strip away the le[详细]
2023-01-17 22:10 分类:问答jNetPcap vs Jpcap
wondering any of you can give me a bit of comments + insights please. In term of performanc开发者_C百科e, which one should I use, jNetPcap or Jpcap?[详细]
2023-01-14 07:01 分类:问答pcap_dump file not opened by Wireshark
I am trying to save the output of this file in libpcap format and although the file does get saved and the right data is written into it, Wireshark is unable to open it. Anyone see what I am missing h[详细]
2023-01-10 09:32 分类:问答