🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Simon Lyall Sun, 12 Apr 1998 00:00
(fwd) Re: RFC1036 Revision Draft
#27607
Author: Simon Lyall
Date: Sun, 12 Apr 1998 00:00
190 lines
9299 bytes
The following article was posted in response to the posted draft.

I must admit that I've read this a few times and I can't quite put my
finger on the point the author is making. I *think* they are just mixing
up injecting agents and gateways but Im not 100% sure. Could others have a
read of this and email the list if they think the draft needs to address
the author's points..


-- forwarded message --
From: MarchHare@momeraths.org (Sysop John)
Newsgroups: news.admin.misc,news.software.nntp,news.software.readers
Subject: Re: RFC1036 Revision Draft
Distribution: inet
Date: Sat, 11 Apr 1998 15:47:03 -0400
Organization: Mome Raths BBS
Message-ID: <3i8L10E6Ap4N092yn@momeraths.org>
References: <slrn6iiq0a.8to.grobe+news@worf.netins.net>
Lines: 162
NNTP-Posting-Host: 192.168.2.4
Path: darkmere.gen.nz!ihug.co.nz!nntp.flash.net!nntp.giganews.com!ais.net!usenet.INS.CWRU.Edu!neoucom.edu!neoucom.edu!redpoll!kraken!momeraths!queen!192.168.2.4

-----BEGIN PGP SIGNED MESSAGE-----

In article <slrn6iiq0a.8to.grobe+news@worf.netins.net> of news.admin.misc,
6 Apr 1998 23:40:59 GMT, grobe+news@netins.net (Jonathan Grobe) wrote:

....

>          2. Definitions, Notations and Conventions
>
>          2.1 Definitions.

....

>          An "injecting agent" takes the finished article from the
>          posting agent (often via the NNTP "post" command ) performs
>          some final checks and passes it on to a relaying agent for
>          general distribution.

....

>          5.6.4 Tail Entry
>
>          For historical reasons, the rightmost entry in the Path string
>          generated by most systems is not a site name, but a "user
>          name." However, the Path string is not an E-mail address and
>          MUST NOT be used to contact the user. Injecting agents MAY
>          place any string here that is not a path-identity.  If no
>          meaning is anticiated the string "x" SHOULD be used.
>
>          RFC1036 suggested that the last entry could be a site name,
>          requiring software to check it when feeding, but said it also
>          should have a userid for very old systems. As of this
>          specification, a systems SHOULD NOT treat the tail entry as a
>          path-identity.
>
>          Typically this field will be the only entry on the Path string
>          generated by a poster, or if not generated by the poster, by
>          the injecting agent, which will prepend a "%" and then its own
>          verifiable path-identity. The percent divides the verified
>          part of the Path line from any entries provided prior to
>          injection into the news network. There may be more than one
>          entry after the percent, and all but the last are to be
>          treated as sites.

I have to disagree.  A distinction must be made between an injecting 
agent and an injecting (gateway) server.  Here, you are stating that it 
is the injecting agents job to do the FQDN verification, which it cannot
do behind a firewall.

....

>          %
>
>          Optional pre-injection entries followed by tail entry.
>          Commonly just the tail entry, either "x" or an encoding of
>          login identity. Name on left is FQDN of site that handles mail
>          for injector. The presence of two "%" in a path indicates a
>          double-injection error.

Note that the above could be done by gateways as well.

....

>          7.1 Duties of an Injecting Agent.
>
>          An injection agent is responsible for taking a proto-article
>          from a posting agent and either forwarding it to a moderator
>          of injecting it into the relaying system for access by
>          readers.

....

>          7.1.1 Proto-articles.
>
>          A proto-article is one that is created by a posting agent and
>          has not been injected into the news system by an injecting
>          agent. Only one copy of a proto-article MUST exist. A
>          proto-article has the same format as a normal article except
>          that some of the compulsory headers MAY be missing.  A
>          proto-injected article MAY have the following headers missing:
>          "Message-Id: " , "Date: " and "Path: " . These header MUST not
>          contain invalid values, they MUST either be correct or not
>          present at all.
>
>          A proto-article MUST NOT contain the "!" or "%" character in
>          the Path header.

Since only one copy of a proto-article can exist, and the proto-article 
can not contain a network's internal path (otherwise, one of those 
symbols would be in the Path line), then it is obvious that an 
"injecting agent" is a piece of software doing the posting on the 
network's internal server and does not refer to the server itself.  Once
it has been passed to either an internal relay, another server or a 
gateway, two copies of the article are in existence.

Since the network's internal server cannot be verified, and may actually
be assigned an IP address for internal use only, it cannot be considered
the injecting server (the article in question is not in circulation on 
the "real network"). The gateway, therefore, must have this capability,
and the gateway would add the FQDN and "%" to the beginning of the Path.

As an example, under this new system, the outgoing Path of this article 
would look like:

	Path: momeraths.org%queen!192.168.2.4

The article was posted on an internal network from machine 192.168.2.4, 
an illegal Internet address (if it leaks out).  It was accepted by 
machine queen, which is also on an internal network.  At this point, 
there is one copy of the article at machine queen, whose injecting agent
adds the appropriate path information.  The article is then passed to 
machine momeraths.  Since momeraths is also momeraths.org to the outside
world, and it has an MX record, it would then add the appropriate FQDN 
to the begining of the Path.  Since it is a gateway machine, it is 
actually injecting the articles into the mainstream network.  So, 
momeraths would be the actual injecting server.

An alternate point of view would be that the injecting server is where 
the injecting agent lives, regardless of topology, and the gateway is a 
only a gateway.  In this case, the gateway assumes the responsibility of
the injecting agent by checking the Path lines and prepending the FQDN 
to the front of the Path.  It still requires a rewording of the document
to make it clear that the gateway is doing this instead of the injecting
agent, since the internal server cannot be verified by outside sources 
(and should not be visible even from the outside).

Otherwise, it would be the gateway's responsibility to rewrite (alter) 
the Path line, which the document clearly states must not be done. 
Furthermore, requiring rewriting of the Path line for this purpose would
remove a tool to catch net abuse at the originating site.

IMO, software writers have to be conscious that a news server could be 
on an internal server, a gateway machine or on the open Internet.  By 
making allowances for the different configurations, the appropriate Path
information could be correctly written on the article to identify 
sources of problems.  There are businesses whose main purpose for being 
is not for providing Usenet access, but it is provided as a benefit for 
their employees or for enabling their employees to gather needed 
information of importance to the business.  The smarter ones firewall 
off everything except designated public web pages, and run all email and
news through their gateways.

John
- -- 
//------------------------------------------------------------------------
// momerath@apk.net                    sevot yhtils eht dna ,gillirb sawT`
// MarchHare@momeraths.org                 ebaw eht ni elbmig dna eryg diD
//                                           ,sevogorob eht erew ysmim llA
//                                            .ebargtuo shtar emom eht dnA
//                     In case of stupidity, break glass.


-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: cp850

iQCVAwUBNS/TFbMHJ4yl8MPNAQGb9AP+ISgGm3mfkrAiOLgOX3x9PCrsPz/Av42h
4lGWvYqys96EVs+SpnZ0cqaX49o1PSHwsZWwXos+lZniXJDJyW1QNNsxvfwRhO/Y
Tj/jhmDsHZpDVuweEJEs1FlYRT4iiR7nHqj4kC6/hFneOj7HPAR6YgA6dJQRIDkO
o84nK4/Wygc=
=e1r6
-----END PGP SIGNATURE-----
-- end of forwarded message --



Re: (fwd) Re: RFC1036 Revision Draft
#27632
Author: Sysop John
Date: Tue, 14 Apr 1998 00:00
43 lines
2447 bytes
-----BEGIN PGP SIGNED MESSAGE-----

In article <199804121346.BAA27430@darkmere.gen.nz> of news.admin.misc,
12 Apr 98 13:46:58 GMT, simon@darkmere.gen.nz (Simon Lyall) wrote:
>The following article was posted in response to the posted draft.
>
>I must admit that I've read this a few times and I can't quite put my
>finger on the point the author is making. I *think* they are just mixing
>up injecting agents and gateways but Im not 100% sure. Could others have a
>read of this and email the list if they think the draft needs to address
>the author's points..

In relationship to this document, yes, I am confused about the functions
of the injecting agent vs. the gateway.  Taking the draft at face value 
implies that the gateway would be required to rewrite the Path line 
before the article leaves the firewall.  The injecting agent 
supplies the Path line after verification while still behind the 
firewall.  However, the draft also prohibits rewriting the Path line. 
It is a Catch-22.

John
- -- 
//------------------------------------------------------------------------
// momerath@apk.net                    sevot yhtils eht dna ,gillirb sawT`
// MarchHare@momeraths.org                 ebaw eht ni elbmig dna eryg diD
//                                           ,sevogorob eht erew ysmim llA
//                                            .ebargtuo shtar emom eht dnA
//                     In case of stupidity, break glass.


-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: cp850

iQCVAwUBNTQTUrMHJ4yl8MPNAQGzYQP+OMijWT6OfZ8fkU7ooH/j54X3jlAb5Tna
0B8vjiwUgu9tvGL770P7s+QqmVorWCd5hN0B4dNt/ZUoWaF9kzIBjDSKnrnzKx4Z
cmhBK3f9FeT7sXm1xpep28KYxXs6RFpMljX1uwk90U+TgsdRpChU47erUDqYZcl5
7VIKpeijS38=
=Hsyc
-----END PGP SIGNATURE-----

Re: (fwd) Re: RFC1036 Revision Draft
#27659
Author: Charles Lindsey
Date: Thu, 16 Apr 1998 00:00
52 lines
3467 bytes
In <8GBN10E6AZLB092yn@momeraths.org> MarchHare@momeraths.org (Sysop John) writes:

>In article <199804121346.BAA27430@darkmere.gen.nz> of news.admin.misc,
>12 Apr 98 13:46:58 GMT, simon@darkmere.gen.nz (Simon Lyall) wrote:
>>The following article was posted in response to the posted draft.
>>
>>I must admit that I've read this a few times and I can't quite put my
>>finger on the point the author is making. I *think* they are just mixing
>>up injecting agents and gateways but Im not 100% sure. Could others have a
>>read of this and email the list if they think the draft needs to address
>>the author's points..

>In relationship to this document, yes, I am confused about the functions
>of the injecting agent vs. the gateway.  Taking the draft at face value 
>implies that the gateway would be required to rewrite the Path line 
>before the article leaves the firewall.  The injecting agent 
>supplies the Path line after verification while still behind the 
>firewall.  However, the draft also prohibits rewriting the Path line. 
>It is a Catch-22.

Yes, I tried to point this problem out to Simon when he first wrote this
part of the draft, but he did not seem to be buying my argument.

The essential idea of the injecting agent is that he should be readily
identifiable from the Path: header (or by other means still being planned)
and be in a position to take responsibility for what his users do (i.e. in
a position to nuke them in extreme cases of abuse). Certainly, he is the
man you complain to when things go wrong. So as regards an ISP and an
ordinary dialup user, the ISP is the injecting agent.

In the case of a firewall and an intranet, it is no use the injecting
agent being a machine inside the firewall, because that machine is not
supposed to be visible outside (its IP number is quite likely not
world-unique, for a start). So obviously the firewall must be the
"official" injecting agent. Nobody cares what happens inside the intranet,
so long as there is a clear picture from outside. So there may well exist
several copies of the article inside, and certainly the chain of machines
between the poster and the injector could usefully appear in the Path:.
And if the injector had to rewrite some headers that injectors normally
should not rewrite, before letting it out, then so be it (provided a clean
picture is presented to the outside world).

So I agree that some clarification of the draft is needed here.

-- 
Charles H. Lindsey ---------At Home, doing my own thing------------------------
Email:     chl@clw.cs.man.ac.uk  Web:   http://www.cs.man.ac.uk/~chl
Voice/Fax: +44 161 437 4506      Snail: 5 Clerewood Ave, CHEADLE, SK8 3JU, U.K.
PGP: 2C15F1A9     Fingerprint: 73 6D C2 51 93 A0 01 E7  65 E8 64 7E 14 A4 AB A5

Re: (fwd) Re: RFC1036 Revision Draft
#27678
Author: Simon Lyall
Date: Fri, 17 Apr 1998 00:00
72 lines
3726 bytes
[ followups and newsgroups trimmed ]

In news.software.nntp Sysop John <MarchHare@momeraths.org> wrote:
>In relationship to this document, yes, I am confused about the functions
>of the injecting agent vs. the gateway.  Taking the draft at face value 
>implies that the gateway would be required to rewrite the Path line 
>before the article leaves the firewall.

This is how I think I understand things:

* A person on a machine with a private ip number posts an article.
* The news-server is running on a machine called queen which does not have 
  not have any global identification.
* queen relays the article to another firewall machine which uses the 
  momeraths.org identification which then relays it to the world.
* there may also be one or more other news-servers inside the firewall
  that receive the article.

(Note that we are assuming that "queen" is a globally unique Path identity)

According to my reading of the draft:

* The tail entry can be anything (including "x" ) but SHOULD be something
  that the injecting agent (queen) can link to the original poster. This
  would include the ip number since queen can use it to uniquely identify
  the machine that posted it (even if other machines around the world have
  the same ip number)
* The next "injecting agent" entry MUST now be something that will have a
  MX record that has various required aliases (see RFC 2142). To do this
  you either have the firewall machine rewrite the path on it's way out
  (and thus act as a gateway) so that the firewall appears to be the
  injecting agent or you have an MX-ed name like queen.momeraths.org
  which has the correct aliases.

I would assume from what you are saying that the machine queen does not
have such an alias. Therefor it cannot add a globally reachable MX-record 
to the injecting agent entry. Therefore it is part of a network that would
not be in compliance with this document. Therefore the firewall would be
acting as a gateway and could fix the path entry in such a way as to
comply with this document.

The Path entry could therefore be:

momeraths.org%MarchHare

or 

momeraths.org%queen,MarchHare

(where "MarchHare" can really be anything you like as long as it makes
sense to you locally)

Does that make sense?

>The injecting agent 
>supplies the Path line after verification while still behind the 
>firewall.  However, the draft also prohibits rewriting the Path line. 

It's not really since we don't say much about gateways in the standard.
This is because gateways by definition violate the standard (a gateway
that doesn't violate the standard is just a relayer) so if a gateway
*really* *really* *has* to rewrite the Path line it can.

Personally I don't like gateways.

-- 
Simon J. Lyall  |  Very Busy  |  Mail: simon@darkmere.gen.nz
"Inside me Im Screaming, Nobody pays any attention."  |  MT.


Re: (fwd) Re: RFC1036 Revision Draft
#27701
Author: Sysop John
Date: Sun, 19 Apr 1998 00:00
69 lines
3722 bytes
-----BEGIN PGP SIGNED MESSAGE-----

In article <ErI7Ey.981@clw.cs.man.ac.uk> of news.admin.misc,
Thu, 16 Apr 1998 11:18:34 GMT, chl@clw.cs.man.ac.uk (Charles Lindsey) wrote:
>In the case of a firewall and an intranet, it is no use the injecting
>agent being a machine inside the firewall, because that machine is not
>supposed to be visible outside (its IP number is quite likely not
>world-unique, for a start). So obviously the firewall must be the
>"official" injecting agent.

OK, that seems reasonable.

> Nobody cares what happens inside the intranet,
>so long as there is a clear picture from outside.

Perhaps it is more that nobody outside the intranet cares what happens 
inside the intranet :)

> So there may well exist
>several copies of the article inside, and certainly the chain of machines
>between the poster and the injector could usefully appear in the Path:.
>And if the injector had to rewrite some headers that injectors normally
>should not rewrite, before letting it out, then so be it (provided a clean
>picture is presented to the outside world).

Yes, I am concerned that software writers will forget this when reading 
the draft.  Not only, though, should the picture be "clean" outside the 
firewall, though, but it still should provide a summary of who and where
the originating message came from.  Now, I'm not saying that if the 
message is internally routed three or four times that all of that should
be tacked on, but a clear enough picture should come from it so that an 
admin can say with some confidence that person X "abused" [*] machine Y 
to send Z.

* using the definition of abuse from a business POV, not necessarily the 
definition from an admin POV, which can cover a wide range of activities
that the business does not wish its resources to be used for

>So I agree that some clarification of the draft is needed here.

It appears that the purpose of this change is to make it easier to track
down net abuse, since forging Path lines will not do as much.  Even if 
it is a different slant on the normal perspective, businesses should be 
able to use this same technique to react to problems as much as any ISP.
If that is its intended purpose, then I would like to see a small 
adjustment to the draft.  If I'm off-base, then I'd like to know that as
well.

John
- -- 
//------------------------------------------------------------------------
//  Here the Queen put on her spectacles, and began staring at the
// Hatter, who turned pale and fidgeted.
//  `Give your evidence,' said the King; `and don't be nervous, or
// I'll have you executed on the spot.'  --Lewis Carroll

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: cp850

iQCVAwUBNTpCjrMHJ4yl8MPNAQHMvQQAiidmaSuxvTUSlba2d+usBuBiZ3iwJDU0
INXw2d3fzFz7Sn4N7OnkhW0Fm9rG0atRD5PDOkd9mjOW8Xiy/WKw7DY8nOBZdCjK
CAP7LlFtZMaCQzVxZXWC2/3yBMdTYqZ61qsjhM20pXHautkSjC5snRe7lTq6yryf
6/F+IGwcpHw=
=TVRB
-----END PGP SIGNATURE-----

Re: (fwd) Re: RFC1036 Revision Draft
#27706
Author: Sysop John
Date: Sun, 19 Apr 1998 00:00
92 lines
4118 bytes
-----BEGIN PGP SIGNED MESSAGE-----

In article <6h7ipp$n1n@darkmere.gen.nz> of news.admin.misc,
17 Apr 1998 12:43:37 GMT, Simon Lyall <simon@darkmere.gen.nz> wrote:
>[ followups and newsgroups trimmed ]
>

....

>I would assume from what you are saying that the machine queen does not
>have such an alias. Therefor it cannot add a globally reachable MX-record 
>to the injecting agent entry.

That is very much correct, and it is representative of some other, 
bigger, sites as well.  Since their main purpose is not to be an ISP, 
but they want to provide access to news as part of their business plan, 
they create an internal server and route traffic through the firewalls 
and gateways.

> Therefore it is part of a network that would
>not be in compliance with this document. Therefore the firewall would be
>acting as a gateway and could fix the path entry in such a way as to
>comply with this document.
>
>The Path entry could therefore be:
>
>momeraths.org%MarchHare
>
>or 
>
>momeraths.org%queen,MarchHare
>
>(where "MarchHare" can really be anything you like as long as it makes
>sense to you locally)
>
>Does that make sense?

OK, the second one makes a lot more sense, since it can be tracked back 
to the machine used as well.  This can help track down employees who 
misuse the system.

>>The injecting agent 
>>supplies the Path line after verification while still behind the 
>>firewall.  However, the draft also prohibits rewriting the Path line. 
>
>It's not really since we don't say much about gateways in the standard.
>This is because gateways by definition violate the standard (a gateway
>that doesn't violate the standard is just a relayer) so if a gateway
>*really* *really* *has* to rewrite the Path line it can.

That sounds fine.  It just isn't obvious, even after reading it three 
times.

>Personally I don't like gateways.

Well, they are a bothersome, since they add complications.  However, 
they do make sense for businesses other than ISP's, and, with firewalls 
and proxies, they add some security to an otherwise open system. 
Granted, I used my domain because it gave a good example of using a 
gateway, but there are enterprise companies who would share a similar
concern.  They DO log what their employees do, and they DO fire people 
who abuse the system.

It seems to me that the point of this portion of the draft is so that
ISP's and businesses can take appropriate actions in regards to spam and
net abuse.  The only difference, to my mind, is that businesses want to
stop other types of abuse of resources in addition to that.  A good Path
line would be a benefit to that cause.

John
- -- 
//------------------------------------------------------------------------
// momerath@apk.net                    sevot yhtils eht dna ,gillirb sawT`
// MarchHare@momeraths.org                 ebaw eht ni elbmig dna eryg diD
//                                           ,sevogorob eht erew ysmim llA
//                                            .ebargtuo shtar emom eht dnA
//                     In case of stupidity, break glass.


-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: cp850

iQCVAwUBNTo/H7MHJ4yl8MPNAQHnuwP+JuFSj0QPXvCKjuvA75oTPErPiPRcDTVd
7wTEAvuCuVcCh1N1JH5isfxCkh9/7wBup/fuBhwZ5NhvK00r3wG8shj4C8d37uXq
3RFdD/J5yXufZDzYLRpXav6GGXG0XqNo3anSpZNpsUvk9jSoiDqyUdI5f9SsMGJI
v9nYwjfaO8w=
=oUoR
-----END PGP SIGNATURE-----

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