What's new

Problem with URL Filter

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Alaska99

Occasional Visitor
The Url Filter in the Firewall tab block nothings. I want bloc access to roblox to my kid and I try "roblox.com" or "roblox" in the blacklist and the web site roblox.com still be accessible.
I have 386.2 alpha but I don't know if the problem exist with previous release.
 
Problem present on 386.2 Beta1 too
www.roblox.com still be accessible....
 

Attachments

  • Capture d’écran 2021-03-11 132917.jpg
    Capture d’écran 2021-03-11 132917.jpg
    86.7 KB · Views: 107
URL filtering is based on matching the specified string to what the router finds in the DNS query to that same domain name. If it matches, it just DROPs the DNS request and the client receives no response.

That's all well and good AS LONG AS your DNS queries are being handled over port 53, and NOT, for example, being handled internally by the browser to something other than port 53, perhaps some DoT/DoH DNS server! Or perhaps if the client is running an OpenVPN client, thus hiding all activity from the router, including DNS.

That's why a lot of this stuff isn't as reliable as you might assume, esp. these days w/ browsers now defaulting to their own internal DNS configurations (which can usually be disabled), and the proliferation of client-side VPNs. A clever person can also get around the problem by just using an explicit IP, or just by configuring their own local hosts file w/ those domains.

It's a tough world out there these days for those trying to restrict access. More and more, everything is working against you.

P.S. I just noticed it's trying to do L7 matching as well, which means it's searching the TCP packet's payload for a match on the domain name. Problem is, most traffic is https these days, NOT http, making L7 matching ineffective since the payload is encrypted! I told you it's tough out there.

Just so you can see for yourself, here's a dump of the FORWARD chain on the filter table.

Code:
    0     0 DROP       udp  --  br0    *       0.0.0.0/0            0.0.0.0/0            udp dpt:53 STRING match  "|06726f626c6f7803636f6d|" ALGO name bm TO 65535 ICASE
    0     0 REJECT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           WEBSTR match url roblox.com  reject-with tcp-reset

URL filtering may be headed the way of the dodo bird the way things are going.
 
Last edited:
I feel like a fool. I hadn't realized that my VPN client was bypassing the URL filter.
Thank you Eibgrad for this explanation, it allowed me to wake up!
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top