Re: Encrypting trapsess entries in snmpd.conf

Michael Kirkham <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Tue, 23 Jan 2007, Michael Kirkham wrote:

> Date: Tue, 23 Jan 2007 03:44:56 -0800 (PST)
> From: Michael Kirkham <[email protected]>
> To: [email protected]
> Subject: Re: Encrypting trapsess entries in snmpd.conf
> 
>
> I'd say bug, because it also causes users created via SNMP to receive
> SNMPv3 informs via the target/notification MIBs to be deleted on reboot,
> and readOnly (according to the StorageType TC) should be saved to
> persistent storage, unlike nonVolatile.  I submitted a patch (1642071)
> about this yesterday:

Err, unlike volatile [it's late].

>
> http://sourceforge.net/tracker/index.php?func=detail&aid=1642071&group_id=12694&atid=312694
>
>> This doesn't quite work as you would hope though.
>>
>> While the user information is used to send the trap, the act of
>> configuring the "trapsess" directive causes create_user_from_session
>> to set the storage type for the user to "read-only".
>> When snmpd is stopped and it writes the persistent snmpd.conf
>> file, it then does not write the information back for this user,
>> since it ignores those entries that are not non-volatile (in
>> usm_save_users_from_list) - which this entry was, until messed
>> about with by create_user_from_session.
>> So, the next time you start snmpd, it stops working...
>>
>> Bug? Feature? Other?
>>
>> Phil
>
> --
> Michael Kirkham
> President & CEO
> Muonics, Inc.
> http://www.muonics.com/
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Net-snmp-users mailing list
> [email protected]
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.