multiple pass-persist

2004-06-30 Thread slif
Please see bug #819154 (more than one exec is a problem). The same problem for pass_persist. If the attached patch is applied, then multiple "pass_persist" seem to work correctly. Is there _significant_ downside to incorporating this patch before the 5.1.2 release ? e.g., will it break existing

(no subject)

2004-06-30 Thread Clyde Atillo
Do you Yahoo!? Yahoo! Mail - You care about security. So do we.

Re: snmpNotifyFilterTable supported?

2004-06-30 Thread Wes Hardaker
> On Wed, 30 Jun 2004 16:06:57 -0700, "David T. Perkins" <[EMAIL PROTECTED]> said: David> I hope and wish that another mechanism be developed. My feeling David> is that the current one is over complex, and really doesn't do David> the job. One may say that it is a standard. But, if it is not

Re: snmpNotifyFilterTable supported?

2004-06-30 Thread David T. Perkins
HI, I hope and wish that another mechanism be developed. My feeling is that the current one is over complex, and really doesn't do the job. One may say that it is a standard. But, if it is not used, except for trivial configurations, why implement it? At 03:38 PM 6/30/2004 -0700, Wes Hardaker wro

Re: Checking if INFORM was received

2004-06-30 Thread Wes Hardaker
> On Mon, 21 Jun 2004 12:23:54 -0400, "Pedot, Wolfgang" <[EMAIL PROTECTED]> said: Wolfgang> I am using create_trap_session, snmp_set_var_objid, Wolfgang> snmp_set_var_value and send_enterprise_trap_vars to generate Wolfgang> and send my traps (is this a clean way?). Wolfgang> create_trap_sessi

Re: snmpNotifyFilterTable supported?

2004-06-30 Thread Wes Hardaker
> On Tue, 22 Jun 2004 14:51:08 +0100, Dave Shield <[EMAIL PROTECTED]> said: Dave> Note that all notifications will be sent to all destinations. Dave> The agent does not (currently) support notification filtering. E

5.1.2.??? status

2004-06-30 Thread Wes Hardaker
Ok, it happened again. I hit a deadline, had to travel for a week (to the deadline) and got lost in a quagmire of mail that resulted from not reading it for a while... Where are we with respect to the patches being worked on for 5.1.2? Can I release a .pre3 or are we at .rc1 stage now? Let me k

Re: why engineID default format still UCD?

2004-06-30 Thread Wes Hardaker
> On Thu, 24 Jun 2004 17:44:13 +0200, Thomas Anders <[EMAIL PROTECTED]> said: Thomas> -Coders, Thomas> AFAICS the engineIDType still defaults to the custom (aka Thomas> proprietary) ENGINEID_TYPE_UCD_RND (128) and the enterprise ID Thomas> in the engineID is still UCD (2021=0x07e5) instead of

Re: auto-update of cvs version?

2004-06-30 Thread Wes Hardaker
> On Fri, 25 Jun 2004 16:51:29 -0400, Robert Story (Coders) <[EMAIL PROTECTED]> > said: DS> I think we need some input on this one Robert> Agreed... [still in catch-up mode] 1) I agree its needed. I even have a mail message from about 5 years ago that talked about scanning the

Re: quick help to understand source code

2004-06-30 Thread Wes Hardaker
> On Mon, 28 Jun 2004 11:25:38 +0200 (CEST), jeff x <[EMAIL PROTECTED]> said: jeff> So, there will be be no more vacm checking on the jeff> server. Does someone could give me some information, jeff> such as the name of the "vacm-access-cheking jeff> procedure" and some other advices that could

Re: Cache handler [next handlers]

2004-06-30 Thread Wes Hardaker
> On Wed, 30 Jun 2004 13:08:25 -0400, Robert Story (Coders) <[EMAIL PROTECTED]> > said: DS> Robert> it stands at 2-1. DS> DS> Yes - I'm getting used to that :-( Robert> Well, we've all been there. You just need to come work for us, Robert> and then together we can rule the world! Mwuuuh

Re: pass method

2004-06-30 Thread Wes Hardaker
> On Wed, 30 Jun 2004 16:12:11 +0200 (CEST), Hugo Monteiro Cacote <[EMAIL > PROTECTED]> said: Hugo> pass .1.3.6.1.4.1.96.255.2.0 /tmp/a/test Try registering it at .1.3.6.1.4.1.96.255.2 instead... -- Wes Hardaker Sparta --- This SF.N

Re: inetNetToMediaTable vs ipNetToPhysicalTable

2004-06-30 Thread Wes Hardaker
> On Wed, 30 Jun 2004 13:11:36 -0400, Robert Story (Coders) <[EMAIL PROTECTED]> > said: Robert> Not right now, but it *should* in the immediate future, and Robert> *will* before 5.2.0 goes out... Good by me. -- Wes Hardaker Sparta -

Re: Bug 919537 (916605) - Memory leak during setting.

2004-06-30 Thread Coders
On Wed, 30 Jun 2004 09:55:25 -0700 Fong wrote: FT> Does this bug get fixed? Not yet. FT> I checked site, it indicates that the fix by commenting out FT> asp->pdu->variables = NULL; in function save_set_cache() in FT> agent/snmp_agent.c will cause double free (crash) problem. I wonder if FT> anyb

Re: problems with win32.dsw

2004-06-30 Thread slif
Vincenzo Cicerone wrote: >Hi >I've installed the win32 binary. >I've installed ActiveState Perl and the SNMP Perl module. >I've successfully started the snmpd.exe, it correctly reply to my SNMP >Manager. Very well. > >Now I've problems with the windows project "win32.dsw". I've to extend >the ag

Re: Cache handler [next handlers]

2004-06-30 Thread Coders
On Wed, 30 Jun 2004 15:52:23 +0100 Dave wrote: DS> Having a set of handlers called "in sequence" is a perfectly reasonable DS> alternative model. I'm unconvinced as to whether it's necessarily DS> better than the current "pipeline" model, but it's certainly not a DS> poor choice. I'm not sure I

Re: inetNetToMediaTable vs ipNetToPhysicalTable

2004-06-30 Thread Coders
On Wed, 30 Jun 2004 17:30:28 +0100 Dave wrote: DS> Hmmm. Maybe I've misunderstood what you meant by DS>"enable the new modules, and exclude the others" DS> I thought that meant include the ipNetToPhysicalTable, etc, DS> but not the older ones (such as atTable). Was that wrong? No,that

Bug 919537 (916605) - Memory leak during setting.

2004-06-30 Thread Fong Tsui
Does this bug get fixed? I checked site, it indicates that the fix by commenting out asp->pdu->variables = NULL; in function save_set_cache() in agent/snmp_agent.c will cause double free (crash) problem. I wonder if anybody has tried this fix and got crash? Anybody has the fix for both (neith

Re: Cache handler

2004-06-30 Thread Coders
On Wed, 30 Jun 2004 15:52:20 +0100 Dave wrote: DS> Robert> Well, technically, the handler had to have requested the cache in DS> Robert> the first place, so it could have save the cache pointer when it DS> Robert> created it DS> DS> Sort of. DS> The lower level code typically creates a normal hand

Re: inetNetToMediaTable vs ipNetToPhysicalTable

2004-06-30 Thread Dave Shield
DS> Will the ipNetToPhysicalTable be included by default, or an optional DS> module (to be configured in explicitly) ? Robert> The current cvs is either/or. The --enable-mfd-rewrites would Robert> enable the new modules, and exclude the others. DS> And the default is to use the traditional code -

Re: inetNetToMediaTable vs ipNetToPhysicalTable

2004-06-30 Thread Coders
On Wed, 30 Jun 2004 15:52:33 +0100 Dave wrote: DS> DS> My gut reaction is to wait [...] DS> DS> Robert> Sounds reasonable. The only reason I asked is that we are rapidly DS> Robert> approaching 5.2. So the question was, should we release the code DS> Robert> with the wrong name. DS> DS> As long

Re: Cache handler

2004-06-30 Thread Dave Shield
DS> But the only reason that the cache needed to be linked with the reqinfo DS> parameter was that this was the only way that lower handlers could get DS> hold of it. Robert> Well, technically, the handler had to have requested the cache in Robert> the first place, so it could have save the cac

problems with win32.dsw

2004-06-30 Thread Vincenzo Cicerone
Hi I've installed the win32 binary. I've installed ActiveState Perl and the SNMP Perl module. I've successfully started the snmpd.exe, it correctly reply to my SNMP Manager. Now I've problems with the windows project "win32.dsw". I've to extend the agent! It doesn't know the token "tempFilePatter

Re: Cache handler [next handlers]

2004-06-30 Thread Dave Shield
Robert> Replace 'eliminating the redundant loop' with 'eliminating an Robert> unnecessary function call and reducing the stack depth.' (Have you Robert> looked at a back trace from a low level handler? It's horrendous.) No argument there! Robert> I think that it's that it's a change from how

Re: inetNetToMediaTable vs ipNetToPhysicalTable

2004-06-30 Thread Dave Shield
DS> Has the numeric OID actually changed? Robert> Yep. It changed by one. Oops - missed that. DS> My gut reaction is to wait - stick with what you've got at the moment DS> When this finally appears as an RFC, then *that's* the time to rename DS> the implementation files, etc. Once it's

pass method

2004-06-30 Thread Hugo Monteiro Cacote
Dear all, The snmpget is displaying some strange behaviour when using pass method to extend the agent. I have a following line in my snmpd.conf file: pass .1.3.6.1.4.1.96.255.2.0 /tmp/a/test test is a tiny C-program that looks like this: # cat test.c int main() { sleep(0); printf(".1.3.6.

RE: moldy build problem [solaris]

2004-06-30 Thread Bruce Shaw
Huh? Wha? Oh! I've been building fairly regularly on 2.6, 7 and 8 for sun4u and sun4m. I haven't seen this in quite awhile so I assume it's fixed. SN> 701992 - undefined symbol Route_Scan_Reload linking snmpd on Solaris SN> SN> If CVS main branch builds on Solaris 8, SN> can this bug be close

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

2004-06-30 Thread slif
Dave Shield wrote: >>>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 > > >>P.S. It would be real nice if this made the cut for the >>5.1.2 release . FreeBSD/NetBSD *with* all the trimmings. Ah!! > > >I'd say that i

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

2004-06-30 Thread Dave Shield
>> 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 > P.S. It would be real nice if this made the cut for the > 5.1.2 release . FreeBSD/NetBSD *with* all the trimmings. Ah!! I'd say that if you want this in 5.1.2, t

Re: AIX 5 issues.

2004-06-30 Thread Dave Shield
Bruce> We're intending a major rewrite of the code for Solaris. Not quite, Bruce. You may be intending a major rewrite of the code for Solaris. *I'm* intending a major rewrite of the code overall. (It's been a while since I completely broke a large portion of the agent, and I'm getting withdrawa

Re: ucd-snmp latest package

2004-06-30 Thread Dave Shield
AC> can you help me to get latest ucd-snmp source code. AC> I actually downloaded ucd-snmp 4.2.6 from source forge.net AC> but unfortunately it is not compiling. RS> That's due to the openssl folks changing their API. You can: RS> 1) downgrade openssl RS> 2) backport the changes to that file fro