Article View: news.software.nntp
Article #73522Re: Expected response code 502, got 480 ?
From: Russ Allbery
Date: Mon, 17 Apr 2006 21:27
Date: Mon, 17 Apr 2006 21:27
30 lines
2379 bytes
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.
Technical Details
Message-ID:
<87d5ffsxjr.fsf@windlord.stanford.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mailReferences:
<slrne47vjm.50f.nosp@linux.intranet.lan>Show Full Headers
Complete Article Headers
Message-ID: <87d5ffsxjr.fsf@windlord.stanford.edu> Subject: Re: Expected response code 502, got 480 ? Date: Mon, 17 Apr 2006 14:27:04 -0700 From: Russ Allbery <rra@stanford.edu> References: <slrne47vjm.50f.nosp@linux.intranet.lan> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 30 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1145309224 27944 171.64.19.147 (17 Apr 2006 X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.110004 (No Gnus v0.4) XEmacs/21.4.18 (linux) Cancel-Lock: sha1:usJ8Q5Wu4Ubfgzyl7wGi9D08zj8=