Re: a patch for memory leak

2010-09-22 Thread Dave Shield
> CC> Does anybody know why netsnmp only allow 128 OID in one request? > CC> #define SNMP_MAX_CMDLINE_OIDS   128 > > That's actually a mandate by the SNMP protocol. Are you sure, Wes? As far as I can tell, the protocol specifies the maximum number of subidentifiers within a single OID, but not the

snmp for python

2010-09-22 Thread Андрей -
Hi. I have trouble witth build snmp for python. I use https://net-snmp.svn.sourceforge.net/svnroot/net-snmp/trunk/net-snmp/python/README, but I have: #python setup.py build ... netsnmp/client_intf.c:2367: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:2368: error: derefe

Re: SNMPv3 inform request overrides USM parameters of the configured user

2010-09-22 Thread Dattaram Porob
Thanks for the pointer Wes, but I dont think I am confusing between the two (Traps and Informs) since I am using the engine Id of the receiver while creating the user in USM for the Informs. I also debugged this further and found that there is a function 'create_user_from_session' which gets invoke

Re: sysObjectID still returns an incorrect value

2010-09-22 Thread Fulko Hew
On Mon, Sep 20, 2010 at 8:22 PM, Wes Hardaker < harda...@users.sourceforge.net> wrote: > > On Thu, 16 Sep 2010 12:41:38 -0400, Fulko Hew > said: > > FH> Are there any other scenarios that I missed testing? > > FYI, I applied your patch to the trunk today. > Great! I just tested rc3... and I

Re: How to add rocommunity public without using conf-files

2010-09-22 Thread sebastian2...@gmx.de
Thank you Wes, I'll try it. I know that it is no good style, but we don't want to make it configurable. Hopefully, the writing of the usr\bin file is disabled, because it looks pretty strange on a windows system. However, Thank you Wes. Am 22.09.2010, 01:32 Uhr, schrieb Wes Hardaker :

RE: Sending genError from AgentX subagent with SNMP v1

2010-09-22 Thread JORDI LOPEZ
Thankyou, I'm a bit busy at the moment but I will try to read it. For the time being I'll let my agent run as master until I have time to fully check what's happening. Jordi López > -Mensaje original- > De: Wes Hardaker [mailto:harda...@users.sourceforge.net] > Enviado el: miércoles, 22

Re: sysObjectID still returns an incorrect value

2010-09-22 Thread Wes Hardaker
> On Wed, 22 Sep 2010 10:37:39 -0400, Fulko Hew said: FH> I just tested rc3... and I give that release/patch _my_ blessing. Thanks for the positive feedback! FH> Now it would be nice If I could also get my other two patches FH> incorporated that prevent net-SNMP from core dumping under cert

RE: how can I decode a PDU?

2010-09-22 Thread JORDI LOPEZ
What if you make a small program that gets the PDU from the serial and relays it to net-snmp using a socket to 127.0.0.1 UDP port 161 and relay back the answer to the serial, sort of a bridge between serial and socket. No need to decode the PDU. In this way net-snmp would do the work for you an

mib2c does not like object syntax "IpAddress"

2010-09-22 Thread kavita raghunathan
Hello, even though I import IpAddress, I get an error while generating c files that looks like this: writing to defaults/table-sfOWBFarEndTable.m2d Starting MFD code generation... writing to sfOWBFarEndTable.h | +-> Processing table sfOWBFarEndTable writing to defaults/node-sfOWBifIndexNearEnd.m2

question about OCTET STRING encoding within an index

2010-09-22 Thread Fulko Hew
While testing and reviewing my SNMP test harness I've come across an instance of a variable with an index I can't explain (on my Fedora box). snmpwalk -v1 -cpublic -On localhost vacmContextName .1.3.6.1.6.3.16.1.1.1.1.0 = STRING: So the index on this column is '.0' (which is defined as an OCTET S

Re: question about OCTET STRING encoding within an index

2010-09-22 Thread Dave Shield
On 22 September 2010 21:48, Fulko Hew wrote: > While testing and reviewing my SNMP test harness I've come > across an instance of a variable with an index I can't explain > (on my Fedora box). > > snmpwalk -v1 -cpublic -On localhost vacmContextName > .1.3.6.1.6.3.16.1.1.1.1.0 = STRING: > > So the

Re: Crosscompiling Netsnmp-5.6.rc1 for arm-unknown-linux under Cgywin

2010-09-22 Thread Leo Lin
Hi,   Following up with my previous email, I've changed my script to   ./configure \ --host=i686-pc-cygwin --target=arm-linux --with-cc=arm-unknown-linux-gnu-gcc \ --with-cflags="-s -static -O2 -Dlinux -mcpu=arm9" --with-endianness=little \ --enable-mini-agent --disable-applications --disable-scri

RE: mib2c does not like object syntax "IpAddress"

2010-09-22 Thread anup.shankar
Try using iterate / table.conf file in mib2c , this works.. -Original Message- From: kavita raghunathan [mailto:kraghuna2...@yahoo.com] Sent: Thursday, September 23, 2010 2:07 AM To: net-snmp-users@lists.sourceforge.net Cc: net-snmp-cod...@lists.sourceforge.net Subject: mib2c does not lik