Re: ARGUSBug Argus server occasionally generates an invalid meter DSR in a flow record

[email protected] Wed, 27 Feb 2019 14:14:20 -0500
Newsgroups gmane.network.argus
Message-ID <[email protected]>
--Apple-Mail=_6CF13FE7-7372-4EFE-9BDA-B6D5E4FAED92
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hey Joel,
Can you send a binary argus file that has one of the records in it ???   =
Is this record coming directly from argus or is it coming from a client =
=E2=80=A6 radium.1 ???

There is a lot of data compression going on with the Meter DSR, and the =
client library will attempt to pack the metrics into as little space as =
possible, such that, if all the values are less than 256, then all the =
metrics are reported as a char array.  I suspect that the Meter DSR has =
been compressed, but the final type description is getting dropped.

What do the argus-clients do with this record =E2=80=A6 do they print =
out anything at all or do they jump past this DSR  ???
Hope all is going well down in Tennesseeeeeeeeeee  land !!!!

Carter
=20

> On Feb 27, 2019, at 2:01 PM, Reed, Joel via Argus-info =
<[email protected]> wrote:
>=20
> >Description:
>    The Argus server occasionally generates a flow record with a meter =
DSR that is not properly parsed by the ra client.  This causes the =
packet, byte, and appbytes counts to be incorrect, usually containing at =
least some count values from the previous flow record.  Below I have =
included a partial dump of the of the problematic flow record.  The =
meter DSR subtype 0x04 (includes app bytes) has a qualifier of 0x00.  =
The meter DSR parser (common/argus_client.c:~2223) does not have a case =
to process a meter DSR subtype 0x04, qualifier of 0x00.
>=20
>    Partial hex dump of the flow record:
>=20
>     01: 13 20 00 39 -- Type 0x10 (FAR), version 3, 0x20 continuation, =
length 0x39
>    02: 01 03 00 03 -- Transport DSR=20
>    03: 00 00 00 00  |
>    04: e1 12 61 ff  |
>    05: 02 01 01 05 -- Flow DSR
>    06: a0 5b 56 4a  |
>    07: a0 5b 5e a9  |
>    08: 06 00 03 ff  |
>    09: 08 01 00 00  |
>    0a: 03 02 18 05 -- Time DSR
>    0b: 5c 76 ad d0  |
>    0c: 00 07 88 2f  |
>    0d: 5c 76 ad f0  |
>    0e: 00 05 41 67  |
>    0f: 10 04 00 05 -- Meter DSR, subtype 0x04, qualifier 0x00, length =
0x05
>    10: 30 00 00 01  |
>    11: 40 00 01 02  |
>    12: 01 f4 00 00  |
>    13: 48 00 01 02  |
>    14: 30 05 00 1e -- Network DSR
>    15: ...
>=20
> >How-To-Repeat:
>    Unknown.  We see approximately one of these per hour.
>=20
> >Fix:
>    Unknown.
>=20
> >Originator: Joel Reed <[email protected] <mailto:[email protected]>>
> >Organization:
>    ORNL
> >ARGUS support: none
> >Release:       argus-3.0
> >Product:       argus
> >Synopsis:      Argus server occasionally generates an invalid meter =
DSR in a flow record
> >Class:        sw-bug
> >Severity:      non-critical
> >Priority:      low
>=20
> >Environment:  =20
>=20
> ARGUS:   Argus Version 3.0.8.2
> RA:      Ra Version 3.0.8.2
>=20


--Apple-Mail=_6CF13FE7-7372-4EFE-9BDA-B6D5E4FAED92
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D"">Hey =
Joel,<div class=3D"">Can you send a binary argus file that has one of =
the records in it ??? &nbsp; Is this record coming directly from argus =
or is it coming from a client =E2=80=A6 radium.1 ???</div><div =
class=3D""><br class=3D""></div><div class=3D"">There is a lot of data =
compression going on with the Meter DSR, and the client library will =
attempt to pack the metrics into as little space as possible, such that, =
if all the values are less than 256, then all the metrics are reported =
as a char array. &nbsp;I suspect that the Meter DSR has been compressed, =
but the final type description is getting dropped.</div><div =
class=3D""><br class=3D""></div><div class=3D"">What do the =
argus-clients do with this record =E2=80=A6 do they print out anything =
at all or do they jump past this DSR &nbsp;???</div><div class=3D"">Hope =
all is going well down in Tennesseeeeeeeeeee &nbsp;land !!!!</div><div =
class=3D""><br class=3D""><div class=3D"">Carter<div class=3D""><div =
dir=3D"auto" style=3D"caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); =
letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D"">&nbsp;</div>
</div>
<div><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D"">On Feb 27, 2019, at 2:01 PM, Reed, Joel via Argus-info &lt;<a =
href=3D"mailto:[email protected]" =
class=3D"">[email protected]</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D"">

<meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dus-ascii" class=3D"">

<div style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
line-break: after-white-space;" class=3D"">
<div class=3D"">&gt;Description:</div>
<div class=3D"">&nbsp; &nbsp;The Argus server occasionally generates a =
flow record with a meter DSR that is not properly parsed by the ra =
client. &nbsp;This causes the packet, byte, and appbytes counts to be =
incorrect, usually containing at least some count values from the
 previous flow record. &nbsp;Below I have included a partial dump of the =
of the problematic flow record. &nbsp;The meter DSR subtype 0x04 =
(includes app bytes) has a qualifier of 0x00. &nbsp;The meter DSR parser =
(common/argus_client.c:~2223) does not have a case to process
 a meter DSR subtype 0x04, qualifier of 0x00.</div>
<div class=3D""><br class=3D"">
</div>
<div class=3D"">&nbsp; &nbsp;Partial hex dump of the flow record:</div>
<div class=3D""><br class=3D"">
</div>
<div class=3D"">&nbsp; <font face=3D"Courier New" class=3D"">&nbsp; 01: =
13 20 00 39 -- Type 0x10 (FAR), version 3, 0x20 continuation, length =
0x39</font></div>
<div class=3D""><font face=3D"Courier New" class=3D"">&nbsp; &nbsp;02: =
01 03 00 03 -- Transport DSR&nbsp;</font></div>
<div class=3D""><font face=3D"Courier New" class=3D"">&nbsp; &nbsp;03: =
00 00 00 00 &nbsp;|</font></div>
<div class=3D""><font face=3D"Courier New" class=3D"">&nbsp; &nbsp;04: =
e1 12 61 ff &nbsp;|</font></div>
<div class=3D""><font face=3D"Courier New" class=3D"">&nbsp; &nbsp;05: =
02 01 01 05 -- Flow DSR</font></div>
<div class=3D""><font face=3D"Courier New" class=3D"">&nbsp; &nbsp;06: =
a0 5b 56 4a &nbsp;|</font></div>
<div class=3D""><font face=3D"Courier New" class=3D"">&nbsp; &nbsp;07: =
a0 5b 5e a9 &nbsp;|</font></div>
<div class=3D""><font face=3D"Courier New" class=3D"">&nbsp; &nbsp;08: =
06 00 03 ff &nbsp;|</font></div>
<div class=3D""><font face=3D"Courier New" class=3D"">&nbsp; &nbsp;09: =
08 01 00 00 &nbsp;|</font></div>
<div class=3D""><font face=3D"Courier New" class=3D"">&nbsp; &nbsp;0a: =
03 02 18 05 -- Time DSR</font></div>
<div class=3D""><font face=3D"Courier New" class=3D"">&nbsp; &nbsp;0b: =
5c 76 ad d0 &nbsp;|</font></div>
<div class=3D""><font face=3D"Courier New" class=3D"">&nbsp; &nbsp;0c: =
00 07 88 2f &nbsp;|</font></div>
<div class=3D""><font face=3D"Courier New" class=3D"">&nbsp; &nbsp;0d: =
5c 76 ad f0 &nbsp;|</font></div>
<div class=3D""><font face=3D"Courier New" class=3D"">&nbsp; &nbsp;0e: =
00 05 41 67 &nbsp;|</font></div>
<div class=3D""><font face=3D"Courier New" class=3D"">&nbsp; &nbsp;0f: =
10 04 00 05 -- Meter DSR, subtype 0x04, qualifier 0x00, length =
0x05</font></div>
<div class=3D""><font face=3D"Courier New" class=3D"">&nbsp; &nbsp;10: =
30 00 00 01 &nbsp;|</font></div>
<div class=3D""><font face=3D"Courier New" class=3D"">&nbsp; &nbsp;11: =
40 00 01 02 &nbsp;|</font></div>
<div class=3D""><font face=3D"Courier New" class=3D"">&nbsp; &nbsp;12: =
01 f4 00 00 &nbsp;|</font></div>
<div class=3D""><font face=3D"Courier New" class=3D"">&nbsp; &nbsp;13: =
48 00 01 02 &nbsp;|</font></div>
<div class=3D""><font face=3D"Courier New" class=3D"">&nbsp; &nbsp;14: =
30 05 00 1e -- Network DSR</font></div>
<div class=3D""><font face=3D"Courier New" class=3D"">&nbsp; &nbsp;15: =
...</font></div>
<div class=3D""><br class=3D"">
</div>
<div class=3D"">&gt;How-To-Repeat:</div>
<div class=3D"">&nbsp; &nbsp;Unknown. &nbsp;We see approximately one of =
these per hour.</div>
<div class=3D""><br class=3D"">
</div>
<div class=3D"">&gt;Fix:</div>
<div class=3D"">&nbsp; &nbsp;Unknown.</div>
<div class=3D""><br class=3D"">
</div>
<div class=3D"">&gt;Originator: Joel Reed &lt;<a =
href=3D"mailto:[email protected]" class=3D"">[email protected]</a>&gt;</div>
<div class=3D"">&gt;Organization:</div>
<div class=3D"">&nbsp; &nbsp;ORNL</div>
<div class=3D"">&gt;ARGUS support: none</div>
<div class=3D"">&gt;Release: &nbsp; &nbsp; &nbsp; argus-3.0</div>
<div class=3D"">&gt;Product: &nbsp; &nbsp; &nbsp; argus</div>
<div class=3D"">&gt;Synopsis: &nbsp; &nbsp; &nbsp;Argus server =
occasionally generates an invalid meter DSR in a flow record</div>
<div class=3D"">&gt;Class:<span class=3D"Apple-tab-span" =
style=3D"white-space:pre"> </span>
&nbsp; &nbsp; &nbsp; sw-bug</div>
<div class=3D"">&gt;Severity: &nbsp; &nbsp; &nbsp;non-critical</div>
<div class=3D"">&gt;Priority: &nbsp; &nbsp; &nbsp;low</div>
<div class=3D""><br class=3D"">
</div>
<div class=3D"">&gt;Environment: &nbsp;&nbsp;</div>
<div class=3D""><br class=3D"">
</div>
<div class=3D"">ARGUS: &nbsp; Argus Version 3.0.8.2</div>
<div class=3D"">RA: &nbsp; &nbsp; &nbsp;Ra Version 3.0.8.2</div>
<div class=3D""><br class=3D"">
</div>
</div>

</div></blockquote></div><br class=3D""></div></div></body></html>=

--Apple-Mail=_6CF13FE7-7372-4EFE-9BDA-B6D5E4FAED92--