NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: misc/57905: blocklistd.conf and ipv6
The following reply was made to PR misc/57905; it has been noted by GNATS.
From: Mark Davies <mark%ecs.vuw.ac.nz@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: misc/57905: blocklistd.conf and ipv6
Date: Tue, 6 Feb 2024 14:28:26 +1300
On 06/02/2024 02:10, Sunil Nimmagadda wrote:
> If I understood the syntax for location correctly, it should be
> [2404:2000::]/32 i.e., the mask should be after the enclosing square
> brackets for an IPv6 address.
I thought I'd tried that at some point, but anyway ...
> Also verified that inet_pton(3) wouldn't parse 2404:2000::/32. This
> patch checks if inet_pton(3) parsed address successfully and also
> rectifies the line number reporting. Compile tested only, can't run IPv6
> atm.
confirmed that your patch gets an error reported for [2404:2000::/32]
and fixes the line number reporting, but with [2404:2000::]/32 I still get
Feb 6 14:22:27 smb2 blocklistd[3834]: conf_getnum:
/etc/blocklistd.conf, 9: Bad number for service []
cheers
mark
Home |
Main Index |
Thread Index |
Old Index