deividgdt / ytadsblocker

YTadsblocker is a script to block all the Youtube's advertisement in Pi-Hole
GNU General Public License v3.0
89 stars 12 forks source link

ytadsblocker.sh service error on centos #10

Closed langkhach270389 closed 2 years ago

langkhach270389 commented 2 years ago

Hi Dev

First thank you for your amazing project. I have tried and working fine on cenos7 with pihole v5.3.1 installed. But only for script ytadsblocker_legacy.sh, also for script ytadsblocker.sh service error. If you have time, you can check it out a bit. And I also see some problems with youtube ads. You can consider fixing that problem by changing blocking mode on pihole http https ssl response statuscode 200, which in my opinion would be better. Skipping ads will be faster, avoiding the error of being stuck where ads can appear. Finally thank you very much

deividgdt commented 2 years ago

Hi @langkhach270389 ,

The script ytadsblocker_legacy.sh it's for previous versions of Pihole 5.0, so using the legacy file with the version 5.4.1 won't work at all.

Could you provide me more information regarding that "service error"? Anyway I'll test it on CentOS 7.

Kind regards

langkhach270389 commented 2 years ago

I can confirm that legacy.sh script still works great on pihole 5.3.1 if I combine with proxy server + Pi-hole + change blocking mode to ip-nodata-aaaa. must open port 443 ( ads return https://0.0.0.0 response status code:200). Using proxy server anywhere

langkhach270389 commented 2 years ago

7BC40222-1526-40EB-9F3E-96DBEE037185

langkhach270389 commented 2 years ago

7626EBA2-B3E6-4202-A944-478DE97F0AD2