RE: snmpwalk causes agent to coldStart

2010-03-16 Thread srikapilan.gandhi
Hi Dave, Configuration : --- access operator any noauth exact all none all group operator usm u4 rouser u4 createUser u4 MD5 password trapsess -v 3 -l authNoPriv -u u4 xx.xx.xx.xx:162 Query : --- The regular query snmpwalk -v3 -u u4 -l authNoPriv -a md5 -A password

RE: snmpwalk causes agent to coldStart

2010-03-16 Thread srikapilan.gandhi
Hi Dave, It crashes at : (gdb) bt #0 0x0f3cd570 in usm_process_in_msg (msgProcModel=value optimized out, maxMsgSize=65507, secParams=value optimized out, secModel=value optimized out, secLevel=value optimized out, wholeMsg=0x10144cf0

Re: snmpwalk causes agent to coldStart

2010-03-16 Thread Dave Shield
On 16 March 2010 06:23, srikapilan.gan...@wipro.com 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*

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:

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 --

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#174; Parallel Studio Eval Try the new software tools for

Re: snmpwalk causes agent to coldStart

2010-03-16 Thread Dave Shield
On 16 March 2010 09:44, srikapilan.gan...@wipro.com 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

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 the

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 jsafr...@redhat.com 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