RE: rwcommunity crashes config file read (solved?)

2011-09-02 Thread Jordan Fuerst
>I am trying to use net-snmp version 5.5 that has been cross compiled for a >coldfire. > >If I launch net-snmp like this (I know...just wait): >./snmpd -f -Lo >I get a response like this: >Warning: no access control information configured. > It's unlikely this agent can serve any useful purpose i

Re: RFV: Disk calculation overflow

2011-09-02 Thread Dave Shield
On 2 September 2011 06:56, Bart Van Assche wrote: > The loss of precision for small values of "value" and "total" can be > avoided by using the new formula only if these values are large. Something like: --- a/agent/mibgroup/ucd-snmp/disk_hw.c +++ b/agent/mibgroup/ucd-snmp/disk_hw.c @@ -248,7 +

Re: GPL issue in some net-snmp files

2011-09-02 Thread jatinder goswami
> > Hi All, > > I want to net-snmp in some embedded device. During open source analysis, > blackduck''s Protex IP tool shows that following files are *GPL*. > *1. agent/agent_index.c > 2. include/net-snmp/agent/agent_index.h* > > Is this issue valid. How to resolve it. These files does not have any

Re: GPL issue in some net-snmp files

2011-09-02 Thread Dave Shield
On 2 September 2011 13:32, jatinder goswami wrote: >> I want to net-snmp in some embedded device. During open source analysis, >> blackduck''s Protex IP tool shows that following files are GPL. >> 1. agent/agent_index.c >> 2. include/net-snmp/agent/agent_index.h >> >> Is this issue valid. I'd be

Re: GPL issue in some net-snmp files

2011-09-02 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] On 2 Sep

Re: RFV: Disk calculation overflow

2011-09-02 Thread Bart Van Assche
On Fri, Sep 2, 2011 at 11:42 AM, Dave Shield wrote: > On 2 September 2011 06:56, Bart Van Assche wrote: > > The loss of precision for small values of "value" and "total" can be > > avoided by using the new formula only if these values are large. > > > Something like: > > --- a/agent/mibgroup/ucd-

RFV: Drop support for OpenSSL 0.9.6 and before

2011-09-02 Thread Bart Van Assche
An issue with how Net-SNMP currently interfaces with OpenSSL, especially on Windows, is that replacing the OpenSSL binaries may cause Net-SNMP to crash. That is because in at least one place the EVP_MD_CTX structure is allocated on the stack and the size of this structure differs between OpenSSL ve

Re: Proper solution for bug/patch 1633670

2011-09-02 Thread Bart Van Assche
On Tue, Aug 30, 2011 at 12:54 PM, Jan Safranek wrote: > On 08/30/2011 12:40 PM, Bart Van Assche wrote: >> Regarding your patch: are you aware that it changes the return value of >> netsnmp_remove_delegated_requests_for_session() such that it always >> returns zero ? > > It's called only on one pla

RE: RFV: Disk calculation overflow

2011-09-02 Thread Steve Friedl
Hello all, Isn't the better approach just to use floating point, which handles all the scaling and stuff automatically, as well as making rounding really simple? The fact that it's taken us a couple of at-bats to find the right solution that avoids integer under/overflow and divide by zero sugg

Re: Getting snmpd to respond to DISMAN-PING-MIB requests

2011-09-02 Thread Doug Manley
NB> I'm not that much for numeric OID's, but I have this script I took the script and added a little bit of "-x" fun so that you can see what it's doing and where it's getting the errors. It can do an snmpget on sysDescr.0 just fine with the "private" rwcommunity string, but anything after that [