Diversion Diversion Wildcard not working

zaxcom

Regular Contributor
I have the following entries in my wc blacklist but they are not working. What am I missing?

Thx

Your wc_blacklist has these 5 entries:

1: facebook.net
2: samsungcloudcdn.com
3: samsungcloudsolution.com
4: samsungcloudsolution.net
5: samsungotn.net




Screen Shot 2021-08-18 at 1.51.05 PM.png

Screen Shot 2021-08-18 at 1.51.20 PM.png
 

thelonelycoder

Part of the Furniture
I believe this might be an error in uiDivStats, @Jack Yaz might have more insights into that.
If you follow the logfile in Diversion you'll see that your wildcard domains are correctly blocked.
Blocked domains are highlighted in red with the list it is found in:
Code:
07:38:45 dnsmasq[3106]: blocked by wc-blacklist samsungotn.net is 192.168.50.2
 

Jack Yaz

Part of the Furniture
I believe this might be an error in uiDivStats, @Jack Yaz might have more insights into that.
If you follow the logfile in Diversion you'll see that your wildcard domains are correctly blocked.
Blocked domains are highlighted in red with the list it is found in:
Code:
07:38:45 dnsmasq[3106]: blocked by wc-blacklist samsungotn.net is 192.168.50.2
Shouldn't be but I'll take a look
 

zaxcom

Regular Contributor
you are correct, If I follow the log, then the items in the wc are being blocked. Looks like any entry I put into wc shows as not blocked in udiv stats, but if I place the same domain into the regular block list then it does show as blocked.


11:35:47 blocked by wc-blacklist otnprd10.samsungcloudsolution.net
11:35:47 blocked by wc-blacklist otnprd11.samsungcloudsolution.net
11:35:47 blocked by wc-blacklist www.samsungotn.net
11:36:04 blocked by blockinglist lcprd1.samsungcloudsolution.net
11:36:04 blocked by blockinglist lcprd1.samsungcloudsolution.net
11:36:05 blocked by blockinglist lcprd1.samsungcloudsolution.net
11:39:26 blocked by blacklist lgtvonline.lge.com
11:39:26 blocked by blacklist lgtvonline.lge.com
11:39:26 blocked by blacklist lgtvonline.lge.com
11:39:29 blocked by blacklist lgtvonline.lge.com
11:39:29 blocked by blacklist lgtvonline.lge.com
11:39:29 blocked by blacklist lgtvonline.lge.com
11:45:05 blocked by wc-blacklist lgtvonline.lge.com
11:45:05 blocked by wc-blacklist lgtvonline.lge.com
11:45:06 blocked by wc-blacklist snu.lge.com
11:45:06 blocked by wc-blacklist snu.lge.com
11:45:07 blocked by wc-blacklist US.lgtvsdp.com
11:45:07 blocked by wc-blacklist US.lgtvsdp.com
11:45:07 blocked by wc-blacklist US.lgtvsdp.com
11:45:07 blocked by wc-blacklist US.lgtvsdp.com
11:45:07 blocked by wc-blacklist US.lgtvsdp.com
11:45:07 blocked by wc-blacklist US.lgtvsdp.com
11:45:07 blocked by wc-blacklist US.lgtvsdp.com
11:45:07 blocked by wc-blacklist US.lgtvsdp.com
11:45:12 blocked by wc-blacklist US.lgtvsdp.com
11:45:12 blocked by wc-blacklist US.lgtvsdp.com


Screen Shot 2021-08-19 at 11.47.36 AM.png


Screen Shot 2021-08-19 at 11.47.51 AM.png

Screen Shot 2021-08-19 at 11.48.15 AM.png

Screen Shot 2021-08-19 at 11.48.34 AM.png
 
Last edited:

dave14305

Part of the Furniture
Wildcard blacklist shows up differently in the dnsmasq.log than what uiDivStats is looking for.
Code:
Aug 19 12:27:03 dnsmasq[32032]: config pornhub.com is ::
Aug 19 12:27:03 dnsmasq[32032]: config pornhub.com is 0.0.0.0
Aug 19 12:28:00 dnsmasq[32032]: config pornhub.com is ::
Aug 19 12:28:00 dnsmasq[32032]: config pornhub.com is 0.0.0.0
 

Jack Yaz

Part of the Furniture
i see the issue. uidivstats tails dnsmasq logs looking for the word diversion, as typically dnsmasq shows blocked domains with the blacklist responsible. this doesn't happen for wc-blacklist:
Code:
Aug 19 17:46:01 dnsmasq[31909]: /opt/share/diversion/list/blacklist bloop.com is 0.0.0.0
Aug 19 17:46:01 dnsmasq[31909]: query[AAAA] bloop.com from 10.14.16.10
Aug 19 17:46:01 dnsmasq[31909]: config bloop.com is NODATA-IPv6
Code:
Aug 19 17:46:31 dnsmasq[7872]: query[A] bloop.com from 10.14.16.10
Aug 19 17:46:31 dnsmasq[7872]: config bloop.com is 0.0.0.0
Aug 19 17:46:31 dnsmasq[7872]: query[AAAA] bloop.com from 10.14.16.10
Aug 19 17:46:31 dnsmasq[7872]: config bloop.com is NODATA-IPv6
I'll push an update to filter for the blackhole IP instead
 

Jack Yaz

Part of the Furniture
Wildcard blacklist shows up differently in the dnsmasq.log than what uiDivStats is looking for.
Code:
Aug 19 12:27:03 dnsmasq[32032]: config pornhub.com is ::
Aug 19 12:27:03 dnsmasq[32032]: config pornhub.com is 0.0.0.0
Aug 19 12:28:00 dnsmasq[32032]: config pornhub.com is ::
Aug 19 12:28:00 dnsmasq[32032]: config pornhub.com is 0.0.0.0
and here's me choosing a SFW domain to test with ;-)
 

Jack Yaz

Part of the Furniture
Hey, it was lunchtime here. :)
since i lack ipv6, could you do me a favour please and share what blockingIP appears in /opt/share/diversion/.conf/diversion.conf ?
 

dave14305

Part of the Furniture
since i lack ipv6, could you do me a favour please and share what blockingIP appears in /opt/share/diversion/.conf/diversion.conf ?
Just 0.0.0.0. I think :: is hard-coded since Pixelserv probably didn’t support ipv6.
 

Jack Yaz

Part of the Furniture
@zaxcom please run
Code:
/jffs/script/uiDivStats develop
and check if blocks are logged correctly
 

rexbinary

Occasional Visitor
I'm having this issue it seems with wildcard blocking.

Screenshot 2021-11-06 135522.png


Screenshot 2021-11-06 135624.png


Screenshot 2021-11-06 135717.png



I've tried forcing an update of uDivStats, and rebooted the router. Any suggestions?
 

Treadler

Very Senior Member
I'm having this issue it seems with wildcard blocking.

View attachment 37222

View attachment 37223

View attachment 37224


I've tried forcing an update of uDivStats, and rebooted the router. Any suggestions?


This should fix it.
Just install the ’develop’ version of uidivstats.
 

rexbinary

Occasional Visitor


This should fix it.
Just install the ’develop’ version of uidivstats.
Ah I see. I missed that detail in this thread. I'll install the develop version. Thank you.
 

rexbinary

Occasional Visitor

rexbinary

Occasional Visitor
Well it seemed to work for a bit, but now it's not working again. I've tried uninstalling uiDivStats and reinstalling using curl, and it's still showing opendns.com wildcard blocks as allowed in the query log.
 

Treadler

Very Senior Member
Well it seemed to work for a bit, but now it's not working again. I've tried uninstalling uiDivStats and reinstalling using curl, and it's still showing opendns.com wildcard blocks as allowed in the query log.

v. 3.0.2?
 

Sign Up For SNBForums Daily Digest

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