Giter Club home page Giter Club logo

Comments (6)

ceharris avatar ceharris commented on September 25, 2024

I don't have an objection to dual licensing. However, the Mibble MIB parser on which this library depends uses the GPL license.

If Mibble's author is willing to dual license or change to the more liberal ASL, I'll be happy to follow suit.

from tnm4j.

WolfgangFahl avatar WolfgangFahl commented on September 25, 2024

I see - Mibble is commercially oriented so I doubt the change will happen. Can we replace Mibble with something else?
Do we need direct MIB reading or would converting to JSON in advance e.g. with https://github.com/etingof/pysmi help?
I 'd love to support OID to cleartext handling in http://www.bitplan.com/index.php/SimpleGraph-SNMP

from tnm4j.

ceharris avatar ceharris commented on September 25, 2024

MIB support is loaded using the ServiceLoader mechanism that was introduced in JDK 6. The MibFactory singleton is used to find a MibProvider instance. A MibProvider has a method that is used to get a Mib instance. The Mib interface and the interfaces referenced by it constitute the MIB API used by tnm4j.

So using another MIB implementation is essentially a matter of implementing MibProvider, implementing Mib and the various interfaces referenced by it, and then packaging it up as a JAR module with a service metadata file named META-INF/services/org.soulwing.snmp.provider.MibProvider that contains the fully qualified class name of the provider implementation class. At runtime the alternate provider can be specified by name using one of the methods of MibFactory.

from tnm4j.

ceharris avatar ceharris commented on September 25, 2024

So yeah, if someone wanted to make an alternative MIB provider, I'll be happy to dual license.

from tnm4j.

ceharris avatar ceharris commented on September 25, 2024

FWIW, I've found Per Cederberg of Mibble to be a pretty reasonable guy. I haven't inquired about the terms of his commercial license, because I haven't had need. But if the reason you want ASL for tnm4j is to make a commercial product, you might at least consider inquiring.

from tnm4j.

komcrad avatar komcrad commented on September 25, 2024

For inquiry about re-licensing Mibble, perhaps LGPL would be a good request. Currently, it's under GPL 2.0 so he may really want the source code of any distributed code that uses his project. He may go for LGPL which would explicitly allow for dynamic linking in distribution without requiring linked code to be open sourced at all but he'd still have the requirement to have changes (when being distributed) in the mibble project contributed back.
Eg: if mibble used lgpl; maven project lists mibble as a dep, under lgpl you'd have explicit permission to use mibble and not open source your maven project and you could distribute your maven project under your own license. At least that's how I understand it.

from tnm4j.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.