Request for clarification of RTF 5424 Section 6.2.5 (APP-NAME)
"Remeika, James C." <[email protected]> Mon, 10 Jun 2013 21:48:29 +0000
| Newsgroups | gmane.ietf.syslog |
|---|---|
| Message-ID | <[email protected]> |
--===============7697583718426839476==
Content-type: multipart/alternative;
boundary=_000_356019E317654543A61055476ED9844B09F698F0mbx2drapercom_
Content-language: en-US
--_000_356019E317654543A61055476ED9844B09F698F0mbx2drapercom_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
The APP-NAME field definition in RCF 5424 header says that "[i]t is a strin=
g without further semantics", and the ABNF definition of the field is 1*48P=
RINTUSASCII, which to my reading indicates that the space character is allo=
wed. The same is true for the field PROCID, which follows APP-NAME: space c=
haracters seem to be allowed. How can this be allowed, if the values within=
the header are delimited by spaces. It seems like the two value sets for A=
PP-NAME and PROCID would be indistinguishable:
++MESSAGE A++
APP-NAME: "cat dog"
PROCID: "rabbit"
++MESSAGE B++
APP-NAME: "cat"
PROCID: "dog rabbit"
Thanks for your consideration,
James Remeika
--_000_356019E317654543A61055476ED9844B09F698F0mbx2drapercom_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html dir=3D"ltr">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style id=3D"owaParaStyle">P {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
P {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</style>
</head>
<body fPStyle=3D"1" ocsi=3D"0">
<div style=3D"direction: ltr;font-family: Tahoma;color: #000000;font-size: =
10pt;">
<div style=3D"FONT-FAMILY: Tahoma; DIRECTION: ltr; COLOR: #000000; FONT-SIZ=
E: 10pt">
The APP-NAME field definition in RCF 5424 header says that "[i]t =
is a string without further semantics", and the ABNF definition of the=
field is 1*48PRINTUSASCII, which to my reading indicates that the space ch=
aracter is allowed. The same is true for the field
PROCID, which follows APP-NAME: space characters seem to be allowed. How c=
an this be allowed, if the values within the header are delimited by spaces=
. It seems like the two value sets for APP-NAME and PROCID would be indisti=
nguishable:
</div>
<div style=3D"FONT-FAMILY: Tahoma; DIRECTION: ltr; COLOR: #000000; FONT-SIZ=
E: 10pt">
</div>
<div style=3D"FONT-FAMILY: Tahoma; DIRECTION: ltr; COLOR: #000000; FONT-SIZ=
E: 10pt">
++MESSAGE A++</div>
<div style=3D"FONT-FAMILY: Tahoma; DIRECTION: ltr; COLOR: #000000; FONT-SIZ=
E: 10pt">
APP-NAME: "cat dog"</div>
<div style=3D"FONT-FAMILY: Tahoma; DIRECTION: ltr; COLOR: #000000; FONT-SIZ=
E: 10pt">
PROCID: "rabbit"</div>
<div style=3D"FONT-FAMILY: Tahoma; DIRECTION: ltr; COLOR: #000000; FONT-SIZ=
E: 10pt">
</div>
<div style=3D"FONT-FAMILY: Tahoma; DIRECTION: ltr; COLOR: #000000; FONT-SIZ=
E: 10pt">
<br>
++MESSAGE B++</div>
<div style=3D"FONT-FAMILY: Tahoma; DIRECTION: ltr; COLOR: #000000; FONT-SIZ=
E: 10pt">
<div style=3D"FONT-FAMILY: Tahoma; DIRECTION: ltr; COLOR: #000000; FONT-SIZ=
E: 10pt">
APP-NAME: "cat"</div>
<div style=3D"FONT-FAMILY: Tahoma; DIRECTION: ltr; COLOR: #000000; FONT-SIZ=
E: 10pt">
PROCID: "dog rabbit"</div>
<div style=3D"FONT-FAMILY: Tahoma; DIRECTION: ltr; COLOR: #000000; FONT-SIZ=
E: 10pt">
</div>
<div style=3D"FONT-FAMILY: Tahoma; DIRECTION: ltr; COLOR: #000000; FONT-SIZ=
E: 10pt">
Thanks for your consideration,</div>
<div style=3D"FONT-FAMILY: Tahoma; DIRECTION: ltr; COLOR: #000000; FONT-SIZ=
E: 10pt">
James Remeika</div>
</div>
</div>
</body>
</html>
--_000_356019E317654543A61055476ED9844B09F698F0mbx2drapercom_--
--===============7697583718426839476==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Syslog mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/syslog
--===============7697583718426839476==--