AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

Exception rule from the SDN filter does not work

Open ameshkov opened this issue 8 years ago • 3 comments

This rule should prevent blocking googleadapis.l.google.com (which is a CNAME for fonts.googleapis.com), but for some reason, it does not work: @@||googleadapis.l.google.com^|

ameshkov avatar Nov 18 '18 16:11 ameshkov

Correct rule is @@||googleadapis.l.google.com^, without the | in the end.

hmage avatar Nov 23 '18 13:11 hmage

Both are correct

ameshkov avatar Nov 23 '18 13:11 ameshkov

Request from Internet host to NS 176.103.130.130:

:~$ host fonts.googleapis.com 176.103.130.130
Using domain server:
Name: 176.103.130.130
Address: 176.103.130.130#53
Aliases:

fonts.googleapis.com is an alias for googleadapis.l.google.com.
googleadapis.l.google.com has address 172.217.17.106
Host googleadapis.l.google.com not found: 3(NXDOMAIN)
Host googleadapis.l.google.com not found: 3(NXDOMAIN)

but Request for an googleadapis.l.google.com get:

:~$ host googleadapis.l.google.com 176.103.130.130
Using domain server:
Name: 176.103.130.130
Address: 176.103.130.130#53
Aliases:

Host googleadapis.l.google.com not found: 3(NXDOMAIN)

tcpdump:

IP 80.211.173.176.41922 > 176.103.130.130.53: 42379+ A? fonts.googleapis.com. (38)
IP 176.103.130.130.53 > 80.211.173.176.41922: 42379 2/0/0 CNAME googleadapis.l.google.com., A 172.217.17.106 (138)
IP 80.211.173.176.47154 > 176.103.130.130.53: 55875+ AAAA? googleadapis.l.google.com. (43)
IP 176.103.130.130.53 > 80.211.173.176.47154: 55875 NXDomain* 0/1/0 (177)
IP 176.103.130.130.53 > 80.211.173.176.47154: 55875 NXDomain- 0/0/0 (43)

and

IP 80.211.173.176.34344 > 176.103.130.130.53: 3001+ MX? googleadapis.l.google.com. (43)
IP 176.103.130.130.53 > 80.211.173.176.34344: 3001 NXDomain* 0/1/0 (177)
IP 176.103.130.130.53 > 80.211.173.176.34344: 3001 NXDomain- 0/0/0 (43)

a-zazell avatar Nov 23 '18 19:11 a-zazell