Questions tagged [winpcap]

WinPcap is a discontinued tool for link-layer network access in Windows environments: it allowed applications to capture and transmit network packets bypassing the protocol stack.

WinPcap is a discontinued tool for link-layer network access in Windows environments: it allowed applications to capture and transmit network packets bypassing the protocol stack, and has additional useful features, including kernel-level packet filtering, a network statistics engine and support for remote packet capture.

Project page

361 questions
0
votes
1 answer

measuring response time through packets?

good day! im developing an app in c++ and winpcap that will list all the URL accessed in the browser with its corresponding response time.. currently, i can now track or monitor all accessed url through capturing and analyzing packets.. is there any…
jerams
  • 113
  • 1
  • 2
  • 8
0
votes
1 answer

using winpcap without installation

I wanna use winpcap library in my project, but it would get error in other computers which winpcap is not installed. I wanna use my program in WinXP, Win7. I checked this url: http://paperlined.org/apps/wireshark/winpcap_silent_install.html, but I…
bTagTiger
  • 1,261
  • 5
  • 23
  • 38
0
votes
3 answers

Receiving packets for different MAC address

is it possible to capture some packets in promiscuous mode (e.g. using winpcap) and than force OS (applications) to receive them as they were sent for our MAC? My observation is following. We can: capture all network traffic using promiscuous…
Petr Peller
  • 8,581
  • 10
  • 49
  • 66
0
votes
2 answers

How To Capture Http Packets in LAN

Well I m working on Java project.in order to make an application that will capture all packets in my lan , and be able to see HTTP traffics . I m currently using Jnetpcap API , i succeed listing interface and do a live capture and extract HTTP…
Sam Ben
  • 229
  • 1
  • 5
  • 11
0
votes
1 answer

WinPCap Data Getting Truncated

Working on parsing Arp packets and I found this nice problem. when receiving an Arp packet I was parsing the target's IP address. I have c0 a8 in my hex dumb but after that it ends. I am missing data! I see the data in Wireshark but I am not getting…
bobber205
  • 12,948
  • 27
  • 74
  • 100
0
votes
2 answers

URL browser origin in winpcap

is there anyway to know the origin(web browser) of a certain url/packet when programming with winpcap and c++?
jerams
  • 113
  • 1
  • 2
  • 8
0
votes
1 answer

Sending Jumbo Frames with Pcap

I am interested in sending Jumbo Frames, I have two issues: 1) I cannot seem to know, before actually trying (and getting an error), whether I can or not send Jumbo Frames. It appears it is only possible when a certain type of network adapters are…
Noam Rathaus
  • 5,405
  • 2
  • 28
  • 37
0
votes
2 answers

http/http traffic analyzer

i would like to develop a c++ application that would list all url accessed with its response time within the pc. this probably would be transparent to the user, so it would be a dll. can anyone gve me some sample codes or tutorials on th said…
smarej
  • 31
  • 2
0
votes
0 answers

Improve transmit rate of winpcap

I'm trying to stress test some new hardware by transmitting a lot of data through the ethernet layer to see how i handles it. For this I'm using my laptop, windows 7 x64 and winpcap. I create a send queue in a thread and then transmit that. I have…
Henrik
  • 586
  • 1
  • 4
  • 10
0
votes
1 answer

Winpcap, DLL and open source

I'm "trying" to study the Pcap library. Currently I'am using a Windows machine so I downloaded the Winpcap Dev pack. I would like to know the content of the function pcap_sendpacket. I searched the source files in the Winpcap Dev pack and only found…
Carlitos_30
  • 371
  • 4
  • 13
0
votes
1 answer

win socket library in vs2010

I am programming with c++, and using winpcap, I have a error linked in my program, that I don't know where is the problem, and what should I include to resolve this error.I have included this libraries: #include #include #include…
user3210586
  • 81
  • 3
  • 8
0
votes
1 answer

developing a portable network analyzer application using pcap

I'm having problems with portability issues while developing a network analyzer application using vc++ 2008. I'm developing an application that analyzes packets using winpcap. However, recently I've been required that my app should also run on…
MOMEL
  • 71
  • 6
0
votes
2 answers

reading a pcap file in c++

I'm trying to read a pcap file in c++ (I'm using VS 2008) and I'm having the following errors: 1) error C2011: 'bpf_program' : 'struct' type redefinition. 2) error C2011: 'bpf_insn' : 'struct' type redefinition I guess the problem is that in one…
M.R.M
  • 540
  • 1
  • 13
  • 30
0
votes
1 answer

Packet is fragmented but the flags are on Don't Fragment

I have the following 2 TCP packets I'm picking up on winpcap: http://pastebin.com/FUAs3UZ7 or in a pcap format https://www.dropbox.com/s/0ss4j0weszy92no/SO.pcap Those 2 packets are to be reassembled, but their IP flags are "010", meaning "Don't…
Nitay
  • 4,193
  • 6
  • 33
  • 42
0
votes
1 answer

low level requirements for ethernet frame in linux

I'm developing a high-speed, high-resolution video camera for robotics applications. For various reasons I need to adopt gigabit ethernet (1Ge) or 10Ge to interface my cameras to PCs. Either that or I'll need to develop my own PCIe card which I…
honestann
  • 1,374
  • 12
  • 19