Huge Thank you for Winpkfilter team ..
I have installed winpkfilter runtime and tools..reading help file.
I want to build simple application that can block ips from file.In file each ip line by line
e.g. blockip.txt
192.168.1.1
127.0.0.1
So far i understand few things from samples (filter program)…I have created my own sniffer using winsock …that dumps IPs , and also other extra info (like src address protocol)..
How do i read packet …and then check for src or destination ips in IP header ..and compare them with given ips from text file..if ip found in text file..block it (drop all packets from that ip)…this is completely based on ip from text file.. 🙂