OpenGrok
Cross Reference: bl.c
xref
: /
src
/
external
/
bsd
/
blocklist
/
lib
/
bl.c
Home
|
History
|
Annotate
|
Download
|
only in
lib
History log of
/src/external/bsd/blocklist/lib/bl.c
Revision
Date
Author
Comments
1.9
30-Mar-2025
christos
PR/59218: Taylor R Campbell: fix NUL termination
1.8
29-Mar-2025
christos
Don't use strlcpy() because it will keep going trying to find the end of the
input string (thanks riastradh)
1.7
26-Mar-2025
christos
PR/59218: Taylor R Campbell: Remove extra slop on receive size and prevent
fd leak by closing all passed descriptors if we receive more than one.
1.6
26-Mar-2025
christos
NUL-terminate the message string (thanks riastradh)
1.5
26-Mar-2025
christos
GitHub/26: jlduran: Fix off-by-one less character
1.4
11-Feb-2025
christos
- Illumos port
- sys/cdefs.h portability
1.3
02-Aug-2024
christos
Add blocklist_open2() that can pass a custom logger or NULL for no logging.
Switch internally to use syslog_r. Add compatibility for systems that don't
have syslog_r.
1.2
12-Jun-2022
christos
branches: 1.2.2; 1.2.4;
Handle 0 sized messages (Jose Luis Duran)
1.1
15-Jun-2020
christos
branches: 1.1.1;
Initial revision
1.1.1.1
15-Jun-2020
christos
Import blocklist from https://github.com/zoulasc/blocklist.
This is the same code as blacklist from the HEAD of the NetBSD tree.
1.2.4.1
02-Aug-2025
perseant
Sync with HEAD
1.2.2.1
08-Oct-2024
martin
Pull up following revision(s) (requested by rin in ticket #930):
lib/libc/include/extern.h: revision 1.30
distrib/sets/lists/base/shl.mi: revision 1.987 (patch)
external/bsd/blocklist/bin/support.c: revision 1.2
external/bsd/blocklist/bin/blocklistd.c: revision 1.5
external/bsd/blocklist/bin/blocklistd.8: revision 1.3
sys/sys/syslog.h: revision 1.42
external/bsd/blocklist/bin/support.h: revision 1.2
external/bsd/blocklist/include/blocklist.h: revision 1.3
crypto/external/bsd/openssh/dist/pfilter.c: revision 1.9
external/bsd/blocklist/lib/shlib_version: revision 1.2
lib/libc/gen/syslog_ss.c: revision 1.4
lib/libc/gen/Makefile.inc: revision 1.218
external/bsd/blocklist/lib/bl.c: revision 1.3
external/bsd/blocklist/README: revision 1.3
external/bsd/blocklist/include/bl.h: revision 1.2
distrib/sets/lists/debug/shl.mi: revision 1.347 (patch)
distrib/sets/lists/comp/mi: revision 1.2462
lib/libc/gen/syslog.3: revision 1.34
lib/libc/gen/syslog.3: revision 1.35
external/bsd/blocklist/libexec/blocklistd-helper: revision 1.8
external/bsd/blocklist/lib/libblocklist.3: revision 1.4
external/bsd/blocklist/lib/libblocklist.3: revision 1.5
external/bsd/blocklist/lib/libblocklist.3: revision 1.6
external/bsd/blocklist/lib/blocklist.c: revision 1.3
Spelling fixes
PR/58391: Noriyuki Soda: re-adding syslog_ss() to syslog.h and syslog.3
syslog(3): Nix trailing whitespace in man page.
No functional change intended.
reference sockpath instead of sockspath
Add blocklist_open2() that can pass a custom logger or NULL for no logging.
Switch internally to use syslog_r. Add compatibility for systems that don't
have syslog_r.
Switch blocklist to use syslog_ss since we are being called from a
signal handler.
bump libblocklist
remove trailing space
Silence a bogus warning when starting up:
NetBSD pf:
No ALTQ support in kernel
ALTQ related functions disabled
FreeBSD pf:
Anchor 'blacklistd' not found.
The anchor is indeed found and working correctly. This patch just
discards stderr's output, like in other places.
(jlduran@github)
update markup (Ed Maste)
Indexes created Thu Mar 19 00:23:35 UTC 2026