[Bug 291680] blocklistd/blacklistd is keeping sockets open in CLOSED state

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 15 Dec 2025 08:53:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291680

            Bug ID: 291680
           Summary: blocklistd/blacklistd is keeping sockets open in
                    CLOSED state
           Product: Base System
           Version: 15.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: wout@canodus.be

After upgrading to 15.0-RELEASE I noticed many connections remain in a CLOSED
state because blocklistd/blacklistd keeps the fd open.

# netstat -an | grep CLOSED | wc -l
   62254

Restarting blocklistd/blacklistd closes all the connections.

When I revert commit c4f2ac409c98536a97c0ec7e6dbb09f36f2b18ba the problem is
fixed.

There seems to be no more call to close(bi->bi_fd).

This was changed by upstream:
https://github.com/zoulasc/blocklist/commit/a8a019d60d50b2363a8ad56087ab199a57fb3746

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