What's new

pixelserv pixelserv - A Better One-pixel Webserver for Adblock

  • 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!

Should be soon I think. In weeks..not longer than October. Have been trying One More Thing..so perhaps one more rc run.



...running Pi Hole?

Curious what's the current status of OpenSSL 1.1.1 on Rasp Pi?

To make most out of v2.2, you'll need OpenSSL 1.1.1..
Thanks for that.

I use ab-solution on my router with a custom IP block which hands ad requests off to the pixelserv instance on my pi.

Looks like openssl is still at 1.1.0 on the Pi, I'll have a go at compiling 1.1.1 - thanks for the heads up!

Cheers,
Dave

Sent from my LLD-L31 using Tapatalk
 
Pixelserv-tls does not show white pixel/screen when blocking "googleads.g.doubleclick.net" should it be like that?
If I ping the googleads.g.doubleclick.net then pixel server replies so I know pixelserver is handeling it. But on the webpage I see the error msg connection fail ect...

In diversion I cleard the stored cert befor I updated to the R5 release, had the same problem on 2.1.2..so no change at all. Fells like it just drops the HTTPS request insted of white pixeling it. Attach pixservstats.pdf
This is the webpage: http://hola.klonec.co/black-cat-emoji/

In chrome it shows this insted of a just white background in the ad area:
https://googleads.g.doubleclick.net...pc=xiwNElnmmo&p=http://hola.klonec.co&dtd=193
 

Attachments

  • pixelserv-statistics.pdf
    58.4 KB · Views: 351
Interesting.. was the command used to generated the CA cert same in both cases? What are full command lines if I may ask?

If what you've described is correct, I think there is some issue we might need to take a closer look for new users using openssl 1.0.2p to generate a CA cert.
Pretty sure I have the same issue after I recently generated new certificates as a result of a USB fail.
 
In chrome it shows this insted of a just white background in the ad area:
https://googleads.g.doubleclick.net...pc=xiwNElnmmo&p=http://hola.klonec.co&dtd=193

Dns based Adblock with pixelserv-tls is an interesting task and requires understanding the web standards. The ancestors of the old pixelserv worked out some bits in this area which might be possibly outdated.

In this particular case, there is long time feature for it, -R cli option. If u enable -R when u launch pixelserv-tls, test the same url above. What did u get?
 
Pretty sure I have the same issue after I recently generated new certificates as a result of a USB fail.

Not clear at all from your brief description what problem u faced nor u mentioned how u solved it. Implying same issue as the user above is simply misleading because he even hasn confirmed with a reply of what his actual issue is...

So up to now I consider his case is user error.
 
I've generated certificates with OpenSSL 1.0.2p for pixelserv-tls that work perfectly, so the problem isn't there (or there alone).
 
Dns based Adblock with pixelserv-tls is an interesting task and requires understanding the web standards. The ancestors of the old pixelserv worked out some bits in this area which might be possibly outdated.

In this particular case, there is long time feature for it, -R cli option. If u enable -R when u launch pixelserv-tls, test the same url above. What did u get?

Samething, I enable -R in Diversion and also did a restart of pixelserv-tls - It did not change anything. In firefox it says: This site uses HTTP Strict Transport Security (HSTS), could that be the reson or that its DNS based ad URL.... I hope its possible to fix becouse many webpages uses the googleads.g.doubleclick.net ad redirection.
 
Samething, I enable -R in Diversion and also did a restart of pixelserv-tls - It did not change anything. In firefox it says: This site uses HTTP Strict Transport Security (HSTS), could that be the reson or that its DNS based ad URL.... I hope its possible to fix becouse many webpages uses the googleads.g.doubleclick.net ad redirection.

Could you review and update the link you provided above and I quoted? Seems like you maybe testing two slightly different links

If in all your tests, you're seeing the same HSTS error, then I believe there is definitely something wrong in copy&paste of the above link. That link doesn't give HSTS error in Firefox but server not found.

I can't work from the main site that requires guess work on what you were trying to do. So an updated URL that gives the HSTS error will help to better understand the issue.
 
In the coming rc.6, we'll get this new feature on servstats:

5I33Hq3.png
 
at first i thought pixelserv is only working with dnsmasq "host method".
i tried unbound with python script, and it works :D. support regex too.
can't wait for rc6,
 
at first i thought pixelserv is only working with dnsmasq "host method".
i tried unbound with python script, and it works :D. support regex too.
can't wait for rc6,
Theoretically, any forwarder should work if there's a way to "poison" DNS queries. Dnsmasq just happens to be the most used and easiest to manipulate in my opinion.
 
Could you review and update the link you provided above and I quoted? Seems like you maybe testing two slightly different links

If in all your tests, you're seeing the same HSTS error, then I believe there is definitely something wrong in copy&paste of the above link. That link doesn't give HSTS error in Firefox but server not found.

I can't work from the main site that requires guess work on what you were trying to do. So an updated URL that gives the HSTS error will help to better understand the issue.

Hello,
I run diversion with the -R on pixelserv Rc5
In firefox it says "HTTP Strict Transport Security (HSTS)" where it should display white pixel backgound in this webpage: "http://kazan.klonec.co/black-cat-emoji/" at Ads area for https://googleads.g.doubleclick.net. On Edge browser and Google Chrome it says "Can not connect" -If pixelserv worked correctly it should only be a white area insted of the text right?

I also notice that the statistic logs from pixelserv are diffrent when I get them from https://192.168.0.2/servstats or http://192.168.0.2/servstats whats up with that??? see attachment

I have also notice "connection failure" to other https websites -that I dont have any blocking to, but if I refresh the webpage then I it shows the webpage. I think it could be related to pixelserver see my logs.

I will also attach a syslog from my router to this message.
 

Attachments

  • Http_pixelstatistics.pdf
    58.9 KB · Views: 295
  • Https_pixelstatistics.pdf
    58.9 KB · Views: 317
  • ASUSRT-68U_syslog.pdf
    418 KB · Views: 383
  • PixServCertNotSecure.jpg
    PixServCertNotSecure.jpg
    7.5 KB · Views: 378
In firefox it says "HTTP Strict Transport Security (HSTS)" where it should display white pixel backgound in this webpage: "http://kazan.klonec.co/black-cat-emoji/" at Ads area for https://googleads.g.doubleclick.net. On Edge browser and Google Chrome it says "Can not connect" -If pixelserv worked correctly it should only be a white area insted of the text right?

I do not see what you saw. I see snowy white page. No error messages.

The only difference between last time you posted and now is that the cartoon figure violates copyright and has been removed from the page you pointed to under requests by its copyright holders.

I also notice that the statistic logs from pixelserv are diffrent when I get them from https://192.168.0.2/servstats or http://192.168.0.2/servstats whats up with that???

That's called servstats page. The numbers will get updated every time you load the page.

I failed to see any difference in your screenshots other than normal updates.

I have also notice "connection failure" to other https websites -that I dont have any blocking to, but if I refresh the webpage then I it shows the webpage. I think it could be related to pixelserver see my logs.

No, it's not related to pixelserv-tls.
 
at first i thought pixelserv is only working with dnsmasq "host method".
i tried unbound with python script, and it works :D. support regex too.
can't wait for rc6,

Almost every platform has a script or two implements DNS based adblock. This is regardless what DNS server software runs on the platforms.

If your machine can cope with Unbound, perhaps you should stay with it. Snappier browsing experience overall in my opinion.
 
Almost every platform has a script or two implements DNS based adblock. This is regardless what DNS server software runs on the platforms.

If your machine can cope with Unbound, perhaps you should stay with it. Snappier browsing experience overall in my opinion.
I now have DNS over TLS working with DNSMASQ + Stubby. In my research, found it's possible to combine Unbound as the local caching forwarder with Stubby. Have not had time to research it much more. I need the IPSET feature of DNSMASQ. So DNSMASQ + Unbound + Stubby would all have to play together. One step at a time...

Unbound can be run as a local caching forwarder, configured to use SSL upstream, however it cannot yet re-use TCP/TLS connections or send several of the privacy related options (padding, ECS privacy) etc. The 1.7.1 release of Unbound supports authentication of upstream recursive resolvers using an authentication domain name (i.e. PKIX authentication) if a certificate bundle is configured. An example minimal config is given below.
 
Last edited:
however it cannot yet re-use TCP/TLS connections or send several of the privacy related options (padding, ECS privacy) etc.

Basically they have to go through some of the TLS optimization that pixelserv-tls already done. But this sounds like two-edged sword to some extend. Won't be hard for Unbound to catch up if they think they should get the same TLS feature. So in that sense given presence of Unbound, Stubby is trying hard to find a place for itself.
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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