[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Syslog-sec] Syslog protocol draft(draft-ietf-syslog-protocol-11.txt)
Clément,
you are right, vendor extensions are covered by the "x-" rule. I have changed the confusing text as follows:
####
6.3.2 SD-ID
IANA controls ALL SD-IDs without a hyphen ('-') in the second
character position. SD-IDs are case-sensitive and uniquely identify
the type and purpose of the SD-ELEMENT. Experimental or vendor-
specific SD-ID MUST start with "x-". The first character MUST NOT be
anything other than "x" if the second character is a hyphen ('-').
The same SD-ID MUST NOT exist more than once in a message.
####
This text reserves all names with a hyphen in the second position and declares everything invalid, except those that have a "x" in front of the hyphen.
We could alternatively say that the full name space can be used and is controlled by IANA, with the exception of SD-IDs starting with "x-", which are reserved for vendor use. In this case, the "x-" header would delegate part of the name space.
Any comments on this?
Many thanks,
Rainer
> -----Original Message-----
> From: syslog-sec-bounces@www.employees.org
> [mailto:syslog-sec-bounces@www.employees.org] On Behalf Of
> Clement MATHIEU
> Sent: Monday, May 02, 2005 7:57 PM
> To: syslog-sec@employees.org
> Subject: Re: [Syslog-sec] Syslog protocol
> draft(draft-ietf-syslog-protocol-11.txt)
>
> Le lundi 02 mai 2005 à 08:47 -0700, Alexander Clemm (alex) a écrit :
>
> > The structured data is an extremely important concept, as
> this provides for
> > extensibility and separates the "core" fields from the
> "extension" fields.
> > For the structured data, would it make sense considering to
> reserve a prefix
> > character (for example, the underscore character) for the
> SD-name that
> > should not be used for vendor-defined SD elements, so that if later
> > extensions to the syslog protocol are standardized in form of new SD
> > elements there won't be conflicts - or vice versa, to require vendor
> > extensions to start with it?
>
> Please correct me if I am wrong but i think this issue is already
> addressed.
>
> >From grammar:
> STRUCTURED-DATA = *SD-ELEMENT / "-"
> SD-ELEMENT = "[" SD-ID 0*(1*SP SD-PARAM) "]"
> SD-ID = SD-NAME
> SD-NAME = 1*32OCTET ; VALID UTF-8 String
> ; except '=', SP, ']', %d34 (")
>
> ---------------- draft 11 -------------------
> 6.3.2 SD-ID
>
> IANA controls ALL SD-IDs without a hyphen ('-') in the second
> character position. SD-IDs are case-sensitive and
> uniquely identify
> the type and purpose of the SD-ELEMENT. Experimental or vendor-
> specific SD-ID MUST start with "x-". Anything that doesn't is
> managed by IANA. The same SD-ID MUST NOT exist more than once in a
> message.
> ----------------------------------------------
>
> To my understanding a vendor-defined SD-ID can not conflict with a
> standardize one.
>
> BTW, i find 6.3.2 quite unclear. Firstly we say that IANA controls all
> SD-ID without a - in second position.
>
> IANA controlled:
> plop
> foo-bar
> 42
>
> (probably) Not IANA controlled:
> z-yyyy
> a-b-c
>
> Then we add "Anything that doesn't is managed by IANA.". So, finally,
> "z-yyyy" and "a-b-c" are controlled by IANA...
>
> Confusing isn't it ?
>
> Theses two sentences are not contradictory; the second one defines a
> larger set of SD-ID.
>
> Am I wrong ?
>
> Clément MATHIEU
>
> _______________________________________________
> Syslog-sec mailing list
> Syslog-sec@www.employees.org
> http://www.employees.org/mailman/listinfo/syslog-sec
>
_______________________________________________
Syslog-sec mailing list
Syslog-sec@www.employees.org
http://www.employees.org/mailman/listinfo/syslog-sec