[ietf-nntp] RE: How to organize the base NNTP draft

Ken Murchison ken at oceana.com
Mon Jun 7 06:56:36 PDT 2004


Clive D.W. Feather wrote:

> Ken Murchison said:
> 
>>>>I think the AUTHINFO draft is ready to go pending Jeff's review.
>>>
>>>We need to see another draft, surely? Or am I misunderstanding you?
>>
>>I wasn't talking about a last call or anything.  I meant the -01 draft 
>>is ready to be posted.  Jeff was looking over the changes when he had a 
>>few unrelated fires to put out.  Hopefully, we'll get it sent in this week.
> 
> 
> Okay, sorry.
> 
> I'm revisiting the ABNF in the core document in response to your query the
> other day. Hopefully I will have something for you later.

Great.  FWIW, here's what the POP3 AUTH command grammar looks like (SMTP 
AUTH is similar):

	auth_command	= "AUTH" SPACE auth_type [SPACE (base64 / "=")]
			  *(CRLF [base64]) CRLF


I can't use something similar for NNTP because the grammar for a 
"simple" command ends with EOL.  In other words, the fact that NNTP 
allows trailing junk makes it a little more difficult.  I think what we 
need is for the initial line of a multi-part command to end with EOL, 
and any subsequent lines end with CRLF.  I think this would work for 
IHAVE/POST, where we start with a simple command and then continue with 
an article type response.  Just a thought, you may have a better idea.

-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp



More information about the ietf-nntp mailing list