🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
34 messages
34 total messages Started by Meinhard Schneider Fri, 21 Jan 2000 00:00
INN: how can I tell inn not to use the default hostname for MID?
#43559
Author: Meinhard Schneider
Date: Fri, 21 Jan 2000 00:00
13 lines
1156 bytes
Hi!

Netscape is so broken that my inn have to generate the MID, because
Netscape generate a false MID. The problem is that inn uses the internal
hostname "linux-router.none" instead of the official "news.meini.org".
Is there an option which overrides the "normal" hostname??

Thanks!

Bye,
Meini.

Re: INN: how can I tell inn not to use the default hostname for MID?
#43581
Author: Russ Allbery
Date: Sat, 22 Jan 2000 00:00
24 lines
1734 bytes
Jeremy <bofh@netscum.dk> writes:
> Meinhard Schneider  <meinhard.schneider@gus.de> wrote:

>> Netscape is so broken that my inn have to generate the MID, because
>> Netscape generate a false MID. The problem is that inn uses the
>> internal hostname "linux-router.none" instead of the official
>> "news.meini.org".  Is there an option which overrides the "normal"
>> hostname??

> Sadly, no, there doesn't seem to be any way to do that.  For my
> installation I hacked in an inn.conf option to set the RHS of
> server-generated message-ids.

It was discussed a bit on inn-workers.  You really badly want to use the
authentic hostname since doing anything else requires that the person
setting up the configuration have a very strong clue or you will end up
breaking the uniqueness guarantee on message IDs.  I think the general
consensus was that anyone with sufficient clue could easily patch the
source.

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

Re: INN: how can I tell inn not to use the default hostname for MID?
#43600
Author: Jeremy
Date: Sun, 23 Jan 2000 00:00
27 lines
1853 bytes
Russ Allbery  <rra@stanford.edu> wrote:

>> Sadly, no, there doesn't seem to be any way to do that.  For my
>> installation I hacked in an inn.conf option to set the RHS of
>> server-generated message-ids.
> 
> It was discussed a bit on inn-workers.  You really badly want to use the
> authentic hostname since doing anything else requires that the person
> setting up the configuration have a very strong clue or you will end up
> breaking the uniqueness guarantee on message IDs.  I think the general
> consensus was that anyone with sufficient clue could easily patch the
> source.

That's an enormous pain.  Adding inn.conf options is non-trivial.  It's
going to seriously suck if I have to do this every time I want to upgrade
to a newer INN version.  As it is, I'm still running some 2.2.1 snapshot
because I don't feel like duplicating my modifications in 2.2.2.

There's enough things that someone can do in INN that can break all sorts
of things, that it doesn't even make any sense to me that the RHS of
message-ids is the one that is so amazingly dangerous that it can't be
made part of the configuration.

-- 
Jeremy  (  jeremy@exit109.com  |  bofh@netscum.dk  )

Re: INN: how can I tell inn not to use the default hostname for MID?
#43613
Author: Jeremy
Date: Sun, 23 Jan 2000 00:00
14 lines
1146 bytes
Meinhard Schneider  <meinhard.schneider@gus.de> wrote:

> Netscape is so broken that my inn have to generate the MID, because
> Netscape generate a false MID. The problem is that inn uses the internal
> hostname "linux-router.none" instead of the official "news.meini.org".
> Is there an option which overrides the "normal" hostname??

Sadly, no, there doesn't seem to be any way to do that.  For my installation
I hacked in an inn.conf option to set the RHS of server-generated message-ids.

-- 
Jeremy  (  jeremy@exit109.com  |  bofh@netscum.dk  )

Re: INN: how can I tell inn not to use the default hostname for MID?
#43606
Author: Jeremy
Date: Mon, 24 Jan 2000 00:00
20 lines
1454 bytes
bill davidsen <davidsen@tmr.com> wrote:

>   Adding an option is a pain, but it's not a huge undertaking. More to
> the point, this should be an option available, you should do it once and
> contribute it for 2.3, and I would hope it will get in and stay in.

I could do that, but the problem seems to be that they don't *want* that
option in there.

>   I would argue that setting RHS is not enough, you probably should just
> disable user setting if you want to do anything.

My personal reason for wanting to change it was the same reason I hacked out
the NNTP-Posting-Host and such things; I'm just not crazy about the idea
of advertising the FQDNs of my home network on Usenet.

-- 
Jeremy  (  jeremy@exit109.com  |  bofh@netscum.dk  )

Re: INN: how can I tell inn not to use the default hostname for MID?
#43614
Author: Russ Allbery
Date: Mon, 24 Jan 2000 00:00
18 lines
1618 bytes
bill davidsen <davidsen@tmr.com> writes:

> Adding an option is a pain, but it's not a huge undertaking. More to the
> point, this should be an option available, you should do it once and
> contribute it for 2.3, and I would hope it will get in and stay in. I
> doubt there will be any opposition to having it, although I think some
> people would argue that it should be the default and the option should
> be to allow user provided MID.

There was objection to having the option.  But it's probably worth
revisiting.  (The argument last time around was possibly affected by the
fact that the person wanting it was wanting multiple machines to use the
same RHS, which is a bad idea.)

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

Re: INN: how can I tell inn not to use the default hostname for MID?
#43615
Author: bill davidsen
Date: Mon, 24 Jan 2000 00:00
41 lines
2848 bytes
In article <86ff2a$in5$1@s00perNooZ.com>, Jeremy  <bofh@netscum.dk> wrote:
| Russ Allbery  <rra@stanford.edu> wrote:

| > It was discussed a bit on inn-workers.  You really badly want to use the
| > authentic hostname since doing anything else requires that the person
| > setting up the configuration have a very strong clue or you will end up
| > breaking the uniqueness guarantee on message IDs.  I think the general
| > consensus was that anyone with sufficient clue could easily patch the
| > source.
|
| That's an enormous pain.  Adding inn.conf options is non-trivial.  It's
| going to seriously suck if I have to do this every time I want to upgrade
| to a newer INN version.  As it is, I'm still running some 2.2.1 snapshot
| because I don't feel like duplicating my modifications in 2.2.2.

  Adding an option is a pain, but it's not a huge undertaking. More to
the point, this should be an option available, you should do it once and
contribute it for 2.3, and I would hope it will get in and stay in. I
doubt there will be any opposition to having it, although I think some
people would argue that it should be the default and the option should
be to allow user provided MID.

  I would argue that setting RHS is not enough, you probably should just
disable user setting if you want to do anything.

| There's enough things that someone can do in INN that can break all sorts
| of things, that it doesn't even make any sense to me that the RHS of
| message-ids is the one that is so amazingly dangerous that it can't be
| made part of the configuration.

  I have to ask, is someone opposing having this option. I would argue
that replacing the whole MID is preferable, but I support the idea in
general.
--
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  When taking small children to a carnival, always have them go potty
*before* you let them go on the rides, and let them eat all the junk
food and candy *after*.

Re: INN: how can I tell inn not to use the default hostname for MID?
#43632
Author: bill davidsen
Date: Tue, 25 Jan 2000 00:00
30 lines
2100 bytes
In article <948834943.852962@news.netscum.dk>, Jeremy  <bofh@netscum.dk> wrote:
| bill davidsen <davidsen@tmr.com> wrote:
|
| >   The IP address doesn't change, either. SO if bozo generates a
| > duplicate MID, you just create another duplicate MID. I like the idea of
| > just ignoring the user MID and setting your own.
| >
| >   I did that on some 1.5.1 servers, as I recall it was a simple change
| > in the truth table for headers.
|
| That's just asking for trouble.  Unless you really know what you're
| doing, and you're very careful, you're going to end up with spews on
| some scale.

  I was justifying rewriting the whole MID rather than a part of it, not
necessarily saying that any rewrite in general is a good thing. There is
no good solution, the users will generate bad MIDs if you let them, bad
software will report an article without checking the Path if you change
them.

  I think changing part of the MID is the worst of all possible actions.

--
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  When taking small children to a carnival, always have them go potty
*before* you let them go on the rides, and let them eat all the junk
food and candy *after*.

Re: INN: how can I tell inn not to use the default hostname for MID?
#43643
Author: Kjetil Torgrim Homme
Date: Tue, 25 Jan 2000 00:00
15 lines
1445 bytes
[Russ Allbery]

>   There was objection to having the option.  But it's probably worth
>   revisiting.  (The argument last time around was possibly affected
>   by the fact that the person wanting it was wanting multiple
>   machines to use the same RHS, which is a bad idea.)

How about adding the server's IP-address to the LHS (normally 7 bytes,
6 bytes for MIT) if the RHS is specified?  It will break code which
parses $alz Message-ID's, though ;-)


Kjetil T.

Re: INN: how can I tell inn not to use the default hostname for MID?
#43646
Author: Andrew Gierth
Date: Tue, 25 Jan 2000 00:00
34 lines
2450 bytes
>>>>> "Jeremy" == Jeremy  <bofh@netscum.dk> writes:

 >> (However, I have to disagree with your attitude when it comes to
 >> Path lines. There is no justification for using unqualified names
 >> in path stamps, unless you really are a UUCP site and are listed
 >> in the UUCP maps.)

 Jeremy> On the other hand, if I did use a fully-qualified name in the
 Jeremy> Path, I'd use one that doesn't resolve to a real machine
 Jeremy> anyway, so what would be the benefit?

Uniqueness and accountability.

 Jeremy> I set up a server on my workstation a couple of years ago,
 Jeremy> and used its FQDN in its Path lines, and I began getting all
 Jeremy> sorts of nifty probes within a couple of days of starting to
 Jeremy> post through it.  Before long, I had people trying to relay
 Jeremy> off my sendmail, and failed telnet login attempts, and who
 Jeremy> knows what else.  Now, I'm on a low-bandwidth connection and
 Jeremy> I really don't want to deal with that nonsense.

Been there (heck, am still there, because erlenstar.demon.co.uk has a
valid A record and it's only a static dialup).

Using fully-qualified names that don't have A records is a perfectly
good way of avoiding most of the problems. The box that runs
news-spool.riddles.org.uk got virtually no probes of any kind over
many months of operation, despite a small number of .MISMATCH entries
early on that revealed its IP.

-- 
Andrew.

Re: INN: how can I tell inn not to use the default hostname for MID?
#43653
Author: bill davidsen
Date: Tue, 25 Jan 2000 00:00
30 lines
2026 bytes
In article <87iu0ihmys.fsf@erlenstar.demon.co.uk>,
Andrew Gierth  <andrew@erlenstar.demon.co.uk> wrote:
| >>>>> "Jeremy" == Jeremy  <bofh@netscum.dk> writes:

|  Jeremy> On the other hand, if I did use a fully-qualified name in the
|  Jeremy> Path, I'd use one that doesn't resolve to a real machine
|  Jeremy> anyway, so what would be the benefit?
|
| Uniqueness and accountability.

  As long as the name is unambiguous at the next hop (leftward in the
Path) you have these. UUCP feed worked this way for decades.

  Not that I really disagree with you, I just really don't like your
argument. I'm happy with the name being the feed name in my newsfeeds
file, as long as I am able (and willing) to identify the source of
messages which cause problems.

  Note that I post over many ISPs to various groups, almost never from
my own news machine. Only part of that is being on the road a lot...

--
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  When taking small children to a carnival, always have them go potty
*before* you let them go on the rides, and let them eat all the junk
food and candy *after*.


Re: INN: how can I tell inn not to use the default hostname for MID?
#43657
Author: Jeremy
Date: Tue, 25 Jan 2000 00:00
22 lines
1618 bytes
Andrew Gierth  <andrew@erlenstar.demon.co.uk> wrote:

> (However, I have to disagree with your attitude when it comes to Path
> lines. There is no justification for using unqualified names in path
> stamps, unless you really are a UUCP site and are listed in the UUCP
> maps.)

On the other hand, if I did use a fully-qualified name in the Path, I'd
use one that doesn't resolve to a real machine anyway, so what would
be the benefit?

I set up a server on my workstation a couple of years ago, and used its
FQDN in its Path lines, and I began getting all sorts of nifty probes
within a couple of days of starting to post through it.  Before long,
I had people trying to relay off my sendmail, and failed telnet login
attempts, and who knows what else.  Now, I'm on a low-bandwidth connection
and I really don't want to deal with that nonsense.

-- 
Jeremy  (  jeremy@exit109.com  |  bofh@netscum.dk  )

Re: INN: how can I tell inn not to use the default hostname for MID?
#43665
Author: Jeremy
Date: Tue, 25 Jan 2000 00:00
30 lines
2042 bytes
bill davidsen <davidsen@tmr.com> wrote:

>   The IP address doesn't change, either. SO if bozo generates a
> duplicate MID, you just create another duplicate MID. I like the idea of
> just ignoring the user MID and setting your own.
> 
>   I did that on some 1.5.1 servers, as I recall it was a simple change
> in the truth table for headers.

That's just asking for trouble.  Unless you really know what you're
doing, and you're very careful, you're going to end up with spews on
some scale.

In fact -- a little while ago, while playing with some software, I
managed to unexpectedly send the same article to two different servers,
using POST.  Both versions left here with the same message-id.  However,
had one of the servers I was POSTing to decided to rewrite the message-id,
the result would have been two copies of my article out on Usenet.

Now, granted, you could argue that you shouldn't send an article via POST
to more than one server, and I'd even agree with you.  But, I didn't *know*
that was going to happen, and since (as I discovered) there is existing
software (nntpcache) which you apparently can't tell *not* to do that,
it's going to happen, from time to time.  And that's just the beginning
of the problems one could envision.

-- 
Jeremy  (  jeremy@exit109.com  |  bofh@netscum.dk  )

Re: INN: how can I tell inn not to use the default hostname for MID?
#43669
Author: Kjetil Torgrim Homme
Date: Tue, 25 Jan 2000 00:00
29 lines
2117 bytes
[Kjetil T. Homme]

>   How about adding the server's IP-address to the LHS (normally 7
>   bytes, 6 bytes for MIT) if the RHS is specified?  It will break
>   code which parses $alz Message-ID's, though ;-)

[bill davidsen]

>     The IP address doesn't change, either. SO if bozo generates a
>   duplicate MID, you just create another duplicate MID. I like the
>   idea of just ignoring the user MID and setting your own.

What feature are we discussing here, really?  I thought the issue was
hiding the real FQDN in the server generated message-IDs (some people
may find it useful if they are hosting several news servers on one
box).  This shouldn't be a problem unless the sysadmin installs
several reader boxes with the same RHS.  Presumably, the reader boxes
have different IP's, so my suggestion avoids the potential conflict.

Now, if you are worried about client generated message-IDs, well,
yeah, what can you do?  Either you say it's the clients problem, or
you assign new Message-IDs to POSTed articles.  You should be _very_
careful when doing that, though, it's easy to cause a spew if the
client has a broken suck setup.


Kjetil T.

Re: INN: how can I tell inn not to use the default hostname for MID?
#43676
Author: Andrew Gierth
Date: Tue, 25 Jan 2000 00:00
30 lines
2176 bytes
>>>>> "bill" == bill davidsen <davidsen@tmr.com> writes:

 > | Uniqueness and accountability.

 bill>   As long as the name is unambiguous at the next hop (leftward
 bill> in the Path) you have these.

No, you don't. Just look at the number of systems that use 'news' as a
path stamp.

 bill>   Not that I really disagree with you, I just really don't like
 bill> your argument. I'm happy with the name being the feed name in
 bill> my newsfeeds file, as long as I am able (and willing) to
 bill> identify the source of messages which cause problems.

That's not enough. If I ask you "who is your contact for your peer
'foo'", would you tell me immediately and without asking why? After
all, I may have an issue with that site which I could not disclose to
you for legal or other reasons.

I'm sorry, but there are just too many fuckwits in this business for
"if you have an issue with my downstream, you have to go through me"
to be workable. I've found that even otherwise responsible admins
can be very slow to respond, or completely unresponsive, to requests
to identify even a blatantly misconfigured peer.

-- 
Andrew.

Re: INN: how can I tell inn not to use the default hostname for MID?
#43681
Author: bill davidsen
Date: Tue, 25 Jan 2000 00:00
28 lines
2004 bytes
In article <1rvh4jug1h.fsf@ganglot.ifi.uio.no>,
Kjetil Torgrim Homme  <kjetilho@haey.ifi.uio.no> wrote:
| [Russ Allbery]
|
| >   There was objection to having the option.  But it's probably worth
| >   revisiting.  (The argument last time around was possibly affected
| >   by the fact that the person wanting it was wanting multiple
| >   machines to use the same RHS, which is a bad idea.)
|
| How about adding the server's IP-address to the LHS (normally 7 bytes,
| 6 bytes for MIT) if the RHS is specified?  It will break code which
| parses $alz Message-ID's, though ;-)

  The IP address doesn't change, either. SO if bozo generates a
duplicate MID, you just create another duplicate MID. I like the idea of
just ignoring the user MID and setting your own.

  I did that on some 1.5.1 servers, as I recall it was a simple change
in the truth table for headers.

--
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  When taking small children to a carnival, always have them go potty
*before* you let them go on the rides, and let them eat all the junk
food and candy *after*.

Re: INN: how can I tell inn not to use the default hostname for MID?
#43682
Author: Andrew Gierth
Date: Tue, 25 Jan 2000 00:00
36 lines
2562 bytes
>>>>> "Jeremy" == Jeremy  <bofh@netscum.dk> writes:

 >> I would argue that setting RHS is not enough, you probably should
 >> just disable user setting if you want to do anything.

These are different issues entirely.

Having a configuration item that says "if we generate a message-id, then
use foo.bar as the domain part" is pretty harmless. The only time it can
go wrong is if you end up with the same value on multiple machines, which
is something that can happen even _without_ a configuration option for it.

Having a configuration item that allows the client to specify the
message-id is damn dangerous, and virtually every site that has used
such a thing has been the source of at least one spew as a result.
(Being able to reject client-specified ids would be safer, but would
break many popular clients, and annoy people who .)

 Jeremy> My personal reason for wanting to change it was the same
 Jeremy> reason I hacked out the NNTP-Posting-Host and such things;
 Jeremy> I'm just not crazy about the idea of advertising the FQDNs of
 Jeremy> my home network on Usenet.

I do something similar with my riddles.org.uk server; local posts get
message-ids in @blackhole.riddles.org.uk which resolves to 127.0.0.1;
this is to annoy all those dorks who send spam to message-ids.

(However, I have to disagree with your attitude when it comes to Path
lines. There is no justification for using unqualified names in path
stamps, unless you really are a UUCP site and are listed in the UUCP
maps.)

-- 
Andrew.

Re: INN: how can I tell inn not to use the default hostname for MID?
#43690
Author: Russ Allbery
Date: Tue, 25 Jan 2000 00:00
14 lines
1393 bytes
Jeremy <bofh@netscum.dk> writes:

> Now, granted, you could argue that you shouldn't send an article via
> POST to more than one server, and I'd even agree with you.

Moderators do this all the time.  It should work.  Servers should not
silently rewrite Message-ID headers; they should either accept the
client-provided one or reject the message and insist that they not provide
a Message-ID.  I believe the current USEFOR draft mandates this behavior.

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

Re: INN: how can I tell inn not to use the default hostname for MID?
#43700
Author: Russ Allbery
Date: Wed, 26 Jan 2000 00:00
21 lines
1715 bytes
Jeremy <bofh@netscum.dk> writes:
> Russ Allbery  <rra@stanford.edu> wrote:

>> Servers should not silently rewrite Message-ID headers; they should
>> either accept the client-provided one or reject the message and insist
>> that they not provide a Message-ID.  I believe the current USEFOR draft
>> mandates this behavior.

> Rejecting messages will result in completely breaking newsreaders that
> always supply a message-id, though.  Of course, rendering Netscape
> useless isn't necessarily a bad thing, I suppose... :)

Then Netscape should generate decent enough message IDs that we don't have
to reject them.  (Message IDs really should only be rejected for technical
reasons; doing stuff like trying to force them to the same domain seems
very pointless to me.)

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

Re: INN: how can I tell inn not to use the default hostname for MID?
#43712
Author: Jeremy
Date: Wed, 26 Jan 2000 00:00
24 lines
1603 bytes
Russ Allbery  <rra@stanford.edu> wrote:

>> Now, granted, you could argue that you shouldn't send an article via
>> POST to more than one server, and I'd even agree with you.
> 
> Moderators do this all the time.  It should work.

Yeah, but normal people shouldn't; they're not likely to have software
that will result in two POSTs of the same article having the same
message-id.

> Servers should not silently rewrite Message-ID headers; they should
> either accept the client-provided one or reject the message and insist
> that they not provide a Message-ID.  I believe the current USEFOR draft
> mandates this behavior.

Rejecting messages will result in completely breaking newsreaders that
always supply a message-id, though.  Of course, rendering Netscape
useless isn't necessarily a bad thing, I suppose... :)

-- 
Jeremy  (  jeremy@exit109.com  |  bofh@netscum.dk  )

Re: INN: how can I tell inn not to use the default hostname for MID?
#43743
Author: bill davidsen
Date: Thu, 27 Jan 2000 00:00
19 lines
1733 bytes
In article <948911317.330303@news.netscum.dk>, Jeremy  <bofh@netscum.dk> wrote:

| Rejecting messages will result in completely breaking newsreaders that
| always supply a message-id, though.  Of course, rendering Netscape
| useless isn't necessarily a bad thing, I suppose... :)

  And what do you use as a UNIX reader capable of handling all the
various things people post these days, uuencode, inline, attachments,
MIME, metric hexadecimal, whatever? The nice thing about NS is that it
will handle about any of the garbage posted by PC weenies.
--
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
"Having first claimed that it did not shoot the victim, then that
everyone does it, and then that the victim would have died anyway,
Microsoft now argues that the victim is unharmed."
  Government brief, Microsoft antitrust 1999

Re: INN: how can I tell inn not to use the default hostname for MID?
#43750
Author: Jeremy
Date: Thu, 27 Jan 2000 00:00
23 lines
1662 bytes
bill davidsen <davidsen@tmr.com> wrote:

>> Rejecting messages will result in completely breaking newsreaders that
>> always supply a message-id, though.  Of course, rendering Netscape
>> useless isn't necessarily a bad thing, I suppose... :)
> 
>   And what do you use as a UNIX reader capable of handling all the
> various things people post these days, uuencode, inline, attachments,
> MIME, metric hexadecimal, whatever? The nice thing about NS is that it
> will handle about any of the garbage posted by PC weenies.

Hey, I was just joking, I'm not looking to start a Netscape flamewar, I
swear. :)

Actually, I use trn, which can handle pretty much everything I'd care to
read, and some things I wouldn't -- uuencode, attachments, MIME, QP,
base64-encoded text, HTML, and probably more, all internally.  And it'll
happily hand off anything that can be viewed via mailcap.

-- 
Jeremy  (  jeremy@exit109.com  |  bofh@netscum.dk  )

Re: INN: how can I tell inn not to use the default hostname for MID?
#43759
Author: Kai Henningsen
Date: Fri, 28 Jan 2000 00:00
21 lines
1742 bytes
andrew@erlenstar.demon.co.uk (Andrew Gierth)  wrote on 25.01.00 in <87vh4jht4l.fsf@erlenstar.demon.co.uk>:

> Having a configuration item that allows the client to specify the
> message-id is damn dangerous, and virtually every site that has used
> such a thing has been the source of at least one spew as a result.
> (Being able to reject client-specified ids would be safer, but would
> break many popular clients, and annoy people who .)

I think you got that backward. Forcing message ids against the client is  
what produces spews.

IMAO, the correct term for servers which don't accept client-generated  
message ids is "broken".

Kai
-- 
http://www.westfalen.de/private/khms/
"... by God I *KNOW* what this network is for, and you can't have it."
  - Russ Allbery (rra@stanford.edu)

Re: INN: how can I tell inn not to use the default hostname for MID?
#43766
Author: Kai Henningsen
Date: Fri, 28 Jan 2000 00:00
27 lines
1896 bytes
davidsen@tmr.com (bill davidsen)  wrote on 25.01.00 in <86l2n7$sms$1@newssvr02.news.prodigy.com>:

> In article <87iu0ihmys.fsf@erlenstar.demon.co.uk>,
> Andrew Gierth  <andrew@erlenstar.demon.co.uk> wrote:
> | >>>>> "Jeremy" == Jeremy  <bofh@netscum.dk> writes:
>
> |  Jeremy> On the other hand, if I did use a fully-qualified name in the
> |  Jeremy> Path, I'd use one that doesn't resolve to a real machine
> |  Jeremy> anyway, so what would be the benefit?
> |
> | Uniqueness and accountability.
>
>   As long as the name is unambiguous at the next hop (leftward in the
> Path) you have these. UUCP feed worked this way for decades.

No, that is not how it works. Duplicate names mean that those sites won't  
get your posts.

UUCP has the world map to ensure uniqueness.

Kai
-- 
http://www.westfalen.de/private/khms/
"... by God I *KNOW* what this network is for, and you can't have it."
  - Russ Allbery (rra@stanford.edu)

Re: INN: how can I tell inn not to use the default hostname for MID?
#43775
Author: Brad Knowles
Date: Sat, 29 Jan 2000 00:00
19 lines
1789 bytes
In article <7Xj7$oL1w-B@khms.westfalen.de>, 
kaih=7Xj7$oL1w-B@khms.westfalen.de (Kai Henningsen) wrote:

> IMAO, the correct term for servers which don't accept client-generated  
> message ids is "broken".

    Not if the message-ids generated by the client aren't compliant with 
the RFCs or aren't sufficiently unique.  In that case, the proper thing 
to do is reject the message, instead of accepting it and silently fixing 
it -- that's what generates spews.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a USENET news server administrator outside of North America or
Western Europe?  Would you like a newsfeed from a site in the Freenix
Top 65?  If so, please contact me via private e-mail for details.

Re: INN: how can I tell inn not to use the default hostname for MID?
#43781
Author: Kai Henningsen
Date: Sat, 29 Jan 2000 00:00
29 lines
2002 bytes
brad@shub-internet.org (Brad Knowles)  wrote on 29.01.00 in <brad-D50C0C.08321429012000@news.skynet.be>:

> In article <7Xj7$oL1w-B@khms.westfalen.de>,
> kaih=7Xj7$oL1w-B@khms.westfalen.de (Kai Henningsen) wrote:
>
> > IMAO, the correct term for servers which don't accept client-generated
> > message ids is "broken".
>
>     Not if the message-ids generated by the client aren't compliant with
> the RFCs or aren't sufficiently unique.  In that case, the proper thing

Ok, let me rephrase: "... which don't accept any ..." Also, which insist  
on specific contents of said ids.

> to do is reject the message, instead of accepting it and silently fixing
> it -- that's what generates spews.

That's one thing. Another is when rejecting *all* ids, clients may install  
a filter that removes ids from articles for posting - same effect, just in  
a different place, and same danger.


Kai
-- 
http://www.westfalen.de/private/khms/
"... by God I *KNOW* what this network is for, and you can't have it."
  - Russ Allbery (rra@stanford.edu)

Re: INN: how can I tell inn not to use the default hostname for MID?
#43784
Author: Wolfgang Schelongowski
Date: Sun, 30 Jan 2000 00:00
32 lines
2097 bytes
In <7Xj7$oL1w-B@khms.westfalen.de>
 kaih=7Xj7$oL1w-B@khms.westfalen.de (Kai Henningsen) writes:

>I think you got that backward. Forcing message ids against the client is  
>what produces spews.

Both can produce spews:

1) If the server falsely assumes that he is only fed by leaf-sites
so he'd better determine the message-id because the owners of those
leaf sites wouldn't know how a message-id looks like, anyway. Yields 
dupes they're not really leaf sites at all and even know what they're
doing.

2) If the server falsely assumes that he is only fed by people who
know what they're doing but they don't and rewrite the message-id
of transferred messages. Yields dupes, too.

Both have happened. Seeing which people violate even the following 
simple rule from RFC1036:
    In order to conform to RFC-822, the Message-ID must have the format:
                          <unique@full_domain_name>
    where full_domain_name is the full name of the host at which the
    message entered the network, including a domain that host is in, and
is an education in itself - especially if those people should know
better!
-- 
"Ith he a diplomat, mithtreth?"
"No, Igor. He's the _reason_ for diplomats."
  -- Terry Pratchett, The Fifth Elephant

Re: INN: how can I tell inn not to use the default hostname for MID?
#43797
Author: Brad Knowles
Date: Mon, 31 Jan 2000 00:00
32 lines
2392 bytes
In article <871rdc$ku9$1@xivic.ruhr.de>, skaranyi@games.ruhr.de 
(Wolfgang Schelongowski) wrote:

> Both can produce spews:
> 
> 1) If the server falsely assumes that he is only fed by leaf-sites
> so he'd better determine the message-id because the owners of those
> leaf sites wouldn't know how a message-id looks like, anyway. Yields 
> dupes they're not really leaf sites at all and even know what they're
> doing.
> 
> 2) If the server falsely assumes that he is only fed by people who
> know what they're doing but they don't and rewrite the message-id
> of transferred messages. Yields dupes, too.

    Yup, these are both problems.  That's why it's better to check the 
message-id (if present) and reject the entire message if it doesn't 
conform to the standards.  If there is a valid message-id present, 
obviously you need to check if it's in the history database, etc....  If 
there is no message-id present, then you should be able to safely add 
one.

    But at no time should you attempt to fix a message-id.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a USENET news server administrator outside of North America or
Western Europe?  Would you like a newsfeed from a site in the Freenix
Top 65?  If so, please contact me via private e-mail for details.

Re: INN: how can I tell inn not to use the default hostname for MID?
#43808
Author: Kai Henningsen
Date: Mon, 31 Jan 2000 00:00
18 lines
1450 bytes
SKaranyi@localhost.ruhr.de (Wolfgang Schelongowski)  wrote on 30.01.00 in <871rdc$ku9$1@xivic.ruhr.de>:

> 2) If the server falsely assumes that he is only fed by people who
> know what they're doing but they don't and rewrite the message-id
> of transferred messages. Yields dupes, too.

"No".

You can generate nopes that way, but you can't produce spews.


Kai
-- 
http://www.westfalen.de/private/khms/
"... by God I *KNOW* what this network is for, and you can't have it."
  - Russ Allbery (rra@stanford.edu)

Re: INN: how can I tell inn not to use the default hostname for MID?
#43844
Author: Wolfgang Schelongowski
Date: Wed, 02 Feb 2000 00:00
26 lines
1592 bytes
In <7XtKqwzXw-B@khms.westfalen.de>
 kaih=7XtKqwzXw-B@khms.westfalen.de (Kai Henningsen) writes:

>SKaranyi@localhost.ruhr.de (Wolfgang Schelongowski)  wrote on 30.01.00 in <871rdc$ku9$1@xivic.ruhr.de>:

>> 2) If the server falsely assumes that he is only fed by people who
>> know what they're doing but they don't and rewrite the message-id
>> of transferred messages. Yields dupes, too.

>"No".

>You can generate nopes that way,

For nopes you need the rewriting of the newsgroups line without
changing the message-id.

> but you can't produce spews.

??? Spews are copies of many articles where only message-ids were
changed.
-- 
"Ith he a diplomat, mithtreth?"
"No, Igor. He's the _reason_ for diplomats."
  -- Terry Pratchett, The Fifth Elephant

Re: INN: how can I tell inn not to use the default hostname for MID?
#43875
Author: Kai Henningsen
Date: Thu, 03 Feb 2000 00:00
59 lines
2428 bytes
SKaranyi@localhost.ruhr.de (Wolfgang Schelongowski)  wrote on 02.02.00 in <87a0cc$5d4$1@xivic.ruhr.de>:

> In <7XtKqwzXw-B@khms.westfalen.de>
>  kaih=7XtKqwzXw-B@khms.westfalen.de (Kai Henningsen) writes:
>
> >SKaranyi@localhost.ruhr.de (Wolfgang Schelongowski)  wrote on 30.01.00 in
> ><871rdc$ku9$1@xivic.ruhr.de>:
>
> >> 2) If the server falsely assumes that he is only fed by people who
> >> know what they're doing but they don't and rewrite the message-id
> >> of transferred messages. Yields dupes, too.
>
> >"No".
>
> >You can generate nopes that way,
>
> For nopes you need the rewriting of the newsgroups line without
> changing the message-id.

That's another way. The one above is message id collision between  
unrelated messages.

> > but you can't produce spews.
>
> ??? Spews are copies of many articles where only message-ids were
> changed.

Exactly.

Oh, I see I misread what you wrote above. Though I must say it still  
doesn't make all that much sense:

> If the server

"A"

> falsely assumes that he is only fed by people

"B"

> who know what they're doing

> but they don't and rewrite the message-id
> of transferred messages.

"B"

> Yields dupes, too.

So, the clients do the rewriting. In this case, nothing the server does -  
except not serving - would make a difference.

Kai
-- 
http://www.westfalen.de/private/khms/
"... by God I *KNOW* what this network is for, and you can't have it."
  - Russ Allbery (rra@stanford.edu)

Re: INN: how can I tell inn not to use the default hostname for MID?
#44001
Author: bill davidsen
Date: Thu, 10 Feb 2000 00:00
28 lines
1956 bytes
In article <7Xj7a1QHw-B@khms.westfalen.de>,
Kai Henningsen <kaih=7Xj7a1QHw-B@khms.westfalen.de> wrote:
| davidsen@tmr.com (bill davidsen)  wrote on 25.01.00 in <86l2n7$sms$1@newssvr02.news.prodigy.com>:

| >   As long as the name is unambiguous at the next hop (leftward in the
| > Path) you have these. UUCP feed worked this way for decades.
|
| No, that is not how it works. Duplicate names mean that those sites won't
| get your posts.
|
| UUCP has the world map to ensure uniqueness.

Loss in translation? The "worked" inplies something which occerred in
the past. And I can assure you that when UUCP was the dominant tranport
mechanism, before the world map, reply mail worked, using the Path:
header as a map of where to send mail via UUCP.

This is proof that it is viable, not a claim that it still works that
way.

--
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  When taking small children to a carnival, always have them go potty
*before* you let them go on the rides, and let them eat all the junk
food and candy *after*.

Re: INN: how can I tell inn not to use the default hostname for MID?
#44027
Author: Kai Henningsen
Date: Fri, 11 Feb 2000 00:00
53 lines
3032 bytes
davidsen@tmr.com (bill davidsen)  wrote on 10.02.00 in <87vces$gbi$1@newssvr02.news.prodigy.com>:

> In article <7Xj7a1QHw-B@khms.westfalen.de>,
> Kai Henningsen <kaih=7Xj7a1QHw-B@khms.westfalen.de> wrote:
> | davidsen@tmr.com (bill davidsen)  wrote on 25.01.00 in
> <86l2n7$sms$1@newssvr02.news.prodigy.com>:
>
> | >   As long as the name is unambiguous at the next hop (leftward in the
> | > Path) you have these. UUCP feed worked this way for decades.
> |
> | No, that is not how it works. Duplicate names mean that those sites won't
> | get your posts.
> |
> | UUCP has the world map to ensure uniqueness.
>
> Loss in translation?

I don't think so. Not at my side, at least.

>The "worked" inplies something which occerred in
> the past. And I can assure you that when UUCP was the dominant tranport
> mechanism, before the world map, reply mail worked, using the Path:
> header as a map of where to send mail via UUCP.

And I assure you, duplicate names in the news Path: header means that some  
sites won't get the article, UUCP or not. That's an entirely different  
mechanism.

It is *not* enough that the name is unambiguous at the next hop, because  
the Path: is *not* used as an UUCP-style mail address *while in news*.

> This is proof that it is viable, not a claim that it still works that
> way.

It is no such thing. News Path: headers *do not* work like UUCP bang  
addresses, mainly because UUCP bang addresses are before the fact, and  
news Path: headers are after the fact.

This does not mean that you could not, in ancient times, take a news Path:  
header and *use* it as an UUCP address. But the constraints on news Path:  
headers are stricter than on UUCP bang addresses.

Oh, and I might add that all my incoming mail, and most of my incoming and  
outgoing news, *does* use UUCP. (Mostly UUCP-over-IP, one link recently  
changed to UUCP-over-ssh.)

Kai
-- 
http://www.westfalen.de/private/khms/
"... by God I *KNOW* what this network is for, and you can't have it."
  - Russ Allbery (rra@stanford.edu)

Re: INN: how can I tell inn not to use the default hostname for MID?
#44162
Author: Kai Henningsen
Date: Thu, 17 Feb 2000 00:00
67 lines
3235 bytes
davidsen@tmr.com (bill davidsen)  wrote on 15.02.00 in <88akih$lvc$1@newssvr02.news.prodigy.com>:

> In article <7YdC3YV1w-B@khms.westfalen.de>,
> Kai Henningsen <kaih=7YdC3YV1w-B@khms.westfalen.de> wrote:
> | davidsen@tmr.com (bill davidsen)  wrote on 10.02.00 in
> <87vces$gbi$1@newssvr02.news.prodigy.com>:
>
> | >The "worked" inplies something which occerred in
> | > the past. And I can assure you that when UUCP was the dominant tranport
> | > mechanism, before the world map, reply mail worked, using the Path:
> | > header as a map of where to send mail via UUCP.
> |
> | And I assure you, duplicate names in the news Path: header means that some
> | sites won't get the article, UUCP or not. That's an entirely different
> | mechanism.
> |
> | It is *not* enough that the name is unambiguous at the next hop, because
> | the Path: is *not* used as an UUCP-style mail address *while in news*.
>
> But that's not what we were talking about... the question was having a
> route back to the sender, not news propigation. Or at least that was the
> gist of the discussion when I joined.

Yes and no. It *was* about the news Path: header, and the claim was that  
UUCP feeds worked that way. They didn't. They used Path: just the way it's  
used today.

*Mail* over UUCP worked that way.

> Interesting thought, I do a fair bit of UUCP over IP, I have to think
> about what it would take to send it over ssh. I don't remember how one
> changes the port used, not something I have ever needed. All my connects
> have run either Taylor or HDB.

Using Taylor, and if you already have a working UUCP link, and ssh also  
works already ...

Create ssh key for uucp user. Make sure called side has a user for you  
with uucico as shell, and put ssh key into that user's home directory (see  
man page for details). Key should not have a passphrase (you're not around  
to give it).

On the caller side,

port:

port <portname>
type pipe
command /usr/bin/ssh <login>@<domain>

sys:

system <host>
call-login <login>
call-password <pass>
port <portname>
chat ""

This works for me.

Kai
-- 
http://www.westfalen.de/private/khms/
"... by God I *KNOW* what this network is for, and you can't have it."
  - Russ Allbery (rra@stanford.edu)

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