net-snmp 5.4.2.1: compilation of winExtDll.c fails on Win32

2009-03-10 Thread Bart Van Assche
Hello, When I tried to compile net-snmp 5.4.2.1 with Visual Studio 2005 this resulted in several compiler warnings and one compiler error. Can someone please review the patch below and either apply or reject it ? Thanks, Bart.

net-snmp 5.4.2.1: compilation of winExtDll.c fails on Win32

2009-03-10 Thread Bart Van Assche
Hello, When I tried to compile net-snmp 5.4.2.1 with Visual Studio 2005 this resulted in several compiler warnings and one compiler error. Can someone please review the patch below and either apply or reject it ? Thanks, Bart.

Re: net-snmp 5.4.2.1: compilation of winExtDll.c fails on Win32

2009-03-10 Thread Bart Van Assche
On Tue, Mar 10, 2009 at 3:54 PM, Thomas Anders thomas.and...@blue-cable.de wrote: Bart Van Assche wrote: When I tried to compile net-snmp 5.4.2.1 with Visual Studio 2005 this resulted in several compiler warnings and one compiler error. Can someone please review the patch below and either

Re: free'ing of all malloc's on shutdown would make memory leak detection easier

2009-03-11 Thread Bart Van Assche
On Wed, Mar 11, 2009 at 11:41 AM, R. Diez rdiezmail-nets...@yahoo.de wrote: I find the the suggested leak-debugging procedure cumbersome and error-prone. It would be nice if all malloc'ed memory were free'd on shutdown. I guess that would be inside snmp_shutdown(), or maybe I'm just missing

Re: net-snmp 5.4.2.1: compilation of winExtDll.c fails on Win32

2009-03-13 Thread Bart Van Assche
On Tue, Mar 10, 2009 at 3:54 PM, Thomas Anders thomas.and...@blue-cable.de wrote: Bart Van Assche wrote: When I tried to compile net-snmp 5.4.2.1 with Visual Studio 2005 this resulted in several compiler warnings and one compiler error. Can someone please review the patch below and either

Net-SNMP 5.4.2.1, NOTIFICATION-LOG-MIB and Win32

2009-03-17 Thread Bart Van Assche
Hello, Is there anyone who got NOTIFICATION-LOG-MIB support in snmptrapd working on Win32 ? Even after having fixed a few compile time and run-time errors, a MIB walk on OID 1.3.6.1.2.1.92 (notificationLogMIB) still returns zero varbinds. Any advice is welcome. The patch below fixes the

Availabilitiy of Net-SNMP Win32 installer source code ?

2009-03-26 Thread Bart Van Assche
Hello, As known the source code of the Net-SNMP agent and the binaries of a Win32 Net-SNMP installer can be downloaded from http://www.net-snmp.org/download.html. As long as my patches are not integrated in the official Net-SNMP distribution, I will have to maintain an installer for a customized

Re: Availabilitiy of Net-SNMP Win32 installer source code ?

2009-03-27 Thread Bart Van Assche
On Thu, Mar 26, 2009 at 2:31 PM, Bart Van Assche bart.vanass...@gmail.com wrote: As known the source code of the Net-SNMP agent and the binaries of a Win32 Net-SNMP installer can be downloaded from http://www.net-snmp.org/download.html. As long as my patches are not integrated in the official

libnetsnmp and file/socket descriptors = 1024

2009-04-18 Thread Bart Van Assche
Hello, Apparently the patch with ID 1627049 (http://sourceforge.net/tracker/index.php?func=detailaid=1627049group_id=12694atid=312694) has been applied on the 5.5pre branch. Please revert this patch -- this patch not only causes portability problems but IMHO it's the wrong way to fix the observed

Re: libnetsnmp and file/socket descriptors = 1024

2009-04-21 Thread Bart Van Assche
On Tue, Apr 21, 2009 at 4:48 PM, Dave Shield d.t.shi...@liverpool.ac.uk wrote: 2009/4/21 Bart Van Assche bart.vanass...@gmail.com: d.t.shi...@liverpool.ac.uk wrote: OK - I've reverted that patch, and applied a simpler one to deal with the immediate problem.  (i.e. skip any fd's that are too

Re: Segmentation fault (core dumped) problem

2009-04-27 Thread Bart Van Assche
On Mon, Apr 27, 2009 at 1:20 PM, sanjaykumar sanjay.ku...@globaledgesoft.com wrote:  I am facing following following crash problem .Segmentation fault (core dumped) following is the trace file Please suggest me , what could be the reason for this You should first analyze your program

Re: Windows - MSVC 2008, 64-bit and Platform SDK

2009-04-28 Thread Bart Van Assche
On Mon, Apr 27, 2009 at 10:59 PM, Steve Friedl st...@unixwiz.net wrote: On Mon, Apr 27, 2009 at 10:51:45AM -0700, Wes Hardaker wrote: On Sun, 26 Apr 2009 21:11:09 -0400, Alex Burger ale...@users.sourceforge.net said: AB 4) I don't think we need to support Windows NT anymore and we certainly

Re: create thread in a reloadable module for receiving fifo messages

2009-05-11 Thread Bart Van Assche
2009/5/11 Tewen Hsieh tewen.hs...@itas.com.tw: But there is still a question in my scenario. That is I still can see three snmpd processes when I use ps command to get process status. This is so amazing that I am sure that I just create one thread. There should be only two snmpd processes

Re: create thread in a reloadable module for receiving fifo messages

2009-05-12 Thread Bart Van Assche
On Mon, May 11, 2009 at 10:02 AM, Tewen Hsieh tewen.hs...@itas.com.tw wrote: Additionally, I don't know what you mean by the so-called manager thread. Could you explain more clearly what the so-called manager thread mean? See also the LinuxThreads FAQ, topic D.5

Re: Valgrind results on net-snmp 5.4.2 under stress

2009-05-29 Thread Bart Van Assche
On Fri, May 29, 2009 at 10:18 AM, Dave Shield d.t.shi...@liverpool.ac.uk wrote: 2009/5/28 Bart Van Assche bart.vanass...@gmail.com: On Thu, May 28, 2009 at 5:28 PM, James R. Leu j...@inoc.com wrote: We have been seeing a memory leak with snmpd in our environment since the days of net-snmp 5.3

Re: Oops: kernel access of bad area while port net-snmp to powerpc platform

2009-06-29 Thread Bart Van Assche
2009/6/29 liusd_sheldon liusd_shel...@126.com:     I am porting net-snmp 5.4.1 to my embedded PPC platform. The operating system is montavista Linux 3.1. The make make install works properly. But when I run snmpd on target board, the error appears: r...@10.144.64.99:/usr/local/net-snmp/sbin#

Warnings generated by autoheader on configure.ac

2009-07-27 Thread Bart Van Assche
Hello, When I run aclocal -I m4 libtoolize --copy autoconf autoheader on the Net-SNMP trunk I get the following warnings (autoconf version 2.63 / for the autogen.sh script, see also https://sourceforge.net/tracker/?func=detailaid=2827646group_id=12694atid=312694 ): $ uname Linux $ svn info .

Re: glibc double free error on snmp_sess_close

2009-08-04 Thread Bart Van Assche
On Tue, Aug 4, 2009 at 4:06 PM, krome...@hotmail.comkrome...@hotmail.com wrote: I have an application using net-snmp 5.4.2.1 which after some time - seemingly proportional to the number of snmp requests - will terminate with a glibc double free error. The application is doing repetitive and

Re: glibc double free error on snmp_sess_close

2009-08-06 Thread Bart Van Assche
On Thu, Aug 6, 2009 at 12:02 PM, krome...@hotmail.comkrome...@hotmail.com wrote: The 1 remaining valgrind error (reproduced at the end in full) is complaining about socketcall.sendmsg(msg.msg_control) points to uninitialised byte(s). Try to insert the statements memset(cmsg, 0, sizeof(cmsg));

Re: glibc double free error on snmp_sess_close

2009-08-07 Thread Bart Van Assche
On Thu, Aug 6, 2009 at 1:50 PM, Bart Van Asschebart.vanass...@gmail.com wrote: On Thu, Aug 6, 2009 at 12:02 PM, Any opinions of whether this error could be causing my glibc double free errors, or whether it is a red-herring? It is unlikely that the above message printed by Valgrind is related

Dubious code in agent/mibgroup/ucd-snmp/pass.c

2009-08-11 Thread Bart Van Assche
Hello, Recently some dubious code for converting a 64-bit integer to a struct counter64 has been added to agent/mibgroup/ucd-snmp/pass.c (trunk r17731). The following statement occurs several times: *((uint64_t *) c64) = v64. This statement copies a 64-bit integer to a struct counter64. Because

The restart_doit() signal handler

2009-08-11 Thread Bart Van Assche
Hello, Recently I came across the implementation of the restart_doit() signal handler (see also the source file /agent/mibgroup/util_funcs.c). IMHO it should be documented why this function works: all functions called by signal handlers must be async-signal safe. It is not clear to me whether all

Re: glibc double free error on snmp_sess_close

2009-08-12 Thread Bart Van Assche
On Wed, Aug 12, 2009 at 11:16 AM, krome...@hotmail.comkrome...@hotmail.com wrote: Bart Van Assche wrote:   On Thu, Aug 6, 2009 at 12:02 PM,   Any opinions of whether this error could be causing my glibc double free   errors, or whether it is a red-herring?     It is unlikely that the above

Re: Bugs discovered by a research group at CWRU

2009-08-29 Thread Bart Van Assche
On Fri, Aug 28, 2009 at 9:53 PM, Gang Shugxs...@case.edu wrote: I am a Ph.D student in the Software Engineering Research Group in Case Western Reserve University, under the instruction of  Prof. Andy Podgurski. In our recent research we analyzed some of your fixed bugs in your issued data base

Net-SNMP on Windows and the definition of USING_DISMAN_EVENT_MIB_MODULE

2009-12-07 Thread Bart Van Assche
Hello, The first two non-comment lines in the source file agent/mib_modules.c are as follows: #include net-snmp/agent/mib_module_config.h #include net-snmp/net-snmp-config.h And the file win32/net-snmp/net-snmp-config.h.in contains the following line: #define USING_DISMAN_EVENT_MIB_MODULE 1

Re: subagents stuck in waiting response for agentX AddAgentCaps PDU

2009-12-09 Thread Bart Van Assche
On Mon, Dec 7, 2009 at 11:29 AM, Manu Mehta manu.me...@gmail.com wrote: I am using net-snmp 5.4 and in agentX framework with 1 Master and 5 subagents. Subagents report there capabilities periodically(every 5 seconds) using AgentX AddAgentCaps PDU. I have an automated test suite which runs

Re: subagents stuck in waiting response for agentX AddAgentCaps PDU

2009-12-14 Thread Bart Van Assche
On Sun, Dec 13, 2009 at 4:56 PM, Manu Mehta manu.me...@gmail.com wrote: Thanks for your reply Bart. I think the patch that you are suggesting should have mattered if there was a monitor entry in my snmpd.conf, but that is not the case ? I had a closer look at the backtrace you posted, and

Re: Replacing extend commands in snmpd.conf with a subagent

2009-12-14 Thread Bart Van Assche
2009/12/10 Jordi Gutiérrez Hermoso jord...@gmail.com Forgive me if my question isn't entirely coherent because I am not fully understanding what I'm asking. Right now I have in my snmpd.conf a bunch of extend commands of the form extend $oid $name $command --args $oid where $command

Re: Dell Mib2c

2009-12-14 Thread Bart Van Assche
2009/12/14 Thomas Marcks von Würtemberg thomas.marcks.von.wurtemb...@ericsson.com I started to look at running netsnmp on my dell servers, but I did not find any mib2c for the dell mib. I'm now looking at writing my own mib2c for the dell servers. The questions that i have is: *Is ther

Re: Replacing extend commands in snmpd.conf with a subagent

2009-12-14 Thread Bart Van Assche
2009/12/14 Jordi Gutiérrez Hermoso jord...@gmail.com 2009/12/14 Bart Van Assche bart.vanass...@gmail.com: 2009/12/10 Jordi Gutiérrez Hermoso jord...@gmail.com Right now I have in my snmpd.conf a bunch of extend commands of the form extend $oid $name $command --args $oid where

Re: Dell Mib2c

2009-12-15 Thread Bart Van Assche
2009/12/15 Thomas Marcks von Würtemberg thomas.marcks.von.wurtemb...@ericsson.com As i understand it, openmanager is a large administration suite (correct me if am wrong). I have a large amount of servers running various linux/unix OS, and would like to monitor the thermal, fan and

Re: Dell Mib2c

2009-12-15 Thread Bart Van Assche
2009/12/14 Thomas Marcks von Würtemberg thomas.marcks.von.wurtemb...@ericsson.com I started to look at running netsnmp on my dell servers, but I did not find any mib2c for the dell mib. I'm now looking at writing my own mib2c for the dell servers. The questions that i have is: *Is ther

Re: r17913 changes

2009-12-17 Thread Bart Van Assche
On Thu, Dec 17, 2009 at 2:32 PM, Thomas Anders thomas.and...@blue-cable.de wrote: bvass...@users.sourceforge.net wrote: Revision: 17913           http://net-snmp.svn.sourceforge.net/net-snmp/?rev=17913view=rev Author:   bvassche Date:     2009-12-17 13:05:53 + (Thu, 17 Dec 2009)

Re: Replacing extend commands in snmpd.conf with a subagent

2009-12-17 Thread Bart Van Assche
2009/12/16 Jordi Gutiérrez Hermoso jord...@gmail.com: Our MIB has information about what modules are available in our application and what information they should respond to. However, our modules are largely independent between each other and communicate with standard network protocols. Should

Re: r17913 changes

2009-12-18 Thread Bart Van Assche
On Fri, Dec 18, 2009 at 5:50 AM, Magnus Fromreide ma...@lysator.liu.sewrote: On Thu, 2009-12-17 at 14:32 +0100, Thomas Anders wrote: bvass...@users.sourceforge.net wrote: Revision: 17913 http://net-snmp.svn.sourceforge.net/net-snmp/?rev=17913view=rev Author: bvassche Date:

RFC: removal of the NETSNMP_DS_LIB_ALARM_DONT_USE_SIG feature

2009-12-19 Thread Bart Van Assche
Hello, As known libnetsnmp supports time-based alarms via the functions snmp_alarm_register(), run_alarms() and other functions. Two different ways to trigger the function run_alarms() are supported inside libnetsnmp: 1. By making sure that the timeout argument of select() is small enough such

Re: RFC: removal of the NETSNMP_DS_LIB_ALARM_DONT_USE_SIG feature

2009-12-21 Thread Bart Van Assche
On Sat, Dec 19, 2009 at 10:03 AM, Bart Van Assche bart.vanass...@gmail.com wrote: As known libnetsnmp supports time-based alarms via the functions snmp_alarm_register(), run_alarms() and other functions. Two different ways to trigger the function run_alarms() are supported inside libnetsnmp: 1

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

2009-12-22 Thread Bart Van Assche
On Mon, Dec 21, 2009 at 10:06 PM, Magnus Fromreide ma...@lysator.liu.sewrote: On Mon, 2009-12-21 at 12:01 +, bvass...@users.sourceforge.net wrote: Revision: 17926 http://net-snmp.svn.sourceforge.net/net-snmp/?rev=17926view=rev Author: bvassche Date: 2009-12-21 12:01:15 +

Re: snmpset response

2009-12-25 Thread Bart Van Assche
On Thu, Dec 24, 2009 at 5:48 PM, nathan nitha_2...@yahoo.com wrote: You can use some OID to send the meaningful information, and everytime you do the set include those OID. You mean I need to do a snmpget on another OID to get the meaningfull info after I do the snmpsetif this is

Re: Problem with AgentX subagent and send_v2trap()

2009-12-29 Thread Bart Van Assche
On Mon, Dec 28, 2009 at 9:37 PM, Muhammad A Muquit muhammad.muq...@alcatel-lucent.com wrote: I'm having issues with sending traps using send_v2trap() from an AgentX subagent on Solaris 9. When the subagent sends series of traps, the subagent and master agent both get blocked on the sendto()

Re: trunk errors since r17933

2009-12-30 Thread Bart Van Assche
On Wed, Dec 30, 2009 at 10:20 AM, Thomas Anders thomas.and...@blue-cable.de wrote: r17933 introduced an additional #include net-snmp/library/types.h in include/net-snmp/library/tools.h. configure now throws the following #error for me: - --- snip --- In file included from

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 ma...@lysator.liu.se wrote: On Mon, 2009-12-21 at 12:01 +, bvass...@users.sourceforge.net wrote: Revision: 17926           http://net-snmp.svn.sourceforge.net/net-snmp/?rev=17926view=rev Author:   bvassche Date:     2009-12-21 12:01:15

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 harda...@users.sourceforge.net 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

Re: snmpwalk: Unknown host (Too many open files)

2010-01-09 Thread Bart Van Assche
On Fri, Jan 8, 2010 at 3:31 PM, nathan nitha_2...@yahoo.com wrote: Hi, I wrote a test program to do snmpwalk on an OID periodically. It worked fine for 4-5 hours, and then it crashed with the follwoing message:  snmpwalk: Unknown host (Too many open files). Then I checked the agent, and

Fwd: SF.net SVN: net-snmp:[18053] trunk/net-snmp

2010-01-24 Thread Bart Van Assche
Hello Magnus, As far as I know until now the following convention was used in the Net-SNMP source tree: * Character strings owned by a data structure and that have to be freed when the data structure itself is deallocated are declared as *char **. * Character strings not owned by a data structure

Re: etherlike-mib on Linux

2010-02-11 Thread Bart Van Assche
On Thu, Feb 11, 2010 at 12:22 PM, Josef Moellers josef.moell...@ts.fujitsu.com wrote: Stephen Hemminger wrote: On Wed, 10 Feb 2010 12:02:44 +0100 Josef Moellers josef.moell...@ts.fujitsu.com wrote: [ ... ] Ugh, I would prefer that you use one of the other API's to get information (like

Re: SF.net SVN: net-snmp:[18146] trunk/net-snmp/include/net-snmp/types.h

2010-02-13 Thread Bart Van Assche
On Thu, Feb 11, 2010 at 12:53 AM, harda...@users.sourceforge.net wrote: Revision: 18146          http://net-snmp.svn.sourceforge.net/net-snmp/?rev=18146view=rev Author:   hardaker Date:     2010-02-10 23:52:59 + (Wed, 10 Feb 2010) Log Message: --- freebsd needs time.h above

Re: RFC: dropping support for building Net-SNMP without Platform SDK

2010-02-16 Thread Bart Van Assche
On Tue, Feb 16, 2010 at 10:22 PM, Wes Hardaker harda...@users.sourceforge.net wrote: On Tue, 16 Feb 2010 12:54:42 +0100, Bart Van Assche bvanass...@acm.org said: BVA I'm proposing to drop support for building the Net-SNMP source code with BVA Visual Studio 6.0 without Platform SDK

Re: net-SNMP: more information required...

2010-02-17 Thread Bart Van Assche
On Tue, Feb 16, 2010 at 11:15 PM, Sylvain Dery sylvain-d...@hotmail.comwrote: See below for some additions to the answers that were already provided by Dave. Does the development tool run on Windows 7? If not, when will Windows 7 be supported? As far as I know Net-SNMP runs fine on Windows

Re: SF.net SVN: net-snmp:[18144] trunk/net-snmp

2010-02-18 Thread Bart Van Assche
On Thu, Feb 11, 2010 at 12:22 AM, harda...@users.sourceforge.net wrote: Revision: 18144 http://net-snmp.svn.sourceforge.net/net-snmp/?rev=18144view=rev Author: hardaker Date: 2010-02-10 23:22:32 + (Wed, 10 Feb 2010) Log Message: --- beginning work for TLS

Re: SF.net SVN: net-snmp:[18166] branches/V5-5-patches/include/net-snmp/library /system.h

2010-02-19 Thread Bart Van Assche
On Fri, Feb 19, 2010 at 7:14 PM, Magnus Fromreide ma...@lysator.liu.sewrote: On Fri, 2010-02-19 at 12:35 +, bvass...@users.sourceforge.net wrote: Revision: 18166 http://net-snmp.svn.sourceforge.net/net-snmp/?rev=18166view=rev Author: bvassche Date: 2010-02-19 12:35:03 +

Re: SF.net SVN: net-snmp:[18175] trunk/net-snmp/snmplib/snmpIPBaseDomain.c

2010-02-21 Thread Bart Van Assche
On Sun, Feb 21, 2010 at 9:30 AM, tand...@users.sourceforge.net wrote: Revision: 18175 http://net-snmp.svn.sourceforge.net/net-snmp/?rev=18175view=rev Author: tanders Date: 2010-02-21 08:30:19 + (Sun, 21 Feb 2010) Log Message: --- make sure that INADDR_NONE is

Re: SF.net SVN: net-snmp:[18164] trunk/net-snmp

2010-02-21 Thread Bart Van Assche
On Fri, Feb 19, 2010 at 7:21 PM, Magnus Fromreide ma...@lysator.liu.sewrote: On Fri, 2010-02-19 at 08:59 +, bvass...@users.sourceforge.net wrote: Revision: 18164 Log Message: --- Exported netsnmp_parse_args() such that the Net-SNMP applications build again when libsnmp is

Re: SF.net SVN: net-snmp:[18164] trunk/net-snmp

2010-02-21 Thread Bart Van Assche
On Sun, Feb 21, 2010 at 1:55 PM, Bart Van Assche bvanass...@acm.org wrote: On Fri, Feb 19, 2010 at 7:21 PM, Magnus Fromreide ma...@lysator.liu.sewrote: On Fri, 2010-02-19 at 08:59 +, bvass...@users.sourceforge.net wrote: Revision: 18164 Log Message: --- Exported

Re: SF.net SVN: net-snmp:[18164] trunk/net-snmp

2010-02-22 Thread Bart Van Assche
On Sun, Feb 21, 2010 at 5:55 PM, Magnus Fromreide ma...@lysator.liu.sewrote: On Sun, Feb 21, 2010 at 04:04:12PM +0100, Bart Van Assche wrote: On Sun, Feb 21, 2010 at 1:55 PM, Bart Van Assche bvanass...@acm.org wrote: On Fri, Feb 19, 2010 at 7:21 PM, Magnus Fromreide ma

Re: r17913 changes

2010-02-22 Thread Bart Van Assche
On Tue, Feb 23, 2010 at 5:39 AM, Robert Story rst...@freesnmp.com wrote: On Thu, 17 Dec 2009 16:41:52 +0100 Bart wrote: BVA Do you think there is a realistic chance that these functions were BVA used outside the Net-SNMP project ? Hey, we're programmers. We don't deal with reality! ;-)

Re: RFC: removal of the NETSNMP_DS_LIB_ALARM_DONT_USE_SIG feature

2010-02-23 Thread Bart Van Assche
On Tue, Feb 23, 2010 at 6:02 AM, Robert Story rst...@freesnmp.com wrote: On Mon, 21 Dec 2009 09:47:00 +0100 Bart wrote: BVA If I do not receive any feedback, I will apply the patch below whithin BVA a few days. This patch does not modify the behavior of the Net-SNMP BVA agent itself (snmpd).

Re: RFC: removal of the NETSNMP_DS_LIB_ALARM_DONT_USE_SIG feature

2010-02-23 Thread Bart Van Assche
On Tue, Feb 23, 2010 at 4:21 PM, Robert Story rst...@freesnmp.com wrote: On Tue, 23 Feb 2010 09:11:40 +0100 Bart wrote: BVA Handling alarms via SIGALRM was already broken by r16831 ( BVA http://net-snmp.svn.sourceforge.net/viewvc/net-snmp?view=revrevision=16831 ). BVA In that revision a

Re: RFC: removal of the NETSNMP_DS_LIB_ALARM_DONT_USE_SIG feature

2010-02-26 Thread Bart Van Assche
On Fri, Feb 26, 2010 at 4:56 AM, Robert Story rst...@freesnmp.com wrote: On Tue, 23 Feb 2010 17:59:41 +0100 Bart wrote: [ ... ] BVA It is not clear to me why a thread has been created to listen for BVA RTM_NEWADDR, RTM_DELADDR and RTM_NEWPREFIX messages instead of processing BVA the netlink

Re: SF.net SVN: net-snmp:[18175] trunk/net-snmp/snmplib/snmpIPBaseDomain.c

2010-02-28 Thread Bart Van Assche
On Sun, Feb 21, 2010 at 11:36 PM, Thomas Anders thomas.and...@blue-cable.de wrote: Bart Van Assche wrote: Have you considered adding that define in include/net-snmp/system/solaris.h instead of snmplib/snmpIPBaseDomain.c such that it is available in all Net-SNMP source files when compiling

Re: snmplog_handler makes the system in Wait state (race condition)

2010-03-01 Thread Bart Van Assche
On Mon, Mar 1, 2010 at 8:22 AM, surya prakash prakash...@yahoo.com wrote: We are running a multithreaded linux application (NMS). There were 48 threads running which parallely sends the SNMP request and processes the same. In one of the thread, there were a write to stderror from SNMP

Re: SF.net SVN: net-snmp:[18258] trunk/net-snmp/agent/mibgroup/etherlike-mib/ dot3StatsTable

2010-03-11 Thread Bart Van Assche
On Thu, Mar 11, 2010 at 3:50 PM, dt...@users.sourceforge.net wrote: Revision: 18258 http://net-snmp.svn.sourceforge.net/net-snmp/?rev=18258view=rev Author: dts12 Date: 2010-03-11 14:50:56 + (Thu, 11 Mar 2010) Log Message: --- CHANGES: snmpd: PATCH: 2967400:

Re: SF.net SVN: net-snmp:[18258] trunk/net-snmp/agent/mibgroup/etherlike-mib/ dot3StatsTable

2010-03-12 Thread Bart Van Assche
On Fri, Mar 12, 2010 at 12:44 PM, Dave Shield d.t.shi...@liverpool.ac.ukwrote: On 11 March 2010 17:13, Bart Van Assche bvanass...@acm.org wrote: Log Message: --- CHANGES: snmpd: PATCH: 2967400: Retrieve error counters for the EtherLike-MIB Patch supplied by Josef Moellers

Re: rfc: short form unsigned types

2010-03-12 Thread Bart Van Assche
On Sat, Mar 13, 2010 at 2:26 AM, Wes Hardaker harda...@users.sourceforge.net wrote: On Wed, 10 Mar 2010 13:23:09 -0500, Robert Story rst...@freesnmp.com said: RS Can someone remind me what the consensus is on the short form for unsigned RS types? There seems to be a bunch of type

Re: SF.net SVN: net-snmp:[18166] branches/V5-5-patches/include/net-snmp/library /system.h

2010-03-13 Thread Bart Van Assche
On Sat, Mar 13, 2010 at 2:28 AM, Wes Hardaker harda...@users.sourceforge.net wrote: On Fri, 19 Feb 2010 19:44:31 +0100, Bart Van Assche bvanass...@acm.org said: BVA It would make several Net-SNMP maintainers happy if support for BVA MSVC 6 could be dropped. It'd make other Net-SNMP

Re: SF.net SVN: net-snmp:[18166] branches/V5-5-patches/include/net-snmp/library /system.h

2010-03-13 Thread Bart Van Assche
On Sat, Mar 13, 2010 at 12:51 PM, Magnus Fromreide ma...@lysator.liu.sewrote: On Sat, 2010-03-13 at 09:14 +0100, Bart Van Assche wrote: On Sat, Mar 13, 2010 at 2:28 AM, Wes Hardaker harda...@users.sourceforge.net wrote: On Fri, 19 Feb 2010 19:44:31 +0100, Bart Van Assche

Re: winExtDLL problem

2010-03-17 Thread Bart Van Assche
On Wed, Mar 17, 2010 at 10:09 AM, Dave Shield d.t.shi...@liverpool.ac.ukwrote: I've had a quick look at the code for winExtDLL.c (in response to bug #2971257), and there's something that confuses (/concerns) me. Within the var_winExtDLL handler, there's the usual (for request = requests;

Default AgentX target

2010-03-18 Thread Bart Van Assche
Hello, During the latest Net-SNMP administrative meeting it has been brought up that it is inconvenient that AgentX clients on Windows using the Net-SNMP library have to set the AgentX target explicitly to localhost:705. The patch below overcomes this, but at the same time changes the default

Re: Default AgentX target

2010-03-19 Thread Bart Van Assche
On Fri, Mar 19, 2010 at 8:24 AM, Thomas Anders thomas.and...@blue-cable.dewrote: Magnus Fromreide wrote: This patch is something I think should be applied overall as it will affect the default tcp host for master agents on unices as well and make it more likely that it just works for

Re: CFV: Four new patches (was: Default AgentX target)

2010-03-22 Thread Bart Van Assche
On Mon, Mar 22, 2010 at 4:54 PM, Dave Shield d.t.shi...@liverpool.ac.ukwrote: On 21 March 2010 08:45, Dave Shield d.t.shi...@liverpool.ac.uk wrote: On 20 March 2010 15:13, Robert Story rst...@freesnmp.com wrote: Dave, have any other issues come up that might warrant a rc2? I've got a

Re: CFV: Four new patches (was: Default AgentX target)

2010-03-23 Thread Bart Van Assche
On Tue, Mar 23, 2010 at 10:34 AM, Dave Shield d.t.shi...@liverpool.ac.ukwrote: On 22 March 2010 18:46, Bart Van Assche bvanass...@acm.org wrote: How well have these patches been tested, and on which platforms ? The first three were in response to queries on the mailing list. I've tested (2

Re: CFV: Four new patches (was: Default AgentX target)

2010-03-23 Thread Bart Van Assche
On Tue, Mar 23, 2010 at 1:27 PM, Dave Shield d.t.shi...@liverpool.ac.ukwrote: On 23 March 2010 11:44, Bart Van Assche bvanass...@acm.org wrote: Personally I consider the fact that the patch does not have the same effect on 32-bit systems as on 64-bit systems as a flaw. There is yet

Re: CFV: Four new patches (was: Default AgentX target)

2010-03-23 Thread Bart Van Assche
On Mon, Mar 22, 2010 at 4:54 PM, Dave Shield d.t.shi...@liverpool.ac.uk wrote: Please find attached four proposed patches, which could potentially be applied to the 5.4.x (and 5.2.x) lines.   We're currently in release-freeze for both of these branches, so could people please indicate whether

CFV: Default AgentX target

2010-03-23 Thread Bart Van Assche
Hello, Currently the behavior with regard to AgentX over TCP is as follows: snmpd -x tcp: listens to *:705 (!) agentxtrap -x tcp: connects to 0.0.0.0:705 The patch below changes the AgentX over TCP behavior into: snmpd -x tcp: listens to localhost:705 agentxtrap -x tcp: connects to

Re: winExtDLL problem

2010-03-23 Thread Bart Van Assche
On Wed, Mar 17, 2010 at 10:09 AM, Dave Shield d.t.shi...@liverpool.ac.uk wrote:   I've had a quick look at the code for winExtDLL.c (in response to bug #2971257), and there's something that confuses (/concerns) me. Within the var_winExtDLL handler, there's the usual   (for request =

Re: CFV: Four new patches (was: Default AgentX target)

2010-03-31 Thread Bart Van Assche
On Tue, Mar 30, 2010 at 2:07 PM, Dave Shield d.t.shi...@liverpool.ac.ukwrote: [ ... ] In response to these comments, I've drafted a revised version of this patch (attached), which uses the comparison code structure that you suggest. It also uses INT32_MAX where available (but doesn't rely

Re: CFV: Four new patches

2010-03-31 Thread Bart Van Assche
On Wed, Mar 31, 2010 at 4:16 AM, Wes Hardaker harda...@users.sourceforge.net wrote: On Tue, 30 Mar 2010 21:32:57 +0200, Magnus Fromreide ma...@lysator.liu.se said: MF b) I would probably prefer the following since it makes sense to use MF a well known name and this define is located in an

Re: CFV: Four new patches

2010-03-31 Thread Bart Van Assche
On Wed, Mar 31, 2010 at 10:08 AM, Dave Shield d.t.shi...@liverpool.ac.ukwrote: On 31 March 2010 08:25, Bart Van Assche bvanass...@acm.org wrote: MF #ifndef INT32_MAX MF #define INT32_MAX 0x7fff MF #endif It seems like some context information got lost in this discussion

Re: CFV: Four new patches

2010-03-31 Thread Bart Van Assche
On Wed, Mar 31, 2010 at 10:55 AM, Dave Shield d.t.shi...@liverpool.ac.ukwrote: On 31 March 2010 09:44, Bart Van Assche bvanass...@acm.org wrote: On most 64-bit systems sizeof(int) == 4 and on some others sizeof(int) == 8. But what is the value of INT32_MAX on such systems? I would expect

Re: CFV - Win Build fixes (was Re: Net-SNMP 5.4.3.rc2 and 5.2.6.rc2 available for testing)

2010-04-13 Thread Bart Van Assche
On Tue, Apr 13, 2010 at 1:47 PM, Dave Shield d.t.shi...@liverpool.ac.ukwrote: On 12 April 2010 19:16, Bart Van Assche bvanass...@acm.org wrote: As far as I know win32/build.bat on the V5.4 branch only works with Visual Studio 6. I'm somewhat surprised (and more than a little disappointed

Re: CFV - Win Build fixes

2010-04-14 Thread Bart Van Assche
On Tue, Apr 13, 2010 at 4:43 PM, Wes Hardaker harda...@users.sourceforge.net wrote: On Tue, 13 Apr 2010 15:06:44 +0200, Bart Van Assche bvanass...@acm.org said: BVA I have just verified that this patch makes building with VS6 via BVA win32/build.bat with default settings work for the 5.4

Re: CFV - Win Build fixes

2010-04-14 Thread Bart Van Assche
On Wed, Apr 14, 2010 at 1:01 PM, Dave Shield d.t.shi...@liverpool.ac.ukwrote: On 14 April 2010 11:16, Bart Van Assche bvanass...@acm.org wrote: But what I do not like is that the patch disables the notification log MIB for all Win32 builds. But as far as I can

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

2010-04-14 Thread Bart Van Assche
On Wed, Apr 14, 2010 at 10:08 AM, dt...@users.sourceforge.net wrote: Revision: 18496 http://net-snmp.svn.sourceforge.net/net-snmp/?rev=18496view=rev Author: dts12 Date: 2010-04-14 08:08:42 + (Wed, 14 Apr 2010) Log Message: --- CHANGES: Win32: Fix batch build

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

2010-04-14 Thread Bart Van Assche
On Wed, Apr 14, 2010 at 6:52 PM, Bart Van Assche bvanass...@acm.org wrote: On Wed, Apr 14, 2010 at 10:08 AM, dt...@users.sourceforge.net wrote: Revision: 18496 http://net-snmp.svn.sourceforge.net/net-snmp/?rev=18496view=rev Author: dts12 Date: 2010-04-14 08:08:42 + (Wed

Re: CFV - Win IPv6 Build fix (was Re: Net-SNMP 5.4.3.rc2 and 5.2.6.rc2 available for testing)

2010-04-14 Thread Bart Van Assche
On Wed, Apr 14, 2010 at 1:04 PM, Dave Shield d.t.shi...@liverpool.ac.ukwrote: On 13 April 2010 12:47, Dave Shield d.t.shi...@liverpool.ac.uk wrote: (I'm looking at problems with builds with some of the other parameters enabled...) The attached patch seems to fix the errors running

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

2010-04-18 Thread Bart Van Assche
On Thu, Apr 15, 2010 at 5:51 PM, Dave Shield d.t.shi...@liverpool.ac.ukwrote: On 14 April 2010 17:52, Bart Van Assche bvanass...@acm.org wrote: [ ... ] Another note about the same revision: why did you change /* #undef NETSNMP_USE_DLL */ into #define NETSNMP_USE_DLL 1 ? I assume

CFV - V5.4 Win32 IPv6 build fix

2010-04-18 Thread Bart Van Assche
The patch below fixes the IPv6-enabled Win32 build. What this patch does is to hide the inet_ntop() and inet_pton() declarations from the Microsoft SDK headers such that these do not cause conflicts with the declarations in the Net-SNMP source tree. And even when Net-SNMP is running on a Windows

CFV - Win32 - Restore notification log MIB on the V5.4 branch

2010-04-20 Thread Bart Van Assche
As known the notification log MIB was disabled recently on the V5.4 branch because it triggered a build failure ( http://net-snmp.svn.sourceforge.net/viewvc/net-snmp?view=revrevision=18496). The patch below reenables the notification log MIB, but only when building with the Windows Platform SDK

Re: CFV - Win32 - Restore notification log MIB on the V5.4 branch

2010-04-23 Thread Bart Van Assche
On Fri, Apr 23, 2010 at 3:36 PM, Dave Shield d.t.shi...@liverpool.ac.ukwrote: On 20 April 2010 17:37, Bart Van Assche bvanass...@acm.org wrote: The patch below reenables the notification log MIB, but only when building with the Windows Platform SDK enabled. I've had a quick look

Re: CFV - Win32 - Restore notification log MIB on the V5.4 branch

2010-04-24 Thread Bart Van Assche
On Sat, Apr 24, 2010 at 11:59 AM, Dave Shield d.t.shi...@liverpool.ac.ukwrote: On 23 April 2010 20:03, Bart Van Assche bvanass...@acm.org wrote: Regarding the interactive build: HAVE_WIN32_PLATFORM_SDK has to be disabled manually before starting to build with MSVC 6 on a system where

Re: CFV - Win32 - Restore notification log MIB on the V5.4 branch

2010-04-26 Thread Bart Van Assche
On Mon, Apr 26, 2010 at 4:30 PM, Dave Shield d.t.shi...@liverpool.ac.ukwrote: Attached is a version of your patch that seems to work for me. If you're happy with this (and no-one else objects), we might as well apply it, and move on to the next issue. The patch seems fine to me, and I have

Re: SF.net SVN: net-snmp:[18623] trunk/net-snmp

2010-04-29 Thread Bart Van Assche
On Thu, Apr 29, 2010 at 8:20 AM, Magnus Fromreide ma...@lysator.liu.sewrote: On Thu, 2010-04-29 at 03:31 +, rst...@users.sourceforge.net wrote: Revision: 18623 http://net-snmp.svn.sourceforge.net/net-snmp/?rev=18623view=rev Author: rstory Date: 2010-04-29 03:31:29 + (Thu,

Re: SF.net SVN: net-snmp:[18623] trunk/net-snmp

2010-04-30 Thread Bart Van Assche
On Fri, Apr 30, 2010 at 2:48 PM, Robert Story rst...@freesnmp.com wrote: On Thu, 29 Apr 2010 08:20:35 +0200 Magnus wrote: MF NEWS: snmplib: add remove function to container iterator; implement it for MF binary_array MF MF You choose to let iterator::remove move to the previous entry. I

Re: Problems building 5.2.4.1 with IPv6 support on Windows

2010-04-30 Thread Bart Van Assche
On Fri, Apr 30, 2010 at 6:00 PM, Ron Bets ron.b...@oracle.com wrote: Hi folks. I am struggling a little bit, trying to get 5.2.4.1 built under Windows with IPv6 support enabled. My environment is something like this: Visual Studio 6.0 sp5 ActivePerl Microsoft SDK (Feb 2003) I have run

Re: Problems building 5.2.4.1 with IPv6 support on Windows

2010-04-30 Thread Bart Van Assche
On Fri, Apr 30, 2010 at 7:40 PM, Ron Bets ron.b...@oracle.com wrote: Thanks. The PSDK include directory does come before the VC98 include dirs. I *think* I was successful building the libs from the IDE, but the errors persist from the cmd line. However, when I try to build an executable,

Re: Problems building 5.2.4.1 with IPv6 support on Windows

2010-04-30 Thread Bart Van Assche
On Fri, Apr 30, 2010 at 8:40 PM, Ron Bets ron.b...@oracle.com wrote: Thanks again. I had noticed that in the readme, and the project is apparently attempting to link against the open ssl lib, but there seems to be an additional external dependency that is not met. Here is an example of the

Re: Problems building 5.2.4.1 with IPv6 support on Windows

2010-05-04 Thread Bart Van Assche
On Tue, May 4, 2010 at 3:00 PM, Ron Bets ron.b...@oracle.com wrote: Thanks. I am not tied specifically to the 5.4.x stream. My main requirement is support for IPv6 transport on Windows, Solaris, and Linux. Would I be better off with a different release? I only selected 5.4.2.1 because the

Fwd: SF.net SVN: net-snmp:[18434] trunk/net-snmp

2010-05-09 Thread Bart Van Assche
This patch makes maintaining the Windows (MSVC) port harder because due to this patch different mechanisms are used in the non-MSVC build and in the MSVC-build for generating the header file snmplib/transports/snmp_transport_inits.h. Would it be OK to revert this patch and to add a file

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

2010-05-13 Thread Bart Van Assche
Hello Jan, This patch breaks the build on the 5.5 branch because it referes to a non-existing macro NETSNMP_LOGONCE() . Bart. On Wed, May 12, 2010 at 4:14 PM, jsafra...@users.sourceforge.net wrote: Revision: 18714 http://net-snmp.svn.sourceforge.net/net-snmp/?rev=18714view=rev

Re: different between Net-SNMP Agent service and snmpd.exe from command line

2010-05-14 Thread Bart Van Assche
Of *Bart Van Assche *Sent:* Friday, May 14, 2010 4:51 PM *To:* Duy Doan Khuong *Cc:* net-snmp-coders@lists.sourceforge.net *Subject:* Re: different between Net-SNMP Agent service and snmpd.exe from command line On Fri, May 14, 2010 at 11:09 AM, Duy Doan Khuong dk...@tma.com.vn wrote: I’m

  1   2   3   4   5   6   >