🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by BOUWSMA Beery Thu, 25 Jul 2002 19:49
Re: Ny grupp? (Was: Re: cmsg newgroup dk.republican.barry-bouwsma)
#59678
Author: BOUWSMA Beery
Date: Thu, 25 Jul 2002 19:49
97 lines
5952 bytes
Johan M. Olofsson <jmo@spamcop.USENETCABAL.net> wrote on %.3s, %lld Sep 1993

: Newsgroups: swnet.diverse,swnet.alt.flame,dk.republican.barry-bouwsma,dk.snak.mudderkastning,dk.admin.netikette,news.software.nntp,dk.pedophile.jan-chrillesen,stanford.pedophile.russ-allbery,tdc.general

Sorry, the news swerver that I access via a wide-open pr0xy is
DNEWS and carries none of the above groups save for one, forbidding
posting to any of the others, so I must regrettably trim the list
down to the singularity to which this wide-0pen p0rxy allows me to
post.  Feel free to followup and un-sneck this header to its true
glory, okaythanksbye.


> > Ol�,
> > On List Subscription Additions
> > <opt-in-emailmarketing-lists@usenetcabal.org> in Fri, 28 Jun 2002
> > 00:34:01 +0000 control.newgroup ha scritto/a �crit:
> > 
> > > 
> > > For your newsgroups file:
> > > dk.republican.barry-bouwsma Barry Bouwsma toilet trains Ronnie Reagan.
> > 
> > ????
> 
> I subscribed hoping for political enlightenment, but it seems like
> a worthless group as most posts are from Barry describing the best
> ways to deal with his incontinence problems caused by getting
> repeatedly fucked in the ass by Russ Allbery and AIDS spreading
> Aarhus queers like Jan Chrillesen and Jurgen.

That's true, one can only read so many hawt stories about anal
fissures before one tires of the vast promises that Thee Internet
has to offer.

Speaking of anal fissures and DSL connections, has anyone anal(*HAW*)-
yzed the needs of the different news peering softwares to handle a
news swerver set up on the other end of a line with a dynamic IP?
Not that I'm intending to set up a swerver and weasel my way back
into the Top Ten on the downside of a dynamic IP or anything, but
assuming the recipient/peer on a DHCP-assigned connection has hacked
the DHCP skr1ptZ to update the DNS info as needed, said peer should
be able to notify its peers on receipt of a DHCP IP address change,
to signal them to close any connections they may have to the old IP
address and start afresh.

Take for example, INN, because I have a splitting headache.  The
last version (1.4unoff4) that I had the ecstacy of running (plus
innfeed) would do lookups on the incoming feeds and cache them
for eternity, so I'd need to send a notification to my INN peers
to reload the hosts.nntp file (to catch each and every change to
news.netscum.dyndns.dk) so they'd let me in from the new IP.

Also, innfeed cached the lookups for a default of a day, so again
innfeed would have to be signalled to lookup the name of the
particular peer that's changed IP in order to feed to the new IP.

Other feeding software does lookups much more frequently without
caching them, so the time for stale data would be the TTL of the
dynamic DNS service, after which the feed could be re-established.
Assuming the peer on the dynamic IP end detected the change of
its IP and Did The Right Thing to its software to grab hold of
the new address for both incoming feeds and existing outgoing
connections (which would have to be closed uncleanly and re-
opened).  Of course, those feeds who hold their connections
open for hours at a time would need to be notified, while those
who feed a batch per minute don't need such.

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.

Otherwise, has anyone actually tried setting up a peering
with a site whose IP might change on occasion (it's happened
to me) out from under it, and attempted to do something
about this by means of custom hackery to allow the peer to
notify the feeding site of changes to the IP by means of
custom hacks?

Or am I just talking out my painfully torn rectum again, and
should implement such a scheme myself to interface with the
various feeding softwares out there, ideally relying on the
authoritativeness of the DNS data after a bit of propagation
delay to re-establish the connections to the updated IP
rather than trying to encapsulate such data in a potentially
insecure packet in a custom format?

Or should I simply bone up the bucks to pay for a static
fixed IP in order to reclaim my rightful place within the
Top Ten and thereby marginally increase my chances of obtaining
meaningful and vaguely gainful employment?


Yours most sincerely,
Charlie Fluffy, Esq.
(not a newsbastard)

Re: Ny grupp? (Was: Re: cmsg newgroup dk.republican.barry-bouwsma)
#59684
Author: Andrew - Supernews
Date: Fri, 26 Jul 2002 00:53
62 lines
3867 bytes
In article <0O0OOO00O0@news.radio.cz>, BOUWSMA Beery wrote:
> Speaking of anal fissures and DSL connections, has anyone anal(*HAW*)-
> yzed the needs of the different news peering softwares to handle a
> news swerver set up on the other end of a line with a dynamic IP?
> Not that I'm intending to set up a swerver and weasel my way back
> into the Top Ten on the downside of a dynamic IP or anything, but
> assuming the recipient/peer on a DHCP-assigned connection has hacked
> the DHCP skr1ptZ to update the DNS info as needed, said peer should
> be able to notify its peers on receipt of a DHCP IP address change,
> to signal them to close any connections they may have to the old IP
> address and start afresh.
> 
> Take for example, INN, because I have a splitting headache.  The
> last version (1.4unoff4) that I had the ecstacy of running (plus
> innfeed) would do lookups on the incoming feeds and cache them
> for eternity,

I believe this is still the case.

As far as I know:

 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.

 Diablo _used_ to use the reverse lookup to identify peers, but since
 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.

 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.

Operationally, our experience is that the Diablo peers are usually the
fastest to react when we change the IPs given in the DNS entries that they
are feeding to. (It's less easy to tell the other way around, because we
list all our transit addresses in the outgoing alias.)

> 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.

> 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.

I think with reasonable care (and picking the right peers) it should be
possible to make this work with no custom hackery required and only
temporary outages in feeding on every change of IP.

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
Re: Ny grupp? (Was: Re: cmsg newgroup dk.republican.barry-bouwsma)
#59708
Author: Jeffrey M. Vinocur
Date: Sat, 27 Jul 2002 17:34
29 lines
2215 bytes
In article <slrnak17c0.2q40.andrew+nonews@trinity.supernews.net>,
Andrew - Supernews  <andrew@supernews.com> wrote:
>
> INN uses only the forward lookup to identify peers, and it caches data
> indefinitely (until reloaded) for incoming access.

Yeah.  You could certainly put `ctlinnd reload incoming.conf` in
cron with the desired frequency, though.  (I believe that reload
will do blocking DNS lookups, though, so if any of the entries in
incoming.conf have unreliable/slow DNS the reloading could take a
nontrivial amount of time, so be warned.)

A workaround to this is to set up a VPN of some sort, so the IP
address doesn't change.  


> innfeed has some configurable DNS lookup intervals that might
> be sufficient for outgoing.

Hmm.  Possibly, depending on whether there are significant
periods where the dynamic server isn't connected at all.  When
innfeed starts backing off from retrying the connection, it can
take a while for it to notice the remote end is back.  (Perhaps
innxmit would be better here.)

-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Ny grupp? (Was: Re: cmsg newgroup dk.republican.barry-bouwsma)
#59716
Author: 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

Re: Ny grupp? (Was: Re: cmsg newgroup dk.republican.barry-bouwsma)
#59715
Author: Andrew - Supernews
Date: Sun, 28 Jul 2002 14:14
70 lines
4250 bytes
In article <000O000O0O@news.radio.cz>, BOUWSMA Beery wrote:
[diablo] 
>>  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.

I misremembered the refresh interval; it seems to default to an hour, but
there's no particular reason why it couldn't be configured to a lower value
(it doesn't intrude on normal processing at all).

> 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,

yes.

> 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.

yes, that sounds reasonable.

> 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?

Diablo rebuilds the hosts cache completely at every refresh interval,
so nothing should be held longer than the TTL + the refresh interval
in the worst case.
 
> 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.

yeah, but that increases the chance that connections will have timed out
or failed while you were offline. Of course, if some miscreant happened
by chance to get assigned your IP while you were offline....

[...] 
> 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?)...

the diablo we use is actually fairly old - it's a 2.x version that we
took a scalpel to, removing a lot of stuff that we weren't interested in
and fixing up some performance issues.

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
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