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!

Yes, adblocking is enabled. Output is:
Code:
addn-hosts=/opt/share/diversion/list/blockinglist

Code:
 /etc//dnsmasq.conf has this content:

 START FILE, --- lines are not part of file
 ---------------------------------------------------
 pid-file=/var/run/dnsmasq.pid
 user=nobody
 bind-dynamic
 interface=br0
 interface=pptp*
 no-dhcp-interface=pptp*
 no-resolv
 servers-file=/tmp/resolv.dnsmasq
 no-poll
 no-negcache
 cache-size=1500
 min-port=4096
 bogus-priv
 domain-needed
 dhcp-range=lan,192.168.1.2,192.168.1.254,255.255.255.0,86400s
 dhcp-option=lan,3,192.168.1.1
 dhcp-option=lan,252,"\n"
 dhcp-authoritative
 interface=tun21
 interface=tun22
 dhcp-name-match=set:wpad-ignore,wpad
 dhcp-ignore-names=tag:wpad-ignore
 address=/trendmicro.com/127.0.0.1
 address=/trendmicro.co.jp/127.0.0.1
 # start of Diversion directives #
 address=/0.0.0.0/0.0.0.0
 ptr-record=0.0.0.0.in-addr.arpa,0.0.0.0
 addn-hosts=/opt/share/diversion/list/blacklist
 addn-hosts=/opt/share/diversion/list/blockinglist
 # end of Diversion directives #
 ---------------------------------------------------
 END FILE
Edit:
I tried to force-update, reinstall and force-update again, still there is a red "X" at additional hosts during update.
I have uploaded a fix that delays the script until Dnsmasq is restarted.
Use d, and (force) Update to test it. No version change.
It will say "Waiting for Dnsmasq to restart..." until, well, Dnsmasq is restarted.
 
I use the cj function a lot though ... cos i suck at setting cron jobs up properly, so I'm happy that one made the transition from AB-Solution to Diversion.
You were there when it was added and one of the first to test the cj function back then. I remember it very well. Good old beta testing times they were!
 
I have uploaded a fix that delays the script until Dnsmasq is restarted.
Use d, and (force) Update to test it. No version change.
It will say "Waiting for Dnsmasq to restart..." until, well, Dnsmasq is restarted.
You are a genius, now the "X" is green! Thank you! :)
Several of your hosts files are already included in https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
I know they should be, but when I tested and added one list after the other I saw the number of blocked domains increasing. So I concluded that not everything is in StevenBlack/hosts/master/hosts.
Edit: I just tested removing some lists, you are right, they(some) are already included.
 
Last edited:
I am receiving errors while manually updating the blocking file, for some reason it seems like Diversion is unable to access the internet. WAN is accessible by all my connected devices and Skynet as well. Here is the error output:
Code:
 i  Running update-bf.div

 using temporary pgl.yoyo.org file to lower memory usage while updating

 preparing temporary whitelist
rm: can't stat '/opt/share/diversion/list/temp_hosts': Input/output error
 updated /jffs/shared-Diversion-whitelist
 refreshing Skynet to whitelist domains in shared-Diversion-whitelist
 including /jffs/shared-Skynet-whitelist in Diversion
 including /jffs/shared-Skynet2-whitelist in Diversion

 downloading Custom+ blocking file, 10 hosts files
 using 192.168.1.2 as blocking IP

 getting hosts file 1 of 10, preprocessing file
 http://winhelp2002.mvps.org/hosts.txt
Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left.
Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left.
Warning: Transient problem: timeout Will retry in 4 seconds. 1 retries left.
##O=#  #
curl: (6) Could not resolve host: winhelp2002.mvps.org
 http://winhelp2002.mvps.org/hosts.txt download failed or not hosts file, no backup found

 getting hosts file 2 of 10, preprocessing file
 https://gitlab.com/ZeroDot1/CoinBlockerLists/raw/master/list.txt
Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left.
Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left.
Warning: Transient problem: timeout Will retry in 4 seconds. 1 retries left.
##O=#  #
curl: (6) Could not resolve host: gitlab.com
 https://gitlab.com/ZeroDot1/CoinBlockerLists/raw/master/list.txt download failed or not hosts file, no backup found

 getting hosts file 3 of 10, preprocessing file
 https://gitlab.com/ZeroDot1/CoinBlockerLists/raw/master/list_browser.txt
Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left.
Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left.
Warning: Transient problem: timeout Will retry in 4 seconds. 1 retries left.
##O=#  #
curl: (6) Could not resolve host: gitlab.com
 https://gitlab.com/ZeroDot1/CoinBlockerLists/raw/master/list_browser.txt download failed or not hosts file, no backup found

 getting hosts file 4 of 10, preprocessing file
 https://gitlab.com/ZeroDot1/CoinBlockerLists/raw/master/list_optional.txt
Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left.
Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left.
Warning: Transient problem: timeout Will retry in 4 seconds. 1 retries left.
##O=#  #
curl: (6) Could not resolve host: gitlab.com
 https://gitlab.com/ZeroDot1/CoinBlockerLists/raw/master/list_optional.txt download failed or not hosts file, no backup found

 getting hosts file 5 of 10, preprocessing file
 https://hosts-file.net/emd.txt
Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left.
Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left.
Warning: Transient problem: timeout Will retry in 4 seconds. 1 retries left.
##O=#  #
curl: (6) Could not resolve host: hosts-file.net
 https://hosts-file.net/emd.txt download failed or not hosts file, using backup file
/opt/share/diversion/file/update-bf.div: line 128: can't create /opt/share/diversion/list/temp_hosts: Input/output error

 getting hosts file 6 of 10, preprocessing file
 https://hosts-file.net/exp.txt
Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left.
/opt/share/diversion/file/update-bf.div: line 128: can't create /opt/share/diversion/backup/inuse_hosts-file.net-exp.txt.tmp: Input/output error
Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left.
Warning: Transient problem: timeout Will retry in 4 seconds. 1 retries left.
##O=#  #
curl: (6) Could not resolve host: hosts-file.net
rm: can't stat '/opt/share/diversion/backup/inuse_hosts-file.net-exp.txt.tmp': Input/output error
 https://hosts-file.net/exp.txt download failed or not hosts file, using backup file
cp: can't stat '/opt/share/diversion/backup/inuse_hosts-file.net-exp.txt.tmp': Input/output error

 getting hosts file 7 of 10, preprocessing file
 https://hosts-file.net/hjk.txt
Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left.
Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left.
Warning: Transient problem: timeout Will retry in 4 seconds. 1 retries left.
##O=#  #
curl: (6) Could not resolve host: hosts-file.net
 https://hosts-file.net/hjk.txt download failed or not hosts file, using backup file
/opt/share/diversion/file/update-bf.div: line 128: can't create /opt/share/diversion/list/temp_hosts: Input/output error

 getting hosts file 8 of 10, preprocessing file
 https://hosts-file.net/mmt.txt
Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left.
Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left.
Warning: Transient problem: timeout Will retry in 4 seconds. 1 retries left.
##O=#  #
curl: (6) Could not resolve host: hosts-file.net
 https://hosts-file.net/mmt.txt download failed or not hosts file, using backup file
/opt/share/diversion/file/update-bf.div: line 128: can't create /opt/share/diversion/list/temp_hosts: Input/output error

 getting hosts file 9 of 10, preprocessing file
 https://hosts-file.net/psh.txt
Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left.
Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left.
Warning: Transient problem: timeout Will retry in 4 seconds. 1 retries left.
##O=#  #
curl: (6) Could not resolve host: hosts-file.net
 https://hosts-file.net/psh.txt download failed or not hosts file, using backup file
/opt/share/diversion/file/update-bf.div: line 128: can't create /opt/share/diversion/list/temp_hosts: Input/output error

 getting hosts file 10 of 10, preprocessing file
 https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left.
Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left.
Warning: Transient problem: timeout Will retry in 4 seconds. 1 retries left.
##O=#  #
curl: (6) Could not resolve host: raw.githubusercontent.com
 https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts download failed or not hosts file, using backup file
/opt/share/diversion/file/update-bf.div: line 128: can't create /opt/share/diversion/list/temp_hosts: Input/output error
 update of blocking file failed completely
kill: you need to specify whom to kill

Has anyone else dealt with something similar?
 
Help!
I've just reinstalled Diversion Standard after running AB/Diversion Lite for most of this year, and that didn't help with this issue:
As of a few days ago Diversion can no longer send stats emails or even test emails. I'm getting a "curl: (56) Failure when receiving data from the peer" which is greek to me... The server is smtp.telstra.com, and it's worked perfectly with AB or Diversion up to now. So I switched to gmail but gmail refuses to let the app log-in and sends me a "critical security alert" but doesn't give me a way to mark Diversion as acceptable. Diversion returns curl (67) for gmail.

Can someone give me a clue as to the curl: (56) Failure when receiving data from the peer?
 
I am receiving errors while manually updating the blocking file, for some reason it seems like Diversion is unable to access the internet. WAN is accessible by all my connected devices and Skynet as well. Here is the error output:
Code:
 i  Running update-bf.div

 using temporary pgl.yoyo.org file to lower memory usage while updating

 preparing temporary whitelist
rm: can't stat '/opt/share/diversion/list/temp_hosts': Input/output error
 updated /jffs/shared-Diversion-whitelist
 refreshing Skynet to whitelist domains in shared-Diversion-whitelist
 including /jffs/shared-Skynet-whitelist in Diversion
 including /jffs/shared-Skynet2-whitelist in Diversion

 downloading Custom+ blocking file, 10 hosts files
 using 192.168.1.2 as blocking IP

 getting hosts file 1 of 10, preprocessing file
 http://winhelp2002.mvps.org/hosts.txt
Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left.
Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left.
Warning: Transient problem: timeout Will retry in 4 seconds. 1 retries left.
##O=#  #
curl: (6) Could not resolve host: winhelp2002.mvps.org
 http://winhelp2002.mvps.org/hosts.txt download failed or not hosts file, no backup found

 getting hosts file 2 of 10, preprocessing file
 https://gitlab.com/ZeroDot1/CoinBlockerLists/raw/master/list.txt
Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left.
Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left.
Warning: Transient problem: timeout Will retry in 4 seconds. 1 retries left.
##O=#  #
curl: (6) Could not resolve host: gitlab.com
 https://gitlab.com/ZeroDot1/CoinBlockerLists/raw/master/list.txt download failed or not hosts file, no backup found

 getting hosts file 3 of 10, preprocessing file
 https://gitlab.com/ZeroDot1/CoinBlockerLists/raw/master/list_browser.txt
Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left.
Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left.
Warning: Transient problem: timeout Will retry in 4 seconds. 1 retries left.
##O=#  #
curl: (6) Could not resolve host: gitlab.com
 https://gitlab.com/ZeroDot1/CoinBlockerLists/raw/master/list_browser.txt download failed or not hosts file, no backup found

 getting hosts file 4 of 10, preprocessing file
 https://gitlab.com/ZeroDot1/CoinBlockerLists/raw/master/list_optional.txt
Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left.
Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left.
Warning: Transient problem: timeout Will retry in 4 seconds. 1 retries left.
##O=#  #
curl: (6) Could not resolve host: gitlab.com
 https://gitlab.com/ZeroDot1/CoinBlockerLists/raw/master/list_optional.txt download failed or not hosts file, no backup found

 getting hosts file 5 of 10, preprocessing file
 https://hosts-file.net/emd.txt
Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left.
Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left.
Warning: Transient problem: timeout Will retry in 4 seconds. 1 retries left.
##O=#  #
curl: (6) Could not resolve host: hosts-file.net
 https://hosts-file.net/emd.txt download failed or not hosts file, using backup file
/opt/share/diversion/file/update-bf.div: line 128: can't create /opt/share/diversion/list/temp_hosts: Input/output error

 getting hosts file 6 of 10, preprocessing file
 https://hosts-file.net/exp.txt
Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left.
/opt/share/diversion/file/update-bf.div: line 128: can't create /opt/share/diversion/backup/inuse_hosts-file.net-exp.txt.tmp: Input/output error
Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left.
Warning: Transient problem: timeout Will retry in 4 seconds. 1 retries left.
##O=#  #
curl: (6) Could not resolve host: hosts-file.net
rm: can't stat '/opt/share/diversion/backup/inuse_hosts-file.net-exp.txt.tmp': Input/output error
 https://hosts-file.net/exp.txt download failed or not hosts file, using backup file
cp: can't stat '/opt/share/diversion/backup/inuse_hosts-file.net-exp.txt.tmp': Input/output error

 getting hosts file 7 of 10, preprocessing file
 https://hosts-file.net/hjk.txt
Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left.
Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left.
Warning: Transient problem: timeout Will retry in 4 seconds. 1 retries left.
##O=#  #
curl: (6) Could not resolve host: hosts-file.net
 https://hosts-file.net/hjk.txt download failed or not hosts file, using backup file
/opt/share/diversion/file/update-bf.div: line 128: can't create /opt/share/diversion/list/temp_hosts: Input/output error

 getting hosts file 8 of 10, preprocessing file
 https://hosts-file.net/mmt.txt
Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left.
Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left.
Warning: Transient problem: timeout Will retry in 4 seconds. 1 retries left.
##O=#  #
curl: (6) Could not resolve host: hosts-file.net
 https://hosts-file.net/mmt.txt download failed or not hosts file, using backup file
/opt/share/diversion/file/update-bf.div: line 128: can't create /opt/share/diversion/list/temp_hosts: Input/output error

 getting hosts file 9 of 10, preprocessing file
 https://hosts-file.net/psh.txt
Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left.
Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left.
Warning: Transient problem: timeout Will retry in 4 seconds. 1 retries left.
##O=#  #
curl: (6) Could not resolve host: hosts-file.net
 https://hosts-file.net/psh.txt download failed or not hosts file, using backup file
/opt/share/diversion/file/update-bf.div: line 128: can't create /opt/share/diversion/list/temp_hosts: Input/output error

 getting hosts file 10 of 10, preprocessing file
 https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left.
Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left.
Warning: Transient problem: timeout Will retry in 4 seconds. 1 retries left.
##O=#  #
curl: (6) Could not resolve host: raw.githubusercontent.com
 https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts download failed or not hosts file, using backup file
/opt/share/diversion/file/update-bf.div: line 128: can't create /opt/share/diversion/list/temp_hosts: Input/output error
 update of blocking file failed completely
kill: you need to specify whom to kill

Has anyone else dealt with something similar?
My first thought here is your DNS settings.
 
I am receiving errors while manually updating the blocking file, for some reason it seems like Diversion is unable to access the internet. WAN is accessible by all my connected devices and Skynet as well. Here is the error output:
Code:
 i  Running update-bf.div

 using temporary pgl.yoyo.org file to lower memory usage while updating

 preparing temporary whitelist
rm: can't stat '/opt/share/diversion/list/temp_hosts': Input/output error
 updated /jffs/shared-Diversion-whitelist
 refreshing Skynet to whitelist domains in shared-Diversion-whitelist
 including /jffs/shared-Skynet-whitelist in Diversion
 including /jffs/shared-Skynet2-whitelist in Diversion

 downloading Custom+ blocking file, 10 hosts files
 using 192.168.1.2 as blocking IP

 getting hosts file 1 of 10, preprocessing file
 http://winhelp2002.mvps.org/hosts.txt
Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left.
Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left.
Warning: Transient problem: timeout Will retry in 4 seconds. 1 retries left.
##O=#  #
curl: (6) Could not resolve host: winhelp2002.mvps.org
 http://winhelp2002.mvps.org/hosts.txt download failed or not hosts file, no backup found

 getting hosts file 2 of 10, preprocessing file
 https://gitlab.com/ZeroDot1/CoinBlockerLists/raw/master/list.txt
Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left.
Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left.
Warning: Transient problem: timeout Will retry in 4 seconds. 1 retries left.
##O=#  #
curl: (6) Could not resolve host: gitlab.com
 https://gitlab.com/ZeroDot1/CoinBlockerLists/raw/master/list.txt download failed or not hosts file, no backup found

 getting hosts file 3 of 10, preprocessing file
 https://gitlab.com/ZeroDot1/CoinBlockerLists/raw/master/list_browser.txt
Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left.
Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left.
Warning: Transient problem: timeout Will retry in 4 seconds. 1 retries left.
##O=#  #
curl: (6) Could not resolve host: gitlab.com
 https://gitlab.com/ZeroDot1/CoinBlockerLists/raw/master/list_browser.txt download failed or not hosts file, no backup found

 getting hosts file 4 of 10, preprocessing file
 https://gitlab.com/ZeroDot1/CoinBlockerLists/raw/master/list_optional.txt
Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left.
Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left.
Warning: Transient problem: timeout Will retry in 4 seconds. 1 retries left.
##O=#  #
curl: (6) Could not resolve host: gitlab.com
 https://gitlab.com/ZeroDot1/CoinBlockerLists/raw/master/list_optional.txt download failed or not hosts file, no backup found

 getting hosts file 5 of 10, preprocessing file
 https://hosts-file.net/emd.txt
Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left.
Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left.
Warning: Transient problem: timeout Will retry in 4 seconds. 1 retries left.
##O=#  #
curl: (6) Could not resolve host: hosts-file.net
 https://hosts-file.net/emd.txt download failed or not hosts file, using backup file
/opt/share/diversion/file/update-bf.div: line 128: can't create /opt/share/diversion/list/temp_hosts: Input/output error

 getting hosts file 6 of 10, preprocessing file
 https://hosts-file.net/exp.txt
Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left.
/opt/share/diversion/file/update-bf.div: line 128: can't create /opt/share/diversion/backup/inuse_hosts-file.net-exp.txt.tmp: Input/output error
Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left.
Warning: Transient problem: timeout Will retry in 4 seconds. 1 retries left.
##O=#  #
curl: (6) Could not resolve host: hosts-file.net
rm: can't stat '/opt/share/diversion/backup/inuse_hosts-file.net-exp.txt.tmp': Input/output error
 https://hosts-file.net/exp.txt download failed or not hosts file, using backup file
cp: can't stat '/opt/share/diversion/backup/inuse_hosts-file.net-exp.txt.tmp': Input/output error

 getting hosts file 7 of 10, preprocessing file
 https://hosts-file.net/hjk.txt
Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left.
Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left.
Warning: Transient problem: timeout Will retry in 4 seconds. 1 retries left.
##O=#  #
curl: (6) Could not resolve host: hosts-file.net
 https://hosts-file.net/hjk.txt download failed or not hosts file, using backup file
/opt/share/diversion/file/update-bf.div: line 128: can't create /opt/share/diversion/list/temp_hosts: Input/output error

 getting hosts file 8 of 10, preprocessing file
 https://hosts-file.net/mmt.txt
Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left.
Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left.
Warning: Transient problem: timeout Will retry in 4 seconds. 1 retries left.
##O=#  #
curl: (6) Could not resolve host: hosts-file.net
 https://hosts-file.net/mmt.txt download failed or not hosts file, using backup file
/opt/share/diversion/file/update-bf.div: line 128: can't create /opt/share/diversion/list/temp_hosts: Input/output error

 getting hosts file 9 of 10, preprocessing file
 https://hosts-file.net/psh.txt
Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left.
Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left.
Warning: Transient problem: timeout Will retry in 4 seconds. 1 retries left.
##O=#  #
curl: (6) Could not resolve host: hosts-file.net
 https://hosts-file.net/psh.txt download failed or not hosts file, using backup file
/opt/share/diversion/file/update-bf.div: line 128: can't create /opt/share/diversion/list/temp_hosts: Input/output error

 getting hosts file 10 of 10, preprocessing file
 https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left.
Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left.
Warning: Transient problem: timeout Will retry in 4 seconds. 1 retries left.
##O=#  #
curl: (6) Could not resolve host: raw.githubusercontent.com
 https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts download failed or not hosts file, using backup file
/opt/share/diversion/file/update-bf.div: line 128: can't create /opt/share/diversion/list/temp_hosts: Input/output error
 update of blocking file failed completely
kill: you need to specify whom to kill

Has anyone else dealt with something similar?
In addition to curl failing to resolve domains, there also are file or drive errors on your USB device.
Solve these first, then try again. You may have to install Diversion again since its files might be affected as well.
 
Help!
I've just reinstalled Diversion Standard after running AB/Diversion Lite for most of this year, and that didn't help with this issue:
As of a few days ago Diversion can no longer send stats emails or even test emails. I'm getting a "curl: (56) Failure when receiving data from the peer" which is greek to me... The server is smtp.telstra.com, and it's worked perfectly with AB or Diversion up to now. So I switched to gmail but gmail refuses to let the app log-in and sends me a "critical security alert" but doesn't give me a way to mark Diversion as acceptable. Diversion returns curl (67) for gmail.

Can someone give me a clue as to the curl: (56) Failure when receiving data from the peer?
With your telstra account settings, try setting the SSL flag to "--insecure" in the email settings.
If 2FA is activated in gmail, use an app password to get around the security alert.
 
This might have been asked before, but since it is not publish on your site: Why is Entware needed? Since it will be installed and is NOT a pre req....
 
This might have been asked before, but since it is not publish on your site: Why is Entware needed? Since it will be installed and is NOT a pre req....
Entware is required for Pixelserv-tls.
 
This might have been asked before, but since it is not publish on your site: Why is Entware needed? Since it will be installed and is NOT a pre req....

pixelserv-tls is written in C and it also relies on libraries like openssl. Entware provides the necessary libraries like these that runs pixelserv-tls.
 
Well, in the light config, which excludes Pixelserv-tls, Entware is still installed - so that can not be all.

Background: I am looking for a solution WITHOUT Entware dependecy ;-)

Why do you want to get rid of Entware and still have pixelserv-tls?
 
Why do you want to get rid of Entware and still have pixelserv-tls?

No that is not what I wrote: I am looking for a solution like AdBlock/Diversion, with NO pre req of Entware. And since the site for Diversion says that entware will be installed even WITHOUT pixelserver-TLS, I wonder why?

For the record: Yes, if you like to stop https (TLS) ads, then you might need something like Pixelserver-TLS. I am trying to figure out a way to do this without Entware, no more no less.
 
No that is not what I wrote: I am looking for a solution like AdBlock/Diversion, with NO pre req of Entware. And since the site for Diversion says that entware will be installed even WITHOUT pixelserver-TLS, I wonder why?

For the record: Yes, if you like to stop https (TLS) ads, then you might need something like Pixelserver-TLS. I am trying to figure out a way to do this without Entware, no more no less.

As far as I can remember, Entware is not installed if you don't install pixelserv-tls. At least that was the case for Ab-Solution. I don't know if that's changed. Maybe @thelonelycoder can chip in.
 
With your telstra account settings, try setting the SSL flag to "--insecure" in the email settings.
If 2FA is activated in gmail, use an app password to get around the security alert.

G'day. Thanks for that. But I tried the --insecure flag, and I don't use 2FA for gmail... Gmail declares that the app I'm using, ie Diversion, is insecure. If I can get around that I'll have a decent comparison. Fundamentally though, I'm wondering if Telstra has changed some obscure security setting. The comms functions were working as at 23 October and the first failure I was aware of was on 27 October. The router is an RT-AC68U running 384.7_2 and Diversion 4.0.4. I don't understand the exact meaning of the curl (56) error though, knowing might help if I need to talk to Telstra.

Google says:
Less secure app blocked

Google blocked the app that you were trying to use because it doesn't meet our security standards.
Some apps and devices use less secure sign-in technology, which makes your account more vulnerable. You can turn off access for these apps, which we recommend, or turn on access if you want to use them despite the risks.

Edit: I finally found the google setting to allow "less secure apps", and bingo, the test email worked. So the Telstra issue presumably IS at their end...
 
Last edited:
As far as I can remember, Entware is not installed if you don't install pixelserv-tls. At least that was the case for Ab-Solution. I don't know if that's changed. Maybe @thelonelycoder can chip in.
I chose the lite version during my install a few weeks back. Now looking at amtm I have an update entware, not an install option. No issue for me just pointing it out.

* edit: Checking the stick there is indeed a entware folder.
 
Hello, I just found out that AB-solution changed to Diversion, I want to upgrade and would like to know how to do that safely.

I was going to log in to ab-solution uninstall and then install diversion but I cannot access ABsolutions like I always did, but it is working because it still block adds.
 
No that is not what I wrote: I am looking for a solution like AdBlock/Diversion, with NO pre req of Entware. And since the site for Diversion says that entware will be installed even WITHOUT pixelserver-TLS, I wonder why?

ASUSWRT (and for clarify also ASUSWRT-Merlin) provides bare minimum functionality for scripting. Entware solves the problem and provides a rich set of tools.

By this day & night, I wonder if Diversion can run without some of the tools from Entware (my guess.. I didn't check). Apparently you can patch and fix it if you're desperate and savvy enough. Since we're on it, to use DNSMasq for adblocking, you can do with less than 200 lines of scripts. So it comes down to choice/preference and one's skill..

And one may wonder.. pixelserv-tls can be compiled to run on the FW solely w/o Entware. However, Entware provides better tools, libraries and more up to date stuff on everything else in general. So that's what I picked for pixelserv-tls users on this community.
 

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