Article View: news.software.nntp
Article #79340About 480 and 502 codes
From: Julien ÉLIE
Date: Sun, 24 Aug 2008 17:27
Date: Sun, 24 Aug 2008 17:27
37 lines
2295 bytes
2295 bytes
Hi,
3.2.1.1. Examples (RFC 3977)
Example of an attempt to access a facility not available to this
connection:
[C] MODE READER
[S] 200 Reader mode, posting permitted
[C] IHAVE <i.am.an.article.you.will.want@example.com>
[S] 500 Permission denied
Why "Permission denied"? This facility is unknown (error 500)
so it should return "Unknown command". Otherwise, for a "Permission
denied" answer, it is 502.
Example of an attempt to access a facility requiring authentication:
[C] GROUP secret.group
[S] 480 Permission denied
Well, it is not trivial to know when it is 480 and when it is 502 because
an already authenticated person can re-authenticate so the newsgroup
may be accessible without having to reconnect (the meaning of 502).
Better send 480 then :-P
--
Julien ÉLIE
« -- À trente jours de marche, aussi il vous faudra traverser le désert !
-- Je ne connais pas encore ce genre de traversée mais
par Toutatis, je suis certain de m'en sortir très vite ! » (Astérix)
Technical Details
Message-ID:
<g8s5lo$7d1$1@news.trigofacile.com>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!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!club-internet.fr!feedme-small.clubint.net!news.ecp.fr!news.trigofacile.com!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <g8s5lo$7d1$1@news.trigofacile.com> Subject: About 480 and 502 codes Date: Sun, 24 Aug 2008 19:27:16 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> 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!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!club-internet.fr!feedme-small.clubint.net!news.ecp.fr!news.trigofacile.com!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 37 NNTP-Posting-Host: aaubervilliers-151-1-89-50.w83-199.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-15"; reply-type=original Content-Transfer-Encoding: 8bit X-Trace: news.trigofacile.com 1219598840 7585 83.199.208.50 (24 Aug 2008 X-Complaints-To: abuse@trigofacile.com NNTP-Posting-Date: Sun, 24 Aug 2008 17:27:20 +0000 (UTC) X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049