πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82662

Re: unrelated possible bug with C flag?

#82662
From: Russ Allbery
Date: Tue, 26 Jan 2010 22:24
39 lines
2810 bytes
Julien Γ‰LIE <iulius@nom-de-mon-site.com.invalid> writes:
> Hi D. Stussy,

>> Does NOT recognize "poster" as a reserved word per RFC 5536 where the
>> followup count of groups should be ZERO.
>>
>> --- innd/art.c 2009-01-01 10:02:51.000000000 +0000
>> +++ innd/art.c 2010-01-22 00:12:51.000000000 +0000
>> @@ -2197,9 +2197,16 @@
>>     for (i = 0, p = HDR(HDR__FOLLOWUPTO) ; (p = strchr(p, ',')) != NULL ;
>>       i++, p++)
>>       continue;
>> -    data->Followcount = i;
>> -  }
>> -  if (data->Followcount == 0)
>> +    switch(i) {
>> +      case 1:
>> +         if (!stricmp(HDR(HDR__FOLLOWUPTO),"poster")) i=0;

> What for headers like "news.group,poster"?  Do they mean to post the
> response to news.group and to the sender by mail?

That's a syntax error per RFC 5536.

   followup-to     =  "Followup-To:" SP ( newsgroup-list / poster-text )
                      CRLF

   poster-text     =  *WSP %d112.111.115.116.101.114 *WSP
                      ; "poster" in lowercase

So if you provide a newsgroup-list, "poster" would be interpreted as the
newsgroup "poster," which is a reserved newsgroup name you're not allowed
to use.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <873a1scxmx.fsf@windlord.stanford.edu>
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.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news.glorb.com!usenet.stanford.edu!news.stanford.edu!not-for-mail
References: <hic74m$vi8$1@news.trigofacile.com> <hicf9f$ntj$1@snarked.org> <hiclo9$dd4$1@news.trigofacile.com> <hidmvp$vh1$1@snarked.org> <hitipd$rtb$1@news.trigofacile.com> <hiu2ar$707$1@snarked.org> <hiun2p$2mt$1@news.trigofacile.com> <hj0m9c$g98$1@snarked.org> <hj7qh0$ggu$1@news.trigofacile.com> <hj8csn$cok$1@snarked.org> <hjaiid$f7c$1@news.trigofacile.com> <hjar9t$mq$1@snarked.org> <hjnpm4$f5l$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <873a1scxmx.fsf@windlord.stanford.edu>
Subject: Re: unrelated possible bug with C flag?
Date: Tue, 26 Jan 2010 14:24:54 -0800
From: Russ Allbery <rra@stanford.edu>
References: <hic74m$vi8$1@news.trigofacile.com> <hicf9f$ntj$1@snarked.org> <hiclo9$dd4$1@news.trigofacile.com> <hidmvp$vh1$1@snarked.org> <hitipd$rtb$1@news.trigofacile.com> <hiu2ar$707$1@snarked.org> <hiun2p$2mt$1@news.trigofacile.com> <hj0m9c$g98$1@snarked.org> <hj7qh0$ggu$1@news.trigofacile.com> <hj8csn$cok$1@snarked.org> <hjaiid$f7c$1@news.trigofacile.com> <hjar9t$mq$1@snarked.org> <hjnpm4$f5l$1@news.trigofacile.com>
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.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news.glorb.com!usenet.stanford.edu!news.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 39
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Trace: news.stanford.edu 1264544695 15012 171.67.225.134 (26 Jan 2010
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)
Cancel-Lock: sha1:NYLWbShkMYooSNWcHqKnK7RsSNI=