Article View: news.software.nntp
Article #84182Re: Call for inncheck testing (INN 2.5.0 and above)
From: Florian Schlichting
Date: Sat, 09 Jul 2011 00:20
Date: Sat, 09 Jul 2011 00:20
33 lines
2700 bytes
2700 bytes
On 2011-07-08, Jeffrey M. Vinocur wrote:
> I also have IPv6 addresses with capital letters in them. Could
> we at least make the warning message be specific for this
> particular error? I am not averse to changing it but would have
> had no idea what the issue was without seeing the prior posts.
inncheck in SVN now accepts uppercase letters in IPv6 addresses; the RFC
actually says they must be accepted everywhere, it's just when
outputting those addresses lowercase letters should be used.
> There is much output (I support the suggestion to quiet the
> triplicate errors) about incoming.conf patterns: that span
> multiple lines, within double quotes, whether or not I use
> backslashes at the end of each continued line.
Julien also committed the patch to quieten triplicate errors.
Regarding patterns that span multiple lines: I decided not to support
strings spanning several lines, with or without backslashes, in
inncheck. The reason is that the different parsers deal with them in
different ways; it's next to impossible to support every quirk, and then
there are distant plans to standardize on a common config parser for all
of INN with yet a little different syntax, so I felt inncheck should
settle on the least common denominator ("if inncheck says it's correct,
it is correct, and it will be correct in the future").
Case in point: the future parser described in config-syntax says strings
can (only) be continued on multiple lines by means of a backslash; the
incoming.conf parser in innd/rc.c does not know about trailing
backslashes, but will happily continue over newlines and other
delimiters until a matching double-quote is found (or 32K exceeded).
Florian
Technical Details
Message-ID:
<97pl66Fo8dU1@mid.uni-berlin.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!goblin2!goblin3!goblin.stu.neva.ru!bolzen.all.de!fu-berlin.de!uni-berlin.de!not-for-mailReferences:
<iv2io4$56g$1@news.trigofacile.com> <iv5ts8$n4e$1@puck.litech.org>Show Full Headers
Complete Article Headers
Message-ID: <97pl66Fo8dU1@mid.uni-berlin.de> Subject: Re: Call for inncheck testing (INN 2.5.0 and above) Date: Sat, 09 Jul 2011 00:20:22 +0000 From: Florian Schlichting <Florian.Schlichting@fu-berlin.de> References: <iv2io4$56g$1@news.trigofacile.com> <iv5ts8$n4e$1@puck.litech.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!goblin2!goblin3!goblin.stu.neva.ru!bolzen.all.de!fu-berlin.de!uni-berlin.de!not-for-mail Newsgroups: news.software.nntp Organization: Freie Universitaet Berlin Lines: 33 X-Trace: news.uni-berlin.de o+qYhWUWoWgp2xCFomSEgQb9uUEvpHkhMXQ1P2oAtm6VPM+fcKOFUv User-Agent: slrn/pre1.0.0-18 (Linux) X-Original-Bytes: 2392