Unfortunately, none of the samples have enough commenting or explanation to thoroughly understand the toolkit. For example, the PassThru example shows a SetPacketEvent call but no way to understand how to use this event… or the various modes, or the “SendPacket” operations.
My goal is to create a Gateway service to examine combinations of several variables (all read from a file):
– Client IP Address (static or wildcard)
– Client MAC Address (static or wildcard)
– Destination IP Address (static or wildcard)
– Destination Port (static or wildcard)
The service must either drop the packet(s) or pass them along to the external interface.
I have looked at several products (Windows Filter Platform, Komodia, Mentalis, etc.) and would very much like to use WinpkFilter. Unfortunately, I must look elsewhere if I cannot understand the toolkit well enough to build the service.
Any assistance you can provide would be greatly appreciated. Thank you, in advance.