net-snmp and openssl 1.1.0

2016-11-08 Thread Andreas Henriksson
Control: tags -1 + upstream patch Hello! The attached patch (in combination with the fix for #841554) makes the Debian net-snmp package build against openssl 1.1.0. This patch has only been compile-tested. No runtime testing. No guarantees. Please review carefully. (Additional ifdefs likely need

Re: [SCM] Net-SNMP branch master updated. v5.7.3-1973-gf90d891

2016-11-08 Thread Robert Story
On Mon, 7 Nov 2016 20:14:42 -0800 Bart wrote: BVA> My Internet provider (Comcast) does not provide any addresses BVA> for these two DNS names: BVA> BVA> $ dig +short twoa.net-snmp.org BVA> $ dig +short onea.net-snmp.org BVA> $ dig onea.net-snmp.org BVA> BVA> ; <<>> DiG 9.10.3-P4 <<>> onea.net-snm

Re: [SCM] Net-SNMP branch master updated. v5.7.3-1973-gf90d891

2016-11-08 Thread Bart Van Assche
On 11/08/16 05:24, Robert Story wrote: > So as far as I can tell, the failure point is your router's DNS > resolution. Hello Robert, From the status screen of my router: DNS 1: 75.75.75.75 DNS 2: 75.75.76.76 The only addresses that are "misresolved by my router" are onea.net-snmp.org and twoa.

Re: [SCM] Net-SNMP branch master updated. v5.7.3-1973-gf90d891

2016-11-08 Thread Robert Story
On Tue, 8 Nov 2016 07:12:48 -0800 Bart wrote: BVA> From the status screen of my router: BVA> DNS 1: 75.75.75.75 BVA> DNS 2: 75.75.76.76 BVA> BVA> The only addresses that are "misresolved by my router" are BVA> onea.net-snmp.org and twoa.net-snmp.org. Since my router is BVA> running a recent vers

What's the purpose of mib.c:2824 tmpbuf2[strlen(tmpbuf2)-1] = 0;

2016-11-08 Thread Moreno Floris
Hello, As requested in the sujbect, what's the purpose of line 2824 in mib.c file? tmpbuf2[strlen(tmpbuf2)-1] = 0; It causes my "/mibs" directory to be trimmed to "/mib" and nothing works. Other static buffers are zero-terminated by using sizeof()hence preventing some potential trouble but thi

Re: What's the purpose of mib.c:2824 tmpbuf2[strlen(tmpbuf2)-1] = 0;

2016-11-08 Thread Robert Story
On Tue, 8 Nov 2016 16:35:46 + Moreno wrote: MF> As requested in the sujbect, what's the purpose of line 2824 in mib.c file? MF> MF> tmpbuf2[strlen(tmpbuf2)-1] = 0; MF> MF> It causes my "/mibs" directory to be trimmed to "/mib" and nothing works. Then it sounds like your mibindex file is not

Re: net-snmp and openssl 1.1.0

2016-11-08 Thread Robert Story
On Tue, 1 Nov 2016 18:39:01 +0100 Andreas wrote: AH> Control: tags -1 + upstream patch AH> AH> Hello! AH> AH> The attached patch (in combination with the fix for #841554) AH> makes the Debian net-snmp package build against openssl 1.1.0. AH> This patch has only been compile-tested. No runtime tes

Re: What's the purpose of mib.c:2824 tmpbuf2[strlen(tmpbuf2)-1] = 0;

2016-11-08 Thread Robert Story
On Tue, 8 Nov 2016 13:02:51 -0800 Bart wrote: BVA> On 11/08/2016 12:17 PM, Robert Story wrote: BVA> > Static buffers/arrays should be initialized before use. If BVA> > you find any that are used before they are initialized, BVA> > please file a bug and, if you can, submit a patch to fix BVA> > them

Re: What's the purpose of mib.c:2824 tmpbuf2[strlen(tmpbuf2)-1] = 0;

2016-11-08 Thread Bart Van Assche
On 11/08/16 13:15, Robert Story wrote: > On Tue, 8 Nov 2016 13:02:51 -0800 Bart wrote: > BVA> On 11/08/2016 12:17 PM, Robert Story wrote: > BVA> > Static buffers/arrays should be initialized before use. If > BVA> > you find any that are used before they are initialized, > BVA> > please file a bug a

Re: [SCM] Net-SNMP branch master updated. v5.7.3-1973-gf90d891

2016-11-08 Thread Bart Van Assche
On 11/08/16 08:03, Robert Story wrote: > I've updated both records to use the documentation netblock. See if > that works better for you. Hello Robert, T070com2sec_simple passes again on my development system. Thanks! Bart. -