Re: Windows development environment?

2007-01-11 Thread Alex Burger
Daniel Lacey wrote: > I am looking into purchasing MS Visual "something". From the net-snmp > docs, I went looking for Visual C++. > I went to the MS product site and found the free Visual C++ 2005 Express > Edition. > > Would this be able to compile a working net-snmp? It should compile with V

Re: rfc: library layering

2007-01-11 Thread Thomas Anders
Dave Shield wrote: > On 08/01/07, Thomas Anders <[EMAIL PROTECTED]> wrote: >> How about the attached patch? > > Looks good to me. Checked in (with a necessary include added). +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) ---

Re: ethtool test fails

2007-01-11 Thread Magnus Fromreide
On tor, 2007-01-11 at 18:05 +0100, Magnus Fromreide wrote: > On Thu, Jan 11, 2007 at 05:24:40PM +0100, Radek Vokál wrote: > > > > I'm sending you a patch which fixies the issue for me. This is Fedora > > Core 6 and RHEL5 issue. Net-snmp 5.3.1 and 5.4 > > I am against this patch since it breaks w

Re: snmpv3/usmUser performance issues

2007-01-11 Thread Thomas Anders
Wes Hardaker wrote: >> "TA" == Thomas Anders <[EMAIL PROTECTED]> writes: > > TA> How much of the snmpv3/usmUser core code could likely be reused in a new > TA> implementation with one of those two helpers? > > Probably just the case statement that figures out the right values for > a given co

Re: rfc: library layering

2007-01-11 Thread Wes Hardaker
> "TA" == Thomas Anders <[EMAIL PROTECTED]> writes: TA> Dave Shield wrote: >> The distinction between libagent and libhelpers doesn't feel as useful >> as that between these two and libmibs TA> Merging them is significant work, too. So if it's *possible* to separate TA> them cleanly, why not

Re: snmpv3/usmUser performance issues

2007-01-11 Thread Wes Hardaker
> "TA" == Thomas Anders <[EMAIL PROTECTED]> writes: TA> How much of the snmpv3/usmUser core code could likely be reused in a new TA> implementation with one of those two helpers? Probably just the case statement that figures out the right values for a given column. Everything else will need

Re: rfc: update autoconf in MAIN?

2007-01-11 Thread Wes Hardaker
> "TA" == Thomas Anders <[EMAIL PROTECTED]> writes: TA> @Core Developers: please use autoconf 2.61 (or later) to regenerate TA> configure in MAIN from now on. Installing it (in parallel) is considered TA> almost trivial. If we're going to suggest 2.61 or plead, we should require it in the cod

Re: netsnmp_register_service_handlers ?

2007-01-11 Thread Wes Hardaker
> "MF" == Magnus Fromreide <[EMAIL PROTECTED]> writes: MF> The attached patch makes it possible to build snmplib/ with a c++ MF> compiler as well as a c89 compiler. and 5.4 branches -- Wes Hardaker Sparta, Inc. - Take S

Re: netsnmp_register_service_handlers ?

2007-01-11 Thread Wes Hardaker
> "MF" == Magnus Fromreide <[EMAIL PROTECTED]> writes: MF> The attached patch makes it possible to build snmplib/ with a c++ MF> compiler as well as a c89 compiler. FYI, applied to main. -- Wes Hardaker Sparta, Inc. - T

Re: netsnmp_register_service_handlers ?

2007-01-11 Thread Wes Hardaker
> "MF" == Magnus Fromreide <[EMAIL PROTECTED]> writes: MF> * chunk 2 in snmpUDPDomain.c which makes it stop using C99 struct MF> initialization at the cost of doing actual assignments. I actually always wondered at the portability of those anyway. It's probably safer. MF> * chunk 4 in snmpS

Re: ethtool test fails

2007-01-11 Thread Robert Story
On Thu, 11 Jan 2007 18:05:04 +0100 Magnus wrote: MF> I am against this patch since it breaks with not-so-old linux versions. I agree... - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay pane

Re: ethtool test fails

2007-01-11 Thread Magnus Fromreide
On Thu, Jan 11, 2007 at 05:24:40PM +0100, Radek Vokál wrote: > Thomas Anders wrote: > >Radek Vokál wrote: > >>Hi, I can't figure out where the problem. Net-snmp doesn't configure > >>with ethtool because the following test crashes > >> > >>configure:20372: checking for linux/ethtool.h > >>configur

Re: ethtool test fails

2007-01-11 Thread Radek Vokál
Thomas Anders wrote: Radek Vokál wrote: Hi, I can't figure out where the problem. Net-snmp doesn't configure with ethtool because the following test crashes configure:20372: checking for linux/ethtool.h configure:20394: gcc -c -DINET6 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -f

Re: ethtool test fails

2007-01-11 Thread Thomas Anders
Radek Vokál wrote: > Hi, I can't figure out where the problem. Net-snmp doesn't configure > with ethtool because the following test crashes > > configure:20372: checking for linux/ethtool.h > configure:20394: gcc -c -DINET6 -O2 -g -pipe -Wall > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protec

Re: RE : SNMPBULKWALK: Tuning the numer of OID values returned by responding packets

2007-01-11 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] On 11/0

ethtool test fails

2007-01-11 Thread Radek Vokál
Hi, I can't figure out where the problem. Net-snmp doesn't configure with ethtool because the following test crashes configure:20372: checking for linux/ethtool.h configure:20394: gcc -c -DINET6 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4

Re: SNMPBULKWALK: Tuning the numer of OID values returned by responding packets

2007-01-11 Thread Dave Shield
On 10/01/07, Breton, Marc-André <[EMAIL PROTECTED]> wrote: > When using snmpbulkwalk, I saw that only 10 values were included per > responding packet. I'd like to know if there's a way to manually increase > that limit. I searched in the options but I didn't find a way to change this > parameter. I

SNMPBULKWALK: Tuning the numer of OID values returned by responding packets

2007-01-11 Thread Breton, Marc-André
Hello, When using snmpbulkwalk, I saw that only 10 values were included per responding packet. I'd like to know if there's a way to manually increase that limit. I searched in the options but I didn't find a way to change this parameter. I'd like to change it to decrease my application response

Re: Net-SNMP 5.3.0.1 Coredump - Linux

2007-01-11 Thread Mark Clinton
Thomas, I tried your approach. I reproduced the coredump using Net-SNMP 5.4. The stack trace is below: Thanks, Mark NET-SNMP version: 5.4 Web: http://www.net-snmp.org/ Email: [email protected] #0 netsnmp_add_varbind_to_cache (asp=0x8187958, vbcount=1, varbind_ptr=0x815bc9