Johnny Johnnyson
Johnny Johnnyson

Reputation: 31

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.

http://img269.imageshack.us/img269/6549/wtfisthisshitx.jpg

The left side is Wireshark (The correct version of the captured packet) and the right is my capture using the Pcapсфз library. The c2s do not belong. Has anyone else seen this before?

The code I'm using to receive the packets is almost 100% like the example posted on their website.

Upvotes: 2

Views: 555

Answers (1)

bwall
bwall

Reputation: 1543

I do not have experience with the library you are currently used SharpPcap quite extensively and have not had an issue with this. Alternatively to Pcap, you can use various other products to access packets on the NDIS layer, such as fireBwall which uses the WinpkFilter driver. fireBwall does parse your packets into classes that can be used to reference/change the packet's parsed values.

Upvotes: 1

Related Questions