I’m evaluating WinpkFilter for building a solution to allow only authorized client to access the Internet.
The application must have the following functionality:
– only authorized clients can access the web; no special destination IPs to filter: a client can have free
access or no access at all;
– unauthorized clients should be redirected to a warning page hosted locally;
– all type of traffic should be monitored: http, ftp, email and instant messaging;
With WinpkFilter seems I can do all this but don’t know where to start… can you give me clue, a workflow to follow, a sequence of operations to perform mapped to which WinpkFilter functions to use, please?
Some sample code will also be nice; I better understand VB6, VB.NET and C# but C/C++ will also be good.
For the authorized users you just pass packet through. When you detect HTTP GET request from unauthorized user you should generate HTTP redirect response packet. Since you pass all network packets through your application you can easily inspect/modify the traffic flow.