Re: SF.net SVN: net-snmp:[17926]

2010-01-07 Thread Wes Hardaker
> On Thu, 7 Jan 2010 19:53:52 +0100, Bart Van Assche > said: BVA> Trying e.g. to read 16 bytes into a 16-byte array with the trunk BVA> version of read_config_read_octet_string() will cause a buffer overflow BVA> message to be printed, at least when -Dread_config_read_octet_string has BV

Re: send_v2trap issue

2010-01-07 Thread Wes Hardaker
> On Tue, 22 Dec 2009 16:54:17 +0530, rakesh zingade > said: rz> Now for sending traps as per tracings the code calls send_v2trap() rz> function but I didn't receive any trap on trap receiver. I didn't rz> saw any error or warning messages on snmpd executed with I'd suggest turning on p

Re: SF.net SVN: net-snmp:[17926]

2010-01-07 Thread Bart Van Assche
On Thu, Jan 7, 2010 at 7:29 PM, Wes Hardaker wrote: > [ ... ] > > The important end point from all of this is I have yet to hear why this > is a bad thing? > > a) read 0x656667 from the .conf file > b) pad it to 0x65666700 > c) return it with a length of 3 > > Where is the evil? What is breaking

Re: [PATCH] cpu sysctl memory leak

2010-01-07 Thread Wes Hardaker
> On Tue, 22 Dec 2009 17:53:22 -0800, Stephen Hemminger > said: SH> Minor memory leak, the mcpu_stats array is malloc'd but never freed. Thanks! In the future, if you upload patches to our patch tracker we can't miss and forget them: http://www.net-snmp.org/patches/ I'm applying this

Re: hrStorage looses track of remounted file system (bug #1689551)

2010-01-07 Thread Wes Hardaker
> On Thu, 24 Dec 2009 15:49:12 -0200, Leonardo Chiquitto > said: LC> File systems would be marked ACTIVE and INACTIVE but never removed LC> from the container, to ensure that the index values are persistent LC> and always monotonically increased. LC> Unfortunately this idea is a bit too

Re: Logging illegal SNMPv3 PDUs - howto

2010-01-07 Thread Wes Hardaker
> On Fri, 25 Dec 2009 11:03:13 -0800, Rohit Kaushal > said: RK> I'm using versions 5.1.4 and 5.4.2 and would like to log receipt of RK> illegal SNMPv3 PDUs. Can someone on this list point me to any RK> documentation that describes how to enable this if supported, where RK> is it logged

Re: support

2010-01-07 Thread Wes Hardaker
> On Tue, 29 Dec 2009 09:43:07 +0800, ÀèÃ÷ said: f> how can the net-snmp support ipv6 when the compile. thanks ./configure --enable-ipv6 -- Wes Hardaker Please mail all replies to [email protected]

Re: Fatal Error compiling net-snmp 5.5 on Sparc Solaris 9

2010-01-07 Thread Wes Hardaker
> On Wed, 30 Dec 2009 11:42:03 -0800 (PST), Kenneth Wong > said: KW> Here is a portion of log file when executing command "make". Any KW> help is greatly appreciated. Thanks. Shoot that sounds familiar KW> making all in /usr/local/src/net-snmp/agent KW> make: Fatal error in reader:

Re: monitoring link transistions without polling

2010-01-07 Thread Wes Hardaker
> On Tue, 5 Jan 2010 14:27:50 -0800, Stephen Hemminger > said: SH> The default linkUpDownNotification trap, polls for link events every SH> 60 seconds. This is both wasteful (link events are rare), and too SH> slow (delaying 60 seconds in notifying admin). Has anyone done a SH> patch t

Re: Intervallic Polling in Parallel

2010-01-07 Thread Wes Hardaker
> On Wed, 6 Jan 2010 12:11:48 -0500, Mike Gibson > said: MG> I have gone through the synchronous and asynchronous example applications on MG> the Net-SNMP site and see that they do both but don't seem to do both at the MG> same time. You need to use the asynchronous method to sending ou

Re: SF.net SVN: net-snmp:[17926]

2010-01-07 Thread Wes Hardaker
> On Tue, 22 Dec 2009 09:42:37 +0100, Magnus Fromreide > said: >> Should we really keep a single function >> read_config_read_octet_string() that is used for both reading binary >> data and reading ASCII strings ? Maybe it's better to have two >> functions, one for reading binary data an

Re: SF.net SVN: net-snmp:[17926]

2010-01-07 Thread Bart Van Assche
On Mon, Dec 21, 2009 at 10:06 PM, Magnus Fromreide wrote: > On Mon, 2009-12-21 at 12:01 +, [email protected] wrote: >> Revision: 17926 >>           http://net-snmp.svn.sourceforge.net/net-snmp/?rev=17926&view=rev >> Author:   bvassche >> Date:     2009-12-21 12:01:15 + (Mon, 2