🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Lion-O Mon, 17 Apr 2006 20:45
Expected response code 502, got 480 ?
#73521
Author: Lion-O
Date: Mon, 17 Apr 2006 20:45
22 lines
1887 bytes
Hi there,

I'm busy writing a Java NNTP API and I've just finished a method to allow an
authenticated connection. In the tcp/ip guide (www.tcpipguide.com) I read that
the response code for an "authentication requirement" is 502 ("send when the
client has not authenticated while the server requires it").

However, when I try to connect to GigaNews it responds with "480 authentication
required".  Reading up again on the tcipipguide.com tells me that 480 means
"Transfer permission denied", basicly used when you use the CHECK command while
you're not allowed.

As far as I can tell only these 2 response codes are used, is this correct or
am I overlooking something? Is it safe to assume that 480 is more regulary used
in these cases?

Thanks in advance for any comments you can provide me.

-- 
Groetjes, Peter

.\\ PGP/GPG key: http://www.catslair.org/pubkey.asc
Re: Expected response code 502, got 480 ?
#73522
Author: Russ Allbery
Date: Mon, 17 Apr 2006 21:27
30 lines
2379 bytes
Lion-O <nosp@m.catslair.org> writes:

> I'm busy writing a Java NNTP API and I've just finished a method to
> allow an authenticated connection. In the tcp/ip guide
> (www.tcpipguide.com) I read that the response code for an
> "authentication requirement" is 502 ("send when the client has not
> authenticated while the server requires it").

> However, when I try to connect to GigaNews it responds with "480
> authentication required".  Reading up again on the tcipipguide.com tells
> me that 480 means "Transfer permission denied", basicly used when you
> use the CHECK command while you're not allowed.

> As far as I can tell only these 2 response codes are used, is this
> correct or am I overlooking something? Is it safe to assume that 480 is
> more regulary used in these cases?

You want to read:

<http://www.eyrie.org/~eagle/nntp/drafts/draft-ietf-nntpext-base-27.txt>
<http://www.eyrie.org/~eagle/nntp/drafts/draft-ietf-nntpext-authinfo-10.txt>

instead.  They will be much more helpful.  They have already been approved
by the IESG and are currently sitting in the RFC Editor's queue.

-- 
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: Expected response code 502, got 480 ?
#73523
Author: Lion-O
Date: Mon, 17 Apr 2006 21:44
10 lines
1440 bytes
> They will be much more helpful.  They have already been approved by the IESG
> and are currently sitting in the RFC Editor's queue.

Thanks a bunch. I already picked up rfc977 but somehow totally missed 2980 and
indeed; this explained all I wanted to know and more.

-- 
Groetjes, Peter

.\\ PGP/GPG key: http://www.catslair.org/pubkey.asc
Re: Expected response code 502, got 480 ?
#73524
Author: Russ Allbery
Date: Mon, 17 Apr 2006 21:46
16 lines
1787 bytes
Lion-O <nosp@m.catslair.org> writes:

>> They will be much more helpful.  They have already been approved by the
>> IESG and are currently sitting in the RFC Editor's queue.

> Thanks a bunch. I already picked up rfc977 but somehow totally missed
> 2980 and indeed; this explained all I wanted to know and more.

Note that the URLs I gave you aren't for 2980 but instead are for the 977
replacement which also subsumes that portion of 2980.

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