Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Dec 2020 22:12:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 251821] dns/unbound: SIGSEGV in 1.13.0
Message-ID:  <bug-251821-7788-orKrqeA5EJ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-251821-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-251821-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251821

--- Comment #22 from Tatsuki Makino <tatsuki_makino@hotmail.com> ---
(In reply to Xin LI from comment #20)

I have a unbound.conf that I can reproduce relatively well.

server:
        verbosity: 5
        num-threads: 2
        port: 65353
        interface: 127.0.0.1@65353
        outgoing-range: 64
        outgoing-num-tcp: 2
        #so-reuseport: yes
        cache-max-ttl: 1
        cache-max-negative-ttl: 1
        do-udp: yes
        do-tcp: yes
        tcp-upstream: yes
        #do-daemonize: no
        chroot: ""
        username: ""
        directory: .
        use-syslog: no
        pidfile: unbound.pid

Then run this as cd /tmp && unbound -d -c /tmp/unbound.conf.
Then it stops as soon as dig @127.0.0.1 a -p 65353 +tcp example.com. is
executed.

In addition, there are ways to prevent them from occurring.
First, check pkg info -r libevent.
I have the following.

libevent-2.1.12:
        thunderbird-78.6.0_1
        unbound-1.13.0_1
        avahi-app-0.8
        nsd-4.3.4
        seamonkey-2.49.4_27
        tmux-3.1c

Next, stop all programs in the package displayed above.
Then, use sockstat -4 -6 -c -P tcp,udp -s to confirm that all connections a=
re
gone.
Finally, if all connections do not exist, start unbound.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251821-7788-orKrqeA5EJ>