fixes for IPV6-TCP and IPV6-UDP on *BSD

2004-06-28 Thread slif
Tested on 32-bit FreeBSD 4.9 and FreeBSD 5.2.1 Apply this patch to fix these problems with IPV6-UDP-MIB and IPV6-TCP-MIB cleanup: unused variables, comment out unused functions convert int to size_t as appropriate (per Willem Jan Withagen) fix udbtable --> tcbtable in TCP6-var_tcp6 for NetBSD fix

inetNetToMediaTable vs ipNetToPhysicalTable

2004-06-28 Thread Coders
There is a mfd implementation of inetNetToMediaTable in CVS. This was a new table, to replace the atTable. Unfortunately, in the latest draft, they renamed the table to ipNetToPhysicalTable. They didn't change objects; just the table name. The question is: should I nuke the code in CVS and re-add

Re: Threading in 4.2.5 Agent

2004-06-28 Thread Coders
On Mon, 28 Jun 2004 10:48:50 -0700 Toth, wrote: TGS> We are using a extended version of the 4.2.5 snmpd agent. The question TGS> has come up as to how are we protecting ourselves from various threading TGS> issues. TGS> TGS> Is the agent single threaded or multi-threaded? (It is not running as T

Threading in 4.2.5 Agent

2004-06-28 Thread Toth, Gregory S
We are using a extended version of the 4.2.5 snmpd agent. The question has come up as to how are we protecting ourselves from various threading issues. Is the agent single threaded or multi-threaded? (It is not running as agent x) --- This

Re: libcrypto.so.0.9.7 (Solaris 8)

2004-06-28 Thread Johannes Schmidt-Fischer
Hello, as far as I remember the /usr/bin/crle command wasn't part of standard Solaris at least prior to Solaris 8 (I don't have Solaris 8 at hand to check for that), but only in Trusted Solaris versions. Instead Solaris supports some environment variables which are valuable in this context: -

Re: Problem accessing data structure

2004-06-28 Thread Coders
On Sun, 27 Jun 2004 15:20:49 +0200 Arne wrote: AB> I'm using the array-user template to implement a table. [snip] AB> Was the structure freed because AB> the original thread was killed after finished with startup? Use of threads in the agent is unsupported. Try and get it working as a single t

Re: Cache handler

2004-06-28 Thread Coders
On Mon, 28 Jun 2004 14:21:11 +0100 Dave wrote: DS> Firstly, there appears to be an inconsistency in the DS> way that the cache is referenced You are right, it should be consistent. I'll get that fixed today. DS> The most recent change now uses what appears to be a DS> completely separate cache

Re: Host Resource MIB on Broken Linux

2004-06-28 Thread Johannes Schmidt-Fischer
Hello Mike, here are the results for HP-UX (using "find ... | xargs grep ...": HP-UX 10.20 --- /usr/include/sys/_statvfs_body.h: ad_ulong_t f_frsize; /* Fundamental file system block size */ /usr/include/sys/_statvfs_body.h: u_long f_frsize; /* Fundamental file syste

Re: Cache handler [next handlers]

2004-06-28 Thread Coders
On Mon, 28 Jun 2004 14:21:11 +0100 Dave wrote: DS> The second issue relates to the overall form of the handler routine. DS> The general model of the v5 handler chain architecture is of a series DS> of routines, each of which takes care of certain aspects of the request DS> and then passes control

Re: Logging on Windows

2004-06-28 Thread Alex Burger
Alex Burger wrote: How about adding the command line options for snmptrapd into the snmptrapd.conf file? It looks like snmpd already has some of the command line options in the snmpd.conf file. For example: dumpPackets0 printEvenNumbers0 doNotFork0 format%M-%L-%

Re: unable to recieve snmpv2 traps

2004-06-28 Thread Dave Shield
> snmptrap -v 2c -c public localhost ` ` NOTIFICATION-TEST-MIB::demo-notif ^^^ Those look suspiciously like backquotes - i.e. running an (empty) command. Try using forward quotes - i.e. snmptrap -v 2c -c public localhost '' . Dave ---

unable to recieve snmpv2 traps

2004-06-28 Thread shruti yogendra
  snmptrap -v 2c -c public localhost ` ` NOTIFICATION-TEST-MIB::demo-notif \ SNMPv2-MIB::sysLocation.0 s "just here"   this command does not work... says missing TYPE  and VALUE in the variable   what could be wrong?   shruti Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages!

Cache handler

2004-06-28 Thread Dave Shield
Robert, thanks for having a look at the caching problems. But I'm a little concerned/confused about the cache handler as it currently stands. Firstly, there appears to be an inconsistency in the way that the cache is referenced At the beginning of the handler (and again in the COMMIT pass

Re: Reload dynamic modules

2004-06-28 Thread Dave Shield
> is there a way to tell the snmpd to reload a dynamic module? If you edit the snmpd.conf to add the new 'dlmod' entry and then send the agent a HUP signal, it should re-read the config file and reinitialise itself. There are some configure directives that don't handle this properly, but it shou

Re: libcrypto.so.0.9.7 (Solaris 8)

2004-06-28 Thread Dave Shield
Bruce> ld.so.1: ./snmpd: fatal: libcrypto.so.0.9.7: open failed: Bruce> No such file or directory. Thomas> Use /usr/bin/clre on Solaris 8 (and higher) to add /usr/local/ssl/lib Thomas> to the loader search patch for *all* applications, or put Thomas> "-R/usr/local/ssl/lib" into LDFLAGS at ne

quick help to understand source code

2004-06-28 Thread jeff x
Hello, I will try to make a snmp-server using a radius server for authentication and it will also works as a VACM So, there will be be no more vacm checking on the server. Does someone could give me some information, such as the name of the "vacm-access-cheking procedure" and some other advices t

Re: How to set a table's field

2004-06-28 Thread Dave Shield
RG> snmpset SELTASYS-MIB::office.\"Rodolfo Giometti\" = "Colognora" MS> In the sample given, substitute the equals sign with the letter "s". Just so's you know, Mike - the "=" means "use whatever syntax is defined in the MIB file for this object" So as long as SELTASYS-MIB::office is d

Re: libcrypto.so.0.9.7 (Solaris 8)

2004-06-28 Thread Thomas Anders
Thomas Anders wrote: Use /usr/bin/clre on Solaris 8 (and higher) Argh: /usr/bin/crle, of course. +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefing

Re: libcrypto.so.0.9.7 (Solaris 8)

2004-06-28 Thread Thomas Anders
BS> ld.so.1: ./snmpd: fatal: libcrypto.so.0.9.7: open failed: No such file or BS> directory. RS> Did you update /etc/ld.so.conf to include /usr/local/ssl/lib, and then run RS> lddconfig? Solaris is not a Linux distro (yet) ;) Use /usr/bin/clre on Solaris 8 (and higher) to add /usr/local/ssl/lib to

(no subject)

2004-06-28 Thread paramita biswas
Respected Sir,    I'm working on a project dealing with SNMP traps. Changes cannot be made at the agent/sender level but at the receiver level it is possible. Can SNMPv2 traps be converted to SNMPv3 traps? If possible then can we get the source code on the website. Can you send