Potential bugs discovered in net-snmp project (version 5.3.2)

2008-06-04 Thread Ray-Yaung Chang
Dear NET-SNMP developers, I am a Ph.D. student at Case Western Reserve University. Our research group develops an interprocedural analysis approach to discovering defects in software from source code directly. Some of our previously reported bugs about your project have been confirmed and fixe

Re: something about netsnmp_index

2008-06-04 Thread 杨伟
Yes, I found that in some functions DEBUGMSG and DEBUGMSGTL are used. BUT those parameters are fixed. For example, I see one usage from the net-snmp tutorial DEBUGMSGTL(("nstAgentSubagentObject", "Initializing the nstAgentSubagentObject module\n")); This format is odd. And what I

Re: something about netsnmp_index

2008-06-04 Thread 杨伟
I have seen the debug message. Thanks. Sorry for bothering. Thanks Richard 2008/6/4, 杨伟 <[EMAIL PROTECTED]>: > > Yes, I found that in some functions DEBUGMSG and DEBUGMSGTL are used. BUT > those parameters are fixed. > > For example, I see one usage from the net-snmp tutorial > DEBUGMSGTL(("ns

Re: Changes in our .spec file

2008-06-04 Thread Thomas Anders
Jan Safranek wrote: > During the monthly administrative meeting we agreed: > > - the [above] list looks a reasonable starting point (?maybe plus Mandriva?) Does anyone feel familiar enough with Mandriva to help crafting a spec file for it? Otherwise, I don't see a chance to have it supported. >

Re: something about netsnmp_index

2008-06-04 Thread 杨伟
Hi, all I met another problem. The callback function registered is a FindVarMethod type. I found its definition in file snmp_vars.h. But I am not sure the usage. Such as how to specify the Get or the Get-Next method? So anyone could give the information about the usage of this function? Thanks

Query regarding the SNMP Subagent coding.

2008-06-04 Thread Bhuvan
Hi,   I am an amateur to SNMP coding. I have the following two basic queries regarding subagents. Can some one help me out with this?   According to tutorial,I executd the $ net-snmp-config --compile-subagent mysubagent nstAgentSubagentObject.c and generated the executable file mysubagent. I exe

Facing a problem if I use context

2008-06-04 Thread mahesh.akula
Hi, We implemented a subagent which communicates with the Net-SNMP Master agent using AgentX protocol. My subagent to master agent communications works fine as long as we use the default context. But If we use the non default context, I always get the No such object available erro

Re: perl module not installed

2008-06-04 Thread Wes Hardaker
> On Tue, 3 Jun 2008 18:06:27 +0800, "Tewen Hsieh" <[EMAIL PROTECTED]> said: TH> Unfortunately, it still didn't work! You might try the following command: perl -e 'use SNMP;' and see what it prints; that may be helpful. -- Wes Hardaker Sparta, Inc.

Re: RFV: r16973

2008-06-04 Thread Wes Hardaker
> On Tue, 03 Jun 2008 01:12:48 +0200, Magnus Fromreide <[EMAIL PROTECTED]> > said: MF> Should it stay applied? Yep! +1 -- Wes Hardaker Sparta, Inc. - Check out the new SourceForge.net Marketplace. It's the best pl

Re: Community manager

2008-06-04 Thread Wes Hardaker
> On Mon, 2 Jun 2008 15:54:55 +0100, "Dave Shield" <[EMAIL PROTECTED]> said: DS> 2008/6/2 Sacks, Matthew <[EMAIL PROTECTED]>: >> Out of curiosity, are you the community manager for the net-snmp project? DS> I'm not sure exactly what you mean by "the community manager". DS> I'm one of the lead

Re: Usm User Limit

2008-06-04 Thread Wes Hardaker
> On Mon, 2 Jun 2008 09:25:54 +0100, "Dave Shield" <[EMAIL PROTECTED]> said: DS> I can pretty much guarantee that the agent has never been tested DS> with such large configurations, so you might find that a large number DS> of USM users might impact performance. (Finding a given user DS> fro

Re: RFV: fix memory leak for snmptrapd embedded Perl on x86_64

2008-06-04 Thread Wes Hardaker
> On Sun, 01 Jun 2008 08:51:54 +0200, Thomas Anders <[EMAIL PROTECTED]> > said: >> Log Message: >> --- >> NEWS: snmptrapd: BUG: 1955227: Memory leak for embedded Perl on x86_64 >> >> Modified Paths: >> -- >> branches/V5-2-patches/net-snmp/perl/TrapReceiver/TrapReceive

Re: Usm User Limit

2008-06-04 Thread Thomas Anders
Wes Hardaker wrote: > It's one of those things that was done the way it is and was intended to > be rewritten at a later date but never was. Contributions *highly* appreciated, of course! +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) -

Re: disable SNMP

2008-06-04 Thread Wes Hardaker
> On Sat, 31 May 2008 15:15:21 +1000, Andrew Hood <[EMAIL PROTECTED]> said: AH> That CVE entry aplies to every implementaion of SNMP, not just NetSMNP. Actually, it doesn't apply to Net-SNMP. We do not turn on default communities. Now, some vendors that redistribute our package have turned

Re: set procedure of cache container

2008-06-04 Thread Wes Hardaker
> On Tue, 27 May 2008 14:52:42 +0800, "Tewen Hsieh" <[EMAIL PROTECTED]> > said: TH> vdslLineTable_pre_request ENTER :: LINE 203 TH> vdslLineTable_row_prep ENTER TH> vdslLineConfProfile_check_value ENTER TH> vdslLineTable_undo_setup ENTER TH> vdslLineConfProfile_undo_setup ENTER TH> vdslLi

Re: RFV: fix memory leak for snmptrapd embedded Perl on x86_64

2008-06-04 Thread Thomas Anders
Wes Hardaker wrote: > I think without looking further into the issue, I'd say -1. If it's > known to cause segfaults on x86_64 (as the comment applies) then it > would be better to change the ifdef to a point where we know it's safe > now, or go back to the original perl version that the problem a

Memory leak problem in snmpget

2008-06-04 Thread 김성환
Hello,   I am using the following function modified from the main function of 'snmpget' program. The SNMP library version is 5.4.1. But, it has a memory leak problem. When I call the functions infinitely, the memory size of the program grows. How can I solve the problem? Please, let m

Memory leak problem in 'snmpget'

2008-06-04 Thread 김성환
Hello, I am using the following function modified from the main function of 'snmpget' program. The SNMP library version is 5.4.1. But, it has a memory leak problem. When I call the functions infinitely, the memory size of the program grows. How can I solve the problem? Please, let me know. Thank