🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
17 messages
17 total messages Started by Julien ÉLIE Sun, 24 Aug 2008 17:27
About 480 and 502 codes
#79340
Author: Julien ÉLIE
Date: Sun, 24 Aug 2008 17:27
37 lines
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) 
Re: About 480 and 502 codes
#79342
Author: Russ Allbery
Date: Mon, 25 Aug 2008 01:36
39 lines
2543 bytes
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> writes:

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

My guess is that the return code was changed without changing the text at
some point in the editing process.  The return code is what matters.

>   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

Unless you can tell that the group won't be accessible without
reconnecting, yeah.  nnrpd can in some cases know that (if, for example,
there are no auth blocks that permit AUTHINFO authentication, so the
authorization is driven entirely by the connection).

-- 
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: About 480 and 502 codes
#79343
Author: Julien ÉLIE
Date: Mon, 25 Aug 2008 05:52
41 lines
2905 bytes
Hi Russ,

>>      [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.
>
> My guess is that the return code was changed without changing the text at
> some point in the editing process.  The return code is what matters.

Sure.  The only thing is that for people who have a quick look at the RFC and
its examples, it can be confusing.  If you plan to add an errata page or
comments to the RFC (I do not know well what the process is), could you
please mention it?


>>      [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
>
> Unless you can tell that the group won't be accessible without
> reconnecting, yeah.

And it does not matter to send 480 if AUTHINFO can be used but in fact
no one will be able to access the secret.group, even authentified?

-- 
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) 
Re: About 480 and 502 codes
#79348
Author: Russ Allbery
Date: Mon, 25 Aug 2008 07:19
43 lines
3027 bytes
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> writes:

> Sure.  The only thing is that for people who have a quick look at the
> RFC and its examples, it can be confusing.  If you plan to add an errata
> page or comments to the RFC (I do not know well what the process is),
> could you please mention it?

Absolutely.  Already added it to my running list of such things.

>> Unless you can tell that the group won't be accessible without
>> reconnecting, yeah.
>
> And it does not matter to send 480 if AUTHINFO can be used but in fact
> no one will be able to access the secret.group, even authentified?

Hm.

Actually, reading through RFC 3977 again, it strongly gives the impression
that if the user has authenticated in that session, one shouldn't keep
producing 480.  I wonder if there are clients that react blindly to 480 by
authenticating and may get themselves into loops there.

In general, reauthentication on an existing connection is something that
security people don't like.  This came up in the working group, although I
don't remember exactly what we said about it... ah, there it is:

   After a successful authentication, the client MUST NOT issue another
   AUTHINFO command in the same session.  A server MUST NOT return the
   AUTHINFO capability in response to a CAPABILITIES command, and a
   server MUST reject any subsequent AUTHINFO commands with a 502
   response.  Additionally, the client MUST NOT issue a MODE READER
   command after authentication, and a server MUST NOT advertise the
   MODE-READER capability.

So I was wrong.  Indeed, a permanent failure code is correct, because
reauthentication isn't permitted.  I bet INN doesn't handle this properly
right now.

-- 
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: About 480 and 502 codes
#79353
Author: Julien ÉLIE
Date: Mon, 25 Aug 2008 19:37
27 lines
2287 bytes
Hi Russ,

>   After a successful authentication, the client MUST NOT issue another
>   AUTHINFO command in the same session.  A server MUST NOT return the
>   AUTHINFO capability in response to a CAPABILITIES command, and a
>   server MUST reject any subsequent AUTHINFO commands with a 502
>   response.  Additionally, the client MUST NOT issue a MODE READER
>   command after authentication, and a server MUST NOT advertise the
>   MODE-READER capability.

What happens it the client issues a MODE READER command after authentication?
502?


> Indeed, a permanent failure code is correct, because
> reauthentication isn't permitted.  I bet INN doesn't handle this properly
> right now.

"Right now", no.
Right now, yes.  :)

-- 
Julien ÉLIE

« Quand on aime on ne compte pas...
  Ça tombe bien, je suis mauvaise en calcul ! »
Re: About 480 and 502 codes
#79354
Author: Julien ÉLIE
Date: Mon, 25 Aug 2008 20:45
66 lines
2709 bytes
Hi Russ,

>> If you plan to add an errata
>> page or comments to the RFC (I do not know well what the process is),
>> could you please mention it?
>
> Absolutely.  Already added it to my running list of such things.

By the way, I do not find the proper behaviour for that sequence:

AUTHINFO USER test
381
AUTHINFO USER newtest
381
AUTHINFO PASS password
281

Is it 381 for the first two ones?
And is it the last user which is used?  ("newtest" for this example)


AUTHINFO USER test
381
GROUP news.software.nntp
480
AUTHINFO PASS password
281

Is it a valid sequence?  Note that GROUP asks for authentication (480).


AUTHINFO USER test
381
AUTHINFO SASL DIGEST-MD5
383

Go on with this new AUTHINFO and forget about the first one?





Hey, what for:

AUTHINFO USER test
381
MODE READER
200
AUTHINFO PASS password
281 or 482?

*grin* (especially for innd)

Is is specified somewhere that the context is kept after MODE READER?

Maybe MODE READER should return 502 if after AUTHINFO USER?  (But it is
specified somewhere?)

Is MODE READER when the reader mode is already here returning 502 too?
(otherwise it causes similar problems with the context)

-- 
Julien ÉLIE

« Nemo auditur turpitudinem allegans. »
Re: About 480 and 502 codes
#79355
Author: Russ Allbery
Date: Mon, 25 Aug 2008 20:45
42 lines
3114 bytes
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> writes:

> Hi Russ,
>
>>   After a successful authentication, the client MUST NOT issue another
>>   AUTHINFO command in the same session.  A server MUST NOT return the
>>   AUTHINFO capability in response to a CAPABILITIES command, and a
>>   server MUST reject any subsequent AUTHINFO commands with a 502
>>   response.  Additionally, the client MUST NOT issue a MODE READER
>>   command after authentication, and a server MUST NOT advertise the
>>   MODE-READER capability.

> What happens it the client issues a MODE READER command after
> authentication?  502?

That's an intriguing question.  I hadn't realized the implications of
that.  Section 2.1:

   A server MUST implement at least one of the AUTHINFO USER or AUTHINFO
   SASL commands in order to advertise the "AUTHINFO" capability label in
   response to the CAPABILITIES command ([NNTP] Section 5.2).  However,
   this capability MUST NOT be advertised after successful authentication
   (see Section 2.2).  This capability MAY be advertised both before and
   after any use of the MODE READER command ([NNTP] Section 5.3), with the
   same semantics.

So AUTHINFO may be advertised before and after MODE READER, but once a
client authenticates, it may not issue MODE READER, and the server must
not advertise MODE READER.  So the client therefore has to choose
up-front; if it's going to do MODE READER, it has to do so prior to
authentication, and once authentication has happened, the MODE READER
command must be suppressed.

Yes, I think 502 is the correct return code in this case for MODE READER
after authentication, since you have to terminate and reopen the
connection to be able to do that.

-- 
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: About 480 and 502 codes
#79356
Author: Julien ÉLIE
Date: Mon, 25 Aug 2008 21:15
23 lines
2217 bytes
Hi again,

>> What happens it the client issues a MODE READER command after
>> authentication?  502?
>
> Yes, I think 502 is the correct return code in this case for MODE READER
> after authentication, since you have to terminate and reopen the
> connection to be able to do that.

I assume it is the same thing for MODE STREAM (though now only legacy)
albeit in fact it changed nothing...
RFC 4644 does not contain the word AUTHINFO.

May I conclude that MODE should not be in HELP for nnrpd and always
respond with 502?  Or perhaps 500?

-- 
Julien ÉLIE

« Le cerveau est un merveilleux organe. Il démarre
  au moment où vous vous levez et ne s'arrête
  qu'au moment où vous arrivez au bureau. » (Robert Frost) 
Re: About 480 and 502 codes
#79357
Author: Russ Allbery
Date: Tue, 26 Aug 2008 00:06
21 lines
2121 bytes
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> writes:

> I assume it is the same thing for MODE STREAM (though now only legacy)
> albeit in fact it changed nothing...
> RFC 4644 does not contain the word AUTHINFO.

I would treat MODE STREAM as a complete no-op and not have it have any
effect on AUTHINFO.  It wasn't used like MODE READER; it isn't doing a
handoff to another process or anything.  It was being used as a capability
negotiation interface to determine if one was allowed to do pipelining.

> May I conclude that MODE should not be in HELP for nnrpd and always
> respond with 502?  Or perhaps 500?

nnrpd should accept MODE READER as a no-op, I think.

-- 
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: About 480 and 502 codes
#79358
Author: Russ Allbery
Date: Tue, 26 Aug 2008 01:54
106 lines
4369 bytes
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> writes:

> By the way, I do not find the proper behaviour for that sequence:
>
> AUTHINFO USER test
> 381
> AUTHINFO USER newtest
> 381
> AUTHINFO PASS password
> 281
>
> Is it 381 for the first two ones?

Yes.

> And is it the last user which is used?  ("newtest" for this example)

Yes.  RFC 4643, section 2.3.2:

   The server:

   -  MUST return a 381 response to AUTHINFO USER;

   -  MUST return a 482 response to AUTHINFO PASS if there is no cached
      username;

   -  MUST use the argument of the most recent AUTHINFO USER for
      authentication;

> AUTHINFO USER test
> 381
> GROUP news.software.nntp
> 480
> AUTHINFO PASS password
> 281
>
> Is it a valid sequence?  Note that GROUP asks for authentication (480).

Server's discretion.  It's permissible for that to be a valid sequence, or
the server may choose to reject it:

   If the server requires both username and password, the former MUST be
   sent before the latter.  The server will need to cache the username
   until the password is received; it MAY require that the password be
   sent in the immediately next command (in other words, only caching
   the username until the next command is sent).

> AUTHINFO USER test
> 381
> AUTHINFO SASL DIGEST-MD5
> 383
>
> Go on with this new AUTHINFO and forget about the first one?

Yup.

> Hey, what for:
>
> AUTHINFO USER test
> 381
> MODE READER
> 200
> AUTHINFO PASS password
> 281 or 482?
>
> *grin* (especially for innd)

Server's discretion.  RFC 3977, section 5.3.2:

   When the MODE READER command is issued, the server MAY reset its state
   to that immediately after the initial connection before switching mode.

Resetting state means discarding all stored data, which would include the
cached username.

> Is is specified somewhere that the context is kept after MODE READER?
>
> Maybe MODE READER should return 502 if after AUTHINFO USER?  (But it is
> specified somewhere?)

Until AUTHINFO PASS has been sent, authentication isn't complete, so the
server can still support MODE READER if it wishes.  Basically, this is
entirely up to the server; I'd do whatever is the easiest to implement.

> Is MODE READER when the reader mode is already here returning 502 too?
> (otherwise it causes similar problems with the context)

   If the server is not mode-switching, then the following apply:

   o  If it advertises the READER capability, it MUST return a 200 or
      201 response with the same meaning as for the initial greeting; in
      this case, the command MUST NOT affect the server state in any
      way.

   o  If it does not advertise the READER capability, it MUST return a
      502 response and then immediately close the connection.

Since nnrpd will advertise READER, the former applies.  (So my previous
message was correct; nnrpd is in fact required by the standard to
implement MODE READER as a no-op.)

-- 
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: About 480 and 502 codes
#79359
Author: Julien ÉLIE
Date: Tue, 26 Aug 2008 06:04
32 lines
2640 bytes
Hi Russ,

>> I assume it is the same thing for MODE STREAM (though now only legacy)
>> albeit in fact it changed nothing...
>> RFC 4644 does not contain the word AUTHINFO.
>
> I would treat MODE STREAM as a complete no-op and not have it have any
> effect on AUTHINFO.

We could imagine that a peer connects and cannot stream (we do not advertise
STREAMING in CAPABILITIES).  Then it authenticates and STREAMING can now be used.

Note that INN does not handle such a thing (STREAMING is specified per peer)
but it is better to ask regarding the protocol.  Just to be consistent with
MODE READER.


>> May I conclude that MODE should not be in HELP for nnrpd and always
>> respond with 502?  Or perhaps 500?
>
> nnrpd should accept MODE READER as a no-op, I think.

It is what it currently does:  only sending 200/201 without doing anything else.
Is it what you mean with "no-op"?

MODE-READER is never in CAPABILITIES for nnrpd, though.

-- 
Julien ÉLIE

« Ce qui est fait n'est plus à faire. » 
Re: About 480 and 502 codes
#79360
Author: Julien ÉLIE
Date: Tue, 26 Aug 2008 06:21
105 lines
3944 bytes
Hi Russ,

Thanks again for all your answers and having taken time to search for them.
I am sorry for those which are very clear in RFC;  had I read the right
paragraph, I would not have asked you questions on them.


>> By the way, I do not find the proper behaviour for that sequence:
>>
>> AUTHINFO USER test
>> 381
>> AUTHINFO USER newtest
>> 381
>> AUTHINFO PASS password
>> 281
>>
>> Is it 381 for the first two ones?
>
> Yes.

OK.


>> And is it the last user which is used?  ("newtest" for this example)
>
> Yes.  RFC 4643, section 2.3.2:
>
>   The server:
>
>   -  MUST return a 381 response to AUTHINFO USER;
>
>   -  MUST return a 482 response to AUTHINFO PASS if there is no cached
>      username;
>
>   -  MUST use the argument of the most recent AUTHINFO USER for
>      authentication;

What happens with:

AUTHINFO USER user
381
AUTHINFO PASS pass
482
AUTHINFO PASS newpass

Is the last AUTHINFO PASS command treated with the most recent AUTHINFO USER
received, as said in RFC 4643?
Or should the cached username be reset on first AUTHINFO PASS failure?


Another question:

AUTHINFO USER user
381 PASS required
AUTHINFO PASS password
502 Authentication error
Connection closed by foreign host.

nnrpd currently closes the connection right after a failure.  Thus, the reader
cannot try to authenticate a second time (RFC says it can try another times).
Should we change that behaviour?  Do you know why it was implemented this way?



>> AUTHINFO USER test
>> 381
>> GROUP news.software.nntp
>> 480
>> AUTHINFO PASS password
>> 281
>>
>> Is it a valid sequence?  Note that GROUP asks for authentication (480).
>
> Server's discretion.  It's permissible for that to be a valid sequence, or
> the server may choose to reject it.

Thanks!



>> AUTHINFO USER test
>> 381
>> MODE READER
>> 200
>> AUTHINFO PASS password
>> 281 or 482?
>>
> Server's discretion.

I *do* like "server's discretion"!  :-)


> Since nnrpd will advertise READER, the former applies.  (So my previous
> message was correct; nnrpd is in fact required by the standard to
> implement MODE READER as a no-op.)

OK.

-- 
Julien ÉLIE

« La femme a la passion du calcul : elle divise son âge par deux,
  double le prix de ses robes, triple les appointements de son mari
  et ajoute cinq ans à l'âge de sa meilleure amie. » (Marcel Achard) 
Re: About 480 and 502 codes
#79361
Author: Russ Allbery
Date: Tue, 26 Aug 2008 07:35
33 lines
2589 bytes
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> writes:

>> I would treat MODE STREAM as a complete no-op and not have it have any
>> effect on AUTHINFO.
>
> We could imagine that a peer connects and cannot stream (we do not
> advertise STREAMING in CAPABILITIES).  Then it authenticates and
> STREAMING can now be used.
>
> Note that INN does not handle such a thing (STREAMING is specified per
> peer) but it is better to ask regarding the protocol.  Just to be
> consistent with MODE READER.

I suppose that's true, but even in that case, MODE STREAM should have no
effect on AUTHINFO.  AUTHINFO is having an effect on MODE STREAM (changing
its return code), but that's the other way around.

> It is what it currently does:  only sending 200/201 without doing
> anything else.  Is it what you mean with "no-op"?

Yes.

> MODE-READER is never in CAPABILITIES for nnrpd, though.

Correct.  MODE READER is only supported there for pre-CAPABILITIES
clients.  RFC 3977 clients can use CAPABILITIES to detect that they don't
have to send MODE READER.

-- 
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: About 480 and 502 codes
#79364
Author: Russ Allbery
Date: Tue, 26 Aug 2008 07:43
64 lines
3829 bytes
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> writes:

> Thanks again for all your answers and having taken time to search for
> them.  I am sorry for those which are very clear in RFC; had I read the
> right paragraph, I would not have asked you questions on them.

Oh, it's quite okay.  One of the advantages of having been involved in the
working group is that I know where to look.  :)  I don't mind answering
questions like this at all.

> What happens with:
>
> AUTHINFO USER user
> 381
> AUTHINFO PASS pass
> 482

482 isn't a sensible return code here, since they were issued in
sequence.  This will either return 281 or 481.  I assume you meant 481.

> AUTHINFO PASS newpass
>
> Is the last AUTHINFO PASS command treated with the most recent AUTHINFO
> USER received, as said in RFC 4643?  Or should the cached username be
> reset on first AUTHINFO PASS failure?

I think the RFC isn't particularly clear here unless the return code is
281.  If it's 281, then this is an attempt to reauthenticate and should be
rejected as such.  If it's 481, then I think a reasonable interpretation
is a try with a different password, and there doesn't seem to be anything
saying that we can't retry with the stored username.

> Another question:
>
> AUTHINFO USER user
> 381 PASS required
> AUTHINFO PASS password
> 502 Authentication error
> Connection closed by foreign host.
>
> nnrpd currently closes the connection right after a failure.  Thus, the
> reader cannot try to authenticate a second time (RFC says it can try
> another times).  Should we change that behaviour?  Do you know why it
> was implemented this way?

Possibly to make it mildly more difficult to try brute force attacks on
the password.  However, we explicitly aren't allowed to do this.  RFC
3977, section 3.2.1:

      Note that the server MUST NOT close the connection immediately
      after a 502 response except at the initial connection
      (Section 5.1) and with the MODE READER command.

If we're going to close the client connection, I think we have to return
400, which isn't particularly appealing.  I'm inclined to say that we
should stop closing the connection here and just return failure and let
the client choose to continue unauthenticated or try again.  Closing the
connection isn't really providing much real brute force protection anyway.

-- 
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: About 480 and 502 codes
#79368
Author: Julien ÉLIE
Date: Tue, 26 Aug 2008 19:24
31 lines
2506 bytes
Hi Russ,

>> What happens with:
>>
>> AUTHINFO USER user
>> 381
>> AUTHINFO PASS pass
>> 482
>
> 482 isn't a sensible return code here, since they were issued in
> sequence.  This will either return 281 or 481.  I assume you meant 481.

Yes, I meant 481.
No problem then.  Subsequent "AUTHINFO PASS newpass" will use the last
username provided.


> If we're going to close the client connection, I think we have to return
> 400, which isn't particularly appealing.  I'm inclined to say that we
> should stop closing the connection here and just return failure and let
> the client choose to continue unauthenticated or try again.  Closing the
> connection isn't really providing much real brute force protection anyway.

I also agree.

-- 
Julien ÉLIE

« C'est le vin des vins ! il est pétillant, et on s'en sert
  pour les grandes occasions ! Baptiser les galères par exemple... » (Astérix) 
Re: About 480 and 502 codes
#79377
Author: Graham Drabble
Date: Wed, 27 Aug 2008 22:15
25 lines
2052 bytes
On 25 Aug 2008 Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
wrote in news:g8v1mh$do2$1@news.trigofacile.com: 

> Hi Russ,
> 
>>   After a successful authentication, the client MUST NOT issue
>>   another AUTHINFO command in the same session.  A server MUST
>>   NOT return the AUTHINFO capability in response to a
>>   CAPABILITIES command, and a server MUST reject any subsequent
>>   AUTHINFO commands with a 502 response.  Additionally, the
>>   client MUST NOT issue a MODE READER command after
>>   authentication, and a server MUST NOT advertise the MODE-READER
>>   capability. 
> 
> What happens it the client issues a MODE READER command after
> authentication? 502?

On a separate note is the switch from "sucessful authentication" to 
"authentication" meant to mean something or just a case of inconsistant 
wording?


-- 
Graham Drabble
http://www.drabble.me.uk/
Re: About 480 and 502 codes
#79378
Author: Russ Allbery
Date: Wed, 27 Aug 2008 23:12
26 lines
2310 bytes
Graham Drabble <usenet05@drabble.me.uk> writes:
> Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote:

>>>   After a successful authentication, the client MUST NOT issue
>>>   another AUTHINFO command in the same session.  A server MUST
>>>   NOT return the AUTHINFO capability in response to a
>>>   CAPABILITIES command, and a server MUST reject any subsequent
>>>   AUTHINFO commands with a 502 response.  Additionally, the
>>>   client MUST NOT issue a MODE READER command after
>>>   authentication, and a server MUST NOT advertise the MODE-READER
>>>   capability. 

>> What happens it the client issues a MODE READER command after
>> authentication? 502?

> On a separate note is the switch from "sucessful authentication" to
> "authentication" meant to mean something or just a case of inconsistant
> wording?

I think that's just inconsistent wording.

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