🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
14 messages
14 total messages Started by DB Wed, 25 Feb 2004 20:11
pullnews and authentication ?
#68337
Author: DB
Date: Wed, 25 Feb 2004 20:11
19 lines
2165 bytes
I've set up inn 2.3.4 on a machine on may lan. I want it to pull news 
from my ISP's news server every few hours and store it so I can read it 
at my leisure. I've done this before and it works great... messages load 
fast 'cuz they're stored locally.

But now it looks like my ISP (Adelphia) is requiring authenitcation, so 
when I run pullnews, I get the following error:

    connecting to upstream server news2.news.adelphia.net...done.
    Cant issue MODE READER command: 480 authentication required

I've tried Google but can't seem to find an answer. Ceratinly I'm not 
the first to have this question. Can anyone provide a hint about how to 
have pullnews authenticate? If not, is there an alternative to pullnews 
that can do authentication?

Thanks for any hints

DB
Re: pullnews and authentication ?
#68338
Author: Tim Skirvin
Date: Wed, 25 Feb 2004 21:01
36 lines
2585 bytes
DB <junk@yahoo.com> writes:

>But now it looks like my ISP (Adelphia) is requiring authenitcation, so 
>when I run pullnews, I get the following error:

	pullnews' authentication is slightly hosed.  What I had to do to
make it work (obviously working on different versions here):

diff pullnews /usr/local/bin/pullnews
7c7
< # RCSId:        $Id: pullnews.in,v 1.2.2.2 2000/09/20 15:21:51 kondou Exp $
---
> # RCSId:        $Id: pullnews.in,v 1.4 2000/09/20 15:21:48 kondou Exp $
64c64
< $Id: pullnews.in,v 1.2.2.2 2000/09/20 15:21:51 kondou Exp $
---
> $Id: pullnews.in,v 1.4 2000/09/20 15:21:48 kondou Exp $
261a262,267
>     if ($username && !$upstream->authinfo($username, $passwd)) {
>       warn sprintf ("failed to authorize: %s %s\n",
>                     $upstream->code(), $upstream->message());
>       next;
>     }
> 
267,272d272
< 
<     if ($username && !$upstream->authinfo($username, $passwd)) {
<       warn sprintf ("failed to authorize: %s %s\n",
<                     $upstream->code(), $upstream->message());
<       next;
<     } 

			   - Tim Skirvin (tskirvin@killfile.org)
-- 
http://www.killfile.org/~tskirvin/  Skirv's Homepage <FISH>< <*>
http://www.ks.uiuc.edu/~tskirvin/	       Skirv's Work + CV
Re: pullnews and authentication ?
#68340
Author: Russ Allbery
Date: Wed, 25 Feb 2004 22:33
16 lines
1750 bytes
DB <junk@yahoo.com> writes:

> But now it looks like my ISP (Adelphia) is requiring authenitcation, so
> when I run pullnews, I get the following error:

>     connecting to upstream server news2.news.adelphia.net...done.
>     Cant issue MODE READER command: 480 authentication required

That's rather odd that a server would require authentication before MODE
READER.  I'll take a look at Tim's patch, though.

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: pullnews and authentication ?
#68341
Author: Tim Skirvin
Date: Wed, 25 Feb 2004 23:46
13 lines
1863 bytes
Russ Allbery <rra@stanford.edu> writes:

>>     connecting to upstream server news2.news.adelphia.net...done.
>>     Cant issue MODE READER command: 480 authentication required
>That's rather odd that a server would require authentication before MODE
>READER.  I'll take a look at Tim's patch, though.

	It's INN that's doing it.

			   - Tim Skirvin (tskirvin@killfile.org)
-- 
http://www.killfile.org/~tskirvin/  Skirv's Homepage <FISH>< <*>
http://tskirvin.livejournal.com/             Skirv's LiveJournal
Re: pullnews and authentication ?
#68342
Author: DB
Date: Wed, 25 Feb 2004 23:48
56 lines
3099 bytes

Tim Skirvin wrote:

> DB <junk@yahoo.com> writes:
> 
> 
>>But now it looks like my ISP (Adelphia) is requiring authenitcation, so 
>>when I run pullnews, I get the following error:
> 
> 
> 	pullnews' authentication is slightly hosed.  What I had to do to
> make it work (obviously working on different versions here):
> 
> diff pullnews /usr/local/bin/pullnews
> 7c7
> < # RCSId:        $Id: pullnews.in,v 1.2.2.2 2000/09/20 15:21:51 kondou Exp $
> ---
> 
>># RCSId:        $Id: pullnews.in,v 1.4 2000/09/20 15:21:48 kondou Exp $
> 
> 64c64
> < $Id: pullnews.in,v 1.2.2.2 2000/09/20 15:21:51 kondou Exp $
> ---
> 
>>$Id: pullnews.in,v 1.4 2000/09/20 15:21:48 kondou Exp $
> 
> 261a262,267
> 
>>    if ($username && !$upstream->authinfo($username, $passwd)) {
>>      warn sprintf ("failed to authorize: %s %s\n",
>>                    $upstream->code(), $upstream->message());
>>      next;
>>    }
>>
> 
> 267,272d272
> < 
> <     if ($username && !$upstream->authinfo($username, $passwd)) {
> <       warn sprintf ("failed to authorize: %s %s\n",
> <                     $upstream->code(), $upstream->message());
> <       next;
> <     } 
> 
> 			   - Tim Skirvin (tskirvin@killfile.org)

I'm sure it is obvious that I'm not a hacker, but I don't see what's 
different between those two? What am I not seeing?

Also, am I correct in assuming that the username and pasword info lives 
in /etc/news/passwd.nntp ?

Thanks again

DB
Re: pullnews and authentication ?
#68343
Author: Russ Allbery
Date: Wed, 25 Feb 2004 23:57
19 lines
1969 bytes
Tim Skirvin <tskirvin@killfile.org> writes:
> Russ Allbery <rra@stanford.edu> writes:

>>>     connecting to upstream server news2.news.adelphia.net...done.
>>>     Cant issue MODE READER command: 480 authentication required

>> That's rather odd that a server would require authentication before MODE
>> READER.  I'll take a look at Tim's patch, though.

> 	It's INN that's doing it.

Oh, right, innd has that bizarre half-implemented authentication stuff
that ignores AUTHINFO USER.  Bleh.

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: pullnews and authentication ?
#68345
Author: Tim Skirvin
Date: Thu, 26 Feb 2004 00:02
27 lines
2250 bytes
DB <junk@yahoo.com> writes:

>I'm sure it is obvious that I'm not a hacker, but I don't see what's 
>different between those two? What am I not seeing?

	It's just an order of operations thing.  You can download my
patched version if you'd like, from:

	http://www.killfile.org/~tskirvin/software/scripts/pullnews

>Also, am I correct in assuming that the username and pasword info lives 
>in /etc/news/passwd.nntp ?

	Actually, in this case it goes in your ~/.pullnews file: 

news.server.name USERNAME PASSWORD
	group.one
	uiuc.test
	free.tim-skirvin-is-god
	alt.fans.tim_skirvin.die.die.die

	(I swear that those last two groups exist.)

			   - Tim Skirvin (tskirvin@killfile.org)
-- 
http://www.killfile.org/~tskirvin/  Skirv's Homepage <FISH>< <*>
http://news.killfile.org/                     News<->Web Gateway
Re: pullnews and authentication ?
#68344
Author: DB
Date: Thu, 26 Feb 2004 00:05
37 lines
2598 bytes
Tim Skirvin wrote:

> DB <junk@yahoo.com> writes:
> 
> 
>>I'm sure it is obvious that I'm not a hacker, but I don't see what's 
>>different between those two? What am I not seeing?
> 
> 
> 	It's just an order of operations thing.  You can download my
> patched version if you'd like, from:
> 
> 	http://www.killfile.org/~tskirvin/software/scripts/pullnews
> 
> 
>>Also, am I correct in assuming that the username and pasword info lives 
>>in /etc/news/passwd.nntp ?
> 
> 
> 	Actually, in this case it goes in your ~/.pullnews file: 
> 
> news.server.name USERNAME PASSWORD
> 	group.one
> 	uiuc.test
> 	free.tim-skirvin-is-god
> 	alt.fans.tim_skirvin.die.die.die
> 
> 	(I swear that those last two groups exist.)
> 
> 			   - Tim Skirvin (tskirvin@killfile.org)

Thanks.. all I needed was to put the login and password into the right 
place. Doh!

DB

Re: pullnews and authentication ?
#68352
Author: DS
Date: Fri, 27 Feb 2004 11:59
35 lines
2792 bytes
DB <junk@yahoo.com> wrote in news:zj7%b.5697$t16.4001329
@newssvr28.news.prodigy.com:

> I've set up inn 2.3.4 on a machine on may lan. I want it to pull news 
> from my ISP's news server every few hours and store it so I can read it 
> at my leisure. I've done this before and it works great... messages load 
> fast 'cuz they're stored locally.
> 
> But now it looks like my ISP (Adelphia) is requiring authenitcation, so 
> when I run pullnews, I get the following error:
> 
>     connecting to upstream server news2.news.adelphia.net...done.
>     Cant issue MODE READER command: 480 authentication required
> 
> I've tried Google but can't seem to find an answer. Ceratinly I'm not 
> the first to have this question. Can anyone provide a hint about how to 
> have pullnews authenticate? If not, is there an alternative to pullnews 
> that can do authentication?
> 
> Thanks for any hints
> 
> DB

DB,

It's more than just authentication being required now. Adelphia has 
outsourced their Usenet service to GigaNews.

There is now a 5 gig per month d/l limit as well. I believe tech support 
told me that the count is reset on the 12th of every month. I blew thru 
that limit in just a couple of days.

Regards,

DS
Re: pullnews and authentication ?
#68361
Author: DB
Date: Sat, 28 Feb 2004 01:52
46 lines
2923 bytes

DS wrote:

> DB <junk@yahoo.com> wrote in news:zj7%b.5697$t16.4001329
> @newssvr28.news.prodigy.com:
> 
> 
>>I've set up inn 2.3.4 on a machine on may lan. I want it to pull news 
>>from my ISP's news server every few hours and store it so I can read it 
>>at my leisure. I've done this before and it works great... messages load 
>>fast 'cuz they're stored locally.
>>
>>But now it looks like my ISP (Adelphia) is requiring authenitcation, so 
>>when I run pullnews, I get the following error:
>>
>>    connecting to upstream server news2.news.adelphia.net...done.
>>    Cant issue MODE READER command: 480 authentication required
>>
>>I've tried Google but can't seem to find an answer. Ceratinly I'm not 
>>the first to have this question. Can anyone provide a hint about how to 
>>have pullnews authenticate? If not, is there an alternative to pullnews 
>>that can do authentication?
>>
>>Thanks for any hints
>>
>>DB
> 
> 
> DB,
> 
> It's more than just authentication being required now. Adelphia has 
> outsourced their Usenet service to GigaNews.
> 
> There is now a 5 gig per month d/l limit as well. I believe tech support 
> told me that the count is reset on the 12th of every month. I blew thru 
> that limit in just a couple of days.
> 
> Regards,
> 
> DS

Oh.. you must horde porn too ;)

DB
Re: pullnews and authentication ?
#68362
Author: DS
Date: Sat, 28 Feb 2004 14:10
15 lines
1752 bytes
>> 
>> DS
> 
> Oh.. you must horde porn too ;)
> 
> DB
> 
> 

Uh....no....no porn. Most of it was used up in testing and development of 
my newsreader (out of date screenshots): http://users.adelphia.net/
~thisnthat/zanews/index.htm

DS
Re: pullnews and authentication ?
#69135
Author: Russ Allbery
Date: Mon, 17 May 2004 07:45
20 lines
1977 bytes
Tim Skirvin <tskirvin@killfile.org> writes:

> 	pullnews' authentication is slightly hosed.  What I had to do to
> make it work (obviously working on different versions here):

> diff pullnews /usr/local/bin/pullnews

Ack!  Always, always, always use the -c or -u option to diff, and the
unmodified file goes first, the modified file second.  Your patch is the
worst case scenario for a non-context diff, too, since it's just a
deletion and an insertion, making it completely impossible to read without
context.

Anyway, fixed in CVS.

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: pullnews and authentication ?
#69191
Author: Tim Skirvin
Date: Wed, 19 May 2004 04:36
17 lines
2002 bytes
Russ Allbery <rra@stanford.edu> writes:

>> diff pullnews /usr/local/bin/pullnews

>Ack!  Always, always, always use the -c or -u option to diff, and the
>unmodified file goes first, the modified file second.  Your patch is the
>worst case scenario for a non-context diff, too, since it's just a
>deletion and an insertion, making it completely impossible to read without
>context.

	...and thus we learn why I've never posted a diff to Usenet
before.  Oops.

			   - Tim Skirvin (tskirvin@killfile.org)
-- 
http://www.killfile.org/~tskirvin/  Skirv's Homepage <FISH>< <*>
http://news.killfile.org/                     News<->Web Gateway
Re: pullnews and authentication ?
#69192
Author: Russ Allbery
Date: Wed, 19 May 2004 06:11
19 lines
2015 bytes
Tim Skirvin <tskirvin@killfile.org> writes:
> Russ Allbery <rra@stanford.edu> writes:

>> Ack!  Always, always, always use the -c or -u option to diff, and the
>> unmodified file goes first, the modified file second.  Your patch is
>> the worst case scenario for a non-context diff, too, since it's just a
>> deletion and an insertion, making it completely impossible to read
>> without context.

> 	...and thus we learn why I've never posted a diff to Usenet
> before.  Oops.

Oh, post more diffs!  Just use diff -u!  :)

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
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