libpcap
Python Library for packet creation//manipulation
I am currently working on libp开发者_运维技巧cap-python, I found it does not help(I don\'t know how) in modifying packet data. Is there any library which can be used to create network packet?Did you h[详细]
2023-01-26 15:59 分类:问答Getting TCP options (beyond tcphdr->doff) out of * char eth/ip/tcp packer representation
Playing around with http://www.tcpdump.org/sniffex.c to get packet options. void payload (char *data) { // data contains full copied packet source without ethernet header.[详细]
2023-01-25 16:42 分类:问答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 分类:问答Converting a C struct to FFI::Struct
I am having difficulty setting up a struct from the pcap library in FFI. Struct: struct pcap_if { struct pcap_if *next;[详细]
2023-01-20 20:41 分类:问答How to use libpcap to sniff on multiple devices?
I am trying to create a sniffer that can sniff on multiple devices.In my code the program will receive a list of devices that a user wants to sniff on.I take the list of device and store it into an ar[详细]
2023-01-20 09:05 分类:问答the correct way to use pcap_next_ex or pcap_next (libpcap)
I saw this kind of code used in a project: while (1) { l_numPkts = pcap_next_ex( m_pcapHandle, &header, &pkt_data);[详细]
2023-01-20 05:32 分类:问答Writing a program like squid by libpcap
can we in a network gateway write a program with libpcap to extract destination web address and other info like squid? in c language.[详细]
2023-01-18 10:37 分类:问答How to use the "pcap_lookupdev()" in libpcap?
The code cant find any device, I want to know what does pcap_lookupdev() do ? thanks #include <pcap.h>[详细]
2023-01-16 22:49 分类:问答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 分类:问答Increasing number of BPF devices on AIX
Anyone know how to increase the number of BPF devices in AIX 5.2/5.3 above t开发者_开发知识库he supposed system default of four?i.e. running more than four tcpdump processes concurrently?The answer I[详细]
2023-01-08 23:38 分类:问答
加载中,请稍侯......