Re: [Isms] IsmsQuestions on TLSTM/TSM and RFC 5343

Frank Fock <fock@agentpp.com> Mon, 24 January 2011 18:05 UTC

Return-Path: <fock@agentpp.com>
X-Original-To: isms@core3.amsl.com
Delivered-To: isms@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E13B93A6A6C for <isms@core3.amsl.com>; Mon, 24 Jan 2011 10:05:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.549
X-Spam-Level:
X-Spam-Status: No, score=-1.549 tagged_above=-999 required=5 tests=[AWL=-0.500, BAYES_00=-2.599, HELO_EQ_DE=0.35, J_CHICKENPOX_15=0.6, J_CHICKENPOX_41=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XCvovWN5QYxd for <isms@core3.amsl.com>; Mon, 24 Jan 2011 10:05:56 -0800 (PST)
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.10]) by core3.amsl.com (Postfix) with ESMTP id 6D0B73A6923 for <isms@ietf.org>; Mon, 24 Jan 2011 10:05:56 -0800 (PST)
Received: from [127.0.0.1] (p5B2078D6.dip.t-dialin.net [91.32.120.214]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0MRijR-1PnjRT0Asj-00TWBb; Mon, 24 Jan 2011 19:08:42 +0100
Message-ID: <4D3DBFA1.7030500@agentpp.com>
Date: Mon, 24 Jan 2011 19:06:25 +0100
From: Frank Fock <fock@agentpp.com>
Organization: AGENT++
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7
MIME-Version: 1.0
To: David Harrington <ietfdbh@comcast.net>
References: <4D32C788.5060604@agentpp.com> <sdvd1mvybg.fsf@wjh.hardakers.net><4D3C6451.7020000@agentpp.com> <00c801cbbbd0$bbb23080$4001a8c0@gateway.2wire.net> <9042AA7CD42C41988BD291DE916C5DFC@davidPC>
In-Reply-To: <9042AA7CD42C41988BD291DE916C5DFC@davidPC>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Provags-ID: V02:K0:tEfHYnJg/sVRsg6UrsrIVvMWLvl2QgpuHNFarghGkKU lB5qHuR962JjFTVPx/iUIysEAx4AZuddtVF3xS6dtEO8NOIWIO 6qwk55BupHC6epBEws46e9V1MTKfi6sKkodCeaf36rNQ16h/Fp Hy9ixTA8MJ0i4XrjDAuKNukQkEjq3SVbJ3dGzYnXnLbq1PlHxC gkGygBUAJ0fFSYzVaVoC7hpZbEaMpqmor7L50q/Cyw=
Cc: isms@ietf.org
Subject: Re: [Isms] IsmsQuestions on TLSTM/TSM and RFC 5343
X-BeenThere: isms@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Mailing list for the ISMS working group <isms.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/isms>, <mailto:isms-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/isms>
List-Post: <mailto:isms@ietf.org>
List-Help: <mailto:isms-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/isms>, <mailto:isms-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 24 Jan 2011 18:05:58 -0000

Hi David,

I personally I have not encountered the
"unique engine ID" issue yet. However,
I get complains from users of SNMP4J
and SNMP++ APIs for several month (if not
years now) who encounter problems if their
network if they try to get values from
more than one device with SNMPv3.

After analysis of dumps and log files,
there are two common errors made by the
manufacturer of the devices (or admins):

1. Using a non-unique hardcoded or unchanged
default value for all deployed devices.
2. The device does not increase its engineBoots
counter when restarted.

The second one is a common error for years
now, whereas the first one got more "popular"
within the last few months.

Both issues above seem to be caused by some
(popular?) SNMP command generator software
out there, that does resynchronize engine ID
and time without asking the user/application
layer. Otherwise this problem would have been
detected by the admins/device creators before
the error had been deployed to the field.

As a consequence of the above problems, I am
asked from time to time to provide also
auto-resynchronization of engine ID and time,
which I refuse, of course.
But asking for such changes in an API shows
how low the security awareness is.
To "get it working" seems the primary driver
:-(

I do not know which companies are creating
the buggy devices or running the incorrect
administered networks, but I could collect
that information starting from now.

Best regards,
Frank

On 24.01.2011 16:46, David Harrington wrote:
> Hi,
>
> I am a bit surprised that a couple companies are producing
> non-compliant devices, and we haven't heard anything on our lists
> asking about the uniqueness requirement until now.
> Frank, have you contacted the companies' technical support to ask
> about this non-compliance?
>
> IIRC,
> snmpEngineID is supposed to be administratively assignable (e.g., via
> config file).
>
>                   The initial value for this object may be configured
>                   via an operator console entry or via an algorithmic
>                   function.  In the latter case, the following
>                   example algorithm is recommended.
>
> The vendor might provide a default, but it is up to the deployer to
> make sure the value is set to a unique value within the domain.
> If what Frank is seeing is a non-changeable value in a device, I think
> the implementation is non-compliant.
> If what Frank is seeing is duplicate IDs within a deployment, the
> admin is preumably at fault for not properly setting the initial
> values to be unique.
>
> dbh
>
>> -----Original Message-----
>> From: isms-bounces@ietf.org [mailto:isms-bounces@ietf.org] On
>> Behalf Of t.petch
>> Sent: Monday, January 24, 2011 9:12 AM
>> To: Frank Fock; Wes Hardaker
>> Cc: isms@ietf.org
>> Subject: Re: [Isms] IsmsQuestions on TLSTM/TSM and RFC 5343
>>
>> ----- Original Message -----
>> From: "Frank Fock"<fock@agentpp.com>
>> To: "Wes Hardaker"<wjhns1@hardakers.net>
>> Cc:<isms@ietf.org>
>> Sent: Sunday, January 23, 2011 6:24 PM
>>
>>> Hi Wes,
>>>
>>> Thanks for your reply (and also those of Tom
>>> and Juergen).
>>>
>>> I understand that RFC 5343 solves the
>>> contextEngineID discovery problem, but
>>> within the last 10 years with SNMPv3
>>> I learned, that most SNMPv3 users do not
>>> understand the authoritative and context engine
>>> ID concepts.
>>>
>>> There are also a couple of companies
>>> creating SNMPv3 devices with identical
>>> authoritative engine ID for all instances
>>> of their device. We API developers are then
>>> asked to work around these problems :-(
>>
>> That surprises me (and sounds like a potential disaster).
>>
>> To quote RFC3411
>> " Within an administrative domain, an snmpEngineID is the unique and
>>     unambiguous identifier of an SNMP engine.  Since there is a
> one-to-
>>     one association between SNMP engines and SNMP entities, it also
>>     uniquely and unambiguously identifies the SNMP entity within that
>>     administrative domain.  Note that it is possible for SNMP
>> entities in
>>     different administrative domains to have the same value for
>>     snmpEngineID.  Federation of administrative domains may
> necessitate
>>     assignment of new values."
>>
>> which seems clear, unless the concept of an engine is unclear.
>>
>> On the other hand, it is much easier to burn the same identifier
> into
>> everything, rather than using a MAC address type approach and
>> make each device unique. Perhaps we ask too much of those making
>> devices.
>>
>> Tom Petch
>>
>>>
>>> That's why I thought about simplifying
>>> the SNMPv3 and making the discovery of
>>> a contextEngineID unnecessary if not
>>> required by the command generator.
>>>
>>> Nevertheless, I agree that using a single
>>> magic contextEngineID for the local context,
>>> would interfere with proxy applications,
>>> for example.
>>>
>>> I will now first finish my implementation
>>> and then make a complete report and analysis
>>> of the result. This will also include using
>>> contextEngineId discovery with USM.
>>>
>>> Best regards,
>>> Frank
>>>
>>>
>>> _______________________________________________
>>> Isms mailing list
>>> Isms@ietf.org
>>> https://www.ietf.org/mailman/listinfo/isms
>> _______________________________________________
>> Isms mailing list
>> Isms@ietf.org
>> https://www.ietf.org/mailman/listinfo/isms
>>
>

-- 
AGENT++
http://www.agentpp.com
http://www.snmp4j.com
http://www.mibexplorer.com
http://www.mibdesigner.com