Diversion Diversion Makes Router Hang Each Time WAN Restart

  • ATTENTION! You'll notice a Prefix dropdown when you create a thread. If your post applies to one of the topics listed, please use that Prefix for your post. When browsing the thread list you can use the Prefix to filter the view.
  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

KingBravery

Regular Contributor
Hi guys,

Is it normal each time WAN restart or Router reboot, it will be hang up and make the connection stuck?

Sometimes LAN adapter also cant get IP when the cpu usage hits 100% for below process.

" grep -wq ^:: /opt/share/diversion/list/blacklist "

DSC_04995.jpg


Is there a way to prevent this happen?

Thank you
 

dave14305

Part of the Furniture
Maybe your blacklist is corrupted. What size is it?
Code:
ls -l /opt/share/diversion/list/blacklist
 

KingBravery

Regular Contributor
It shows like below:

-rw-rw-rw- 1 admin root 79081472 Feb 12 02:25 /opt/share/diversion/list/blacklist
 

dave14305

Part of the Furniture
It shows like below:

-rw-rw-rw- 1 admin root 79081472 Feb 12 02:25 /opt/share/diversion/list/blacklist
Ouch. I doubt you've manually blocked that many hosts. It would probably help fix the underlying problem if you provide a small bit of the file contents then zero out the file.

Code:
head /opt/share/diversion/list/blacklist
true > /opt/share/diversion/list/blacklist
service restart_dnsmasq
 

KingBravery

Regular Contributor
wow. nice coding you have.

After launch it, I restart WAN connection and the usage not reach 100% anymore and the high usage only for short time.

If it happen again, just type that code again, right?

Actually, I don't manually block anything. I don't know if I'm setup it wrongly.

Anyway, Thank you dave14305 for your help.
 
Last edited:

Latest threads

Sign Up For SNBForums Daily Digest

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