Re: Windows WIN32, cygwin and mingw defines

2005-04-26 Thread Alex Burger
A couple updates to this thread: 1) We don't need to define MSVC to detect MSVC. MSVC already defines _MSC_VER as the current major and minor version of the (MSVC) compiler. It is not defined in MinGW or Cygwin. As a side note, it looks like the Intel compiler defines it, but lets not go the

Re: FW: Net-snmp winsock build errors on Cygwin

2005-04-26 Thread Alex Burger
Hi. I answered your message in the users forum and provided a couple of patches. Alex Roberts, Allison R. wrote: Hello, I know we're not supposed to double post between the users and coders mailing list, but I'm still hoping someone has seen this problem -- thanks! I will add that I am using gcc 3.

Re: table_data helpers

2005-04-26 Thread Robert Story
On Mon, 25 Apr 2005 17:02:13 +0100 Dave wrote: DS> On Mon, 2005-04-25 at 16:41, Robert Story wrote: DS> > All you've done in the container version of table_data is internally DS> > provided the structure that the table container expects. I having nothing DS> > against that. All I'm suggesting is th

Re: rfc: better size checks in snmp_set_var_value

2005-04-26 Thread cnelson
> ... > So I have a patch that basically moved the extra checking into > snmp_set_var_value(), and updates snmp_varlist_add_variable to use > snmp_set_var_value(). > > Any objections? Sounds good to me. --- SF.Net email is sponsored by: Tell u

CrossCompiling Net-Snmp for Arm9

2005-04-26 Thread Stage Iup - Fabrice & Frédéric
Hi all I'm looking for some information in crosscompiling NetSnmp for Arm I've seen that there is already a topic about this subject but i haven't found any response in it Actually, i'm using prebuild toolchain 2.95.3 and 3.0 and i've some problems in building configure step seems to run well but

Re: UCD STYLE IN NETSNMP

2005-04-26 Thread Robert Story
On Fri, 22 Apr 2005 01:29:09 -0700 (PDT) shyam wrote: SS> hi ..i have installed net-snmp 5.2.1 on red hat 9.0..now i created SS> my own mib file ,then used mib2c to create .c and .h files in UCD STYLE. SS> now after i add functionality to the code. can i configure the UCD STYLE SS> CODE in

Re: table_data helpers

2005-04-26 Thread Wes Hardaker
> On Sat, 23 Apr 2005 10:47:27 +0100, Dave Shield <[EMAIL PROTECTED]> said: Dave> I knew that stepping through the table_data lists would fail, Dave> but that never felt to be pushed as a user-level helper. I can't think of any case, except in the emulator that we were providing as well, wher

Re: table_data helpers

2005-04-26 Thread Dave Shield
On Mon, 2005-04-25 at 16:41, Robert Story wrote: > All you've done in the container version of table_data is internally provided > the structure that the table container expects. I having nothing against that. > All I'm suggesting is that the API be part of table_container instead of > table_data2.

Re: problem configuring 5.2.1

2005-04-26 Thread Wes Hardaker
> On Sun, 24 Apr 2005 20:28:44 -0400, "Michael P. Soulier" <[EMAIL > PROTECTED]> said: Michael> No, I didn't. I didn't realize that snmpd was linking with tcpwrappers Michael> now. Yes, that did it. Thank you! It's optional. Some RPM vendors turn it on by default. -- Wes Hardaker Spa

net-snmp compile for cygwin

2005-04-26 Thread Moshe Nissim
Title: Message Hello,     Enclosed problems I got when building cygwin version of  net-snmp-5.2.1   When running:    ./configure --with-mib-modules="host agentx disman/event-mib examples/example" --with-out-mib-modules=host/hr_network \   in cygwin (latest:CYGWIN_NT-5.1)   I got the encos

rfc: better size checks in snmp_set_var_value

2005-04-26 Thread Robert Story
While investigating a recent problem report on a 64 bit issue, I discovered that the function snmp_set_var_value() doesn't really do much error checking on the values passed to it. On the other hand, snmp_varlist_add_variable() does fairly extensive error checking, including dealing with integers t

FW: Net-snmp winsock build errors on Cygwin

2005-04-26 Thread Roberts, Allison R.
Hello, I know we're not supposed to double post between the users and coders mailing list, but I'm still hoping someone has seen this problem -- thanks! I will add that I am using gcc 3.3.3-3. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roberts, Allis

UCD STYLE IN NETSNMP

2005-04-26 Thread shyam sunder
hi ..i have installed net-snmp 5.2.1 on red hat 9.0..now i created my own mib file  ,then used mib2c to create .c and .h files in UCD STYLE. now after i add functionality to the code. can i configure the UCD STYLE CODE into the net-snmp 5.2.1 ..another problem which i found while installin

ucd-snmp 4.2.6 setting sysDescr

2005-04-26 Thread Jose Vergara
hi im using ucd-snmp 4.2.6 and i'm trying to snmpset the system.sysDescr object but it fails. it is a read-only object right? is there some way to do this? using the override function obviously doesn't help because it is only present on versions 5+ of snmp agent.. thanks guys! This email mess

Re: 5.2.1 make test fails

2005-04-26 Thread Wes Hardaker
> On Mon, 25 Apr 2005 09:27:08 +0100, Dave Shield <[EMAIL PROTECTED]> said: >> * Your ethernet interface isn't configured Dave> I'll pass on that one too. Dave> I'm a little surprised that the tests don't use Dave> the loopback interface anyway. I actually have argued a few times that we sho

Re: table_data helpers

2005-04-26 Thread Dave Shield
On Mon, 2005-04-25 at 18:49, Wes Hardaker wrote: > Dave Shield <[EMAIL PROTECTED]> said: > > Dave> I knew that stepping through the table_data lists would fail, > Dave> but that never felt to be pushed as a user-level helper. > > I can't think of any case, except in the emulator that we were > pr

答复: Re: SNMP v3 engineBoots problem [on windows]

2005-04-26 Thread tao . wenqiang
  Dave Shield <[EMAIL PROTECTED]> 发件人: [EMAIL PROTECTED] 2005-04-25 19:52 收件人:[EMAIL PROTECTED] 抄送: [email protected] 主题: Re: SNMP v3 engineBoots problem [on windows] [ First - *please* don't mail me privately, without copying

Re: Fwd: man page for snmp_synch_response

2005-04-26 Thread Dave Shield
On Mon, 2005-04-25 at 11:05, Shivali Gupta wrote: > how can i detect that the specified OID is invalid. By querying the agent. > in this case "HOST-RESOURCES-MIB::hrStorageType.8" > is an invalid OID since the valid ones range from > "HOST-RESOURCES-MIB::hrStorageType.1" to > "HOST-RESOURCES-M

Re: Net-SNMP toolkit vs EMANATE SNMP research Toolkit

2005-04-26 Thread Dave Shield
On Tue, 2005-04-26 at 06:15, Gurusidhesh Hiremath wrote: > What are the major differences between Net-SNMP toolkit and > EMANATE SNMP research Toolkit. We know a fair amount about the Net-SNMP toolkit, and not much about Emanate :-) > And what are the advantages/disadvantages of Net-SNMP > tool