What's new
  • 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!

Status
Not open for further replies.
The main script is not the only script using the whitelist, what might work here may not work in the other scripts.
Next thing users are going to add it to the blacklist, which will fail miserably. So, just don't fckn mention it. I will have to support the users, not you.

NO WILDCARD (*) IN THE WHITE- AND BLACKLIST. PERIOD.

Hey sorry about the extra posts. For some reason they did not all load in my browser and I just saw this one.
I totally understand this and will drop it. The only reason I was trying the wildcard to begin with was when I upgraded it retained my original whitelist.txt so I did not see the note about it not working. After I rename it and get a fresh whitelist.txt file I see you specifically put in there not to use it.
 
Any way to get a peek at it? Just one dev to another. I just think it would be really nice (for all users) to support a basic wildcard in the whitelist file. Unless you want to support full blown regular expressions. That would work too, advanced users could use regex, and basic users could have a single line for every subdomain. Unless there is a reason to not support it at all in the whitelist file.
I just removed the wildcard removal, I'm not going to add it back. This is how things should be. If I want domain idontwantit.not removed then this is all I want removed. If I also want thisidontwantit.not then I add it as well.
This is fine grained white- and blacklisting. This is intended. Most users will not want it any other way.
 
After I rename it and get a fresh whitelist.txt file I see you specifically put in there not to use it.
I believe this warning has always been in the file itself, certainly since I added the (el) editor.
AB never changed the whitelist you have. Even if you started with AB 1.0 and continually upgraded to the latest, it would still be the same file.
 
I have no ipv6 devices on nor is it enabled in the router.
thanks by the way for explaining what the AAAA is. lol

The IPv4 [A] record query seems to be blocked but the IPv6 [AAAA] record query is forwarded upstream.... strange....
 
The IPv4 [A] record query seems to be blocked but the IPv6 [AAAA] record query is forwarded upstream.... strange....
Yup IPv6. The entry ought to be in the blacklist if the service is enabled on the router. It adds it automatically when on.
 
I have no ipv6 devices on nor is it enabled in the router.
thanks by the way for explaining what the AAAA is. lol
Might be some other devices support it, or your device has it enabled in the network interface settings.
 
yea I do not know why it would bypass as I have nothing else on it or modded anything. it is just tcip v4 no 6 enabled on anything.
guess I will uninstall and reinstall and see what it does from there.
and your log would be what I thought I would see here. is pixelserv recommended to use or is it just another layer?
thanks and for the great scripts.



I'm not seeing that here. This is my output with and without pixelserv-tls on. Something is bypassing your query.
Code:
Feb 25 17:21:44 dnsmasq[14167]: /tmp/mnt/absolution/adblocking/blacklist.txt ec2-54-225-122-86.compute-1.amazonaws.com is 0.0.0.0
Feb 25 17:21:44 dnsmasq[14167]: query[A] ec2-54-225-122-86.compute-1.amazonaws.com from 192.168.2.200
Feb 25 17:21:44 dnsmasq[14167]: /tmp/mnt/absolution/adblocking/blacklist.txt ec2-54-225-122-86.compute-1.amazonaws.com is 0.0.0.0
Feb 25 17:21:49 dnsmasq[14167]: query[A] ec2-54-225-122-86.compute-1.amazonaws.com from 192.168.2.200
Feb 25 17:21:49 dnsmasq[14167]: /tmp/mnt/absolution/adblocking/blacklist.txt ec2-54-225-122-86.compute-1.amazonaws.com is 0.0.0.0

Feb 25 17:21:02 dnsmasq[9813]: query[A] ec2-54-225-122-86.compute-1.amazonaws.com from 192.168.2.200
Feb 25 17:21:02 dnsmasq[9813]: /tmp/mnt/absolution/adblocking/blacklist.txt ec2-54-225-122-86.compute-1.amazonaws.com is 192.168.2.2
Feb 25 17:21:02 dnsmasq[9813]: query[A] ec2-54-225-122-86.compute-1.amazonaws.com from 192.168.2.200
Feb 25 17:21:02 dnsmasq[9813]: /tmp/mnt/absolution/adblocking/blacklist.txt ec2-54-225-122-86.compute-1.amazonaws.com is 192.168.2.2
 
I have no ipv6 devices on nor is it enabled in the router.
thanks by the way for explaining what the AAAA is. lol
If you already know what A and AAAA records are then i wasted a line of text...but i never assume.... just put it out there for the benefit of all.
Check out "Happy Eyeballs" here... will explain why you see IPv6 queries
https://en.wikipedia.org/wiki/Happy_Eyeballs
 
is pixelserv recommended to use or is it just another layer?
thanks and for the great scripts.
It blocks https ads and also responds with a pixelsized image for some content. No blanc holes in the webpage.
The way I built it into AB makes it a no brain er for you to install.
 
I just removed the wildcard removal, I'm not going to add it back. This is how things should be. If I want domain idontwantit.not removed then this is all I want removed. If I also want thisidontwantit.not then I add it as well.
This is fine grained white- and blacklisting. This is intended. Most users will not want it any other way.

Yes I totally agree. Sorry for all the confusion. I am getting rid of my wildcards now that I see it was not intended to work (just sort of does on accident but might break something). So consider my posts a bug report ;)

I wont bring it up again.
 
Yes I totally agree. Sorry for all the confusion. I am getting rid of my wildcards now that I see it was not intended to work (just sort of does on accident but might break something). So consider my posts a bug report ;)

I wont bring it up again.
As mentioned, the dev version won't allow it.
 
Hope someone can help I cant get pixelserv-tls to work

A B - S O L U T I O N A D - B L O C K I N G

AB-Solution 3.6.5 by thelonelycoder
--------------------------------------------------
RT-AC3200 (armv7l) fw-380.65 @ 10.28.1.1
--------------------------------------------------
177,729 blocked domains 11 hosts files in use
(no ads counted yet, stats not available)
--------------------------------------------------

i AB-Solution [/tmp/mnt/sda5]
cu check for updates

a ad-blocking [on]
l logging [on]
rs router stats [off]

cb custom block IP [off] (0.0.0.0)
ps install pixelserv-tls

b blocking file [AdsBeGone!] [Sat @ 2:00]
u update blocking file
el edit white or black list

f follow the logfile
ac update ads counter

e exit AB-Solution sm sub menu
__________________________________________________

What do you want to do? ps
__________________________________________________


Install pixelserv-tls info:
This will guide through the complete installation
of Entware and pixelserv-tls on this router.

Warning: Unless you are given the choice, do not
exit the install once it starts.
If an error occurs, AB-Solution will try to exit
at a safe moment.
After the error is fixed by you,
AB-Solution will continue where it left off.

But before we start,
we need to check your system.
-------------------------------------------------

Continue? [1=Yes e=Exit] 1

AB-Solution 3.6.5.0: pixelserv-tls install

checking your system

testing if 'ifconfig br0 up' works on your system
might take a few seconds to complete...

this appears to be working, continuing

checking port 443 availability
port 443 is available, continuing

found a folder named entware at
/tmp/mnt/sda5/entware

but Entware does not appear to be running.
Please investigate first.

-------------------------------------------------

Based on the check above, pixelserv-tls
is not available for install with AB-Solution

Hit [Enter] to return to Menu
 
This is bar none the best add solution I have ever used! Easy to install easy to setup easy to maintain. Thanks to all who contributed to its creation! You're the best!
 
Hope someone can help I cant get pixelserv-tls to work

A B - S O L U T I O N A D - B L O C K I N G

AB-Solution 3.6.5 by thelonelycoder
--------------------------------------------------
RT-AC3200 (armv7l) fw-380.65 @ 10.28.1.1
--------------------------------------------------
177,729 blocked domains 11 hosts files in use
(no ads counted yet, stats not available)
--------------------------------------------------

i AB-Solution [/tmp/mnt/sda5]
cu check for updates

a ad-blocking [on]
l logging [on]
rs router stats [off]

cb custom block IP [off] (0.0.0.0)
ps install pixelserv-tls

b blocking file [AdsBeGone!] [Sat @ 2:00]
u update blocking file
el edit white or black list

f follow the logfile
ac update ads counter

e exit AB-Solution sm sub menu
__________________________________________________

What do you want to do? ps
__________________________________________________


Install pixelserv-tls info:
This will guide through the complete installation
of Entware and pixelserv-tls on this router.

Warning: Unless you are given the choice, do not
exit the install once it starts.
If an error occurs, AB-Solution will try to exit
at a safe moment.
After the error is fixed by you,
AB-Solution will continue where it left off.

But before we start,
we need to check your system.
-------------------------------------------------

Continue? [1=Yes e=Exit] 1

AB-Solution 3.6.5.0: pixelserv-tls install

checking your system

testing if 'ifconfig br0 up' works on your system
might take a few seconds to complete...

this appears to be working, continuing

checking port 443 availability
port 443 is available, continuing

found a folder named entware at
/tmp/mnt/sda5/entware

but Entware does not appear to be running.
Please investigate first.

-------------------------------------------------

Based on the check above, pixelserv-tls
is not available for install with AB-Solution

Hit [Enter] to return to Menu
You have remnants of a previous Entware installation on that device.
Entware is not running although the folder is present. AB cannot know the integrity of that folder's content so it refuses to use it.
You best delete, or at least rename it to something other than entware. Then the new install will work as you hope it does.
 
Hope someone can help I cant get pixelserv-tls to work

A B - S O L U T I O N A D - B L O C K I N G

AB-Solution 3.6.5 by thelonelycoder
--------------------------------------------------
RT-AC3200 (armv7l) fw-380.65 @ 10.28.1.1
--------------------------------------------------
177,729 blocked domains 11 hosts files in use
(no ads counted yet, stats not available)
--------------------------------------------------

i AB-Solution [/tmp/mnt/sda5]
cu check for updates

a ad-blocking [on]
l logging [on]
rs router stats [off]

cb custom block IP [off] (0.0.0.0)
ps install pixelserv-tls

b blocking file [AdsBeGone!] [Sat @ 2:00]
u update blocking file
el edit white or black list

f follow the logfile
ac update ads counter

e exit AB-Solution sm sub menu
__________________________________________________

What do you want to do? ps
__________________________________________________


Install pixelserv-tls info:
This will guide through the complete installation
of Entware and pixelserv-tls on this router.

Warning: Unless you are given the choice, do not
exit the install once it starts.
If an error occurs, AB-Solution will try to exit
at a safe moment.
After the error is fixed by you,
AB-Solution will continue where it left off.

But before we start,
we need to check your system.
-------------------------------------------------

Continue? [1=Yes e=Exit] 1

AB-Solution 3.6.5.0: pixelserv-tls install

checking your system

testing if 'ifconfig br0 up' works on your system
might take a few seconds to complete...

this appears to be working, continuing

checking port 443 availability
port 443 is available, continuing

found a folder named entware at
/tmp/mnt/sda5/entware

but Entware does not appear to be running.
Please investigate first.

-------------------------------------------------

Based on the check above, pixelserv-tls
is not available for install with AB-Solution

Hit [Enter] to return to Menu
The system check has found a folder called entware on your external device but when it tests for a working version of entware by checking for "opkg" this fails.
You may find the symbolic link in /jffs/scripts/post-mount has been erased at some point.
can you post the post-mount entry? You should see an entry like this
Code:
if [ "$1" = "/tmp/mnt/sda5" ] ; then
  ln -nsf $1/entware /tmp/opt
fi

EDIT: Of course @thelonelycoder suggestion above is the built in, best and most foolproof way of getting up and running....... mine is the beardy linux guru "almost guaranteed to get you into more of a mess" version ;)
 
Last edited:
This is bar none the best add solution I have ever used! Easy to install easy to setup easy to maintain. Thanks to all who contributed to its creation! You're the best!
I hope it does not add ads ;)
 
ok so I uninstalled 3.65. went to all devices connected to the lan and made sure no has ipv6 installed or in use and none do.checked the router and ipv6 is disabled.
reinstalled 3.65 and added pixelserv. repopulated blacklist and somehow ipv6 [AAAA] is sending queries and going thru.
any ideas or tips? it is several computers that are sending the queries and I uninstalled all items from the network adapter except ip 4.
and it is not amazonaws this time tho that still goes thru too with the [AAAA]
thanks

and what is stranger is this.it actually got the ip6 ip address from this forum. what would cause this and how does ip4 understand ip6. I am baffled after this. and no thing ip6 on this system.

query[A] snbforums.com from 192.168.15.3
Feb 25 12:31:12 dnsmasq[7450]: cached snbforums.com is 104.25.235.15
Feb 25 12:31:12 dnsmasq[7450]: cached snbforums.com is 104.25.234.15
Feb 25 12:31:12 dnsmasq[7450]: query[AAAA] snbforums.com from 192.168.15.3
Feb 25 12:31:12 dnsmasq[7450]: forwarded snbforums.com to 84.200.69.80
Feb 25 12:31:12 dnsmasq[7450]: reply snbforums.com is 2400:cb00:2048:1::6819:ea0f
Feb 25 12:31:12 dnsmasq[7450]: reply snbforums.com is 2400:cb00:2048:1::6819:eb0f
Feb 25 12:34:34 dnsmasq[7450]: query[A] www.snbforums.com from 192.168.15.3
Feb 25 12:34:34 dnsmasq[7450]: forwarded www.snbforums.com to 84.200.69.80
Feb 25 12:34:34 dnsmasq[7450]: forwarded www.snbforums.com to 84.200.70.40

is ip6 enabled in dnsmasq? if so how to disable?
 
Last edited:
can you post your /etc/dnsmasq.conf file
 
sure I seem to be missing ppp1.
ok it is blocking me when I paste in the conf file and selected upload a file and I have no idea where it went it is like 700 bytes
if you are being blocked you can post to pastebin and show the link here
 
Status
Not open for further replies.

Similar threads

Sign Up For SNBForums Daily Digest

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