Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Home NTDEV

Before Posting...

Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


Windows filtering platform - Not able to block Google

bdineshitbdineshit Member Posts: 4

I have referred the Windows Filtering Platform (https://github.com/microsoft/Windows-driver-samples/tree/main/network/trans/inspect) and try to block Google site. But the problem is IP is changed frequently and not able to identify a particular IP.

Please help on this to figure out for Google and GMail.

Thanks in advance.

Comments

  • Sooncheol_WonSooncheol_Won Member Posts: 47

    You can also lookup DNS for Google and GMail frequently and add the IPs to block.

  • bdineshitbdineshit Member Posts: 4

    @Sooncheol_Won said:
    You can also lookup DNS for Google and GMail frequently and add the IPs to block.

    Can you recommend any program?

  • MBond2MBond2 Member Posts: 565

    What he is suggesting is that instead of trying to block the connection to google.com, filter DNS query packets (UDP port 53) if they are for google.com. The browser or other client, won't be able to resolve the IP address and can't make the connection. A user who knows the exact IP address will still be able to make a connection, but hardly anything will work since every link (including those in scripts) will use the DNS name and all of those connections will fail.

    I'm sure that there are products available that can do this. try googling to find one

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Internals & Software Drivers 19-23 June 2023 Live, Online
Writing WDF Drivers 10-14 July 2023 Live, Online
Kernel Debugging 16-20 October 2023 Live, Online
Developing Minifilters 13-17 November 2023 Live, Online