RE: [Syslog-sec] Chair Review Comments of draft-ietf-syslog-protocol-13

2005-07-11 Thread Rainer Gerhards
> The IANA section needs to be very clear.  The IANA people 
> really only look
> there for their instructions.

I have re-worked the IANA Considerations a little. Some information is
now a duplicate of the HEADER description, but in the light of Chris'
comment, this makes sense to me. The text also contains a change related
to Chris issue with x- PARAM-NAMES - see below. 

The new text is as follows:

###
9.  IANA Considerations

9.1  VERSION

   IANA must maintain a registry of VERSION values as described in
   Section 6.2.1.  Version numbers MUST be incremented for any new
   syslog protocol specification that changes any part of the HEADER.
   Changes include addition or removal of fields or a change of syntax
   or semantics of existing fields.

   VERSION numbers must be registered via the Standards Action method as
   described in RFC 2434 [9].  IANA must register the VERSIONs shown in
   table 4 below.

   VERSION FORMAT
   1   according to this document

Table 4. IANA-registered VERSIONs.


9.2  SD-IDs

   IANA must maintain a registry of Structured Data ID (SD-ID) values
   together with their associated PARAM-NAME values as described in
   Section 7.

   New SD-ID and new PARAM-NAME values must be registered through the
   Standards Action method as described in RFC 2434 [9].

   Once SD-IDs and SD-PARAMs are defined, syntax and semantics of these
   objects MUST NOT be altered.  Should a change to an existing object
   be desired, a new SD-ID or SD-PARAM MUST be created and the old one
   remain unchanged.

   SD-IDs and PARAM-NAMEs with the prefatory string "x-" (without the
   quotes) are reserved for experimental use.  IANA must not register
   any SD-ID or PARAM-NAME with the prefatory string "x-" for any other
   use.

   IANA must register the SD-IDs and PARAM-NAMEs shown in table 5 below.

   SD-ID  PARAM-NAME
   timeQuality   OPTIONAL
  tzKnownOPTIONAL
  isSynced   OPTIONAL
  syncAccuracy   OPTIONAL

   originOPTIONAL
  ip OPTIONAL
  enterpriseId   OPTIONAL
  software   OPTIONAL
  swVersion  OPTIONAL

   meta  OPTIONAL
  sequenceId OPTIONAL
  sysUpTime  OPTIONAL

   x- (prefatory  RESERVED for experimental SD-IDs
   string)

   (any)  x- (prefatory  reserved for experimental
  string)PARAM-NAMEs

  Table 5. IANA-registered SD-IDs and their PARAM-NAMEs.
###

> 
> 
> >
> > However, this raises a question: should we allow 
> experimental SD-PARAMs
> > in standardized SD-IDs? Or should these only be allowed in 
> experimental
> > SD-IDs (x-)?
> 
> That's a question for the WG.
> 
> WG Chair hat OFF:
> I'd suggest putting in a quick statement about allowing 
> "x-" in
> any SD-IDs.
> Eveyone:  Get your thoughts in quickly on this.

I agree to Chris suggestion. I have modified the text as follows:

###
6.3.3  SD-PARAM

   Each SD-PARAM consist of a name, referred to as PARAM-NAME, and a
   value, referred to as PARAM-VALUE.

   PARAM-NAME is case-sensitive.  IANA controls all PARAM-NAMEs, with
   the exception of those in experimental SD-IDs or those with the
   prefatory string "x-" (without the quotes).  PARAM-NAMEs with the
   prefatory string x- are set aside for experimental purposes.  They
   can be specified in any SD-ID.  The PARAM-NAME scope is within a
   specific SD-ID.  Thus, an equally-named PARAM-NAME contained in two
   different SD-IDs is not the same.
###

I will publish this version tomorrow if I do not receive any more
comments requesting change.

Rainer
___
Syslog-sec mailing list
[email protected]
http://www.employees.org/mailman/listinfo/syslog-sec


RE: [Syslog-sec] Chair Review Comments of draft-ietf-syslog-protocol-13

2005-07-08 Thread Chris Lonvick
Hi Rainer,

I've snipped much of your posting and answered questions below.


On Thu, 7 Jul 2005, Rainer Gerhards wrote:


> >
> > Would it be appropriate in Section 6.2.1 "VERSION" to describe that
> > the VERSION field can only be changed by STANDARDS ACTIONS as defined
> > in RFC 2434?  Also, the VERSION needs to be registered with
> > IANA and needs
> > to be stated in the instructions to the IANA.
>
> I've changed it to "Standards Action" in 9.1. Do you think I actually
> need to repeat this in 6.2.1?

The IANA section needs to be very clear.  The IANA people really only look
there for their instructions.


>
> Does 9.2 also require "Standards Action" or is "Specification Required"
> (as it is currently) sufficient? I am a bit in doubt, maybe it's better
> to keep this consistent.

Be consistent.


> duplicated to IANA considerations, but mentioning only SD-IDs there.
> Which brings up the question: must we put PARAM-Names under
> IANA-Control, too? It kind of looks so...

Yup.  :)



>
> I think talking about rate-limiting on the receiver's side does not make
> so much sense, as it will result in message loss in any case (at least
> with UDP transport).  Do you think the proposed text is OK?

Looks good to me.


>
> However, this raises a question: should we allow experimental SD-PARAMs
> in standardized SD-IDs? Or should these only be allowed in experimental
> SD-IDs (x-)?

That's a question for the WG.

WG Chair hat OFF:
I'd suggest putting in a quick statement about allowing "x-" in
any SD-IDs.
Eveyone:  Get your thoughts in quickly on this.



>
> Chris, I am not sure if the "must" below must be in upper case (as it is
> no protocol related thing). I'd appreciate your advise:
>
> ###
>   IANA must register the SD-IDs shown in table 4 below.
> ###

You can leave it lowercase.


Thanks,
Chris
___
Syslog-sec mailing list
[email protected]
http://www.employees.org/mailman/listinfo/syslog-sec


RE: [Syslog-sec] Chair Review Comments of draft-ietf-syslog-protocol-13

2005-07-07 Thread Rainer Gerhards
Hi Chris & all,

thanks for the comments. I have integrated them. While doing so, some
points were raised. I would appreciate if you could go through my reply
below. There are some question in it. I have also added comments related
to Didier's posting on message truncation. They are at the end of this
posting.

I will hold the protocol-14 update to see if I receive some replies to
this posting. If I hear nothing, I will post on monday. 

Sorry this has become a large posting, but I would prefer to get some
feedback before I post the next release (given the fact we are close to
final call).

Rainer
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Chris Lonvick
> Sent: Tuesday, July 05, 2005 4:01 PM
> To: [email protected]
> Subject: [Syslog-sec] Chair Review Comments of 
> draft-ietf-syslog-protocol-13
> 
> Hi Folks,
> 
> I've done a review of draft-ietf-syslog-protocol-13 and have 
> the following
> comments.  I'd like to ask Rainer to incorporate them along 
> with any other
> final comments and publish a new version.  Once this is in the ID
> repository I will call for WG Last Call for two weeks.  If we 
> don't get
> any major issues from that then I'll submit it to the IESG with the
> recommendation that it be considered for publication.  I'll be doing a
> review of syslog-transport-udp as well.
> 
> 
> 
> References are not allowed in the Abstract.  Suggest change:
>This document has been written with the spirit of RFC 3164 [14] in
> to:
>This document has been written with the spirit of 
> tradition syslog in
> Keeping the reference in the Introduction is OK.

done

> 
> 
> "Conventions Used in This Document" should be:
>   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL
>   NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED",  "MAY", and
>   "OPTIONAL" in this document are to be interpreted as 
> described in
>   RFC 2119.
> (That's how it's written in RFC 2119.)  In some cases the keyword
> "optional" should be in uppercase in the document - like in 
> several places
> in Section 7.
> 

done (including section 7)

> 
> Double dashes in Basic Pricipals are not to be used.  Suggest change
>o  Relays may send all or some of the messages that they 
> receive to a
>   subsequent relay or collector.  They may also store -- or
>   otherwise locally process -- some or all messages without
>   forwarding.  In those cases, they are acting as both a collector
>   and a relay.
> to:
>o  Relays may send all or some of the messages that they 
> receive to a
>   subsequent relay or collector.  They may also store or otherwise
>   locally process some or all messages without 
> forwarding.  In those
>   cases, they are acting as both a collector and a relay.
> Also, this is not entirely clear.  Perhaps it should be changed to:
>o  Relays may send all or some of the messages that they 
> receive to a
>   subsequent relay or collector.  They may also store or otherwise
>   locally process some or all messages without forwarding.  In the
>   case where a receiver stores some messages and relays some
>   messages, it is acting as both a collector and a relay.
> 

changed to the text you suggested (directly above this sentence)

> 
> Watch the contignuity of the diagram 1 and its title.  Make sure that
> they are not separated by a page break.  The RFC editor will also
> watch this.

I needed to squeze it a little, but I think it is still readable well
enough. Don't like the idea to drop one of the scenarios...

> 
> 
> In Section 6.1 "Message Length", the following paragraphs may 
> be clearer
> if they are reversed:
>If the last SD-ELEMENT of a message is deleted, the STRUCTURED-DATA
>field MUST be changed to "-" to indicate empty STRUCTURED-DATA.
> 
>When a receiver or initial sender truncates a message, the TRUNCATE
>(Section 6.2.4) field MUST be updated.  In the case of a receiver,
>please note that this will break eventually existing digital
>signatures.  This is irrelevant, as the truncation itself 
> breaks the
>signature.  So no extra harm is done by updating the 
> TRUNCATE field.
> Also, the clause
>please note that this will break eventually existing digital
>signatures.
> should be changed to:
>please note that this will break message integrity checking
>mechanisms such as digital signatures.
> 

done

> 
> Would it be appropriate in Section 6.2.1 "VER

[Syslog-sec] Chair Review Comments of draft-ietf-syslog-protocol-13

2005-07-05 Thread Chris Lonvick
Hi Folks,

I've done a review of draft-ietf-syslog-protocol-13 and have the following
comments.  I'd like to ask Rainer to incorporate them along with any other
final comments and publish a new version.  Once this is in the ID
repository I will call for WG Last Call for two weeks.  If we don't get
any major issues from that then I'll submit it to the IESG with the
recommendation that it be considered for publication.  I'll be doing a
review of syslog-transport-udp as well.



References are not allowed in the Abstract.  Suggest change:
   This document has been written with the spirit of RFC 3164 [14] in
to:
   This document has been written with the spirit of tradition syslog in
Keeping the reference in the Introduction is OK.


"Conventions Used in This Document" should be:
  The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL
  NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED",  "MAY", and
  "OPTIONAL" in this document are to be interpreted as described in
  RFC 2119.
(That's how it's written in RFC 2119.)  In some cases the keyword
"optional" should be in uppercase in the document - like in several places
in Section 7.


Double dashes in Basic Pricipals are not to be used.  Suggest change
   o  Relays may send all or some of the messages that they receive to a
  subsequent relay or collector.  They may also store -- or
  otherwise locally process -- some or all messages without
  forwarding.  In those cases, they are acting as both a collector
  and a relay.
to:
   o  Relays may send all or some of the messages that they receive to a
  subsequent relay or collector.  They may also store or otherwise
  locally process some or all messages without forwarding.  In those
  cases, they are acting as both a collector and a relay.
Also, this is not entirely clear.  Perhaps it should be changed to:
   o  Relays may send all or some of the messages that they receive to a
  subsequent relay or collector.  They may also store or otherwise
  locally process some or all messages without forwarding.  In the
  case where a receiver stores some messages and relays some
  messages, it is acting as both a collector and a relay.


Watch the contignuity of the diagram 1 and its title.  Make sure that
they are not separated by a page break.  The RFC editor will also
watch this.


In Section 6.1 "Message Length", the following paragraphs may be clearer
if they are reversed:
   If the last SD-ELEMENT of a message is deleted, the STRUCTURED-DATA
   field MUST be changed to "-" to indicate empty STRUCTURED-DATA.

   When a receiver or initial sender truncates a message, the TRUNCATE
   (Section 6.2.4) field MUST be updated.  In the case of a receiver,
   please note that this will break eventually existing digital
   signatures.  This is irrelevant, as the truncation itself breaks the
   signature.  So no extra harm is done by updating the TRUNCATE field.
Also, the clause
   please note that this will break eventually existing digital
   signatures.
should be changed to:
   please note that this will break message integrity checking
   mechanisms such as digital signatures.


Would it be appropriate in Section 6.2.1 "VERSION" to describe that
the VERSION field can only be changed by STANDARDS ACTIONS as defined
in RFC 2434?  Also, the VERSION needs to be registered with IANA and needs
to be stated in the instructions to the IANA.


In Section 6.2.2 "FACILITY", the value of the facility should not
have commas.
   FACILITY is an integer in the range from 0 to 2,147,483,647.  It can
change to:
   FACILITY is an integer in the range from 0 to 2147483647.  It can


If diagram 1 has a title, then so should the diagram (or table) in Section
6.2.3 "SEVERITY".


The list in Section 6.2.3.1 "Relation to Alarm MIB" may be better
represented in a table.


The table in Section 6.2.4 "TRUNCATE" should have a title.


Grammar in Section 6.3.3 "SD-PARAM":
   MAY drop the message.  It is RECOMMENDED that the receiver logs a
   diagnostic on reception of invalid escape sequences.
should be changed to:
   MAY drop the message.  It is RECOMMENDED that the receiver log a
   diagnostic message on receipt of a message with an invalid escape
   sequence.


Section 6.3.4 "Change Control" should either be move to the IANA
Considerations or be duplicated there.
   Once SD-IDs and PARAM-NAMEs are defined, syntax and semantics of
   these objects MUST NOT be altered.  Should a change to an existing
   object be desired, a new one MUST be created and the old one remain
   unchanged.
A slight change may make it more readable:
   Once SD-IDs and PARAM-NAMEs are defined, syntax and semantics of
   these objects MUST NOT be altered.  Should a change to an existing
   object be desired, a new SD-ID MUST be created and the old one remain
   unchanged.


In Section 7.3.1 "sequenceId", commas should be removed from the number.
   message up to a maximum value of 2,147,483,647.  If that value is