开发者

Pcap library for C# odd problem

开发者 https://www.devze.com 2023-01-26 21:20 出处:网络
I\'m currently using the PCAP C# library and making no changes from the received packet. The problem is illustrated in the following image.

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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号