[Bug 243164] blacklistd not handling masks correctly
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jan 8 05:34:05 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243164
--- Comment #7 from Conrad Meyer <cem at freebsd.org> ---
(In reply to Helge Oldach from comment #6)
Thanks for testing it out.
> So it's not a documentation error as I was thinking but indeed a bug.
Yep. Nice find!
> What I still don't understand however is why the netmask can be FSTAR at all?
> What is the point? I can't follow the semantics. Why would we want to compare an
> incoming IP address (with implied /32 mask) to a template with an "unknown"
> netmask? I suspect a proper fix might involve setting it to 32 (or 128 in the
> IPv6 case) right away if no mask is specified?
I completely agree.
I'm also not exactly in love with the custom file format (with ad-hoc C parser
and no formal grammar) and suggested just using UCL or JSON to Kurt a few years
ago, but he was opposed at the time. (IIRC he had indicated plans to use a
formal grammar for the existing format, at least, but never got to it.)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list