🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Steve Crook Tue, 28 Apr 2009 17:31
Injection-Info
#80799
Author: Steve Crook
Date: Tue, 28 Apr 2009 17:31
11 lines
1196 bytes
In the INN source there are various references to the Injection-Info
header but only Google seem to actually implement it.  Is their
implementation compliant with any standard?

There seems to be surprisingly little information about it on the web.
Or at least none that my searches have uncovered.

-- 
pub   1024D/228761E7 2003-06-04 Steven Crook
      Key fingerprint = 1CD9 95E1 E9CE 80D6 C885  B7EB B471 80D5 2287 61E7
uid                  Steven Crook <steve@mixmin.net>
Re: Injection-Info
#80793
Author: Russ Allbery
Date: Tue, 28 Apr 2009 17:39
20 lines
1787 bytes
Steve Crook <steve@mixmin.net> writes:

> In the INN source there are various references to the Injection-Info
> header but only Google seem to actually implement it.  Is their
> implementation compliant with any standard?
>
> There seems to be surprisingly little information about it on the web.
> Or at least none that my searches have uncovered.

http://www.eyrie.org/~eagle/usefor/drafts/draft-ietf-usefor-usefor-12.txt
has the specification.  (You can also get that I-D from a bunch of other
places, including direct from the IETF, of course.)

I haven't checked whether Google follows it.

-- 
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.
Re: Injection-Info
#80798
Author: D. Stussy
Date: Tue, 28 Apr 2009 22:55
41 lines
3026 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message
news:87r5zcu17j.fsf@windlord.stanford.edu...
> http://www.eyrie.org/~eagle/usefor/drafts/draft-ietf-usefor-usefor-12.txt
> has the specification.  (You can also get that I-D from a bunch of other
> places, including direct from the IETF, of course.)

Q:  Why is "Injection-Date" a separate header and not a sub-field of
"Injection-Info"?

Also, under "Injection-Info" syntax:

host-value      =  dot-atom-text / IPv4address / IPv6address /
                      (dot-atom-text ":" ( IPv4address / IPv6address ))

If specifying both a hostname (as "dot-atom-text") and an IP address, why
not make the IP address a CWFS comment?  I really don't like that colon as
IPv6 address literals may start with a double-colon, and the effective
triple-colon would look ugly.  (OK, so maybe it shouldn't happen except for
localhost since IPv4-mapped and IPv4-compatible IPv6 addresses shouldn't be
sources, but the syntax doesn't forbid such.)

e.g.  "Injection-Info: nowhere;posting-host=localhost:::1"
vs.   "Injection-Info: nowhere;posting-host=localhost (::1)"

BNF:  "/", not "|" in specifying an option (choose one of)?  Hmmmm.

In the "Injection-Info" parameters, do we really have to say "posting-host"
instead of just "host", and "posting-account" instead of just "account" (or
"acct")?  Isn't that understood from the header itself?

------
Another thought:  If "Supersedes" must not exist with "Control" functions,
why not make the supersedes function itself a control function (i.e.
"supersedes" becomes a verb)?  Won't that will prevent the problem?  This
way, it also parallels the "cancel" operation (if that's still to be
supported).  For backwards compatibility only, allow the separate header
(possibly having a server rewrite any "Supersedes: <data>" header into
"Control: supersedes <data>", thus also removing any other "Control:"
header).

Re: Injection-Info
#80805
Author: Steve Crook
Date: Wed, 29 Apr 2009 09:21
23 lines
1750 bytes
On Tue, 28 Apr 2009 10:39:44 -0700, Russ Allbery wrote in
Message-Id: <87r5zcu17j.fsf@windlord.stanford.edu>:

> http://www.eyrie.org/~eagle/usefor/drafts/draft-ietf-usefor-usefor-12.txt
> has the specification.  (You can also get that I-D from a bunch of other
> places, including direct from the IETF, of course.)
>
> I haven't checked whether Google follows it.

Thanks Russ,

It looks like Google do adhere to it.  After scanning some logs there
are also a few others, such as news.killfile.org and news.iecc.com that
include an Injection-Info header.

There doesn't appear to be support in INN for generating this header, or
am I missing something?  It's easy enough to do through a Perl hook but
I'm not sure if that's the right way to go.

-- 
pub   1024D/228761E7 2003-06-04 Steven Crook
      Key fingerprint = 1CD9 95E1 E9CE 80D6 C885  B7EB B471 80D5 2287 61E7
uid                  Steven Crook <steve@mixmin.net>
Re: Injection-Info
#80807
Author: Julien ÉLIE
Date: Wed, 29 Apr 2009 17:14
28 lines
2319 bytes
Hi Steve,

> There doesn't appear to be support in INN for generating this header, or
> am I missing something?

This header is still not supported in INN.  USEFOR and USEPRO (that is to
say RFC 5536 and 5537 -- not yet officially released) are not implemented
in INN.
And there is still work to do on NNTP (RFC 3977, 4642, 4643, 4644) with innd,
innfeed and a few other programs (like tinyleaf) or scripts.

Let's wait for INN 2.5.1 & subsequent :)


> It's easy enough to do through a Perl hook but
> I'm not sure if that's the right way to go.

Currently, I think it is how it should be done.
We've only added support for $hdr{'Injection-Info'} in Perl hooks (that's
why you see Injection-Info in the INN source code, to answer one of your
previous questions).

-- 
Julien ÉLIE

« Mais pourquoi courent-ils si vite ? Pour gagner du temps ! Comme le temps,
  c'est de l'argent... plus ils courent vite, plus ils en gagnent. » (Raymond Devos) 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads