Replies: 6 comments 8 replies
-
In blocky you can define the blocking groups based on the client name (determined via rDNS or defined manually) with or without wildcards, by using client's IP address or by defining an IP range (CIDR notation). I tried rDNS with IPv6 on FritzBox, but it didn't work properly. Blocky receives only the IP from client and AFAIK you can't obtain the MAC address, but maybe I'm wrong. PiHole provides also a DHCP server, if you are using it, then PiHole has automatically the MAC from each client. Do you use the DHCP server from PiHole or from your FritzBox? I'll check the release notes from PiHole |
Beta Was this translation helpful? Give feedback.
-
I found some information:
Looks like it is possible to retrieve the MAC with APR protocol (IPv4) or NDP (IPv6). I'll play a bit with this stuff. |
Beta Was this translation helpful? Give feedback.
-
Just testet rDNS with Ipv6 and FritzBox and it worked: Not sure, but maybe it was fixed witz FritzOs 7.26, there are some rDNS stuff in the change log will check if it works with blocky |
Beta Was this translation helpful? Give feedback.
-
The IPv6 stuff is a bit tricky. I just tried following on my RPi (where Blocky is supposed to run on) pi@raspberrypi:~ $ dig +short -x 2001:16b8:28c5:e00:7f20:966e:XXXX:XXXX @192.168.178.1 pi@raspberrypi:~ $ dig +short -x 2001:16b8:28c5:e00:7f20:966e:XXXX:XXXX pi@raspberrypi:~ $ dig +short -x 192.168.178.20 @192.168.178.1 Did you do the same / similar testing? |
Beta Was this translation helpful? Give feedback.
-
@moether If you're still searching for a solution: I had also some troubles with IPv6 and rDNS on FritzBox. I created this tool (https://github.com/0xERR0R/fritzbox-rdns). It fetches device information (name and all IP addresses) from the Web UI of the fritzbox. |
Beta Was this translation helpful? Give feedback.
-
@moether What helped for me on a similar setup was to add the following line for 0.0.d.f.ip6.arpa to the "conditional mapping":
with the following config in fritz.box: Now also all IPv6 addresses in the logs are resolved. |
Beta Was this translation helpful? Give feedback.
-
I am evaluating blocky to replace PiHole. For me as a SW dev PiHole is an architectural over-designed nightmare - while I really like the simple yet powerful approach of blocky! Good job so far!
PiHole recently introduced a nice and for me (or my wife ;)) tremendously important feature: allow defining clients per Network MAC address, so that I can exclude certain devices in my network from ad-blocking. That one is working really nice.
Blocky allows to define excludes on host name basis which makes a Reverse DNS query necessary. This works fine for IPv4 queries together with my Fritzbox. But when it comes to IPv6 queries the FB never returns a hostname for a local IPv6 address.
Is this something you guys also experienced? I know it's not blocky's fault, but for it make it impossible to replace PiHole.
Not sure how PiHole does the MAC based filtering though...I have not yet found time to dig into their code.
Beta Was this translation helpful? Give feedback.
All reactions