🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82425

Injection-Info questions

#82425
From: Steve Crook
Date: Sat, 26 Dec 2009 15:52
19 lines
1760 bytes
Hi all,

I'm in the process of modifying Cleanfeed to correctly interpret the
Injection-Info header and have a couple of questions.

According to RFC5536, the posting-host format should be:
posting-host = "posting.example.com:192.0.2.1"
I assume that whitespace around the '=' is optional (INN2.6.0 doesn't
have it)?  Also, is it safe to assume that the delimiter between
hostname and address is always the *left-most* colon?  I'm thinking
specifically of ipv6 addresses with colons in them.

There also appears to be an issue with Google's implementation of the
header as they currently use:
posting-host=192.0.2.1;
No quotes and no hostname.

No problem accommodating these variations, I just want to make sure I
only accommodate the right ones.  :)
Technical Details
Message-ID: <slrnhjcc9b.u40.steve@news.mixmin.net>
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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!news.glorb.com!news2.glorb.com!feeder.erje.net!news2.arglkargh.de!news.mixmin.net!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <slrnhjcc9b.u40.steve@news.mixmin.net>
Subject: Injection-Info questions
Date: Sat, 26 Dec 2009 15:52:11 +0000
From: Steve Crook <steve@mixmin.net>
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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!news.glorb.com!news2.glorb.com!feeder.erje.net!news2.arglkargh.de!news.mixmin.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Mixmin
Injection-Date: Sat, 26 Dec 2009 15:52:11 +0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="ip6-localhost:::1";
 logging-data="973"; mail-complaints-to="abuse@mixmin.net"
User-Agent: slrn/pre1.0.0-18 (Linux)
Lines: 18