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!

Seeing these messages in dnsmasq.log.
Code:
May 20 18:05:51 dnsmasq[16387]: bad name at /opt/share/diversion/list/blockinglist line 9567
May 20 18:05:52 dnsmasq[16387]: bad name at /opt/share/diversion/list/blockinglist line 17096
May 20 18:05:52 dnsmasq[16387]: bad name at /opt/share/diversion/list/blockinglist line 18499
May 20 18:05:52 dnsmasq[16387]: bad name at /opt/share/diversion/list/blockinglist line 20112
May 20 18:05:54 dnsmasq[16387]: bad name at /opt/share/diversion/list/blockinglist line 29020
May 20 18:05:55 dnsmasq[16387]: bad name at /opt/share/diversion/list/blockinglist line 32963
May 20 18:05:56 dnsmasq[16387]: bad name at /opt/share/diversion/list/blockinglist line 37096
Note the funky characters on line 9567:
Code:
192.168.22.2 freeyoungcelebs.org freeyourbills.com freeyourdns.com freeyourfeet.co.uk freez.create-great-captions.com freeza.org freeze.com freeze247.com freezeframe.com.au freezemac.tech freezenegra.com freezonelegal.com freezooimages.com freezvps.com freezwrap.com freezyngacardcodes.com free‐celebrity‐tube.com fregmen.com freiab18.com freibergbooks.com

Note the funky characters on line 17096:
Code:
192.168.22.2 p6rdzrgl5.info p6sjsdpkt6.info p7.iceppsn.com p7.storage.canalblog.com p73.ts3giris.com p78878.adskape.ru p790p8a.s3.amazonaws.com p7b8ku8d6hyn.icu p7fe8k96.email p7jnqjos1k.×§×‘×œ×Ÿ×‘× ×™×™×Ÿ.com p8.iceppsn.com p800.ericson.synchronise.sms13.de p89bh8f3g.info p8e.net p8ntonline.com p8u.hinet.net p8wwtt.nt.nativetrees.co.uk p9.iceppsn.com p90xfury.com p90xworkoutdownload.com
Dnsmasq just skips over those domains. Nothing to worry about.
Interesting would be who answers a ping to one of the blocked or blacklisted domains and with what IP. Do it from a connected client. I bet it's not the pixelserv-tls IP.
 
@thelonelycoder
Is it possible to use host files from pi-hole?
I understand they're not the same format, as they're missing the IP in front, but would diversion import and convert?
very tempted to use https://dbl.oisd.nl/

Diversion won't do it, but you can convert them yourself and host them online for Diversion to use them after they're converted for its use. :)
 
Seeing these messages in dnsmasq.log.

You'd be better off reporting this to the maintainers of whichever hostlist you're using. It's kinda surprising how some lists don't do basic validation of domains.

On the off chance thelonelycoder feels like validating them in diversion, I think this regex should match all valid domains (and a small number of invalid ones where labels start or end with a hyphen). Technically 1 character TLDs are valid, but there are none in use atm (http://data.iana.org/TLD/tlds-alpha-by-domain.txt).
Code:
FQDN_REGEX="^([a-zA-Z0-9_\-]{1,63}\.)+((xn--[a-z0-9]+)|([a-zA-Z]{2,}))$"

# Example usage
is_domain() {
    if [ $# -gt 0 ]; then
        [ "${#1}" -ge 1 ] && [ "${#1}" -le 254 ] && printf "%s\n" "$1" | grep -qE "$FQDN_REGEX"
    else
        grep -E "^.{1,254}$" | grep -qE "$FQDN_REGEX"
    fi
}
 
@thelonelycoder
Is it possible to use host files from pi-hole?
I understand they're not the same format, as they're missing the IP in front, but would diversion import and convert?
very tempted to use https://dbl.oisd.nl/
Diversion uses hosts files which have the format of '<blocking IP> <domain>', there are hundreds of well curated lists out there.
Domain blocking lists (dbl) only use domains and have their specific use. For reasons Diversion does not support dbl's.
This will not change.
 
You'd be better off reporting this to the maintainers of whichever hostlist you're using. It's kinda surprising how some lists don't do basic validation of domains.

On the off chance thelonelycoder feels like validating them in diversion, I think this regex should match all valid domains (and a small number of invalid ones where labels start or end with a hyphen). Technically 1 character TLDs are valid, but there are none in use atm (http://data.iana.org/TLD/tlds-alpha-by-domain.txt).
Code:
FQDN_REGEX="^([a-zA-Z0-9_\-]{1,63}\.)+((xn--[a-z0-9]+)|([a-zA-Z]{2,}))$"

# Example usage
is_domain() {
    if [ $# -gt 0 ]; then
        [ "${#1}" -ge 1 ] && [ "${#1}" -le 254 ] && printf "%s\n" "$1" | grep -qE "$FQDN_REGEX"
    else
        grep -E "^.{1,254}$" | grep -qE "$FQDN_REGEX"
    fi
}
I'm going with a simpler version. Since the built in Dnsmasq only accepts ascii domain names, GNU grep's pearl regex
Code:
/opt/bin/grep -P '^[[:ascii:]]+$'
will do.
 
Webgui "Eject USB" broken @thelonelycoder

Just completed a Factory Reset and clean install on AC5300 following M&M guide from @L&LD followed by his guide on amtm install etc.

Tested Webgui "Eject USB" at each stage along the way.
Successful eject after each step along the way:
  • after firmware install b4 anything added; clean eject
  • after install of amtm on its own; clean eject
  • after fd from amtm on USB formatted NTSC b4 using amtm to format ext4 with journaling;
  • rebooted - waited ... etc
  • after creation of swap file using amtm; clean eject
  • after installing dc script; clean eject
  • Webgui Reboot and checked USB dc report clean;
  • used amtm to install Entware; clean eject;
  • reinserted USB and mounted without issues - Entware available;
  • Webgui Reboot ... and waited 15 minutes;
  • Installed Diversion Standard with pixelserv;
  • Waited 15 minutes; Router at idle; Webgui Eject FAILED ?
  • Webgui Reboot with USB plugged in / dcl showed journal repaired
The syslog shows: -
Code:
May 21 08:51:11 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:11 avahi-daemon[17051]: Got SIGTERM, quitting.
May 21 08:51:11 avahi-daemon[17051]: Leaving mDNS multicast group on interface br0.IPv4 with address 192.168.1.1.
May 21 08:51:11 avahi-daemon[17051]: Leaving mDNS multicast group on interface lo.IPv4 with address 127.0.1.1.
May 21 08:51:11 avahi-daemon[17051]: avahi-daemon 0.7 exiting.
May 21 08:51:11 Timemachine: daemon is stopped
May 21 08:51:11 avahi-daemon[30601]: Found user 'nobody' (UID 65534) and group 'nobody' (GID 65534).
May 21 08:51:11 avahi-daemon[30601]: Successfully dropped root privileges.
May 21 08:51:11 avahi-daemon[30601]: avahi-daemon 0.7 starting up.
May 21 08:51:11 avahi-daemon[30601]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
May 21 08:51:12 avahi-daemon[30601]: No service file found in /tmp/avahi/services.
May 21 08:51:12 avahi-daemon[30601]: Loading new alias name RT-AC5300.
May 21 08:51:12 avahi-daemon[30601]: Joining mDNS multicast group on interface br0.IPv4 with address 192.168.1.1.
May 21 08:51:12 avahi-daemon[30601]: New relevant interface br0.IPv4 for mDNS.
May 21 08:51:12 avahi-daemon[30601]: Joining mDNS multicast group on interface lo.IPv4 with address 127.0.1.1.
May 21 08:51:12 avahi-daemon[30601]: New relevant interface lo.IPv4 for mDNS.
May 21 08:51:12 avahi-daemon[30601]: Network interface enumeration completed.
May 21 08:51:12 avahi-daemon[30601]: Registering new address record for 192.168.1.1 on br0.IPv4.
May 21 08:51:12 avahi-daemon[30601]: Registering new address record for 127.0.1.1 on lo.IPv4.
May 21 08:51:12 avahi-daemon[30601]: Registering new address record for 127.0.0.1 on lo.IPv4.
May 21 08:51:12 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:12 avahi-daemon[30601]: Server startup complete. Host name is RT-AC5300-E040.local. Local service cookie is 3806174392.
May 21 08:51:12 avahi-daemon[30601]: Alias name "RT-AC5300" successfully established.
May 21 08:51:13 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:14 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:15 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:16 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:17 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:18 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:19 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:20 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:21 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:22 kernel: DROP IN=ppp0 OUT= MAC= SRC=185.60.219.54 DST=169.0.165.91 LEN=88 TOS=0x00 PREC=0x00 TTL=89 ID=21251 DF PROTO=TCP SPT=443 DPT=60974 SEQ=3575199065 ACK=4290051268 WINDOW=118 RES=0x00 ACK URGP=0 OPT (0101080A6699518401818FAB)
May 21 08:51:22 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:23 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:24 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:25 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:26 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:27 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:28 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:29 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:30 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:31 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:32 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:33 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:34 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:35 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:36 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:37 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:38 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:39 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:40 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:41 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:42 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:43 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:44 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:45 syslog: USB partition busy - will unmount ASAP from /tmp/mnt/usb2

Help anyone?
 
Webgui "Eject USB" broken @thelonelycoder

Just completed a Factory Reset and clean install on AC5300 following M&M guide from @L&LD followed by his guide on amtm install etc.

Tested Webgui "Eject USB" at each stage along the way.
Successful eject after each step along the way:
  • after firmware install b4 anything added; clean eject
  • after install of amtm on its own; clean eject
  • after fd from amtm on USB formatted NTSC b4 using amtm to format ext4 with journaling;
  • rebooted - waited ... etc
  • after creation of swap file using amtm; clean eject
  • after installing dc script; clean eject
  • Webgui Reboot and checked USB dc report clean;
  • used amtm to install Entware; clean eject;
  • reinserted USB and mounted without issues - Entware available;
  • Webgui Reboot ... and waited 15 minutes;
  • Installed Diversion Standard with pixelserv;
  • Waited 15 minutes; Router at idle; Webgui Eject FAILED ?
  • Webgui Reboot with USB plugged in / dcl showed journal repaired
The syslog shows: -
Code:
May 21 08:51:11 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:11 avahi-daemon[17051]: Got SIGTERM, quitting.
May 21 08:51:11 avahi-daemon[17051]: Leaving mDNS multicast group on interface br0.IPv4 with address 192.168.1.1.
May 21 08:51:11 avahi-daemon[17051]: Leaving mDNS multicast group on interface lo.IPv4 with address 127.0.1.1.
May 21 08:51:11 avahi-daemon[17051]: avahi-daemon 0.7 exiting.
May 21 08:51:11 Timemachine: daemon is stopped
May 21 08:51:11 avahi-daemon[30601]: Found user 'nobody' (UID 65534) and group 'nobody' (GID 65534).
May 21 08:51:11 avahi-daemon[30601]: Successfully dropped root privileges.
May 21 08:51:11 avahi-daemon[30601]: avahi-daemon 0.7 starting up.
May 21 08:51:11 avahi-daemon[30601]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
May 21 08:51:12 avahi-daemon[30601]: No service file found in /tmp/avahi/services.
May 21 08:51:12 avahi-daemon[30601]: Loading new alias name RT-AC5300.
May 21 08:51:12 avahi-daemon[30601]: Joining mDNS multicast group on interface br0.IPv4 with address 192.168.1.1.
May 21 08:51:12 avahi-daemon[30601]: New relevant interface br0.IPv4 for mDNS.
May 21 08:51:12 avahi-daemon[30601]: Joining mDNS multicast group on interface lo.IPv4 with address 127.0.1.1.
May 21 08:51:12 avahi-daemon[30601]: New relevant interface lo.IPv4 for mDNS.
May 21 08:51:12 avahi-daemon[30601]: Network interface enumeration completed.
May 21 08:51:12 avahi-daemon[30601]: Registering new address record for 192.168.1.1 on br0.IPv4.
May 21 08:51:12 avahi-daemon[30601]: Registering new address record for 127.0.1.1 on lo.IPv4.
May 21 08:51:12 avahi-daemon[30601]: Registering new address record for 127.0.0.1 on lo.IPv4.
May 21 08:51:12 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:12 avahi-daemon[30601]: Server startup complete. Host name is RT-AC5300-E040.local. Local service cookie is 3806174392.
May 21 08:51:12 avahi-daemon[30601]: Alias name "RT-AC5300" successfully established.
May 21 08:51:13 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:14 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:15 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:16 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:17 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:18 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:19 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:20 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:21 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:22 kernel: DROP IN=ppp0 OUT= MAC= SRC=185.60.219.54 DST=169.0.165.91 LEN=88 TOS=0x00 PREC=0x00 TTL=89 ID=21251 DF PROTO=TCP SPT=443 DPT=60974 SEQ=3575199065 ACK=4290051268 WINDOW=118 RES=0x00 ACK URGP=0 OPT (0101080A6699518401818FAB)
May 21 08:51:22 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:23 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:24 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:25 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:26 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:27 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:28 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:29 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:30 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:31 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:32 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:33 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:34 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:35 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:36 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:37 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:38 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:39 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:40 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:41 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:42 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:43 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:44 syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
May 21 08:51:45 syslog: USB partition busy - will unmount ASAP from /tmp/mnt/usb2

Help anyone?

I have now compared all scripts from my backups in /jffs/scripts folder - between 384.10_2 and 384.11_2 firmware versions - and find zero differences.

I can only assume the problem with getting a clean eject of the USB resides somewhere in the Diversion 4.1.0 code?
Something is hanging on to the USB drive and keeping it busy so the unmount fails.
 
I have now compared all scripts from my backups in /jffs/scripts folder - between 384.10_2 and 384.11_2 firmware versions - and find zero differences.

I can only assume the problem with getting a clean eject of the USB resides somewhere in the Diversion 4.1.0 code?
Something is hanging on to the USB drive and keeping it busy so the unmount fails.

If I uninstall Diversion 4.1.0 using option in the Diversion Menu to do so ... I am once again able to use Webgui Eject USB and get a clean eject.
Code:
May 21 14:21:22 syslog: USB partition unmounted from /tmp/mnt/usb2

Help needed from @thelonelycoder ... [problem cropped up before - see here https://www.snbforums.com/threads/webgui-eject-usb-disk-fails.54230/ and was resolved back then]
 
If I uninstall Diversion 4.1.0 using option in the Diversion Menu to do so ... I am once again able to use Webgui Eject USB and get a clean eject.
Code:
May 21 14:21:22 syslog: USB partition unmounted from /tmp/mnt/usb2

Help needed from @thelonelycoder ... [problem cropped up before - see here https://www.snbforums.com/threads/webgui-eject-usb-disk-fails.54230/ and was resolved back then]

Noticed another change from earlier versions of Diversion! With ver 4.1.0 if you uninstall you are not prompted to keep config files etc - but the entire Diversion System is blown away ... so you have to start from scratch all over again? Go from Standard to Plus > reconfigure all whitelist / blacklist etc.
That's a pity - would save a lot of time if option was given to retain old settings.
 
@thelonelycoder
Is it possible to use host files from pi-hole?
I understand they're not the same format, as they're missing the IP in front, but would diversion import and convert?
very tempted to use https://dbl.oisd.nl/

I have an old Pogoplug Pro that runs Debian and Pi-hole. Pi-hole is using the default Blocklists:

https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
https://mirror1.malwaredomains.com/files/justdomains
http://sysctl.org/cameleon/hosts
https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist
https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt
https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt
https://hosts-file.net/ad_servers.txt

I like the way things run when using the Pi-hole but wanted to use the lists with Diversion. I am able to use the following 5 lists with Diversion (note the slightly different url with zeustracker):

https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
http://sysctl.org/cameleon/hosts
https://hosts-file.net/ad_servers.txt
https://zeustracker.abuse.ch/blocklist.php?download=hostfile https://mirror1.malwaredomains.com/files/domains.hosts


But not these 2 lists due to the way they are formatted (I've been unable to find them in the correct format for Diversion):

https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt
https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt

These 5 lists get Diversion to 112,816 blocked domains, slightly less than the 7 Pi-hole lists which block 113,156 domains when including the 2 extra files.
 
Noticed another change from earlier versions of Diversion! With ver 4.1.0 if you uninstall you are not prompted to keep config files etc - but the entire Diversion System is blown away ... so you have to start from scratch all over again? Go from Standard to Plus > reconfigure all whitelist / blacklist etc.
That's a pity - would save a lot of time if option was given to retain old settings.

Here is the link to previous thread on Webgui Eject USB where the problem was resolved in Diversion 4.0.7 which I beta tested for you back then - and it worked ..
https://www.snbforums.com/threads/webgui-eject-usb-disk-fails.54230/page-2#post-456858
 
If I uninstall Diversion 4.1.0 using option in the Diversion Menu to do so ... I am once again able to use Webgui Eject USB and get a clean eject.
I have identified the problem and will push an update as soon as extensive testing is finished.

Noticed another change from earlier versions of Diversion! With ver 4.1.0 if you uninstall you are not prompted to keep config files etc - but the entire Diversion System is blown away ... so you have to start from scratch all over again? Go from Standard to Plus > reconfigure all whitelist / blacklist etc.
That's a pity - would save a lot of time if option was given to retain old settings.
I don't know where you found that option to keep settings for Diversion. It was never there. Not in Diversion 4.0.0 (the first Diversion release), not in 4.0.9 and certainly not in 4.1.0.

I believe what you mean is if you wipe the /jffs/ partition and (re)install Diversion by running the install URL. Then you are given the option to RESTORE Diversion since it found an entware folder on (one of) the plugged in USB devices with Diversion files within.
 
I've pushed a Diversion update, no version change

What's changed
- Code improvements
- Removes non-ASCII domain names in blocking list when updating
- Correctly unmounts Entware and Diversion when ejecting containing USB device through WebUI
- Adjustments for swap file check

How to update
Use u to update.
 
syslog: USB partition unmounted from /tmp/mnt/usb2 fail. (return -1, Device or resource busy)
Should be fixed now with the above update, thanks for reporting!
 
Awesome, it worked! Thank you!

I'm supposed to use the link with "dl" in it, right (pastebin.com/dl/<ID>)?

Now I just have to check if the whitelisted domains solved the issue on my Xbox.

Update: achievements started popping up again after processing the hosted whitelist in Diversion, but the two that were technically achieved before remain locked.

I also started receiving a "local cache is full" message, which Pi-hole users apparently are familiar with (which should've been solved by whitelisting).

So, something is definitely still up, and I'm not sure as to what. I've tried power cycling the console; removing the profile associated with the console, then adding it back; playing more of the game (the two locked achievements were the only ones left). I'd also already forwarded the required ports in my router before even installing Diversion and Skynet. NAT type on my Xbox One X is "open" and there are no other connectivity issues.

@thelonelycoder, my two previous questions remain, if you don't mind answering them:
  1. Now that I'm using a hosted whitelist, if I want to add additional domains, I have to edit the hosted file and add the domains to it? No way to manually add individual domains though Diversion alone, like before?
  2. Auto-add www/non-www domain is currently set to "off". Should I turn it on?
Also, have you seen this?
 
@thelonelycoder
Is it possible to use host files from pi-hole?
I understand they're not the same format, as they're missing the IP in front, but would diversion import and convert?
very tempted to use https://dbl.oisd.nl/

I have an old Pogoplug Pro that runs Debian and Pi-hole. Pi-hole is using the default Blocklists:

https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
https://mirror1.malwaredomains.com/files/justdomains
http://sysctl.org/cameleon/hosts
https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist
https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt
https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt
https://hosts-file.net/ad_servers.txt

I like the way things run when using the Pi-hole but wanted to use the lists with Diversion. I am able to use the following 5 lists with Diversion (note the slightly different url with zeustracker):

https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
http://sysctl.org/cameleon/hosts
https://hosts-file.net/ad_servers.txt
https://zeustracker.abuse.ch/blocklist.php?download=hostfile https://mirror1.malwaredomains.com/files/domains.hosts


But not these 2 lists due to the way they are formatted (I've been unable to find them in the correct format for Diversion):

https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt
https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt

These 5 lists get Diversion to 112,816 blocked domains, slightly less than the 7 Pi-hole lists which block 113,156 domains when including the 2 extra files.

This should work as a hosted blacklist in Diversion, no?
 
I'm not sure I'd want a filterlist which uses a spam email host filter as a source. Completely different applications.
 
.... I don't know where you found that option to keep settings for Diversion. It was never there. Not in Diversion 4.0.0 (the first Diversion release), not in 4.0.9 and certainly not in 4.1.0.

I believe what you mean is if you wipe the /jffs/ partition and (re)install Diversion by running the install URL. Then you are given the option to RESTORE Diversion since it found an entware folder on (one of) the plugged in USB devices with Diversion files within.

No doubt you are correct on both counts - I simply remember "once upon a Tuesday ..." when reinstalling Diversion I was greatly relieved to be advised on install that a prior install had been found and [as I recall] I could install by "resurrecting" my prior install :).

So - perhaps a feature add? When uninstalling - provide option to retain configs / whitelists etc [effectively disabling Diversion] - then on reinstall give option [if prior install found] to start with "clean install" [in which case all prior configs etc wiped] or "reinstall to existing" [and thereby retaining prior configs etc]?

The reason I make the suggestion is that when testing the "Webgui Eject" problem I started by disabling Diversion [under Diversion menu] - but found that the Webgui Eject still failed. Which is why I went on to uninstall Diversion ... [Webgui Eject worked] ... [filed my earlier post above] ... then had the schlep of reinstalling Diversion from scratch, applying my custom whitelist etc.

Your minor update has fully fixed the Webgui Eject issue - so entirely your call on whether to add the feature I am suggesting ;).
BTW - really enjoy the fact that after ejecting USB - then plugging it back in again ... it automatically fires up Diversion etc etc [Thumbs-Up +1]
 

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