5.6.1.pre1 released for testing

2010-11-30 Thread Wes Hardaker
We've released Net-SNMP 5.6.1.pre1 which contains bug fixes over the 5.6 release. Please give it a whirl and let us know how it works for you! https://sourceforge.net/projects/net-snmp/files/net-snmp/5.6.1-pre-releases/ This release will have a short turn-around time and pre2 or rc1 will be r

Re: CFV: Trunk and V5-6 fails to build without openssl

2010-11-30 Thread Wes Hardaker
> On Tue, 30 Nov 2010 22:41:37 +0100, Magnus Fromreide > said: MF> Ok for trunk and V5-6? Applied for you :-) -- Wes Hardaker Please mail all replies to [email protected] -- Increase Visibi

Re: ! command is not portable to solaris 10

2010-11-30 Thread Magnus Fromreide
On Tue, 2010-11-30 at 14:58 -0800, Wes Hardaker wrote: > > On Tue, 30 Nov 2010 23:26:00 +0100, Magnus Fromreide > > said: > > MF> Is this (old broken shells) a big enough problem that we should fix > MF> it? > > Probably. It's not a hard fix. I assume that: > > if cmd ; then > : >

Re: ! command is not portable to solaris 10

2010-11-30 Thread Wes Hardaker
> On Tue, 30 Nov 2010 23:26:00 +0100, Magnus Fromreide > said: MF> Is this (old broken shells) a big enough problem that we should fix MF> it? Probably. It's not a hard fix. I assume that: if cmd ; then : else stuff fi works? -- Wes Hardaker Please mail all replies to net-snmp-

Re: CFV: Trunk and V5-6 fails to build without openssl

2010-11-30 Thread Wes Hardaker
> On Tue, 30 Nov 2010 22:41:37 +0100, Magnus Fromreide > said: MF> +#if defined(NETSNMP_USE_OPENSSL) && defined(HAVE_LIBSSL) MF> /** init secname mapping */ MF> netsnmp_certs_agent_init(); MF> +#endif I'd go ahead and commit it. *but*, I actually wonder whether for things like this it

! command is not portable to solaris 10

2010-11-30 Thread Magnus Fromreide
In testing/fulltests/support/simple_run there is an instance of the construct if ! cmd ; then ... fi This is an application of the posix mandated negation of pipeline return status pattern but on solaris 10 /bin/sh fails to support this construct and so RUNTESTS warns about a failed (history) sub

ethtool linking (was Re: SF.net SVN: net-snmp:[19701] trunk/net-snmp)

2010-11-30 Thread Wes Hardaker
> On Tue, 30 Nov 2010 22:40:27 +0100, Niels Baggesen > said: NB> This woodoo in interface_linux.c does not work for CentOS 5.5 I had a bet with myself that some older system somewhere would choke. I won. Sigh. I'll revert it. -- Wes Hardaker Cobham Analytic Solutions -

Re: CFV: Trunk and V5-6 fails to build without openssl

2010-11-30 Thread Niels Baggesen
Den 30-11-2010 22:41, Magnus Fromreide skrev: > The attached patch makes the call conditional so that the agent compiles > again. > > Ok for trunk and V5-6? +1 I was just about to complain about the same :-) /Niels -- Niels Baggesen - @home - Århus - Denmark - [email protected] The pu

CFV: Trunk and V5-6 fails to build without openssl

2010-11-30 Thread Magnus Fromreide
Revision 19697 added the function netsnmp_certs_agent_init but it is conditional on defined(NETSNMP_USE_OPENSSL) && defined(HAVE_LIBSSL) The call of that function in snmp_vars.c is not conditional. The attached patch makes the call conditional so that the agent compiles again. Ok for trunk and

Re: couldn't find ifIndex

2010-11-30 Thread Niels Baggesen
On Tue, Nov 30, 2010 at 07:54:32AM -0800, Andrus, Brian Contractor wrote: > Then it starts it's regular: > > snmpd[14777]: ioctl 35123 returned -1 > snmpd[14777]: couldn't find ifIndex for '*', skipping You could try adding verbose:access:interface,access:arp to the -D tokens and posting a dump

Re: couldn't find ifIndex

2010-11-30 Thread Stephen Hemminger
On Tue, 30 Nov 2010 07:54:32 -0800 "Andrus, Brian Contractor" wrote: > Not sure how to check the cache interval. > Made the changes. Not seeing anything special to help figure it out. Only new > entry in log was at restart of the service: > > snmpd[14775]: registered debug token access:interfa

RE: couldn't find ifIndex

2010-11-30 Thread Andrus, Brian Contractor
Not sure how to check the cache interval. Made the changes. Not seeing anything special to help figure it out. Only new entry in log was at restart of the service: snmpd[14775]: registered debug token access:interface, 1 snmpd[14775]: registered debug token ifTable:access, 1 snmpd[14777]: mibII/

Re: couldn't find ifIndex

2010-11-30 Thread Robert Story
On Mon, 29 Nov 2010 22:48:32 -0800 Brian Contractor wrote: ABC> I haven't. It seems to be happening on regular intervals whether snmp is ABC> being queried or not. Every 15 seconds to be exact. Which is exactly the cache refresh interval. Try running snmpd with some debug tokens: "-Daccess:interf

Re: [patch] [rfc] dynamically updating ARP table

2010-11-30 Thread Robert Story
On Tue, 30 Nov 2010 11:10:02 +0200 Timo wrote: TT> Please review for inclusion. Can you submit this to the patch tracker? email patches tend to get lost/buried... Thanks! -- Increase Visibility of Your 3D Game App & Earn

[patch] [rfc] dynamically updating ARP table

2010-11-30 Thread Timo Teräs
On 11/24/2010 04:43 PM, Timo Teräs wrote: > Anyway, I attached where I am currently at. It kills the old proc based > thing, and adds the new netlink based ARP container stuff. I need to > still: rewrite the procfs stuff so we don't depend on netlink (or do I > have to do this? every sane linux sho