🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #59716

Re: Ny grupp? (Was: Re: cmsg newgroup dk.republican.barry-bouwsma)

#59716
From: BOUWSMA Beery
Date: Sun, 28 Jul 2002 12:48
159 lines
8561 bytes
Halli-hallooo...
%s wrote on %.3s, %lld Sep 1993

> As far as I know:

Weasel words if I e'er saw 'em...


>  INN uses only the forward lookup to identify peers, and it caches data
>  indefinitely (until reloaded) for incoming access. innfeed has some
>  configurable DNS lookup intervals that might be sufficient for outgoing.

A good reason for this, is that innd/innfeed are (were) single-
threaded, and the DNS lookups are blocking, quite noticeable in the
case of innfeed where it would stall if any peer had DNS problems
when making a connection, which it typically does frequently.

Same with innd, where a reload could take a bit of time to complete,
during which time nothing would be happening.  If I recall, the innfeed
DNS data is cached for a default of a day; setting it lower for all
peers would result in the old undesirable behaviour (is it possible
to set this on a per-peer basis, he muses?)

The danger of a reload is that not only does it sometimes take a
bit of time, but in case you don't get fresh data about certain
peers, they get locked out and their future connections are
rejected with permission denied.  Obviously the solution here is
to have a caching DNS swerver that's queried, and to keep its
cache primed regularly, so that it has the data at hand and a
reload takes no time at all.  That's what I set up the last time
I had control of an INN box.  And of course to use IPs for those
peers with fixed IPs in addition to the hostnames, so they can
still get in after or during DNS problems.


>  Diablo _used_ to use the reverse lookup to identify peers, but since

That's what I remember giving me problems: making use of a common
name for all boxes, one that had multiple A or AAAA records, which
is similar to not being in control of my PTR data.


>  about version 2.x it also uses the forward lookup, with a refresh time
>  of 10 minutes or so for its host lookup cache. If a hostname is given in
>  the diablo.hosts, without wildcards, then a forward lookup will be done on
>  that name at every refresh interval, and the resulting IPs added to the
>  cache.

Ah, interesting.  Sounds like I'd have no problem accessing a
Diablo peer after the 25 minutes worst case I believe it would
take for my changed IP to be seen at any other site...

I presume the case of wildcard hostnames relies on the PTR
entry, and would fail in my case, and in the case of a multiple-
IP entry if the machines pointed to don't all follow that naming
convention.  That explains what I seem to recall seeing from
sites whose overzealous admins tried to simplify the `newspHarm'
name I used to `news*' at that domain, letting in some machines
but not others, which I didn't bother to investigate at the
time.  Thanks.

Now the Diablo cache, I presume my old IP would expire out of
the cache at the TTL value, so there's no real danger of the
next person to get hold of my old IP being able to transfer
vast quantities of data to my peers?  That is, this data isn't
held for a day or so in case of potential DNS problems, the
way that INN caches it indefinitely until reload?


>  Cyclone uses (if I recall correctly) the reverse lookup if a peer is
>  configured by name, so that's probably not going to be any use to you.

Hmmm, I could be mistaken, but I don't recall that being the
case.  At least, I don't recall having any real difficulties
with Cyclone peers, and I did have a handful of them.


> > Of course, those feeds who hold their connections
> > open for hours at a time would need to be notified,

> well, in theory those connections should time out and drop if the machine
> at the other end is no longer present on that IP.

In theory.  If they're active (I recall older innfeed would not
distribute articles evenly across all connections, so that some
would open to send an article or none, then time out after the
user-configured interval, which of course I bumped way up in
order to avoid the delay of opening new connections, just as I
bumped down the max time between successive attempts to connect
to down hosts in order to be back up quickly (who accepts the
defaults, anyhows...)).

This also counts on the TCP stack to DTRT, and I vaguely recall
some OSen having unpleasantly high timeouts.  Naturally, if a
different machine is on that IP, it'll get those packets, and,
probably have a firewall that silently bitbuckets them rather
than resetting the connection, grrr.

I'm thinking that since I know of the IP change immediately via
the DHCP client program/scripts, it's trivial for me to send a
signal locally to the news programs and any helper applications
to immediately take over the new IP, which of course would need
a bit of hackery, which hackery could also be applicable to a
remote site, though without the advantage of local signals.

Not that I could imagine anyone voluntarily allowing me to have
control over what I do to their machines.  Also, while I don't
need the fine-grained control locally to isolate a single peer
and update its info (just flush everything), that's what I'd
need to do remotely, which actually would be pretty easy:
just flush the innfeed feed to the peer.  The only real issue
would be getting the updated DNS info, then flushing the peer/
reloading incoming feeds.

Whether it's worth it or not, though...  Well, it looks like
here my IP changes seldom if I'm online, and I just got unlucky
once.  If I go offline, though, like take a holiday or do some
major hardware work, then I'm pretty much sure to get an new IP
and the difficulties that result.


> > Now, as the PTR entry for the IP of news.netscum.dyndns.dk
> > does not match news.netscum.dyndns.dk itself, I seem to recall
> > there were some software packages where peering from such a
> > site would fail.

> I think that would apply to Cyclone and ancient Diablo versions; INN and
> newer Diablo should be ok.

Okay, lets ignore that for now.  The next question would be,
what software packages would be capable of natively feeding
and being fed from news.netscum.dyndns.dk ?  It looks as if
recent INN can do so, but that also probably means I can't run
my beloved old k0deZ that I know and love, unless I use hackery
like `faithd' which is probably going to break lotsa things.

It looks as if Diablo has had that ability for a month or so now,
but I don't see anything about Cyclone (other than the ircd).
Or DNEWS.


> possible to make this work with no custom hackery required and only
> temporary outages in feeding on every change of IP.

It sounds like, in the case of INN peers, something would have
to be done for my feed to them -- much more than potential Diablo
peers.  I suspect that I'd have far more INN peers for practical
reasons on a limited-bandwidth dynamic IP, since it looks like
the majority of smaller sites are using it -- also I'd guess I'd
be more likely to find INN sites capable of talking to me based
on how long compatible k0deZ have been out there (just how old
is the Diablo you use, anyway?)...


thanks,
barry bouwsma

Technical Details
Message-ID: <000O000O0O@news.radio.cz>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!skynet.be!skynet.be!news.mailgate.org!news-zh.switch.ch!news.swissonline.ch!news.radio.cz!news.netscum.dk!suckazoid.netscum.dk!news.netscum.dyndns.dk.POSTED!not-for-pedophiles
References: <aibnhu83hp7ba9ecnpec44bq6q00af33hb@4ax.com> <lh41iu00fkeqro00f326ih2ojfd334uh89@perv.se> <nc7hiukkeiag6e3vvtqlevmq3sq5ok43ho@4ax.com> <0O0OOO00O0@news.radio.cz> <slrnak17c0.2q40.andrew+nonews@trinity.supernews.net>

Show Full Headers
Complete Article Headers
Message-ID: <000O000O0O@news.radio.cz>
Subject: Re: Ny grupp? (Was: Re: cmsg newgroup dk.republican.barry-bouwsma)
Date: Sun, 28 Jul 2002 12:48:48 +0000
From: BOUWSMA Beery <usenet-pedophile@news.netscum.dyndns.dk>
References: <aibnhu83hp7ba9ecnpec44bq6q00af33hb@4ax.com> <lh41iu00fkeqro00f326ih2ojfd334uh89@perv.se> <nc7hiukkeiag6e3vvtqlevmq3sq5ok43ho@4ax.com> <0O0OOO00O0@news.radio.cz> <slrnak17c0.2q40.andrew+nonews@trinity.supernews.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!skynet.be!skynet.be!news.mailgate.org!news-zh.switch.ch!news.swissonline.ch!news.radio.cz!news.netscum.dk!suckazoid.netscum.dk!news.netscum.dyndns.dk.POSTED!not-for-pedophiles
Organization: The Secret Software Conspiracy (There is no Secret Software Conspiracy)
X-Pedophile: BARRY B0USWMA IS A PEDOPHILE!!!
X-Newsreader: Telnet 119
X-Meow: *PLONK*
X-Internet-Access-Provided-By: Cabal Modem (All Hail The Secret CABAL)
X-One-And-Only-Real-True-Fluffy: NO.
Newsgroups: news.software.nntp
NNTP-Posting-Host: 217.162.144.23
X-Trace: news.swissonline.ch 1027860528 217.162.144.23 (28 Jul 2002 14:48:48 +0200)
Lines: 158
X-Complaints-To: abuse@swissonline.ch