thelonelycoder
Part of the Furniture
Already built in!Yes, exactly.
In Diversion, enter ds, enable it and set "6. log-queries=extra" to on. Now you can use the exact IP to filter.
Already built in!Yes, exactly.
Already built in!
In Diversion, enter ds, enable it and set "6. log-queries=extra" to on. Now you can use the exact IP to filter.
You're pushing it. But that would be similar to the AB-Solution function to filter by device. It was coded much more elaborate and I did not want to port it to Diversion.Oh Nice, yep this is exactly what I wanted but since it's already implemented can you also add this ability in "filter by blocked domains" as well lol [emoji2960][emoji15][emoji15]
Same concept, show all the blocked domains but originating only from the IP address we mention.
You're pushing it. But that would be similar to the AB-Solution function to filter by device. It was coded much more elaborate and I did not want to port it to Diversion.
This would be a better replacement. We'll see
I doubt there's a memory leak. Diversion uses Dnsmasq and I'm sure it has no memory leak.I booted into GParted to format the device to EXT2 and everything but your script detects it as EXT2. Also, your script definitely has a memory leak somewhere or some logging ( stored in memory? ) that just keeps getting larger and larger. My freezing issue is gone but my ram usage has increased nearly 15% over the past week and getting larger and larger. Do you have a list of all settings related to logging?
ASUSWRT-Merlin RT-AC66U 380.68-0 Fri Aug 18 21:39:50 UTC 2017
┌─[sys][RT-AC66R-B608][/tmp/home/root]
└─▪ diversion
/tmp/opt/bin/diversion: exec: line 77: /opt/bin/diversion: not found
┌─[sys][RT-AC66R-B608][/tmp/home/root]
└─▪
Post the content of /jffs/scripts/post-mount.So I just 'upgrade' to Diversion, and I'm having a really odd issue after my router reboots - essentially, Diversion 'disappears'. There are no errors in the installation log; but when I attempt to run the ui after the router reboots, this is the result:
Code:ASUSWRT-Merlin RT-AC66U 380.68-0 Fri Aug 18 21:39:50 UTC 2017 ┌─[sys][RT-AC66R-B608][/tmp/home/root] └─▪ diversion /tmp/opt/bin/diversion: exec: line 77: /opt/bin/diversion: not found ┌─[sys][RT-AC66R-B608][/tmp/home/root] └─▪
And indeed, amtm indicates that Diversion isn't installed - but all the files are present; and if I chose to install from the amtm menu, Diversion will install and start up - but again, it's missing after a reboot.
I also tried installing Diversion straight from the website, but the behavior is exactly the same.
Any help? As of now, my network no longer has any ad blocking.
cat /jffs/scripts/post-mount
Don't give me headachesTL;DR: Has anyone else enabled local-ttl in dnsmasq.conf.add?
I was troubleshooting an annoying issue with Firefox when logged into my router webgui using router.asus.com. The dnsmasq.log file would have multiple queries in per second to resolve router.asus.com (from etc hosts). I eventually figured out that Firefox was not caching this hostname in its dns cache, and neither was Windows (although Edge and Chrome do better). That led me to figure out that dnsmasq by default assigns a dns time-to-live (TTL) to zero for anything resolved from the hosts file or DHCP leases. This seems to also apply to the Diversion blocking files.
To resolve the overlogging of router.asus.com, I set the local-ttl=3600 (1 hour) since they should rarely change on an hourly basis.
But I guess this has some repercussions for Diversion. Whitelisting will not take effect immediately if a client has cached the block IP. I’m also guessing the Diversion stats will be skewed to the low side since clients will only query once per hour for a given blocked site.
There was only one other thread I found about local-ttl, so I’m guessing it’s not a popular option. But I am a believer in not sending unnecessary work to the router.
Anyone else ever experiment with this setting?
Post the content of /jffs/scripts/post-mount.
Code:cat /jffs/scripts/post-mount
Post the content of /jffs/scripts/post-mount.
Code:cat /jffs/scripts/post-mount
ASUSWRT-Merlin RT-AC66U 380.68-0 Fri Aug 18 21:39:50 UTC 2017
┌─[sys][RT-AC66R-B608][/tmp/home/root]
└─▪ cat /jffs/scripts/post-mount
#!/bin/sh
. /jffs/scripts/post-mount.div # Added by Diversion
swapon /tmp/mnt/sda1/myswap.swp # Swap file created by Diversion
I can't find it in this topic, so I wanted to share this TrendMicro Telemetry list:
http://www.weatherimagery.com/blog/asus_trendmicro_data_collection/
Isn't that list already in the filter since it's part of the ASUS Firmware AiProtection from Trend Micro itself?Thanks again for this, I have entered them into the black list. My router may be a bit more private now. Are you having success blocking these addresses with Diversion?
Isn't that list already in the filter since it's part of the ASUS Firmware AiProtection from Trend Micro itself?
That looks good. Do you see any errors for the USB device in the Syslog when the router reboots?Here you go
Code:ASUSWRT-Merlin RT-AC66U 380.68-0 Fri Aug 18 21:39:50 UTC 2017 ┌─[sys][RT-AC66R-B608][/tmp/home/root] └─▪ cat /jffs/scripts/post-mount #!/bin/sh . /jffs/scripts/post-mount.div # Added by Diversion swapon /tmp/mnt/sda1/myswap.swp # Swap file created by Diversion
1. Use the backup function in c.Some basic questions:
1. How can I backup the white/black lists? and log files?
2. Is it possible to see for a specific website, what URLs/IPs are called in the background? This is because I can see that in some website there are lots of advertising/marketing activities are going on in the background.
1. Use the backup function in c.
2. No, the router does not know what program is sending the requests, it only sees the IP of the device. This is best done in the browser itself. Chrome and Firefox (in the Web Developer menu) have tools built in to monitor this.
I know that Skynet does add all attempts blocked by Trend Micro into the block list.I'm not sure. The OP seemed to think the addresses aren't, he made a blog and post and I think he indicated that there was data being sent out from his router to these addresses.
Or do you mean these addresses are whitelisted?
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!