Article View: news.software.nn
Article #11418Re: Replace Google Groups with ?
From: John F. Morse
Date: Tue, 07 Aug 2012 06:33
Date: Tue, 07 Aug 2012 06:33
235 lines
10902 bytes
10902 bytes
Aaron W. Hsu wrote:
> "John F. Morse" <john@example.invalid> writes:
>
>> I discovered this problem a few years ago when using TIN. Urs Jan๏ฟฝen,
>> the TIN developer, who is active in the news.software.readers group
>> (where this discussion really should be taking place), added the -A
>> command option to "force authentication on initial connect." That fixed TIN.
>>
>
> So this is not just an NN issue, and there is precedent historically for
> newsreaders not to authenticate explicitely at the beginning. Anyways,
> you will be pleased to know that I have already commited a fix for this
> in my 6.8.0 release of NN (not yet released, but available via GitHub [1]).
>
Historically there was little or no need to authenticate. Spammers were
not a problem yet, and pay subscriptions from NSPs were not widespread.
An ISP could control access to their news servers by checking user
accounts when accessing the ISP (e.g. CHAP, MAC, or via IP netblocks).
Newsreaders of yesterday were rather simple. The first improvement they
provided was probably threading.
Later access problems required authentication. That was added as well as
all the other bells and whistles, like scoring and killfiles, HTML,
attachments, displaying images, decoding, joining multiparts, UTF
support, various storage formats (mbox, maildir, MH), colors, flagging,
multiple server access, ....
That is why I made the statement that NN was rather "old" (or however I
worded it). You are using NN in the old school philosophy, on servers
protected in different ways (known IP netblock access from a cable ISP
for instance). And from NSPs that have only one set of authentication
access path privilege.
NN certainly works for your style, and likely for many others, but time
has changed a lot of things. Many newsreaders have kept up with current
needs, and some still lack some things, like TLS, which is important if
you don't want the "man-in-the-middle" to sniff your password.
Corporations, universities, governments, and Usenet resellers need more
complicated authentication methods.
Consider how many people now broadcast their account info, including
password, when they use WiFi without TLS/SSL.
The "man-in-the-middle" works nights somewhere, in an Internet hub, at
your ISP, for an NSP, for Google, Yahoo, Hotmail, AT&T, Verizon,
TimeWarner, ..., and steals data to sell it. Money is the root of all
evil, and they aren't satisfied with the low pay these companies give them.
Who could have guessed five years ago that NNTP was on its deathbed from
disuse, and from troll flames, and most computer users would buy a
laptop from BestBuy or OfficeDepot, and spend their entire online life
on Facebook? :-(
Things change, and even though there is a familiarity factor and love
for a certain historic software program, it is often time to let it take
it's last breath and move on, maybe focusing your precious time to help
on a similar software product that already is way ahead.
That is a choice that you have to make, of course. I somehow hope you
will keep plodding and fixing NN, if for no other reason than to satisfy
your own desire to use an old friend. I'm sure others will chime in with
similar views.
I'll do what I can to provide what I can, which is probably limited to
testing with INN.
> It adds an nntp-auth boolean flag to indicate whether or not to force
> authentication on connect.
>
> So, this will fix NN with servers that are configured the way that yours
> are, though I still maintain that you should change the response codes
> that your server is sending as its initial greeting, and that you should
> consider listing all the groups, not just one, to unauthenticated users;
> you don't have to give them read access, just let them know they are there.
>
INN is one huge set of programs, and I wouldn't know where to start.
I'm not the developer, but only an occasional submitter of bugs and
ideas, submitting a rare patch here and there.
Considering your patch, I don't know GitHub at all, and barely can make
my way around the trac system that INN developers use.
I can apply patches using the patch command, but that requires a diff
file, and is for source or Perl, Python, BASH, and other scripting
languages.
If what you are doing for a patch is writing a new source, I would need
to compile it. I hesitate to do this because my NN is a Debian package,
and as you suspect, is customized for Debian-based systems.
I suppose I could compile it and "make install" into /usr/local/bin
which would protect it from the Debian APT updates and upgrades, and
also protect the Debian version of NN.
But I'd need to worry about the data and config files created in /etc
and /home getting clobbered.
I could use a different computer (I have 65 or so here, wired to the LAN
and ready to go), but they are mostly all in the basement. I could and
usually do use SSH when working on them, but I think I'd just as soon
wait until the patched (new) NN is available for Debian (hint: submit it).
And I'm out of time. I have two big projects setting idle while I do
what I like to do, which is this NNTP stuff.
I'm disabled, so physical activity is rather difficult, and I'm really
slowing down (age is 67). That is why I use SSH to maintain headless
basement servers remotely from three floors above. No elevator.
I have plans and supplies sitting to insulate my two-car garage, but it
is too hot right now. That is what I said last summer!
My peripheral neuropathy (numb feet and legs) makes getting around
rather difficult. It's like living on stilts, and trying to go to sleep
with spiders crawling around on my legs.
I also have designed large shelving units for the basement for storing
so much collected junk, and need to keep pressing on with that project
before I croak, and my wife is stuck with it. This "junk" includes
everything my mother owned when she died in 2002, and that includes
everything her parents owned when they died in 1955-58. Both of them
were hoarders.
When people ask me, "how are you doing?" I always answer with, "I reckon
I'm doing about the bast I can."
That keeps me from lying. ;-)
Learned that from what Hoke Colburn (Morgan Freeman) told Boolie Werthan
(Dan Aykroyd) while they were working on the freight elevator at the
start of "Driving Miss Daisy."
Hope this newsgroup doesn't mind a little occasional OT gab. ;-)
>> That is correct, and I do understand you. NN is broken for use with a
>> news server that operates with authentication and has groups which
>> require no authentication.
>>
>
> More precisely 6.7.3 does not work as may be expected with a server
> that does not present the full groups list *and* does not send a 201
> code as its initial greeting. It *will* work as expected for a server
> that simply requires authentication for some groups but not others.
> Or that does one or the other of the above two troublesome things.
>
INN authenticates on initial connection, so later unauthorized access
"groups" are unknown at that time.
The initial connection authentication does authorize the connection to
certain groups, but you cannot go back and re-authenticate and get into
another authorized set of groups.
My readers.conf is pretty simple. You get * (wildmat regex for
everything) if you successfully authenticate.
If not you fall through to only the local.info access.
auth "global" {
hosts: "*"
auth: "/usr/lib/news/bin/auth/passwd/ckpasswd -f
/var/lib/news/passlist"
default: "<anonymous>"
}
auth "localhost" {
hosts: "stdin,localhost"
auth: "/usr/lib/news/bin/auth/passwd/ckpasswd -f
/var/lib/news/passlist"
default: "<localhost>"
}
access "authenticated" {
users: "*"
newsgroups: "*,!junk,!control,!control.*"
}
access "special" {
users: "<localhost>,newsmaster"
newsgroups: "*"
access: "RPNAL"
}
access "public" {
users: "<anonymous>"
read: "local.info"
}
For info on the above, please see:
http://www.eyrie.org/~eagle/software/inn/docs-2.5/readers.conf.html
The file is parsed down, then back up to the last match, if I remember
correctly.
>> This can be accomplished easily with a command line option such as TIN
>> uses. Or it can be stored in a configuration file that NN reads. Or both.
>>
>
> It can now be done with both in NN as well. :-)
>
>
>> So it is a stalemate, unless NN is patched to force
>> authentication or at least have it as an option when connecting, like
>> TIN does with the -A command option.
>>
>
> Done.
>
Thank you for your efforts, Aaron. I'll try and get this version running
on something soon.
Please submit to Debian where it will be available for Sid and maybe Wheezy.
--
John
When a person has -- whether they knew it or not -- already
rejected the Truth, by what means do they discern a lie?
Technical Details
Message-ID:
<jvqcrj$l6b$1@n102.xanadu-bbs.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.20140326.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!eweka.nl!hq-usenetpeers.eweka.nl!news.glorb.com!v102.xanadu-bbs.net!optima2.xanadu-bbs.net!optima11.xanadu-bbs.net!optima5.xanadu-bbs.net!n102.xanadu-bbs.net!xanadu-bbs.net!.POSTED!not-for-mailReferences:
<c6e80c2a-e732-4f7c-8071-48c2d284a81a@googlegroups.com> <1aydncHF-7-KR4fNnZ2dnUVZ_u-dnZ2d@giganews.com> <jvet6k$n0i$1@n102.xanadu-bbs.net> <4fSdndK4LcY5vYHNnZ2dnUVZ_h2dnZ2d@giganews.com> <jvhorp$ekl$1@n102.xanadu-bbs.net> <CpOdnbBHrtmv6oDNnZ2dnUVZ_iydnZ2d@giganews.com> <jvktrf$8g2$1@n102.xanadu-bbs.net> <xYGdndRdjYlVv4PNnZ2dnUVZ_hydnZ2d@giganews.com> <jvom7t$7dc$1@n102.xanadu-bbs.net> <RrWdnUVuhPI0i73NnZ2dnUVZ_u-dnZ2d@giganews.com>Show Full Headers
Complete Article Headers
Message-ID: <jvqcrj$l6b$1@n102.xanadu-bbs.net> Subject: Re: Replace Google Groups with ? Date: Tue, 07 Aug 2012 01:33:23 -0500 From: "John F. Morse" <john@example.invalid> References: <c6e80c2a-e732-4f7c-8071-48c2d284a81a@googlegroups.com> <1aydncHF-7-KR4fNnZ2dnUVZ_u-dnZ2d@giganews.com> <jvet6k$n0i$1@n102.xanadu-bbs.net> <4fSdndK4LcY5vYHNnZ2dnUVZ_h2dnZ2d@giganews.com> <jvhorp$ekl$1@n102.xanadu-bbs.net> <CpOdnbBHrtmv6oDNnZ2dnUVZ_iydnZ2d@giganews.com> <jvktrf$8g2$1@n102.xanadu-bbs.net> <xYGdndRdjYlVv4PNnZ2dnUVZ_hydnZ2d@giganews.com> <jvom7t$7dc$1@n102.xanadu-bbs.net> <RrWdnUVuhPI0i73NnZ2dnUVZ_u-dnZ2d@giganews.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.20140326.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!eweka.nl!hq-usenetpeers.eweka.nl!news.glorb.com!v102.xanadu-bbs.net!optima2.xanadu-bbs.net!optima11.xanadu-bbs.net!optima5.xanadu-bbs.net!n102.xanadu-bbs.net!xanadu-bbs.net!.POSTED!not-for-mail Newsgroups: news.software.nn Organization: Xanadu BBS Lines: 235 Reply-To: dont.bother NNTP-Posting-Host: 4qHUE4Vte7yJH24F0tJGG5ugKIE Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: newsmaster@xanadu-bbs.net NNTP-Posting-Date: Tue, 7 Aug 2012 06:33:23 +0000 (UTC) User-Agent: Thunderbird 2.0.0.24 (X11/20101027) In-Reply-To: <RrWdnUVuhPI0i73NnZ2dnUVZ_u-dnZ2d@giganews.com> X-Enigmail-Version: 0.96.0 X-Original-Bytes: 10568