Article View: news.software.nntp
Article #84179Re: Call for inncheck testing (INN 2.5.0 and above)
From: D. Stussy
Date: Fri, 08 Jul 2011 18:45
Date: Fri, 08 Jul 2011 18:45
89 lines
4899 bytes
4899 bytes
"Florian Schlichting" <Florian.Schlichting@fu-berlin.de> wrote in message news:97mkfkF9dgU1@mid.uni-berlin.de... > Hi, > > On 2011-07-07, D. Stussy wrote: > > 1) FAIL: IPv6 address detection with PROPERLY capitalized hexidecimal. > > (I protested the RFC which recently changed this to "lowercase" digits > > only.) > > I don't really have an opinion on this one. Since uppercase letters work > as well as lowercase ones, we could be permissive. Then again there is > the RFC, and who are we to know better? inncheck is really just > advisory, any admin could amend the regex or ignore that particular > warning. > > RFC 5952 section 4 / 4.3 says that all characters in an IPv6 address > MUST be textually represented in lowercase and advises that humans > should do so, too. At the same time, all implementations must be able to > accept both lowercase and uppercase. ...Which is the statement that defies the historical representation. Prior to this, all RFCs regarding IPv6 addresses used uppercase digits, and for hexidecimal in general, uppercase only since the late 1950s. (In some cases, the ABNF for the earlier RFCs does have "[0-9A-Fa-f]", but all examples were uppercase only.) As [some] RFCs are technically proposed standards, I did file comments opposing this. I feel that this is one place where an RFC severely erred. > > 2) Readers.conf: require_ssl not recognized yet still in manual page as > > valid. > > that's a false positive (typo in inncheck) > > > 3) Readers.conf: addinjectionpostinghost not recognized yet introduced in > > INN 2.6.0. > > correct, needs to be added > > > 4) Expire.ctl: Are we checking inn.conf "groupbaseexpiry" first? > > I define one line using each format (4-field and 5 field) so I don't have > > to worry > > about which setting I used in inn.conf since lines of the incorrect format > > are ignored > > notwithstanding the warning not to do this in the manual page. > > yes, the value of groupbaseexpiry is checked, so if you define both > formats, one of them will always be "wrong" according to inncheck Noted, but it did mark BOTH of them as wrong. Technically, only one of the two lines should be incorrect. However, expire itself doesn't care and ignores the incorrect lines. > > 5) Innfeed.conf: backlog-limit-highwater is OPTIONAL, not required, per > > man page. > > I'll have to look into which keys in innfeed.conf really need to be > required, and then the manpage could also be more clear about this, too. > Ideally, all options would have sensible defaults, such that a small > site can operate with an empty / all-lines-commented-out innfeed.conf. > > > /var/lib/news/etc/readers.conf:10: not a valid option name: require_ssl > > /var/lib/news/etc/readers.conf:10: option true must be immediately followed > > by a colon > > /var/lib/news/etc/readers.conf:10: not a valid option name: true > > BTW, do people think that the second and third line are ugly and > misleading? I just thought of a small fix that would suppress further > error messages until the parser is back in sync, at the danger of hiding > two consecutive errors until the first one gets fixed... That does appear a bit confusing. Once an error is detected on a line, the program should determine whether further errors will be meaningful. With "option name" errors, I suggest that the rest of the line remain unparsed as we don't know what should be there. > THANKS for testing! You're welcome.
Technical Details
Message-ID:
<iv7j8p$juk$1@snarked.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!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!news.glorb.com!news.snarked.org!pool-71-106-211-51.lsanca.dsl-w.verizon.net!not-for-mailReferences:
<iv2io4$56g$1@news.trigofacile.com> <iv3j1o$b2a$1@snarked.org> <97mkfkF9dgU1@mid.uni-berlin.de>Show Full Headers
Complete Article Headers
Message-ID: <iv7j8p$juk$1@snarked.org> Subject: Re: Call for inncheck testing (INN 2.5.0 and above) Date: Fri, 8 Jul 2011 11:45:47 -0700 From: "D. Stussy" <spam+newsgroups@bde-arc.ampr.org> References: <iv2io4$56g$1@news.trigofacile.com> <iv3j1o$b2a$1@snarked.org> <97mkfkF9dgU1@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!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!news.glorb.com!news.snarked.org!pool-71-106-211-51.lsanca.dsl-w.verizon.net!not-for-mail Newsgroups: news.software.nntp Lines: 89 Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org> Injection-Date: Fri, 8 Jul 2011 18:45:45 +0000 (UTC) Injection-Info: snarked.org; posting-host="pool-71-106-211-51.lsanca.dsl-w.verizon.net:71.106.211.51"; logging-data="20436"; mail-complaints-to="newsmaster+complaints@snarked.org" X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1478 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478 X-Original-Bytes: 4707