Block ips from file

Home Forums Discussions Support Portal Block ips from file

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #5408

    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

    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.. 🙂


    Hello ,
    I tried to run Packetsniffer from samples is not printing ip does print MAC ..How to get it to work ?? I tried on XP and Win 7 …
    Can anyone please help ?

    Vadim Smirnov

    To block IP addresses you should take PassThru sample as a base. MSVC sample of this utility demonstrates parsing packet for IP address.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.