Reputation: 3396
I want to manipulate a games roomlist, for filtering the maps. My idea was, to filter the incoming packets for new rooms.
I can't find anything about how to edit or block incoming packets on the fly with pcap.net in c#.
is this possible to do?
Upvotes: 0
Views: 2752
Reputation: 1021
For packet editing/filtering you can try WinDivert. The API is C so you'd need to write your own c# binding.
(disclosure: WinDivert is my project.)
Upvotes: 3
Reputation:
If pcap.net is a wrapper for WinPcap, it is not possible - libpcap/WinPcap can't block incoming packets, or modify them before they reach the networking stack, it can only passively capture packets and inject them.
Upvotes: 2