[96629] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

Re: [cacti-announce] Cacti 0.8.6j Released (fwd)

daemon@ATHENA.MIT.EDU (Dorn Hetzel)
Thu May 17 08:02:05 2007

Date: Thu, 17 May 2007 08:00:26 -0400
From: "Dorn Hetzel" <dhetzel@gmail.com>
To: nanog@merit.edu
In-Reply-To: <20070517051100.GB8115@subspacefield.org>
Errors-To: owner-nanog@merit.edu


------=_Part_38071_8831854.1179403226318
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

ASN.1 is quite concrete, and specifys several encoding methods (I prefer BER
myself) :)
I'm not saying everyone would consider it pretty, but it's quite concrete
...

Check out http://lionet.info/asn1c/


On 5/17/07, Travis H. <travis+ml-nanog@subspacefield.org> wrote:
>
> On Wed, May 09, 2007 at 10:25:14AM +0100, michael.dillon@bt.com wrote:
> > A MIB is the database schema for an object-oriented hierarchical
> > database. The key words there are schema and hierarchical.
>
> A-ha!
>
> So when they say "object" as in "OID", they are referring to stuff in
> the MIB database?  Okay, now many things are beginning to make more
> sense.  By itself, that word gives no clue as to what it refers to.
> For that matter, it'd be nice if someone defined LDAP's use of the
> word "attribute", too.
>
> Drift:
>
> LDAP too uses ASN.1, in fact the same OIDs used by SNMP, and in the
> O'Reilly book it mentions that it is possible to define different
> matching rules for each class.  Now, do they mean that somehow, this
> MIB syntax can actually encode an algorithm in some kind of hideous
> turing-machine-gone-mad, and that I've got to worry about malicious
> MIBs, or does it just refer to a routine implemented elsewhere?
>
> > Schema means
> > that it describes how the data is organized
>
> Should read: ``Schemata describe how the data are organized''
>
> Stigma, stigmata; schema, schemata
>
> :-)
>
> Forgive me if I digress into ASN.1 very briefly; it apparently rears its
> ugly head in numerous places in cryptography as well as networking, and
> I have struggled with it a bit.
>
> Based on what I have read, this syntax is "abstract" in the sense that
> it says something like "class C is composed of a DATE object, TIME
> object, and BLARG object", without specifying how to encode or decode
> any of those objects into some concrete form either for the user or to
> put in a packet to send to another system.  The encoding and decoding
> is done with a "transfer syntax", and interpreting it for a human
> (that is, figuring out a way to represent it) is yet another unsolved
> problem.  Sounds a lot like stone soup (or XML) to me.
>
> > That would work but it can be tricky to get the RIGHT MIBs that match
> > the data actually available in your device. Also, reading MIBs can be
> > misleading because you will see things that look great, but don't work
> > because they are deprecated
>
> Those of you who use this word frequently may be amused at its definition:
>
> To pray against, as an evil; to seek to avert by prayer; to seek
> deliverance from; to express deep regret for; to desire the removal
> of. [archaic]
>
> > Now you see where the SNMP alligator swamp lies. If you are building
> > your own network management applications, you may be happier only
> > putting the MIBs on the development machines, and putting the numeric
> > keys into your application code, or better yet, into your application's
> > config file. MIBs have lots of stuff that you probably don't need unless
> > you are allowing users to browse through and query arbitrary data.
>
> Yeah, at this point I'm just playing around and exploring,
> and so want the MIBs to make sense of the numbers.
> --
> Kill dash nine, and its no more CPU time, kill dash nine, and that
> process is mine. -><- <URL:http://www.subspacefield.org/~travis/>
> For a good time on my UBE blacklist, email john@subspacefield.org.
>
>

------=_Part_38071_8831854.1179403226318
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<div>ASN.1 is quite concrete, and specifys several encoding methods (I prefer BER myself) :)</div>
<div>I&#39;m not saying everyone would consider it pretty, but it&#39;s quite concrete ...</div>
<div>&nbsp;</div>
<div>Check out <a href="http://lionet.info/asn1c/">http://lionet.info/asn1c/</a>&nbsp;<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 5/17/07, <b class="gmail_sendername">Travis H.</b> &lt;<a href="mailto:travis+ml-nanog@subspacefield.org">travis+ml-nanog@subspacefield.org</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Wed, May 09, 2007 at 10:25:14AM +0100, <a href="mailto:michael.dillon@bt.com">michael.dillon@bt.com</a>
 wrote:<br>&gt; A MIB is the database schema for an object-oriented hierarchical<br>&gt; database. The key words there are schema and hierarchical.<br><br>A-ha!<br><br>So when they say &quot;object&quot; as in &quot;OID&quot;, they are referring to stuff in
<br>the MIB database?&nbsp;&nbsp;Okay, now many things are beginning to make more<br>sense.&nbsp;&nbsp;By itself, that word gives no clue as to what it refers to.<br>For that matter, it&#39;d be nice if someone defined LDAP&#39;s use of the<br>
word &quot;attribute&quot;, too.<br><br>Drift:<br><br>LDAP too uses ASN.1, in fact the same OIDs used by SNMP, and in the<br>O&#39;Reilly book it mentions that it is possible to define different<br>matching rules for each class.&nbsp;&nbsp;Now, do they mean that somehow, this
<br>MIB syntax can actually encode an algorithm in some kind of hideous<br>turing-machine-gone-mad, and that I&#39;ve got to worry about malicious<br>MIBs, or does it just refer to a routine implemented elsewhere?<br><br>
&gt; Schema means<br>&gt; that it describes how the data is organized<br><br>Should read: ``Schemata describe how the data are organized&#39;&#39;<br><br>Stigma, stigmata; schema, schemata<br><br>:-)<br><br>Forgive me if I digress into 
ASN.1 very briefly; it apparently rears its<br>ugly head in numerous places in cryptography as well as networking, and<br>I have struggled with it a bit.<br><br>Based on what I have read, this syntax is &quot;abstract&quot; in the sense that
<br>it says something like &quot;class C is composed of a DATE object, TIME<br>object, and BLARG object&quot;, without specifying how to encode or decode<br>any of those objects into some concrete form either for the user or to
<br>put in a packet to send to another system.&nbsp;&nbsp;The encoding and decoding<br>is done with a &quot;transfer syntax&quot;, and interpreting it for a human<br>(that is, figuring out a way to represent it) is yet another unsolved
<br>problem.&nbsp;&nbsp;Sounds a lot like stone soup (or XML) to me.<br><br>&gt; That would work but it can be tricky to get the RIGHT MIBs that match<br>&gt; the data actually available in your device. Also, reading MIBs can be<br>
&gt; misleading because you will see things that look great, but don&#39;t work<br>&gt; because they are deprecated<br><br>Those of you who use this word frequently may be amused at its definition:<br><br>To pray against, as an evil; to seek to avert by prayer; to seek
<br>deliverance from; to express deep regret for; to desire the removal<br>of. [archaic]<br><br>&gt; Now you see where the SNMP alligator swamp lies. If you are building<br>&gt; your own network management applications, you may be happier only
<br>&gt; putting the MIBs on the development machines, and putting the numeric<br>&gt; keys into your application code, or better yet, into your application&#39;s<br>&gt; config file. MIBs have lots of stuff that you probably don&#39;t need unless
<br>&gt; you are allowing users to browse through and query arbitrary data.<br><br>Yeah, at this point I&#39;m just playing around and exploring,<br>and so want the MIBs to make sense of the numbers.<br>--<br>Kill dash nine, and its no more CPU time, kill dash nine, and that
<br>process is mine. -&gt;&lt;- &lt;URL:<a href="http://www.subspacefield.org/~travis/">http://www.subspacefield.org/~travis/</a>&gt;<br>For a good time on my UBE blacklist, email <a href="mailto:john@subspacefield.org">john@subspacefield.org
</a>.<br><br></blockquote></div><br>

------=_Part_38071_8831854.1179403226318--

home help back first fref pref prev next nref lref last post