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!

Not Working same dog image:)!

I tried again in both Android and iOS. Still work for me.

If I blocked the NA one (Amazon decides I need to be served by NA..), I see all sorts of dogs in Android.

Make sure they're indeed not blocked after you whitelist them.
 
config-webgui.sh is not working.

The first error message told me I did not have pixelserv running or not installed. I fixed it by this code:
Code:
  psVersion=$(echo $(pixelserv-tls -v | awk 'NR == 1 {print $2}'))
  if [ -z "$psVersion" ]; then
      echo "You do not appear to have pixelserv-tls installed or running." &&  \
      exit 1
  fi
#  [[ "$(/bin/ps | grep -v grep | grep -o pixelserv-tls)" = ""  || ! -x /opt/bin/pixelserv-tls ]] && \
#      echo "You do not appear to have pixelserv-tls installed or running." &&  \
#      exit 1
It is not hanging here after I type option "a":
Code:
Type a+ [ all.dnsomatic.com !=  ]
+ echo -n , b
, b+ echo -n  to proceed or anything else to quit:
 to proceed or anything else to quit: + read ans
a
+ echo

+ _domain=
+ [ a = a ]
+ _domain=router.asus.com
+ [ a = b ]
+ [ router.asus.com =  ]
 
config-webgui.sh is not working.

The first error message told me I did not have pixelserv running or not installed. I fixed it by this code:
Code:
  psVersion=$(echo $(pixelserv-tls -v | awk 'NR == 1 {print $2}'))
  if [ -z "$psVersion" ]; then
      echo "You do not appear to have pixelserv-tls installed or running." &&  \
      exit 1
  fi
#  [[ "$(/bin/ps | grep -v grep | grep -o pixelserv-tls)" = ""  || ! -x /opt/bin/pixelserv-tls ]] && \
#      echo "You do not appear to have pixelserv-tls installed or running." &&  \
#      exit 1

Your change is simply another way to check if pixelserv-tls is installed but then you don't check if pixelserv-tls is running.

What's the original issue that you run into?

It is not hanging here after I type option "a":
Code:
Type a+ [ all.dnsomatic.com !=  ]
+ echo -n , b
, b+ echo -n  to proceed or anything else to quit:
 to proceed or anything else to quit: + read ans
a
+ echo

+ _domain=
+ [ a = a ]
+ _domain=router.asus.com
+ [ a = b ]
+ [ router.asus.com =  ]

I don't quite get the 2nd issue you run into..

That's perhaps SNBforums truncates code block in desperate and senseless effort to protect it from being hacked. Perhaps you could post it on pastebin..
 
Your change is simply another way to check if pixelserv-tls is installed but then you don't check if pixelserv-tls is running.

What's the original issue that you run into?
I figured as much. Just trying to get past the error quickly. In the log file, I see pixelserv-tls is started successfully.

Diversion reports it running as well. When I run the ps command below from the command line, it returns null. So, I must match the condition = "".
Code:
/bin/ps | grep -v grep | grep -o pixelserv-tls)" = ""

I don't quite get the 2nd issue you run into..

That's perhaps SNBforums truncates code block in desperate and senseless effort to protect it from being hacked. Perhaps you could post it on pastebin..
I add the set -x line to the code to see where it was hanging. So you are seeing the code being "echoed" which is hard to read for interactive scripts.

After I enter the option A to have the script generate cert for router.asus.log, it just hangs.

upload_2018-9-3_15-40-22.png


I think there is another issue occurring. In the testing, I see that Diversion is not honoring the contents my white list file..Will try uninstalling and reinstalling Diversion.
 
@Xentrk Nice LCD panel and font..and color theme (from Diversion).

Well, I don't know what's the underlying issue here. Many people have run the config-webgui.sh without issue. Recently one guy did run into some issue on option "b" (which I believe is less popular). That bug was a typo and quickly fixed too.

I guess you've to figure out what's happening in your router. That's part of the burden of proof when people start tinkering and I would guess having some bespoke stuff of their own creation :)
 
@Xentrk Nice LCD panel and font..and color theme (from Diversion).

Well, I don't know what's the underlying issue here. Many people have run the config-webgui.sh without issue. Recently one guy did run into some issue on option "b" (which I believe is less popular). That bug was a typo and quickly fixed too.

I guess you've to figure out what's happening in your router. That's part of the burden of proof when people start tinkering and I would guess having some bespoke stuff of their own creation :)
:oops: Egads! I remember double checking that switch value and looking at the options. I need to take a break and get some coffee!.

So the cert error has returned now that I fixed the switch (I set it to -l 4). Diversion appears to be blocking reddit.com even though it is in the white list. I checked a few other domains in the white list file and have the same issue. It appears to be an issue with Diversion not processing the white list rather than pixelserv-tls.
 
The script is working now. Issue was an invalid switch value being passed to pixelserv-tls at run time. So pixelserv-tls was not running. The system messages made me think it was. If you don't see the two port Listening messages below, then pixelserv-tls is not running.

Code:
Sep  3 16:53:55 RT-AC88U-8248 pixelserv-tls[18481]: pixelserv-tls: v2.0.1 compiled: Mar  3 2018 11:05:58 options: 192.168.22.2 -l 4
Sep  3 16:53:55 RT-AC88U-8248 pixelserv-tls[18481]: Listening on :192.168.22.2:80
Sep  3 16:53:55 RT-AC88U-8248 pixelserv-tls[18481]: Listening on :192.168.22.2:443
Edit unfortunately, I had no padlock and had to revert the change
Code:
If you see a padlock, congrats or else you may revert the change.
 
If you see a padlock, congrats or else you may revert the change.
If I recall correctly, I had to restart Firefox after importing the certificate before the padlock was shown. I don't know how other browsers handle this though.
 
Hi Kvic
Sep 3 20:49:24 Diversion: created br0:pixelserv-tls 192.168.2.2, from /opt/etc/init.d/S80pixelserv-tls
Sep 3 20:49:24 Entware (armv7sf-k2.6): Started pixelserv-tls (Diversion) from /opt/bin/diversion
Sep 3 20:49:24 pixelserv-tls[25444]: pixelserv-tls 2.1.3-test.4 (compiled: Jul 17 2018 01:44:19) options: 192.168.2.2
Sep 3 20:49:25 pixelserv-tls[25444]: Abort: Address already in use - :192.168.2.2:443

Any idea whats causing this? My DHCP address starts at 192.168.2.3

I changed my dhcp range starting at 192.168.2.4 and then tried to change pixelserv ip address to 192.168.2.3

Sep 3 21:10:54 lldpd[538]: removal request for address of 192.168.2.2%14, but no knowledge of it
Sep 3 21:10:54 Diversion: created br0:pixelserv-tls 192.168.2.3, from /opt/etc/init.d/S80pixelserv-tls
Sep 3 21:10:54 Entware (armv7sf-k2.6): Started pixelserv-tls (Diversion) from /opt/bin/diversion
Sep 3 21:10:55 pixelserv-tls[28902]: pixelserv-tls 2.1.3-test.4 (compiled: Jul 17 2018 01:44:19) options: 192.168.2.3
Sep 3 21:10:55 pixelserv-tls[28902]: Abort: Address already in use - :192.168.2.3:443



still aborting and saying address is already in use - crazy

on Alpha 2 of latest 384.7 on an AC5300
 
Last edited:
Y

yes of course I am - what a dumbass I am thank you very much
If not wrong, I think openvpn can have custom line.
port-share PixelservIP 443
 
Last edited:
OK so I did the easy change to OVPN port - changed to something other than 443. Checked Netstat display all sockets - nothing else listening or establised on port 443. After restarting pixelserv and even reinstalling i still get
Sep 4 09:57:21 Entware (armv7sf-k2.6): Started pixelserv-tls (Diversion) from
Sep 4 09:57:21 pixelserv-tls[31638]: pixelserv-tls 2.1.3-test.4 (compiled: Jul 17 2018 01:44:19) options: 192.168.2.3
Sep 4 09:57:22 pixelserv-tls[31638]: Abort: Address already in use - :192.168.2.3:443
 
OK so I did the easy change to OVPN port - changed to something other than 443. Checked Netstat display all sockets - nothing else listening or establised on port 443. After restarting pixelserv and even reinstalling i still get
Sep 4 09:57:21 Entware (armv7sf-k2.6): Started pixelserv-tls (Diversion) from
Sep 4 09:57:21 pixelserv-tls[31638]: pixelserv-tls 2.1.3-test.4 (compiled: Jul 17 2018 01:44:19) options: 192.168.2.3
Sep 4 09:57:22 pixelserv-tls[31638]: Abort: Address already in use - :192.168.2.3:443

Use below to figure out what processes occupy port 443.
And kindly ask the author not to bind to all interfaces. That's not good practice...

Code:
$ opkg install lsof
$ /opt/bin/lsof -nPT|grep :443
 

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