Re: snmpusm and security of the initial user

2010-10-14 Thread slowpoison
On Thu, Oct 14, 2010 at 12:51 PM, Wes Hardaker wrote: > That really means that in the agent in order to create a new SNMPv3/USM > user you need to have an existing one to "clone" from.  It's a boot > strapping issue mostly (you have to authenticate with something ("a > user") in order to create a

Re: Possible to specify a device for snmpd agentaddress?

2010-10-14 Thread Wes Hardaker
RR> Folks, has anybody tried to use a device name (e.g. "eth0") in the RR> agentaddress field? Documentation indicates that only network RR> addresses are appropriate here, but one can always hope... ;) No, but we'd gladly accept patches to fix that! -- Wes Hardaker Cobham Analytic Solutions

Re: Regarding loading MIB

2010-10-14 Thread Wes Hardaker
> On Wed, 06 Oct 2010 14:39:06 -0400, Parth Bakshi said: PB> I believe the MIB hasnt been loaded properly I use ubuntu 7.04 for my PB> project. In your ~/.snmp/snmp.conf file add: MIBS +RFC1253-MIB -- Wes Hardaker Cobham Analytic Solutions -

Re: FW: Export Classification Request: NetSNMP

2010-10-14 Thread Wes Hardaker
If you're redistributing Net-SNMP software internationally as your product then it is your responsibility to file appropriately through export control. There is nothing that this project can help you with in that regard. -- Wes Hardaker Cobham Analytic Solutions ---

Re: How to update the EngineID without restarting the snmpd process

2010-10-14 Thread Wes Hardaker
What you're describing isn't supported by the software. A number of things would need to be done besides just changing the engineID. You'd also need to reset the boots and time values for USM. Generally, engineIDs shouldn't ever change on a device without wiping out the entire config and starti

Re: Segfault from dual-free in snmp_free_pdu

2010-10-14 Thread Wes Hardaker
> On Mon, 11 Oct 2010 10:40:29 -0600, Daniel D Streetman > said: DDS> With net-snmp 5.4.2.1, I'm getting a segfault in snmp_free_pdu() DDS> from what appears to me to be a dual-free of the pdu. It's a very DDS> intermittent problem that I only have 2 core files from. You know, I rememb

Re: unregistering handlers

2010-10-14 Thread Wes Hardaker
> On Tue, 12 Oct 2010 18:41:37 +0200, Leo Cacciari > said: LC> A secondary question could be: do I have the right approach? :) To answer your second question first: it looks like you've thought it out quite well and your approach should work. LC> The question is: it is enough to call

Re: Urgent Help on net-snmp subagent -Crash

2010-10-14 Thread Wes Hardaker
You really need to run it in a debugger if it's crashing for some reason. Logs aren't sufficient to know where things are going wrong. http://www.net-snmp.org/wiki/index.php/Debugger -- Wes Hardaker Cobham Analytic Solutions

Re: snmpusm and security of the initial user

2010-10-14 Thread Wes Hardaker
VV> I read in the snmpusm manual that I need to have an "initial" user VV> to create additional users. I am wondering about the security VV> implications of this requirement. Seems like I will have to VV> hard-code the snmpv3 password in the application I'm writing to wrap VV> the snmpv3 user crea

Re: To generate snmp trap by the agent

2010-10-14 Thread yogesh m
From: Dave Shield To: yogesh m Cc: Net-SNMP users Sent: Thu, 14 October, 2010 13:36:30 Subject: Re: To generate snmp trap by the agent firstly i want to thanks for your reply sir ya ... i am calling it in init func void init_tele(void) { DEBUGMSGTL(("te

Re: what is the "community" meaning?

2010-10-14 Thread Dave Shield
On 14 October 2010 07:38, Abraham Varricatt wrote: >> can anybody explain the meaning "community' meaning to me more detailed >> ?Thank you! > > This is actually part of the SNMP protocol. To be strictly accurate, it's part of the administrative framework for SNMPv1 and SNMPv2c - i.e. an "SNMP Me

Re: To generate snmp trap by the agent

2010-10-14 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] On 13