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

SharpCap LivePcapDevice not found

So I have the reference to the dll files in there (PacketDotNet.dll and SharpCap.dll) and for some reason it cannot find these two classes. private LivePcapDevice m_Device = null; private IStatusUpdate m_IStatusUpdate; Not sure what to do, if…
thekevshow
  • 774
  • 14
  • 36
0
votes
1 answer

How to filter custom protocol packet?

I want to set filter, of "ether type" which value is equal to 0xe188. How to write this filter? My filter is "ether type 0xe188", but it compiles with ERROR: if(pcap_compile(fp, &fcode,"ether proto 0xe188", 1, NetMask) >= 0) pcap_setfilter(fp,…
tfzxyinhao
  • 334
  • 5
  • 19
0
votes
1 answer

Capture and forwarding of network traffic from a particular application on Windows

I need to capture network traffic that is going in/out of a particular application. The main issue is that I would like to do this in a blocking fashion -- i.e. capture the traffic, perform some analysis and encryption/decryption on it and then…
Sib
  • 31
  • 1
  • 4
0
votes
0 answers

WinPcap C++ program no longer compiles in Visual Studio 2010

Ok. So, we've had a project that's worked for a long time, and now today I opened it up, made a change to some file i/o, and tried to compile. I get ton's of errors, and I have no clue why. The project hasn't changed, directory structure hasn't…
AMB0027
  • 121
  • 12
0
votes
1 answer

ATM pcap file to Ethernet Pcap file

I am looking for .pcap file format of ATM.Its needed in my project.I am looking for mechanism so that ATM pcap file can be converted to Ethernet pcap file
Rajeev Das
  • 1,581
  • 4
  • 18
  • 21
0
votes
1 answer

Mirror network traffic for traffic interception

I want to develop an application where all traffic from network segment gets mirrored onto a windows station in order to be able to see all tcp-ip request/response data (filtering). I know that it should be possible using WinPcap to capture all…
Gmt
  • 569
  • 1
  • 5
  • 19
0
votes
2 answers

Make a network interface receive (hear) a packet

I need to make Microsoft Loopback Adapter receive (hear) a packet using PcapDotNet or anything else. How can I do that? Thanks.
Ali Momen Sani
  • 840
  • 2
  • 11
  • 26
0
votes
1 answer

PacketDotNet problems with CalculateTCPChecksum, ValidTCPChecksum and ValidChecksum

I am trying to do some raw socket programming with TCP protocol, however I am running into an issue with PacketDotNet and TCP checksum. I am getting nullpointer exceptions within the PacketDotNet.TCPPacket. The exception I get is the…
Automatico
  • 12,420
  • 9
  • 82
  • 110
0
votes
1 answer

Jpcap on windows 7 (32 bit)

I have Windows 7 (32 bit) installed on my Laptop. I am running the below code on Eclipse Juno : import jpcap.JpcapCaptor; import jpcap.NetworkInterface; public class Network { public static void main(String[] args) { NetworkInterface[]…
0
votes
1 answer

Packet sniffing and modification

First, why do I need that? I have Wifi network. I want everyone that just connected to wifi first to redirect to login page and then if login is successful - redirect to the page requested. I thought to do that using PCap. But since WinPCap allows…
seeker
  • 3,255
  • 7
  • 36
  • 68
0
votes
1 answer

Winpcap packet forwarding. Java wrapper

I am trying to build a winpcap application capable of sniff traffic of a target host within a switch-based LAN. To carry out this, I am trying to perform a arp spoofing. This way, messages between the target host and the getaway will be sent through…
0
votes
1 answer

how does winpcap work?

as you know windows has stopped supporting raw_sockets therefore there is no real solution to use raw_sockets to build a network sniffer. so my question is how exactly Winpcap and similar libraries provide network sniffing on windows? does it…
sia
  • 401
  • 3
  • 8
  • 20
0
votes
4 answers

Winpcap - Having troubles sending data

I'm using Tamir's SharpPCap to try to send data to my msn. Currently, for testing purposes, my idea is to wait for any msg received by mymsn@msn.com and then send the packet itself again, that is, make any message appear repeated forever on my msn.…
devoured elysium
  • 101,373
  • 131
  • 340
  • 557
0
votes
2 answers

Winpcap simple question - how to send packets to a specified ip/port?

I read the tutorials and so, but I am not getting it. It does let you send packets, but how can you tell Winpcap where to send those packets? Is there any header I should put on the packets so it will know to which ip/port's to forward it? I mean.…
devoured elysium
  • 101,373
  • 131
  • 340
  • 557
0
votes
1 answer

network adapter counters

I'm writing for a company a software that sends and analyzes raw ethernet packets using winpcap. I'm experiencing seldom packet loss when the software runs over longer time. My environment is rather bad: a laptop with lots of corporate software…
1 2 3
23
24