OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 21.1 Legacy Series »
  • UnboundBL crashes the Unbound service
« previous next »
  • Print
Pages: [1]

Author Topic: UnboundBL crashes the Unbound service  (Read 2638 times)

ManuelOS

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
    • View Profile
UnboundBL crashes the Unbound service
« on: February 07, 2021, 07:57:22 pm »

I use these instructions - After installing and adding the DNSBL and the custom tptions, the service no longer starts - Clean install carried out and the Sense runs on 21.1

Please correct me if something is wrong here I would be happy to hear from mimugmail as well.

https://github.com/alectrocute/UnboundBL

opnsense code tools plugins

cd / usr / plugins / dns
git clone https://github.com/alectrocute/UnboundBL.git

cd UnboundBL
make package
pkg add work / pkg / *. txz


chmod + x /usr/local/opnsense/scripts/OPNsense/Unboundbl/*.sh

The latter line is required because during the installation the UnboundBL scripts cannot be executed due to an error. At the time of reading, the error may already have been resolved.

Services / Unbound DNS / General / Custom Options

include: /var/unbound/dnsbl.conf
Logged
OPNsense + unRaid Server + Asus AP

newsense

  • Hero Member
  • *****
  • Posts: 1041
  • Karma: 78
    • View Profile
Re: UnboundBL crashes the Unbound service
« Reply #1 on: February 09, 2021, 06:11:44 am »
It's a list (or more) that causes the crash. No need to use tutorials, everything is readily available on 21.1


Out of 4 FWs on 21.1 (standard install, nothing add-hoc added to any of it), 2 had unbound crash over the weekend, and the only difference in unbound config is the number of blocking lists selected.

Also, it's not a matter of not being able to start the service, the crash happens after a while which could be related to the refreshing of the lists, but i didn't see anything conclusive in the logs yet.
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: UnboundBL crashes the Unbound service
« Reply #2 on: February 09, 2021, 06:35:36 am »
So the usual way to debug is sadly disabling one by one and see when it crashes, or checking the logs for wrong syntax in these list files.
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

Fright

  • Hero Member
  • *****
  • Posts: 1777
  • Karma: 164
    • View Profile
Re: UnboundBL crashes the Unbound service
« Reply #3 on: February 09, 2021, 08:01:18 am »
i think it can be related to https://forum.opnsense.org/index.php?topic=20284.30
so you can try to use some regex to "whitelist" garbage records.
in my opinion, a more reliable way to solve the problem is to move from using a conf-file to use unbound-control for dnsbl load (in this case, the unbound just skips invalid entries, and does not block the launch of the daemon. and this reduces downtime).
https://github.com/opnsense/core/pull/4528
AdSchellevis hasn't had time to return to this request yet.
Just waiting
Logged

koushun

  • Jr. Member
  • **
  • Posts: 95
  • Karma: 9
  • Digital pimp hard at work.
    • View Profile
Re: UnboundBL crashes the Unbound service
« Reply #4 on: February 24, 2021, 11:09:01 am »
@ManuelOS

Do you have DHCP Registration / DHCP Static Mappings enabled? Under Services > Unbound.

I have another firewall which is on pfSense 2.5 where Unbound was upgraded, due to CVE. The temporarily solution was to disable those features mentioned above.

I am still on OPNsense 20.7.8_4-amd64 on my other site, and I have not experienced anything there yet.

https://forum.netgate.com/topic/160005/unbound-crashes-periodically-with-signal-11/73

A permanent fix was to upgrade Unbound and restart the service: https://forum.netgate.com/post/966932

Do not know if this is related or is of any help.

koushun

Logged
Running OPNsense through Proxmox
4 x Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz (1 Socket)
24 GB RAM

dave

  • Jr. Member
  • **
  • Posts: 74
  • Karma: 5
    • View Profile
Re: UnboundBL crashes the Unbound service
« Reply #5 on: February 24, 2021, 02:50:07 pm »
(Unsurprisingly) it's generally the porn lists that do it, I find.
Also, Unbounds performance and memory usages takes a big hit when using it for widescale blocking.
I've switched to using AdGuard by adding the 3rd party repo and it's waaaaaaaay better, and built for purpose.  Highly recommended if it's an option.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 21.1 Legacy Series »
  • UnboundBL crashes the Unbound service
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2