Re: snmpwalk causes agent to coldStart

2010-03-16 Thread Dave Shield
On 16 March 2010 06:23, wrote: > Configuration : > --- > > access operator "" any noauth exact all none all > group operator usm u4 > rouser u4 One comment - you are mixing two styles of access control here. *Either* use the access/group/view lines. *or* (preferably) use"rou

RE: snmpwalk causes agent to coldStart

2010-03-16 Thread srikapilan.gandhi
Hi Dave, The crash occours only when you associate a host to that v3 user as below: trapsess -v 3 -l authNoPriv -u u4 xx.xx.xx.xx:162 If I do not associate the user to a host , then everything works fine. Thanks & Regards, Kapil. From: dave.shi...@googlema

Net-SNMP Coding style/standard

2010-03-16 Thread Tony Thomas
Hi, What coding style/standard is used in Net-SNMP project? It does not look like following GNU Coding standard. Does the code generated using mib2c follow the same style as the Net-SNMP library? Regards, Tony -- Download

Re: Net-SNMP Coding style/standard

2010-03-16 Thread Thomas Anders
Tony Thomas wrote: > What coding style/standard is used in Net-SNMP project? See the CodingStyle document that ships with the source. +Thomas -- Download Intel® Parallel Studio Eval Try the new software tools for yours

Re: snmpwalk causes agent to coldStart

2010-03-16 Thread Dave Shield
On 16 March 2010 09:44, wrote: > The crash occours only when you associate a host to that v3 user as below: > trapsess -v 3  -l authNoPriv -u u4 xx.xx.xx.xx:162 Ah - I wondered what you meant by "associating a host". I hadn't realised that you were talking about SNMPv3 trap destinations. Try th

Re: Processing invalid messages

2010-03-16 Thread Jan Safranek
On 03/05/2010 04:44 PM, Jan Safranek wrote: > Hi, > > I've stumbled upon snmpd processing malformed requests. How should > snmplib react to it? E.g. my snmpd received get-request with ASN.1 error > in Request ID - instead of Type: 2, Length: 1, Value: 0xc it received > Type: 32, which is wrong. But

Re: Processing invalid messages

2010-03-16 Thread Bart Van Assche
On Tue, Mar 16, 2010 at 2:36 PM, Jan Safranek wrote: > > On 03/05/2010 04:44 PM, Jan Safranek wrote: > > Hi, > > > > I've stumbled upon snmpd processing malformed requests. How should > > snmplib react to it? E.g. my snmpd received get-request with ASN.1 error > > in Request ID - instead of Type:

Re: Processing invalid messages

2010-03-16 Thread Robert Story
On Tue, 16 Mar 2010 15:53:42 +0100 Bart wrote: BVA> On Tue, Mar 16, 2010 at 2:36 PM, Jan Safranek wrote: BVA> > Based on yesterday's conversation, I prepared a patch with solution #2 BVA> > (put it inside asn_parse_foo (which may not be possible)). My simple BVA> > tests show that it works, see pa