🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
67 messages
67 total messages Page 1 of 2 Started by Russell Vincent Mon, 29 May 2000 00:00
Page 1 of 2 • 67 total messages
[ANNOUNCE] Diablo 2.1-REL available
#46656
Author: Russell Vincent
Date: Mon, 29 May 2000 00:00
39 lines
2313 bytes
We are pleased to announce the release of Diablo 2.1. Full details and
downloads are available from:

   http://www.openusenet.org/diablo/

The distribution is also available at:

   ftp://ftp.openusenet.org/pub/diablo/

The main purpose of this release is a security fix for feeder
authentication that allowed hostname spoofing. This problem exists in
all previous versions of Diablo prior to 2.1-REL, including the 1.xx
releases. Upgrading to this release is strongly recommended. A (mostly
untested) patch for diablo-1.24-REL is available as:

   ftp://ftp.openusenet.org/pub/diablo/patch.hostspoof-1.24-REL

This patch should also apply to versions of diablo prior to 1.28-REL.
As mentioned, it has not been fully tested, but it compiles and does
appear to do the right thing. Comments on it are welcome.

Many thanks to Andrew Gierth for reporting this problem.

Other changes since 2.0-REL, include:

 o Fix multiple spool directory usage in feeder/spool 
 o Fix idle/session timeout in reader 
 o Allow control messages to be retrieved in reader 
 o Add compile-time auth option to allow CDB lookups for reader usernames 
 o Improved (and unified) rc.news script for feeder and reader 
 o Optional new overview expiry method based on calculating the article
   count from the number of articles and age of articles 
 o Use 400 response when reader client is allowed to connect later 
 o Many other minor bug fixes (see RELEASE_NOTES.txt) 

 -Russell


Re: [ANNOUNCE] Diablo 2.1-REL available
#46630
Author: Russell Vincent
Date: Mon, 29 May 2000 00:00
21 lines
1723 bytes
Ben C. O. Grimm <Ben.Grimm@wirehub.net> wrote:
> (I should just have asked "What does -c do?", shouldn't I?)

That's the easy one to answer.  :-)

The '-c' option causes the path specified to be added to incoming articles
if the path specified with the '-c' does not already exist in the Path:.

I don't think this is quite want you need when used with the normal
'-p path'. Does '-p0 -c newsfeed.wirehub.nl' perhaps do what you need?

In theory, that should only add 'newsfeed.wirehub.nl' to the Path: if it
isn't already there. Depending on your path exlcusions in dnewsfeeds,
you are likely to either have incoming articles not offered to any of
the other servers or get every article offered to every server, but I
presume you have that under control.  :-)

 -Russell


Re: [ANNOUNCE] Diablo 2.1-REL available
#46633
Author: Russell Vincent
Date: Mon, 29 May 2000 00:00
12 lines
1383 bytes
Ben C. O. Grimm <Ben.Grimm@wirehub.net> wrote:
> checked this. The only thing that bothers me is that this causes
> double path stamps. So what I would like to see: all feeders feed each
> other, but newsfeed.wirehub.nl is only being added once.

Then '-p 0 -c newsfeed.wirehub.nl' on each of the machines should do
what you require.

 -Russell


Re: [ANNOUNCE] Diablo 2.1-REL available
#46634
Author: Ben C. O. Grimm
Date: Mon, 29 May 2000 00:00
25 lines
2071 bytes
On Mon, 29 May 2000 19:16:02 GMT, Russell Vincent
<rv@openusenet.org> wrote:

> Ben C. O. Grimm <Ben.Grimm@wirehub.net> wrote:
> > checked this. The only thing that bothers me is that this causes
> > double path stamps. So what I would like to see: all feeders feed each
> > other, but newsfeed.wirehub.nl is only being added once.
 
> Then '-p 0 -c newsfeed.wirehub.nl' on each of the machines should do
> what you require.

Yup, that seems to do the trick. Double path stamps are
vanishing, and the feeders are still feeding each other (one
hop, not any further; that doesn't really matter, because the
chance that feeder A gets an article to feeder C through feeder
B is pretty slim to begin with when A is feeding straight to C
at the same time :) Thx.

-- 
- Ben C. O. Grimm ----------------- Ben.Grimm@wirehub.net -
- Wirehub! Internet Engineering - http://www.wirehub.net/ -
- Wirehub! Backbone --- http://doema.wirehub.net/wirehub/ -
- Private Ponderings ------- http://libertas.wirehub.net/ -

Re: [ANNOUNCE] Diablo 2.1-REL available
#46637
Author: Brad Knowles
Date: Mon, 29 May 2000 00:00
18 lines
1730 bytes
In article <SlzY4.4$d23.61@monolith.news.easynet.net>, Russell Vincent 
<rv@openusenet.org> wrote:

> Then '-p 0 -c newsfeed.wirehub.nl' on each of the machines should do
> what you require.

    Hmm.  What about those of us that would like to have both a common 
path element that is shared amongst all machines at the site, as well as 
a host-specific element that is unique to that machine?  ;-)

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

Are you a news server administrator outside of North America and Western
Europe?  If so, and you're interested in getting a newsfeed from a server
in the Freenix Top 50, please send me private e-mail for details.

Re: [ANNOUNCE] Diablo 2.1-REL available
#46639
Author: Steve Wyles
Date: Mon, 29 May 2000 00:00
26 lines
1592 bytes
"Ben C. O. Grimm" <Ben.Grimm@wirehub.net> wrote in message

> (I should just have asked "What does -c do?", shouldn't I?)

Hi Ben,

    AFAIK, the -c option *only* adds the specified path entry if it doesn't
already exist in the path header. In other words it is used to put in a
common path entry no matter where the article enters your feeder cluster.

In your case I would use something like:

-p feed1.wirehub.nl -c newsfeed.wirehub.nl
-p feed2.wirehub.nl -c newsfeed.wirehub.nl
-p feed3.wirehub.nl -c newsfeed.wirehub.nl

This shouldn't cause any problems for your upstream peers (I'm one of them)
as they should be matching on the *common* path entry anyway.

Steve




Re: [ANNOUNCE] Diablo 2.1-REL available
#46640
Author: Ben C. O. Grimm
Date: Mon, 29 May 2000 00:00
39 lines
2173 bytes
On Mon, 29 May 2000 12:15:08 GMT, Russell Vincent <rv@openusenet.org>
wrote:

> We are pleased to announce the release of Diablo 2.1. Full details and
> downloads are available from:
> 
>    http://www.openusenet.org/diablo/

I was looking into the -c option for the feeder. What happens when I
have three feeders feeding eachother with

-p newsfeed.wirehub.nl -c newsfeed.wirehub.nl ?

What happens now (without -c) is that some articles pass two feeders
before getting out, bearing a path stamp of

!newsfeed.wirehub.nl!newsfeed.wirehub.nl

I was looking for a way to limit this to 1, without preventing
articles to pass two feeders (three passes won't happen, because the
alias in dnewsfeeds will catch it).

Will -c achieve this, or will this prevent articles from being fed to
another feeder with the same path stamp? 

If so, I will stick with -p by itself ..

Or will it even enable me to have an article pass all three feeders
before getting out? I wouldn't mind that.

(I should just have asked "What does -c do?", shouldn't I?)

-- 
- Ben C. O. Grimm ----------------- Ben.Grimm@wirehub.net -
- Wirehub! Internet Engineering - http://www.wirehub.net/ -
- Wirehub! Backbone --- http://doema.wirehub.net/wirehub/ -
- Private Ponderings ------- http://libertas.wirehub.net/ -

Re: [ANNOUNCE] Diablo 2.1-REL available
#46643
Author: Joe Greco
Date: Mon, 29 May 2000 00:00
49 lines
2958 bytes
In news.software.nntp article <fEAY4.5$d23.58@monolith.news.easynet.net>, Russell Vincent <rv@openusenet.org> wrote:
:Brad Knowles <brad@shub-internet.org> wrote:
:>     Hmm.  What about those of us that would like to have both a common 
:> path element that is shared amongst all machines at the site, as well as 
:> a host-specific element that is unique to that machine?  ;-)
:
:Then you do what is recommended in the docs and use
:'-p unique_path -c shared_path'.
:
:Ben is trying something different to what is usually recommended. There
:are consequences to what he is doing (as I mentioned), but he appears
:to be aware of them.
:
:I agree with Jeremy and think that the '-c' path should appear as the
:most recently added Path: element. I will go with consensus, though,
:and only change Diablo if most people are in agreement.

Uh, no.  This is wrong in many environments.

This has a scary deja-vu sort of feeling.  I had this talk with the nice
folks at Highwind a few years back.

The ideal case is where the software does not make this sort of policy
decision at all, and lets the admin decide.  Given the syntax for both
Cyclone and Diablo, it would be nice to see the ordering determined by
the order in which command-line arguments appeared, while simultaneously
extending "-c" to allow multiple instances.

Then, someone who wanted to do something like

dbin/diablo -c onecommon.bla.net -p realname.bla.net -c twocommon.bla.net

would get

Path: onecommon.bla.net!realname.bla.net!twocommon.bla.net![...]

in the case where neither one/twocommon existed elsewhere in the Path:.
This deals well with the case where someone wants to put more than one
common Path: element in the path, although the more likely use would
be simply to control the position of a single common path element with
respect to the real name path element.

I played with other ideas for how to represent this sort of policy to
the news system, but this was by far the easiest to understand and
explain that I was able to devise.

... JG

Re: [ANNOUNCE] Diablo 2.1-REL available
#46644
Author: Jeremy
Date: Mon, 29 May 2000 00:00
27 lines
1972 bytes
Ben C. O. Grimm  <Ben.Grimm@wirehub.net> wrote:

> Well, I experimented a little, and sure, -p something -c else will add
> a path stamp of !something!else. But I'm pretty sure this will cause
> MISMATCH errors all over the place ... It did between my feeders:
> 
> !195.86.7.162.MISMATCH!teufel!newsfeed.wirehub.nl
> 
> Note that the receiving side had an alias of 'newsfeed.wirehub.nl' for
> this incoming feed. But it only seems to evaluate the first part
> (!teufel)', and fails to match. Since all of my peers have
> 'newsfeed.wirehub.nl' aliased out, I wouldn't dream of using it this
> way. 

It would be extraordinarily useful (in Cyclone and INN as well) if the
order of the pathstamps could be reversed, so the "common" element would
be the leftmost entry on outbound articles.  The way it works now causes
countless unnecessary MISMATCH path entries, and pretty much makes the
whole MISMATCH idea much less useful -- I dunno about anyone else, but
when I see it, my first thought is "everything's fine, they just don't
have the whole list of proper path entries for verification", and I rarely
get to the second thought of "maybe someone is playing sillybuggers".

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

Re: [ANNOUNCE] Diablo 2.1-REL available
#46645
Author: Ben C. O. Grimm
Date: Mon, 29 May 2000 00:00
39 lines
2710 bytes
On Mon, 29 May 2000 18:46:25 +0100, "Steve Wyles"
<stevew@ops.netcom.net.uk> wrote:

> "Ben C. O. Grimm" <Ben.Grimm@wirehub.net> wrote in message
> > (I should just have asked "What does -c do?", shouldn't I?)

>     AFAIK, the -c option *only* adds the specified path entry if it doesn't
> already exist in the path header. In other words it is used to put in a
> common path entry no matter where the article enters your feeder cluster.
> In your case I would use something like:
> -p feed1.wirehub.nl -c newsfeed.wirehub.nl
> -p feed2.wirehub.nl -c newsfeed.wirehub.nl
> -p feed3.wirehub.nl -c newsfeed.wirehub.nl
> This shouldn't cause any problems for your upstream peers (I'm one of them)
> as they should be matching on the *common* path entry anyway.

Well, I experimented a little, and sure, -p something -c else will add
a path stamp of !something!else. But I'm pretty sure this will cause
MISMATCH errors all over the place ... It did between my feeders:

!195.86.7.162.MISMATCH!teufel!newsfeed.wirehub.nl

Note that the receiving side had an alias of 'newsfeed.wirehub.nl' for
this incoming feed. But it only seems to evaluate the first part
(!teufel)', and fails to match. Since all of my peers have
'newsfeed.wirehub.nl' aliased out, I wouldn't dream of using it this
way. 

It does work the other way around (changing your -p and -c around),
but there's no added value in that, I guess. The only thing I could do
with that is fine-tune streams my inter-feeder traffic.

-- 
- Ben C. O. Grimm ----------------- Ben.Grimm@wirehub.net -
- Wirehub! Internet Engineering - http://www.wirehub.net/ -
- Wirehub! Backbone --- http://doema.wirehub.net/wirehub/ -
- Private Ponderings ------- http://libertas.wirehub.net/ -

Re: [ANNOUNCE] Diablo 2.1-REL available
#46648
Author: Ben C. O. Grimm
Date: Mon, 29 May 2000 00:00
22 lines
1881 bytes
On Mon, 29 May 2000 21:45:12 +0200, Brad Knowles
<brad@shub-internet.org> wrote:

> In article <SlzY4.4$d23.61@monolith.news.easynet.net>, Russell Vincent 
> <rv@openusenet.org> wrote:
 
> > Then '-p 0 -c newsfeed.wirehub.nl' on each of the machines should do
> > what you require.
 
>     Hmm.  What about those of us that would like to have both a common 
> path element that is shared amongst all machines at the site, as well as 
> a host-specific element that is unique to that machine?  ;-)

So, what does -h do .. ? :)

-- 
- Ben C. O. Grimm ----------------- Ben.Grimm@wirehub.net -
- Wirehub! Internet Engineering - http://www.wirehub.net/ -
- Wirehub! Backbone --- http://doema.wirehub.net/wirehub/ -
- Private Ponderings ------- http://libertas.wirehub.net/ -

Re: [ANNOUNCE] Diablo 2.1-REL available
#46649
Author: Russell Vincent
Date: Mon, 29 May 2000 00:00
20 lines
1848 bytes
Brad Knowles <brad@shub-internet.org> wrote:
>     Hmm.  What about those of us that would like to have both a common 
> path element that is shared amongst all machines at the site, as well as 
> a host-specific element that is unique to that machine?  ;-)

Then you do what is recommended in the docs and use
'-p unique_path -c shared_path'.

Ben is trying something different to what is usually recommended. There
are consequences to what he is doing (as I mentioned), but he appears
to be aware of them.

I agree with Jeremy and think that the '-c' path should appear as the
most recently added Path: element. I will go with consensus, though,
and only change Diablo if most people are in agreement.

 -Russell


Re: [ANNOUNCE] Diablo 2.1-REL available
#46650
Author: Ben C. O. Grimm
Date: Mon, 29 May 2000 00:00
47 lines
2772 bytes
On Mon, 29 May 2000 20:43:55 GMT, Russell Vincent
<rv@openusenet.org> wrote:

> Brad Knowles <brad@shub-internet.org> wrote:
> >     Hmm.  What about those of us that would like to have both a common 
> > path element that is shared amongst all machines at the site, as well as 
> > a host-specific element that is unique to that machine?  ;-)
 
> Then you do what is recommended in the docs and use
> '-p unique_path -c shared_path'.

Same trouble: you have to inform your peers about changed path
stamps, because -p is offered to them. And that one's likely to
change when you have several feeders ... I wanted to send out
path stamps like

!newsfeed.wirehub.nl!bambam
!newsfeed.wirehub.nl!teufel
!newsfeed.wirehub.nl!broadway

but had to change -p and -c around to achieve that ... and ended
up with stamps like

!newsfeed.wirehub.nl!broadway!newsfeed.wirehub.nl!bambam

no thx ...

I'm not sure what would happen if -c got offered first, though. 

Wouldn't I end up with

!broadway!newsfeed.wirehub.nl!bambam

causing a MISMATCH further down the road? In the ideal case, I'd
get !newsfeed.wirehub.nl!broadway!bambam ... but that would
involve some two-way configuration between feeders ( a) "don't
send -c to this feeder, because it will supply one of its own"
b) "don't complain about a MISMATCH, because you're supposed to
add -c yourself" ).

-- 
- Ben C. O. Grimm ----------------- Ben.Grimm@wirehub.net -
- Wirehub! Internet Engineering - http://www.wirehub.net/ -
- Wirehub! Backbone --- http://doema.wirehub.net/wirehub/ -
- Private Ponderings ------- http://libertas.wirehub.net/ -

Re: [ANNOUNCE] Diablo 2.1-REL available
#46653
Author: Ben C. O. Grimm
Date: Mon, 29 May 2000 00:00
30 lines
2380 bytes
On Mon, 29 May 2000 17:28:03 GMT, Russell Vincent <rv@openusenet.org>
wrote:

> I don't think this is quite want you need when used with the normal
> '-p path'. Does '-p0 -c newsfeed.wirehub.nl' perhaps do what you need?
> In theory, that should only add 'newsfeed.wirehub.nl' to the Path: if it
> isn't already there. Depending on your path exlcusions in dnewsfeeds,
> you are likely to either have incoming articles not offered to any of
> the other servers or get every article offered to every server, but I
> presume you have that under control.  :-)

Well, consider this:

I have three feeders in full-mesh. All three use a path of
'newsfeed.wirehub.nl', and all three have a path exclusion of
'newsfeed.wirehub.nl' for the other feeders. In this setup, Diablo
will feed articles from one feeder to the other, despite the path
exclusion. That is what I want. I don't think it will feed articles
that already have newsfeed.wirehub.nl *twice*, though I haven't
checked this. The only thing that bothers me is that this causes
double path stamps. So what I would like to see: all feeders feed each
other, but newsfeed.wirehub.nl is only being added once.

-- 
- Ben C. O. Grimm ----------------- Ben.Grimm@wirehub.net -
- Wirehub! Internet Engineering - http://www.wirehub.net/ -
- Wirehub! Backbone --- http://doema.wirehub.net/wirehub/ -
- Private Ponderings ------- http://libertas.wirehub.net/ -

Re: [ANNOUNCE] Diablo 2.1-REL available
#46655
Author: Russell Vincent
Date: Mon, 29 May 2000 00:00
14 lines
1577 bytes
Ben C. O. Grimm <Ben.Grimm@wirehub.net> wrote:
> but had to change -p and -c around to achieve that ... and ended
> up with stamps like

That is what Jeremy was talking about.

I have taken the plunge and modified Diablo, but it will only be available
in the nest release/snapshot. i.e: The -c option is added as the most
recent Path: entry.

 -Russell


Re: [ANNOUNCE] Diablo 2.1-REL available
#46657
Author: Jeremy
Date: Mon, 29 May 2000 00:00
18 lines
1473 bytes
Russell Vincent  <rv@openusenet.org> wrote:

> I agree with Jeremy and think that the '-c' path should appear as the
> most recently added Path: element. I will go with consensus, though,
> and only change Diablo if most people are in agreement.

If this is something on which reasonable people can disagree, then make
it an option at least.  The way it is renders path verification mostly
useless.  I don't want to have to try and notify all of my peers every
time one of my bazillion path-stamps changes, or I add one to the growing
list, or I move their feed to a different server.  I just want to tell
them one pathstamp that can be used for both aliasing and verification,
and be done with it.

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

Re: [ANNOUNCE] Diablo 2.1-REL available
#46661
Author: Joe Greco
Date: Tue, 30 May 2000 00:00
50 lines
3020 bytes
In news.software.nntp article <8wOY4.1$C44.1095@monolith.news.easynet.net>, Russell Vincent <rv@openusenet.org> wrote:
:Joe Greco <jgreco@ns.sol.net> wrote:
:> Valid options:
:
:> 1) Use "-p" with "common.mynews!other.mynews" as I described, to gain a
:>    forced common Path:, but one which might be multiply included.
:
:> 2) Use "-c" to gain traditional common pathname behaviour.  This should
:>    probably appear after the "-p" argument, resulting in either
:>    "other.mynews!" or "other.mynews!common.mynews!" depending on the
:>    previous existence of common.mynews!
:
:> 3) Hack up something to remove previous instances of "common.mynews!"
:>    from the Path:.  This is not, however, in my opinion, valid.  If you
:>    want to do this, though, it should probably be some additional
:>    command line switch and should not be forced as a policy for everyone
:>    who wants to make normal use of "-c".
:
:How about your previous option of allowing multiple '-p' and '-c'
:options and use them in the order specified. e.g:
:
:-c path1 -p path2 -c path3 -p path4
:
:becomes
:
:Path: path1!path2!path3!path4!...
:
:If path1 or path3 exist in the Path:, then they will be excluded.
:path2 and path4 will always be added.

And that's fine.  However, the _point_ was that the pre-latest-change
code handled all the reasonable scenarios (although I'll grant that the
application of 1) wasn't necessarily obvious or intuitive).  Doing the
change I described simply allows more flexibility for the administrator.
It is also in keeping with the idea I suggested in 3), which I do not
really endorse or advocate (and is probably evil enough that it should
not be coded, unless someone has a compelling argument).  I don't see the
issue with multiple instances of a Path: element in a single Path: line,
other than it seems "ugly".

I always like a more-flexible solution, so I certainly would endorse a
hack that allows them to show up in the specified order.

:I already have that coded and just need to commit.  :-)

You are just too speedy.  I was going to code it this morning.

... JG

Re: [ANNOUNCE] Diablo 2.1-REL available
#46662
Author: Brad Knowles
Date: Tue, 30 May 2000 00:00
27 lines
2354 bytes
In article <o5o5jsk1qa2ec6te5rpfko4q8uf9imjv09@thor.wirehub.nl>, Ben C. 
O. Grimm <Ben.Grimm@wirehub.net> wrote:

>                                            In the ideal case, I'd
> get !newsfeed.wirehub.nl!broadway!bambam ... but that would
> involve some two-way configuration between feeders ( a) "don't
> send -c to this feeder, because it will supply one of its own"
> b) "don't complain about a MISMATCH, because you're supposed to
> add -c yourself" ).

    If you fed between your servers internally on a different port (and 
different instance of the daemon), one that didn't add the common path 
element, then you could feed to your peers from a server that did add 
the common path element on the "standard" port.

    I'm not 100% certain that this would work (it would depend on 
whether the path element is added on input or output), but it seems 
logical.

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

Are you a news server administrator outside of North America and Western
Europe?  If so, and you're interested in getting a newsfeed from a server
in the Freenix Top 50, please send me private e-mail for details.

Re: [ANNOUNCE] Diablo 2.1-REL available
#46663
Author: Kjetil Torgrim Homme
Date: Tue, 30 May 2000 00:00
20 lines
1803 bytes
[Sven Paulus]

>   The only solution to get the right path
>     ...!newsfeed.wirehub.nl!broadway!bambam!...
>   is to have an option for the sending program (innfeed/INN etc.)
>   to add the final path entry. Then you could say "add
>   newsfeed.wirehub.nl to all exteriour peers" and "add nothing to my
>   internal peers". 

This sounds like the cleanest solution.

The only ugly thing about it in Diablo is that the configuration needs
to be in dnntpspool.ctl rather than dnewsfeeds.  (The configuration
files in Diablo could stand a brush-up. I'd like to put have all
information about a peer in one place, rather than three.)


Kjetil T.

Re: [ANNOUNCE] Diablo 2.1-REL available
#46664
Author: Sven Paulus
Date: Tue, 30 May 2000 00:00
15 lines
1427 bytes
Ben C. O. Grimm <Ben.Grimm@wirehub.net> wrote:
|> but had to change -p and -c around to achieve that ... and ended
|> up with stamps like
|> !newsfeed.wirehub.nl!broadway!newsfeed.wirehub.nl!bambam
|> no thx ...

The only solution to get the right path
  ...!newsfeed.wirehub.nl!broadway!bambam!...
is to have an option for the sending program (innfeed/INN etc.)
to add the final path entry. Then you could say "add
newsfeed.wirehub.nl to all exteriour peers" and "add nothing to my
internal peers". 


Re: [ANNOUNCE] Diablo 2.1-REL available
#46665
Author: Kjetil Torgrim Homme
Date: Tue, 30 May 2000 00:00
17 lines
1565 bytes
[Brad Knowles]

>       IMO, non FQDN is okay -- this isn't something we're supposed
>   to be validating with the DNS (heck, the label might not exist at
>   all in the DNS).

No, but the label has to be globally unique, and basing it in DNS or
traditional UUCP maps is an easy way to enforce this.  If you have a
peer with the label "fluffyonline", and I have different peer called
"fluffyonline", they will not see eachother's messages, and what's
worse, if one of them is smack in the USENET hub and the other has
poor redundancy, the latter site risks losing random articles.


Kjetil T.

Re: [ANNOUNCE] Diablo 2.1-REL available
#46667
Author: Brad Knowles
Date: Tue, 30 May 2000 00:00
25 lines
2223 bytes
In article <fEAY4.5$d23.58@monolith.news.easynet.net>, Russell Vincent 
<rv@openusenet.org> wrote:

> I agree with Jeremy and think that the '-c' path should appear as the
> most recently added Path: element. I will go with consensus, though,
> and only change Diablo if most people are in agreement.

    That does seem more logical, however I would want to make sure that 
it appears only once -- if something comes in to my server A, then over 
to my server B, before it gets fed to your server, then the common path 
element could/should be the most recently added, but it should not 
appear more than once.

    Internally, I'd feed between my servers based on the server unique 
name (it's just easier for me if I do that), while I'd expect my peers 
to feed to me based on the common name.

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

Are you a news server administrator outside of North America and Western
Europe?  If so, and you're interested in getting a newsfeed from a server
in the Freenix Top 50, please send me private e-mail for details.

Re: [ANNOUNCE] Diablo 2.1-REL available
#46669
Author: Brad Knowles
Date: Tue, 30 May 2000 00:00
24 lines
1904 bytes
In article <3933a62e$0$26042@news.execpc.com>, jgreco@ns.sol.net (Joe 
Greco) wrote:

> Some lusers put non-FQDN-style Path: entries in there.
> 
> I'd argue that that's more broken and they deserve to be tagged in the
> Path: as ".BROKEN".  :-)

    IMO, non FQDN is okay -- this isn't something we're supposed to be 
validating with the DNS (heck, the label might not exist at all in the 
DNS).

    No, this is something that we are validating on a per-peer basis, 
and so long as they're configured to have a non-FQDN label as their path 
element, then I don't think that this should cause major heartburn.

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

Are you a news server administrator outside of North America and Western
Europe?  If so, and you're interested in getting a newsfeed from a server
in the Freenix Top 50, please send me private e-mail for details.

Re: [ANNOUNCE] Diablo 2.1-REL available
#46672
Author: Robert Kiessling
Date: Tue, 30 May 2000 00:00
23 lines
1976 bytes
Russell Vincent <rv@openusenet.org> writes:

> Ben C. O. Grimm <Ben.Grimm@wirehub.net> wrote:
> > but had to change -p and -c around to achieve that ... and ended
> > up with stamps like
> 
> That is what Jeremy was talking about.
> 
> I have taken the plunge and modified Diablo, but it will only be available
> in the nest release/snapshot. i.e: The -c option is added as the most
> recent Path: entry.

Nice. Do you take into account the following case:

First, article passes through "-p in.mynews -c common.mynews", thus
getting a "Path: common.mynews!in.mynews!...", then passes through "-p
out.mynews -c common.mynews", which should propably result in "Path:
common.mynews!out.mynews!in.mynews!...", to be consistent with the
"the common path name should appear first"?

Robert

Re: [ANNOUNCE] Diablo 2.1-REL available
#46674
Author: Ben C. O. Grimm
Date: Tue, 30 May 2000 00:00
26 lines
2097 bytes
On 30 May 2000 00:12:49 GMT, Jeremy <bofh@netscum.dk> wrote:

> Actually, thinking about this, swapping the pathstamps won't solve the
> problem.  What needs to happen is that the verification code needs to
> look back to the second-to-last entry, possibly further, for the expected
> pathstamp, to handle the case where you receive an article on one server
> and send it out from another.  In this case the common entry will be
> added by the first server, and then the second will add its entry, making
> the common one no longer the last one on the Path.

Yesterday, when I was fooling around with various pathstamps, I tried
to alias them out like this:

alias	newsfeed.wirehub.nl!teufel
alias	newsfeed.wirehub.nl!broadway

But that won't work. That would solve some of the problem, wouldn't
it?

-- 
- Ben C. O. Grimm ----------------- Ben.Grimm@wirehub.net -
- Wirehub! Internet Engineering - http://www.wirehub.net/ -
- Wirehub! Backbone --- http://doema.wirehub.net/wirehub/ -
- Private Ponderings ------- http://libertas.wirehub.net/ -

Re: [ANNOUNCE] Diablo 2.1-REL available
#46675
Author: Brad Knowles
Date: Tue, 30 May 2000 00:00
23 lines
1872 bytes
In article <959660471.379544@news.netscum.dk>, Jeremy <bofh@netscum.dk> 
wrote:

> Unless you make the common stamp code add it if it's not there, and if it
> is there, remove it and put it back on the end.  Which may not be a very
> good idea.

    I think that this is ultimately what would have to happen.  I just 
can't think of any other way to solve the set of problems:

        1.  Have a common path entry for a set of hosts at your site
        2.  Have it appear once and once only
        3.  Always have it appear as the leftmost element in the "Path:" 
header

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

Are you a news server administrator outside of North America and Western
Europe?  If so, and you're interested in getting a newsfeed from a server
in the Freenix Top 50, please send me private e-mail for details.

Re: [ANNOUNCE] Diablo 2.1-REL available
#46676
Author: Jeremy
Date: Tue, 30 May 2000 00:00
34 lines
1950 bytes
Andrew Gierth  <andrew@erlenstar.demon.co.uk> wrote:

>  Jeremy> Actually, thinking about this, swapping the pathstamps won't
>  Jeremy> solve the problem.  What needs to happen is that the
>  Jeremy> verification code needs to look back to the second-to-last
>  Jeremy> entry, possibly further, for the expected pathstamp,
> 
> How does it know how far back to look?

Well, you'd tell it, presumably.

> You're losing the whole point of doing verification in the first
> place.

Well, my point was that the purpose has already been defeated, since
most MISMATCH entries are caused by this situation.

> I put support for wildcards into my INN verification code for a very
> good reason.

Yes, but that's not always enough.  I'd like to have one pathstamp that
I can tell people to expect -- possibly with something else behind it,
since there's no real way to guarantee the common pathstamp will be last.
Unless you make the common stamp code add it if it's not there, and if it
is there, remove it and put it back on the end.  Which may not be a very
good idea.

I dunno.  I just don't see that MISMATCH is all that useful, and I'm tossing
out ideas on how to fix it...

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

Re: [ANNOUNCE] Diablo 2.1-REL available
#46678
Author: Jeremy
Date: Tue, 30 May 2000 00:00
24 lines
1637 bytes
Brad Knowles  <brad@shub-internet.org> wrote:

>> Unless you make the common stamp code add it if it's not there, and if
>> it is there, remove it and put it back on the end.  Which may not be a
>> very good idea.
> 
>     I think that this is ultimately what would have to happen.  I just 
> can't think of any other way to solve the set of problems:
> 
>         1.  Have a common path entry for a set of hosts at your site
>         2.  Have it appear once and once only
>         3.  Always have it appear as the leftmost element in the "Path:" 
> header

It would suck, though.  Consider the case where an article goes from one
of your servers, out to a peer, then back to your servers.  At that point,
your common pathstamp is already there, behind stamps added by other
systems.  It may be your pathstamp, but at that point I'd say you still
shouldn't touch it.

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

Re: [ANNOUNCE] Diablo 2.1-REL available
#46682
Author: Joe Greco
Date: Tue, 30 May 2000 00:00
22 lines
1734 bytes
In news.software.nntp article <874s7flcqv.fsf@erlenstar.demon.co.uk>, Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote:
:>>>>> "Joe" == Joe Greco <jgreco@ns.sol.net> writes:
:
: Joe> Now, one could use the UUCP maps.  I could still put "!solaria!"
: Joe> in a Path, and I should be guaranteed uniqueness because that is
: Joe> a registered UUCP node name.
:
:Except that most people who use unqualified names don't bother to
:check the UUCP maps first... usually they are using their actual local
:hostname, sans domain, as the path stamp.

Well, yeah, that's why I said "could" and "should".  :-)

:Occasionally I manage to get through to someone that this is a bad
:idea, but not very often.

It's amazing that anybody gets anything through to most people who are
on the net these days.  A bunch of "Just Make It Work" Charlies.

... JG

Re: [ANNOUNCE] Diablo 2.1-REL available
#46684
Author: Russell Vincent
Date: Tue, 30 May 2000 00:00
39 lines
2293 bytes
Joe Greco <jgreco@ns.sol.net> wrote:
> Valid options:

> 1) Use "-p" with "common.mynews!other.mynews" as I described, to gain a
>    forced common Path:, but one which might be multiply included.

> 2) Use "-c" to gain traditional common pathname behaviour.  This should
>    probably appear after the "-p" argument, resulting in either
>    "other.mynews!" or "other.mynews!common.mynews!" depending on the
>    previous existence of common.mynews!

> 3) Hack up something to remove previous instances of "common.mynews!"
>    from the Path:.  This is not, however, in my opinion, valid.  If you
>    want to do this, though, it should probably be some additional
>    command line switch and should not be forced as a policy for everyone
>    who wants to make normal use of "-c".

How about your previous option of allowing multiple '-p' and '-c'
options and use them in the order specified. e.g:

-c path1 -p path2 -c path3 -p path4

becomes

Path: path1!path2!path3!path4!...

If path1 or path3 exist in the Path:, then they will be excluded.
path2 and path4 will always be added.

I already have that coded and just need to commit.  :-)

> Um...  so...  revert it, eh.  :-)

Will do.

 -Russell


Re: [ANNOUNCE] Diablo 2.1-REL available
#46686
Author: Jeremy
Date: Tue, 30 May 2000 00:00
20 lines
1529 bytes
Russell Vincent  <rv@openusenet.org> wrote:

> That is what Jeremy was talking about.
> 
> I have taken the plunge and modified Diablo, but it will only be available
> in the nest release/snapshot. i.e: The -c option is added as the most
> recent Path: entry.

Actually, thinking about this, swapping the pathstamps won't solve the
problem.  What needs to happen is that the verification code needs to
look back to the second-to-last entry, possibly further, for the expected
pathstamp, to handle the case where you receive an article on one server
and send it out from another.  In this case the common entry will be
added by the first server, and then the second will add its entry, making
the common one no longer the last one on the Path.

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

Re: [ANNOUNCE] Diablo 2.1-REL available
#46687
Author: Andrew Gierth
Date: Tue, 30 May 2000 00:00
17 lines
1565 bytes
>>>>> "Jeremy" == Jeremy  <bofh@netscum.dk> writes:

 Jeremy> Actually, thinking about this, swapping the pathstamps won't
 Jeremy> solve the problem.  What needs to happen is that the
 Jeremy> verification code needs to look back to the second-to-last
 Jeremy> entry, possibly further, for the expected pathstamp,

How does it know how far back to look? You're losing the whole point
of doing verification in the first place.

I put support for wildcards into my INN verification code for a very
good reason.

-- 
Andrew.

Re: [ANNOUNCE] Diablo 2.1-REL available
#46695
Author: Andrew Gierth
Date: Tue, 30 May 2000 00:00
28 lines
1823 bytes
>>>>> "Jeremy" == Jeremy  <bofh@netscum.dk> writes:

 >> You're losing the whole point of doing verification in the first
 >> place.

 Jeremy> Well, my point was that the purpose has already been
 Jeremy> defeated, since most MISMATCH entries are caused by this
 Jeremy> situation.

I think you're misunderstanding the point. Having .MISMATCH entries
appearing is not in itself a problem; all that matters is that the
information about the real source of the message is there when it is
needed.

i.e. being able to verify the path and therefore omit the MISMATCH
entry is merely an optimisation; a convenient one, but not necessary.

 >> I put support for wildcards into my INN verification code for a very
 >> good reason.

 Jeremy> Yes, but that's not always enough.

Why not?

-- 
Andrew.

Re: [ANNOUNCE] Diablo 2.1-REL available
#46697
Author: Joe Greco
Date: Tue, 30 May 2000 00:00
36 lines
2327 bytes
In news.software.nntp article <brad-B867BD.17151730052000@news.skynet.be>, Brad Knowles <brad@shub-internet.org> wrote:
:In article <3933a62e$0$26042@news.execpc.com>, jgreco@ns.sol.net (Joe 
:Greco) wrote:
:
:> Some lusers put non-FQDN-style Path: entries in there.
:> 
:> I'd argue that that's more broken and they deserve to be tagged in the
:> Path: as ".BROKEN".  :-)
:
:    IMO, non FQDN is okay -- this isn't something we're supposed to be 
:validating with the DNS (heck, the label might not exist at all in the 
:DNS).

I didn't say "validating with the DNS".  I said "non-FQDN-style".

In particular, if there's no global registry of these, then there's no
good way to guarantee uniqueness.  This is a problem.

Now, one could use the UUCP maps.  I could still put "!solaria!" in a
Path, and I should be guaranteed uniqueness because that is a registered
UUCP node name.  However, the lusers who put things like "!news!" into a
Path are certainly not guaranteed uniqueness, and most other things will
fall into a grey area inbetween.

What if I happened to choose the Path: tag "!cyberspam!"?

:    No, this is something that we are validating on a per-peer basis, 
:and so long as they're configured to have a non-FQDN label as their path 
:element, then I don't think that this should cause major heartburn.

Then devise a way to guarantee uniqueness, or you're opening up a whole
ugly can of worms.

... JG

Re: [ANNOUNCE] Diablo 2.1-REL available
#46700
Author: Jeremy
Date: Tue, 30 May 2000 00:00
32 lines
1765 bytes
Ben C. O. Grimm  <Ben.Grimm@wirehub.net> wrote:

>> The only solution to get the right path
>>   ...!newsfeed.wirehub.nl!broadway!bambam!...
>> is to have an option for the sending program (innfeed/INN etc.)
>> to add the final path entry. Then you could say "add
>> newsfeed.wirehub.nl to all exteriour peers" and "add nothing to my
>> internal peers". 
> 
> Yes, that would be kinky. If I could define something like this for
> another feeder within my network:
> 
> label	bambam
> 	type	internal
> 	alias	bambam
> 	etc.
> end
> 
> which would cause dnewslink to send out ONLY -p to this label ...

Yes, I think something like this might be the answer.  For diablo, though,
it seems like it'd have to be in dnntpspool.ctl rather than dnewsfeeds,
because you can't have diablo itself adding a pathstamp that may not be
added for all feeds.

To top it off, you could have an option to specify *what* pathstamp to
add for this peer.  *That* would be kinky.

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

Re: [ANNOUNCE] Diablo 2.1-REL available
#46702
Author: Ben C. O. Grimm
Date: Tue, 30 May 2000 00:00
40 lines
2717 bytes
On 30 May 2000 12:16:26 +0200, Sven Paulus <sven@karlsruhe.org> wrote:

> Ben C. O. Grimm <Ben.Grimm@wirehub.net> wrote:
> |> but had to change -p and -c around to achieve that ... and ended
> |> up with stamps like
> |> !newsfeed.wirehub.nl!broadway!newsfeed.wirehub.nl!bambam
> |> no thx ...

> The only solution to get the right path
>   ...!newsfeed.wirehub.nl!broadway!bambam!...
> is to have an option for the sending program (innfeed/INN etc.)
> to add the final path entry. Then you could say "add
> newsfeed.wirehub.nl to all exteriour peers" and "add nothing to my
> internal peers". 

Yes, that would be kinky. If I could define something like this for
another feeder within my network:

label	bambam
	type	internal
	alias	bambam
	etc.
end

which would cause dnewslink to send out ONLY -p to this label ...

Bambam, in turn, would be instructed by the 'internal' directive
belonging to the feeder that sends the article to prepend -c to any
article received from the other feeder, except of course to articles
spooled to another 'internal'. That way, all articles get out into the
world with the correct common pathname, and articles move between
internal servers with their unique pathnames. 

-- 
- Ben C. O. Grimm ----------------- Ben.Grimm@wirehub.net -
- Wirehub! Internet Engineering - http://www.wirehub.net/ -
- Wirehub! Backbone --- http://doema.wirehub.net/wirehub/ -
- Private Ponderings ------- http://libertas.wirehub.net/ -

Re: [ANNOUNCE] Diablo 2.1-REL available
#46705
Author: Joe Greco
Date: Tue, 30 May 2000 00:00
76 lines
4116 bytes
In news.software.nntp article <x5zop8nb0h.fsf@delphi.local.easynet.de>, Robert Kiessling <robert@easynet.de> wrote:
:Russell Vincent <rv@openusenet.org> writes:
:
:> Ben C. O. Grimm <Ben.Grimm@wirehub.net> wrote:
:> > but had to change -p and -c around to achieve that ... and ended
:> > up with stamps like
:> 
:> That is what Jeremy was talking about.
:> 
:> I have taken the plunge and modified Diablo, but it will only be available
:> in the nest release/snapshot. i.e: The -c option is added as the most
:> recent Path: entry.
:
:Nice. Do you take into account the following case:
:
:First, article passes through "-p in.mynews -c common.mynews", thus
:getting a "Path: common.mynews!in.mynews!...", then passes through "-p
:out.mynews -c common.mynews", which should propably result in "Path:
:common.mynews!out.mynews!in.mynews!...", to be consistent with the
:"the common path name should appear first"?

It damn well better not, or I'll revert it myself.  It is quite possible
for an article to take a path that would result in

Path: common.mynews!some.mynews!bla.site!foo.site!other.site!other.mynews!...

when the admin was supposedly just trying to manipulate the path within
their own network, but the article left and came back.  This means that
"other.site" got an article with

Path: common.mynews!other.mynews!...

but that info is now destroyed...

which is just one of many reasons you are not allowed to rewrite the Path,
just add entries.

If you absolutely, positively must have a common Path: element appearing
in the Path: first, you _are_ going to have to allow that it will be there
multiple times if it goes through multiple machines.  Diablo supports this
just fine, but you don't use the "-c" option;  you use "-p":

dbin/diablo -p "common.mynews!other.mynews"

Additionally, Russell, what you've done now requires any site who is using
"-c" but has been faithfully configuring their peers to use their "-p"
entry (which'd be anyone using "-c", hopefully) to contact all their peers
and make these configuration changes.  That's really not too good,
especially since many sites may be using the "-c" for other things, so
I see this as a wrong change.

Valid options:

1) Use "-p" with "common.mynews!other.mynews" as I described, to gain a
   forced common Path:, but one which might be multiply included.

2) Use "-c" to gain traditional common pathname behaviour.  This should
   probably appear after the "-p" argument, resulting in either
   "other.mynews!" or "other.mynews!common.mynews!" depending on the
   previous existence of common.mynews!

3) Hack up something to remove previous instances of "common.mynews!"
   from the Path:.  This is not, however, in my opinion, valid.  If you
   want to do this, though, it should probably be some additional
   command line switch and should not be forced as a policy for everyone
   who wants to make normal use of "-c".

I do not see any case in which the change that has been made is valid
or useful though, and I think I've covered all contingencies.  The only
option that wasn't covered by the old Diablo code was 3).

Um...  so...  revert it, eh.  :-)

... JG

Re: [ANNOUNCE] Diablo 2.1-REL available
#46708
Author: Joe Greco
Date: Tue, 30 May 2000 00:00
40 lines
2218 bytes
In news.software.nntp article <87k8gcr67t.fsf@erlenstar.demon.co.uk>, Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote:
:>>>>> "Jeremy" == Jeremy  <bofh@netscum.dk> writes:
:
: >> You're losing the whole point of doing verification in the first
: >> place.
:
: Jeremy> Well, my point was that the purpose has already been
: Jeremy> defeated, since most MISMATCH entries are caused by this
: Jeremy> situation.
:
:I think you're misunderstanding the point. Having .MISMATCH entries
:appearing is not in itself a problem; all that matters is that the
:information about the real source of the message is there when it is
:needed.

It is, at least, helpful.

:i.e. being able to verify the path and therefore omit the MISMATCH
:entry is merely an optimisation; a convenient one, but not necessary.

Like you can ever verify the Path: with any degree of certainty.

: >> I put support for wildcards into my INN verification code for a very
: >> good reason.
:
: Jeremy> Yes, but that's not always enough.
:
:Why not?

Some lusers put non-FQDN-style Path: entries in there.

I'd argue that that's more broken and they deserve to be tagged in the
Path: as ".BROKEN".  :-)

Perhaps if transit engines refused to propagate messages which are
.MISMATCH (evil grin).  Some motivation to actually fix the config.

... JG

Re: [ANNOUNCE] Diablo 2.1-REL available
#46715
Author: Jeremy
Date: Tue, 30 May 2000 00:00
18 lines
1235 bytes
Andrew Gierth  <andrew@erlenstar.demon.co.uk> wrote:

>>> I put support for wildcards into my INN verification code for a very
>>> good reason.
> 
> Jeremy> Yes, but that's not always enough.
> 
> Why not?

It requires all the pathstamps to match a pattern, and in order to be
reasonably secure the pattern would need to avoid innocently matching
things it shouldn't.  You still have to notify dozens or hundreds of
peers every time you need to change your internal pathstamps.

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

Re: [ANNOUNCE] Diablo 2.1-REL available
#46709
Author: Andrew Gierth
Date: Wed, 31 May 2000 00:00
47 lines
3096 bytes
>>>>> "Brad" == Brad Knowles <brad@shub-internet.org> writes:

 >> In particular, if there's no global registry of these, then
 >> there's no good way to guarantee uniqueness.  This is a problem.

 Brad>     Whether you use non-FQDN style names or not has no bearing
 Brad> on the uniqueness of the label.  I could easily set up another
 Brad> server somewhere and claim to be ns.sol.net, and if my peers
 Brad> were willing to configure their servers to accept that, then
 Brad> we'd have the same sort of collision with FQDN-style names.

Except that in that case, there's absolutely no doubt as to who is the
rightful user of the name, and Joe could happily cancel any posts
originating from your box as forgeries and you'd have no comeback.

More importantly, it's rare for anyone to actually use an FQDN that
doesn't actually belong to them (the morons at Bellatlantic being a
notable exception, sigh).

 Brad>     In fact, IIRC, the latest draft of the grandson-of-1036
 Brad> explicitly specifies two different forms of validation, and
 Brad> uses different separator characters in the "Path:" header to
 Brad> allow for this.  One type of validation does require FQDN-style
 Brad> names, and uses the DNS.  The other type does not require
 Brad> FQDN-style names (so "kremvax" would be okay), and simply
 Brad> requires that your peers be explicitly manually configured to
 Brad> allow this label for your site.

No, you don't recall correctly.

 Brad>     Interestingly, I don't believe that the draft addresses at
 Brad> all the issue of guaranteed global uniqueness of path elements,

It probably shouldn't; that's an operational issue.

 Brad> validation methods to ensure that, or registries to help ensure
 Brad> that.  I believe that it simply states that sites should
 Brad> validate their peers correspond to the configuration
 Brad> information they have for them,

Validation and global uniqueness are not the same problem; but the
second does make the first easier.

-- 
Andrew.

Re: [ANNOUNCE] Diablo 2.1-REL available
#46713
Author: Brad Knowles
Date: Wed, 31 May 2000 00:00
19 lines
1854 bytes
In article <1r3dn083mb.fsf@haey.ifi.uio.no>, Kjetil Torgrim Homme 
<kjetilho@haey.ifi.uio.no> wrote:

> No, but the label has to be globally unique, and basing it in DNS or
> traditional UUCP maps is an easy way to enforce this.

    Then we should be discussing the real issue of how do we guarantee 
global uniqueness, and how FQDNs are one possible tool to try to help us 
towards this goal.  We should not be getting mired in the minutiae, and 
unable to see the forest for the trees.

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

Are you a news server administrator outside of North America and Western
Europe?  If so, and you're interested in getting a newsfeed from a server
in the Freenix Top 50, please send me private e-mail for details.

Re: [ANNOUNCE] Diablo 2.1-REL available
#46714
Author: Andrew Gierth
Date: Wed, 31 May 2000 00:00
33 lines
1953 bytes
>>>>> "Jeremy" == Jeremy  <bofh@netscum.dk> writes:

 >>>> I put support for wildcards into my INN verification code for a very
 >>>> good reason.
 
 Jeremy> Yes, but that's not always enough.
 
 >> Why not?

 Jeremy> It requires all the pathstamps to match a pattern,

this is hard?

(of course it would be easier if you named your feeders
*.xit.supernews.com or similar, rather than sn-xit-[0-9][0-9], but I'm
sure you're getting tired of hearing about the virtues of
fully-qualified names from me)

 Jeremy> and in order to be reasonably secure the pattern would need
 Jeremy> to avoid innocently matching things it shouldn't.

FQDNs are your friends....

 Jeremy> You still have to notify dozens or hundreds of peers every
 Jeremy> time you need to change your internal pathstamps.

Yes. So don't do that, except within a consistent scheme that can
be matched by a wildcard, unless you really have to.

-- 
Andrew.

Re: [ANNOUNCE] Diablo 2.1-REL available
#46716
Author: Andrew Gierth
Date: Wed, 31 May 2000 00:00
31 lines
2341 bytes
>>>>> "Ben" == Ben C O Grimm <Ben.Grimm@wirehub.net> writes:

 Ben> Well, consider this:

 Ben> I have three feeders in full-mesh. All three use a path of
 Ben> 'newsfeed.wirehub.nl', and all three have a path exclusion of
 Ben> 'newsfeed.wirehub.nl' for the other feeders. In this setup,
 Ben> Diablo will feed articles from one feeder to the other, despite
 Ben> the path exclusion. That is what I want. I don't think it will
 Ben> feed articles that already have newsfeed.wirehub.nl *twice*,
 Ben> though I haven't checked this. The only thing that bothers me is
 Ben> that this causes double path stamps. So what I would like to
 Ben> see: all feeders feed each other, but newsfeed.wirehub.nl is
 Ben> only being added once.

INN has some code to deal with this: it won't add the normal path
stamp if it's exactly the same as the first existing path stamp.
(I came across this while doing the verification code - naturally,
if it's adding a MISMATCH entry, then it skips the comparison.)

So with INN, if you have a mesh of feeders all with the same name,
articles will only get stamped once regardless of the path they take
through them, unless of course they get fed out and back in again.

There doesn't seem to be any obvious reason not to have the same
facility available in Diablo....

-- 
Andrew.

Re: [ANNOUNCE] Diablo 2.1-REL available
#46717
Author: bill davidsen
Date: Wed, 31 May 2000 00:00
49 lines
3320 bytes
In article <brad-4E528F.14383831052000@news.skynet.be>,
Brad Knowles  <brad@shub-internet.org> wrote:
| In article <39340a65$0$29759@news.execpc.com>, jgreco@ns.sol.net (Joe 
| Greco) wrote:

| > Then devise a way to guarantee uniqueness, or you're opening up a whole
| > ugly can of worms.
| 
|     I think we can separately discuss the issue of uniqueness and 
| methods to try to help ensure that, without getting into a catfight over 
| whether FQDN-style names are required or not.
| 
| 
|     In fact, IIRC, the latest draft of the grandson-of-1036 explicitly 
| specifies two different forms of validation, and uses different 
| separator characters in the "Path:" header to allow for this.  One type 
| of validation does require FQDN-style names, and uses the DNS.  The 
| other type does not require FQDN-style names (so "kremvax" would be 
| okay), and simply requires that your peers be explicitly manually 
| configured to allow this label for your site.

  I said much the same thing and got flamed for it... As long as I can
identify the site which feeds me from the path element preceding mine,
there is accountability. That said, I approve of FQDN as a general
mechanism to avoid the need of following that path a step at a time.

  Back in the UUCP days we actually used path for mail, and there was
much name collision which hurt nothing. Then came the UUCP maps and
things because much smoother, since many sites were only one hop off a
net connected site.

|     Interestingly, I don't believe that the draft addresses at all the 
| issue of guaranteed global uniqueness of path elements, validation 
| methods to ensure that, or registries to help ensure that.  I believe 
| that it simply states that sites should validate their peers correspond 
| to the configuration information they have for them, and recommends a 
| couple of different methods for doing that.  But I don't think 
| guaranteed global uniqueness comes up at all.

  The issues can be separated, I'm not sure in a practical sense that
it's desirable to do the work it takes to make that work.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  "Doing interesting things with little computers since 1979"(tm)
The hardest test of maturity is knowing the difference between
resisting temptation and missing a once-in-a-lifetime opportunity.

Re: [ANNOUNCE] Diablo 2.1-REL available
#46720
Author: bill davidsen
Date: Wed, 31 May 2000 00:00
19 lines
1771 bytes
In article <959700639.549771@news.netscum.dk>, Jeremy  <bofh@netscum.dk> wrote:

| It requires all the pathstamps to match a pattern, and in order to be
| reasonably secure the pattern would need to avoid innocently matching
| things it shouldn't.  You still have to notify dozens or hundreds of
| peers every time you need to change your internal pathstamps.

  I would hate to do that, every time we move to a new network and get a
new IP address I spend far more time than I have just to get the people
who coded the IP instead of the name "for security" to wake up and
change.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  "Doing interesting things with little computers since 1979"(tm)
The hardest test of maturity is knowing the difference between
resisting temptation and missing a once-in-a-lifetime opportunity.

Re: [ANNOUNCE] Diablo 2.1-REL available
#46721
Author: bill davidsen
Date: Wed, 31 May 2000 00:00
31 lines
2256 bytes
In article <3934856c$0$29759@news.execpc.com>,
Joe Greco <jgreco@ns.sol.net> wrote:

| It's amazing that anybody gets anything through to most people who are
| on the net these days.  A bunch of "Just Make It Work" Charlies.

  It's amazing that anything gets done on the net these days, there are
so many people more concerned with being pedantically corrent in
failure.

  I think there's a middle ground, as a matter of policy you should
perhaps just refuse to take a feed from someone who mungs the Path,
trying to get them to believe it's right is optional, I settle for
getting them to believe it only works my way.

  And for all of that some good feeds host virtual servers, and I get a
Path with any of a bunch of FADNs, each of which maps to the same
machine at a different IP. So a string compare will fail on those feeds
most of the time.

  If someone were going to do this right, a table of valid names from
each host would be possible. I settle for popping out a table of path
values once in a while and resolving the odd stuff by hand.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  "Doing interesting things with little computers since 1979"(tm)
The hardest test of maturity is knowing the difference between
resisting temptation and missing a once-in-a-lifetime opportunity.

Re: [ANNOUNCE] Diablo 2.1-REL available
#46722
Author: Joe Greco
Date: Wed, 31 May 2000 00:00
81 lines
4701 bytes
In news.software.nntp article <brad-A9E9EE.15112531052000@news.skynet.be>, Brad Knowles <brad@shub-internet.org> wrote:
:In article <brad-90E0A7.14475431052000@news.skynet.be>, Brad Knowles 
:<brad@shub-internet.org> wrote:
:
:>     Then we should be discussing the real issue of how do we guarantee 
:> global uniqueness, and how FQDNs are one possible tool to try to help us 
:> towards this goal.  We should not be getting mired in the minutiae, and 
:> unable to see the forest for the trees.
:
:    Thinking about this a bit more, I'm left wondering where the global 
:uniqueness needs to be enforced.

It can't be "enforced."  It should fall into the same category of things
such as "don't use an IP address that's not yours."  Administrators need
to be responsible enough to pick for uniqueness.  Peers need to be
responsible enough to sanity check that.

:    Obviously, you have to compare the hostname/IP address of an 
:incoming connection against your local configuration data to see if you 
:could accept the connection.
:
:    Once the connection is accepted, you should compare the leftmost 
:element in the "Path:" header against what you have recorded for that 
:peer in your configuration files, and if it doesn't match then I would 
:suggest rejecting that article (and forgetting the article-id, so that 
:it can come in from another peer but with a correct path header), or at 
:least marking it appropriately.

Agreed.

:    But this doesn't say anything about whether that path element has a 
:FQDN-style name or not.

No.  But it's good if it is, because you solve two problems:

1) Global uniqueness (assuming that the admin verifies that the peer is
   actually allowed to use the specified name, which is usually obvious).
2) The ability to do something like regex matching.  For example, you can
   reliably do "incoming-pathstamp *.sol.net" for my systems, and not
   worry when I move you from transit server to transit server.

With non-FQDN-but-registered-somehow names, you do not necessarily gain
the second benefit, but you do gain the first.

:    If not, are you then supposed to compare the path element against a 
:global database (say, the UUCP maps), presumably via some public 
:mechanism (such as what the RIPE netnews working group is doing with 
:managing certain hierarchies via the DNS), and then drop the article 
:even if the path element matches your configuration for the peer but 
:isn't in the global map(s)?

No.  You do that up front, while configuring the connection.  It is usually
visually obvious.  If you are arranging a news feed with UUNet, you can be
reasonably sure that they own the "*.uu.net" namespace, and so you can do
an "incoming-pathstamp *.uu.net".

If I wanted to use "!solaria!" as a pathstamp, if you're a peer, you should 
verify that in the UUCP maps before installing it in your configuration.
There's no real need to repeatedly verify what's in the configuration:  one
time up front is sufficient.

:    What do you do if there is a DNS hiccup (or other access problems to 
:the database) and you can't validate the path elements for any of your 
:peers?

If your filesystem requires DNS in order to run, you've more severe issues.

:    And if you don't trust your other peers to have done this properly, 
:do you recursively check all of the path elements, and refuse the 
:article if any of them fail to validate in the global database?

You can never know what the relationship your peers have with other nodes
is.  Think: large private network with split horizon DNS.

It should simply be sufficient for the network to work correctly while also
guaranteeing uniqueness.  Enforcing additional checks beyond that is neither
practical nor reasonable, IMO.

... JG

Re: [ANNOUNCE] Diablo 2.1-REL available
#46725
Author: Joe Greco
Date: Wed, 31 May 2000 00:00
80 lines
4699 bytes
In news.software.nntp article <brad-4E528F.14383831052000@news.skynet.be>, Brad Knowles <brad@shub-internet.org> wrote:
:In article <39340a65$0$29759@news.execpc.com>, jgreco@ns.sol.net (Joe 
:Greco) wrote:
:
:> In particular, if there's no global registry of these, then there's no
:> good way to guarantee uniqueness.  This is a problem.
:
:    Whether you use non-FQDN style names or not has no bearing on the 
:uniqueness of the label.  I could easily set up another server somewhere 
:and claim to be ns.sol.net, and if my peers were willing to configure 
:their servers to accept that, then we'd have the same sort of collision 
:with FQDN-style names.

Except that you're not delegated that address, and I'd be sure to come
down on you with lots of weight in the event that you tried.  There _is_
a registry (called the Domain Name System) which delegates authority for
FQDN's.  I can deliberately pretend to be "skynet.be", too, but again,
that is not an address that is delegated to me, and the only excuse I
might have for trying to use it would be deliberate malice.  We are not
discussing deliberate malice...  something which can happen both on line
and in the RW.  We're talking about preventing people from doing stupid
things.  Basically, you are responsible for guaranteeing uniqueness, or
you are opening up problems for yourself.

How do you do that?

:    I agree that the issue of uniqueness is important, but the use of 
:FQDN-style names or the lack thereof does not really have a direct 
:impact on uniqueness (although the use of FQDN-style names would 
:hopefully at least have some influence on the issue).

Yes.  In particular, you should not use a FQDN which isn't yours.  If you
are clever enough to realize that you can register as a UUCP node, that is
fine too.  Otherwise, you're just making up random shit, and there's no
way to say with relative certainty that nobody else should be using this
path tag.

:> What if I happened to choose the Path: tag "!cyberspam!"?
:
:    You could certainly do that, and I don't believe that anything 
:should stop you -- if that label were unique and specific to your site.

How do I, as a new Brad Knowles in the news community, know that it isn't
unique and specific to my site?  :-)

:> Then devise a way to guarantee uniqueness, or you're opening up a whole
:> ugly can of worms.
:
:    I think we can separately discuss the issue of uniqueness and 
:methods to try to help ensure that, without getting into a catfight over 
:whether FQDN-style names are required or not.

Then devise a way to guarantee uniqueness...

[echo... echoo...  choo... ho..]

:    In fact, IIRC, the latest draft of the grandson-of-1036 explicitly 
:specifies two different forms of validation, and uses different 
:separator characters in the "Path:" header to allow for this.  One type 
:of validation does require FQDN-style names, and uses the DNS.  The 
:other type does not require FQDN-style names (so "kremvax" would be 
:okay), and simply requires that your peers be explicitly manually 
:configured to allow this label for your site.

Which is bad, without some sort of registry.

:    Interestingly, I don't believe that the draft addresses at all the 
:issue of guaranteed global uniqueness of path elements, validation 
:methods to ensure that, or registries to help ensure that.  I believe 
:that it simply states that sites should validate their peers correspond 
:to the configuration information they have for them, and recommends a 
:couple of different methods for doing that.  But I don't think 
:guaranteed global uniqueness comes up at all.

Then they're trying to solve the auth problem, without considering the
flood fill optimization problem.  That's bogus.

... JG

Re: [ANNOUNCE] Diablo 2.1-REL available
#46728
Author: Brad Knowles
Date: Wed, 31 May 2000 00:00
51 lines
3316 bytes
In article <brad-90E0A7.14475431052000@news.skynet.be>, Brad Knowles 
<brad@shub-internet.org> wrote:

>     Then we should be discussing the real issue of how do we guarantee 
> global uniqueness, and how FQDNs are one possible tool to try to help us 
> towards this goal.  We should not be getting mired in the minutiae, and 
> unable to see the forest for the trees.

    Thinking about this a bit more, I'm left wondering where the global 
uniqueness needs to be enforced.


    Obviously, you have to compare the hostname/IP address of an 
incoming connection against your local configuration data to see if you 
could accept the connection.

    Once the connection is accepted, you should compare the leftmost 
element in the "Path:" header against what you have recorded for that 
peer in your configuration files, and if it doesn't match then I would 
suggest rejecting that article (and forgetting the article-id, so that 
it can come in from another peer but with a correct path header), or at 
least marking it appropriately.


    But this doesn't say anything about whether that path element has a 
FQDN-style name or not.


    If not, are you then supposed to compare the path element against a 
global database (say, the UUCP maps), presumably via some public 
mechanism (such as what the RIPE netnews working group is doing with 
managing certain hierarchies via the DNS), and then drop the article 
even if the path element matches your configuration for the peer but 
isn't in the global map(s)?

    What do you do if there is a DNS hiccup (or other access problems to 
the database) and you can't validate the path elements for any of your 
peers?

    And if you don't trust your other peers to have done this properly, 
do you recursively check all of the path elements, and refuse the 
article if any of them fail to validate in the global database?

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

Are you a news server administrator outside of North America and Western
Europe?  If so, and you're interested in getting a newsfeed from a server
in the Freenix Top 50, please send me private e-mail for details.

Re: [ANNOUNCE] Diablo 2.1-REL available
#46729
Author: Andrew Gierth
Date: Wed, 31 May 2000 00:00
17 lines
1541 bytes
>>>>> "Joe" == Joe Greco <jgreco@ns.sol.net> writes:

 Joe> Now, one could use the UUCP maps.  I could still put "!solaria!"
 Joe> in a Path, and I should be guaranteed uniqueness because that is
 Joe> a registered UUCP node name.

Except that most people who use unqualified names don't bother to
check the UUCP maps first... usually they are using their actual local
hostname, sans domain, as the path stamp.

Occasionally I manage to get through to someone that this is a bad
idea, but not very often.

-- 
Andrew.

Re: [ANNOUNCE] Diablo 2.1-REL available
#46730
Author: Robert Kiessling
Date: Wed, 31 May 2000 00:00
11 lines
1236 bytes
jgreco@ns.sol.net (Joe Greco) writes:

> 3) Hack up something to remove previous instances of "common.mynews!"
>    from the Path:.  This is not, however, in my opinion, valid.

It should be, if you remove it only if it's the first entry in the
Path:.

Robert

Page 1 of 2 • 67 total messages
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