Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
antiX Advert Blocker
#6
Okay, this is what's happening...

Package advert-block-antix is not installed on DSL, but I have a fairly up to date list of domains to block in the Live CD. They are being blocked by rerouting the 74124 spam domains to the localhost address at 127.0.0.1.

The installer (minstall) has a little sed script in it:
sed -E -i '/localhost/! s/^(127\.0\.0\.1|127\.0\.1\.1).*/\1

Which is designed to replace the localhost alias with what is chosen during the install process (default is dsl1). So, everything works fine except it overwrites all the spam domains with the local computer alias -- and that's why you get the giant non-nonsensical list!

This is an easy problem to fix and I'll be sure to take care of it in RC6. You can restore the pi-hole blocks by deleting the local alias listed below "# BEGIN (below) - IPs added by antiX Advert Blocker #", install the advert-block-antix package and run /usr/local/bin/block-advert.sh.
Reply


Messages In This Thread
antiX Advert Blocker - by sctn4elk - 06-20-2024, 02:55 PM
RE: antiX Advert Blocker - by sctn4elk - 06-20-2024, 05:13 PM
RE: antiX Advert Blocker - by grindstone - 06-20-2024, 10:42 PM
RE: antiX Advert Blocker - by John - 06-21-2024, 01:17 AM
RE: antiX Advert Blocker - by John - 06-21-2024, 06:32 AM
RE: antiX Advert Blocker - by John - 06-21-2024, 08:08 AM
RE: antiX Advert Blocker - by sctn4elk - 06-21-2024, 02:00 PM
RE: antiX Advert Blocker - by John - 06-21-2024, 06:09 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)