Depends. When logging is enabled then maybe. Otherwise not so much.Question, will using a older USB 2.0 memory stick vs. Newer USB 3.0 stick effect internet speeds when using diversion adblock?
OK just turned logging offDepends. When logging is enabled then maybe. Otherwise not so much.
What makes a difference is to use an SSD instead of a thumb drive. They are by far more reliable.
Question, will using a older USB 2.0 memory stick vs. Newer USB 3.0 stick effect internet speeds when using diversion adblock?
This is what I did. Got a external usb ssd and I noticed a difference in some aspectsDepends. When logging is enabled then maybe. Otherwise not so much.
What makes a difference is to use an SSD instead of a thumb drive. They are by far more reliable.
For my local *.test domains I useUPDATE: I have found a root cause. If forwarding hostname specified in the allow list, it conflicts with dnsmasq,conf.add
address=/test/192.168.2.160
in dnsmasq.conf.add
to point them to the local web server.<some dnsmasq options>
...
<content copied from dnsmasq.conf.add>
...
# start of Diversion directives #
conf-file=/opt/share/diversion/list/allowlist.conf
conf-file=/opt/share/diversion/list/blockinglist.conf
conf-file=/opt/share/diversion/list/denylist.conf
log-async
log-queries
log-facility=/opt/var/log/dnsmasq.log
# end of Diversion directives #
Regardless of how Diversion worked in the past, surely the fundamental problem is that you have two conflicting directives:If you put some test hostname into Diversion allow list it will be processed to the directive server=/test/# in the allowlist.conf
And if at the same time you have something like server=/test/external_dns_ip_address in the dnsmasq.conf.add, it will be overwritten by this server directive from allowlist.conf
Thus test will not be resolved via external_dns_ip_address, but via locally specified dns.
It seems something changed in version 5.1, because there was no such issue in the previous version.
server=/test/#
server=/test/external_dns_ip_address
This can be fixed if Diversion directives come first in dnsmasq.conf, but it seems that Diversion put them automatically to the end of config file every time.Regardless of how Diversion worked in the past, surely the fundamental problem is that you have two conflicting directives:
Code:server=/test/# server=/test/external_dns_ip_address
So the answer is to not have conflicting directives whose interpretation is ambiguous. Or am I missing something?
That‘s not by choice and I have no control over the order when they are added.This can be fixed if Diversion directives come first in dnsmasq.conf, but it seems that Diversion put them automatically to the end of config file every time.
Consider appending your entries by addingThis can be fixed if Diversion directives come first in dnsmasq.conf, but it seems that Diversion put them automatically to the end of config file every time.
pc_append
commands in /jffs/scripts/dnsmasq.postconf
AFTER the post-conf.div
line.Cat and mouse game.Consider appending your entries by addingpc_append
commands in/jffs/scripts/dnsmasq.postconf
AFTER thepost-conf.div
line.
Of course, that could break if Diversion deletes and re-adds its own postconf entry. Hmm.
This part, I think, relates to deprecating pixelserv in 5.0. Without pixelserv, a link to a blocked ad server returned a timeout and showed like that as a broken link. With pixelserv, the router immediately returned a valid 1 pixel image, which the clever page coders sometimes detected and rejected, sometimes serving up a baked ad, but otherwise was an invisible link rather than the broken link.Then there started appearing ads, but they were easily "visually skippable" thanks to just being a short text and an empty square where the related image was supposed to appear.
Feb 27 17:31:12 ASUS custom_script: Running /jffs/scripts/service-event (args: restart dnsmasq)
Feb 27 17:31:12 ASUS custom_config: Appending content of /jffs/configs/dnsmasq.conf.add.
Feb 27 17:31:12 ASUS custom_script: Running /jffs/scripts/dnsmasq.postconf (args: /etc/dnsmasq.conf)
Feb 27 17:31:26 ASUS Diversion: started second Dnsmasq instance for alternate blocking list on IP 192.168.9.3
Feb 27 17:31:26 ASUS Diversion: restarted Dnsmasq to apply settings
Feb 27 17:31:26 ASUS uiDivStats: dnsmasq has restarted, restarting taildns
Feb 27 17:31:27 ASUS dnsmasq[94064]: failed to create listening socket for 192.168.9.1: Address already in use
Feb 27 17:31:27 ASUS dnsmasq[94064]: FAILED to start up
Feb 27 17:31:27 ASUS custom_script: Running /jffs/scripts/service-event-end (args: restart dnsmasq)
Feb 27 17:31:30 ASUS admin: Started taildns from .
Seems this is an uiDivStats problem. Disable it and see if Dnsmasq/Diversion starts.Hi Guys,
I'm using Diversion since first day in parallel with Skynet for a long time on different routers.
I recently had to update my GT-AXE16000 firmware to the latest release FW-3004.388.6_2, after the reboot, I noticed that Wireless clients are not able to connect (can't get the IP from DHCP). Checking the logs, I have seen that dnsmasq is failing.
Disabling Diversion solved for me the issue.
Any idea on how to fix that without disabling Diversion?
Hi @thelonelycoder ,Seems this is an uiDivStats problem. Disable it and see if Dnsmasq/Diversion starts.
Feb 27 21:29:02 ASUS rc_service: service 235224:notify_rc restart_dnsmasq
Feb 27 21:29:02 ASUS custom_script: Running /jffs/scripts/service-event (args: restart dnsmasq)
Feb 27 21:29:02 ASUS dnsmasq[75939]: exiting on receipt of SIGTERM
Feb 27 21:29:02 ASUS custom_config: Appending content of /jffs/configs/dnsmasq.conf.add.
Feb 27 21:29:02 ASUS custom_script: Running /jffs/scripts/dnsmasq.postconf (args: /etc/dnsmasq.conf)
Feb 27 21:29:03 ASUS avahi-daemon[7242]: Registering new address record for 192.168.9.3 on br0.IPv4.
Feb 27 21:29:16 ASUS Diversion: started second Dnsmasq instance for alternate blocking list on IP 192.168.9.3
Feb 27 21:29:16 ASUS Diversion: restarted Dnsmasq to apply settings
Feb 27 21:29:17 ASUS dnsmasq[235791]: failed to create listening socket for 192.168.9.1: Address already in use
Feb 27 21:29:17 ASUS dnsmasq[235791]: FAILED to start up
Feb 27 21:29:17 ASUS custom_script: Running /jffs/scripts/service-event-end (args: restart dnsmasq)
I had an issue some weeks back, where new clients (existing clients worked fine) couldn't connect on LAN or WiFi as DHCP not available. I had created my own dilemma by activating custom AdBlocking URL sites, that weren't supported by Diversion. Are you using the stock site selection or custom?Hi Guys,
I'm using Diversion since first day in parallel with Skynet for a long time on different routers.
I recently had to update my GT-AXE16000 firmware to the latest release FW-3004.388.6_2, after the reboot, I noticed that Wireless clients are not able to connect (can't get the IP from DHCP). Checking the logs, I have seen that dnsmasq is failing.
Disabling Diversion solved for me the issue.
Any idea on how to fix that without disabling Diversion?
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!