Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I apologize if this question has been asked before. I did a rather extensive search for similar questions, however all I could find were answers related to C++ or C#. I'm using GNU C.
I'm writing a daemon that needs to be able to send e-mail using SMTP. I need to be able to login to an external mail server, send the email and interpret any error codes. For various reasons, I can not use the system's sendmail facility (if even one is present).
The library should support at least OpenSSL. GNUTLS would be a perk, but not really needed.
Ideally, the library would be licensed LGPL2 (and later) or 3 clause BSD.
Any suggestions?
This answer is more for anyone reading this post after the fact, but it looks like as of version 7.20.0 libcurl supports SMTP, including SSL.
It looks like SASL support is planned, but maybe not released yet. I did find this patch however.
Tim,
Have you looked at CyaSSL? It supports all current industry standards up to TLS 1.2 (as well as some cool features such as stream ciphers), has an OpenSSL compatibility layer, and focuses on optimizing speed and size.
It's dual licensed under both GPLv2 and a commercial license (if you need support). I recently used it with some Android work I was doing and was very pleased.
http://yassl.com/yaSSL/Products_cyassl.html
Regards,
Chris
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
we have a legacy Windows app written in C++ using the MFC framework. I want to now add capability to communicate with a database at a centralized server. There are ODBC Connection libraries for many of the popular databases which allow me to do exactly what I want (with MySQL for example). But upon further reading, the GPL or LGPL licensing for both the database but more importantly the connection library gets too complicated given my limited legal resources.
Opening up my source code is not an option for me as I am a small operation selling closed source software for profit. My preference is to choose a database with an available connection library with flexible licensing. I don't care if it is free or paid but I'd like it to be something relatively popular with tools, support, some user community, etc.
MySQL seemed simple and widely used but the licensing is a problem for me. The licensing for the PostgreSQL database itself seems much more flexible but the connection library I found is licensed under GPL. Are there perhaps paid options that I'm not aware of?
Should I be considering Microsoft SQL Server?
Can people please recommend any additional options to me?
LGPL is what you want. GPL is ambiguous about the status of other works (your code) which links to a GPL library (the ODBC drivers). LGPL purposely is explicit that using a LGPL library does not put your work under LGPL.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
We have a commercial application created on CakePHP. I'm about to install it on a client's server, so we'd like to protect my code from being modyfied and/or copied and reselled, changing trial period terms, etc.
I want to know if obfuscating the Cake PHP code breaks Cake specific libraries, or make the application unusable.
I've been searching on this forum and over internet and found several options for obfuscating PHP code, but none related to CakePHP. (I just asked to some of the commercial tools providers if they support Cake obfuscating but haven't received an answer yet).
Does anybody know if this is possible or if there's a better approach to do that?
I'll try to use one of the trial versions of the commercial tools this weekend, but if someone has an advice about this would be great
My company, Semantic Designs, is one of the commercial vendors.
With a decent obfuscator (ahem :) you shouldn't have any trouble doing this. You need to tell the obfuscator somehow (with ours you just provide a list of symbol names) what identifiers have to be retained as cleartext (e.g., any calls to the CakePHP framework), and any public APIs your software may offer.
I'd recommend, you give it a shot and try it out.
Usually, an obfuscator should obfuscate frameworks, too. It should be independent of what kind of PHP Code you use.
Test it in a test environment. If it's successful, you can enroll it to your production environment.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am developing a web based opensource project. I was considering the AGPL v3, but I explicitly want to prevent commercial use. Non-profit orgs are welcome to use it for free.
It seems to be a common thing in the software world, but I am looking for a pre-written license that I could use or adapt.
Any ideas where I can find such a thing? Are there accepted opensource licenses that fit this criteria?
It is not a good idea to use such a license, because it is sometimes very hard to draw the line between commercial and non-commercial, especially juridically.
However, you may check out Creative Commons licenses.
You won't find any open source licenses that prevent commercial use. That's against the spirit of open source and wouldn't fit into the definition of open source.
There cannot possibly be such a license. Forbidding the use of the source code is the exact opposite of open source. Ergo, there cannot ever possible be an open source license which has such a restriction, and a license which has such a restriction cannot ever possibly be an open source license.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
Does anyone know of any libraries that decode one or more of the multitude of different scuba dive computer log file formats?
DAN DL7
IRIS / DRAK
Suunto
Oceanlog
Citizen
ProDive
NiTek Logic
DCDS
Ideally I'm looking for code that'll run in .NET, but I'm willing to transcode from other languages if that's the only option.
Links to articles describing formats is appreciated as well. Sample log files would be handy.
I'm considering creating an open source project for this if no such library already exists. If you'd like to contribute, please mention so as a comment or in your answer.
I have no experience with this but Google turned up the library libdivecomputer.
It supports a number of devices and platforms, and the library is LGPL licensed. However, not all brands you mention appear to be supported.
You can always try contacting the manufacturers to get the data. You might have better luck contacting the engineers specifically, if you can find them.
I don't know much about the industry, but I would suspect you can make a case for opening up their formats, because they are primarily hardware manufacturers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Is there a dtls library that you recommended?
You might take a look at OpenSSL. It handles both TLS and DTLS protocols.
To get an example, you might also want to look at the source code of OpenVPN.
I implemented a C++ abstraction layer for both TLS/DTLS using these sources.
Anyway, you'll have to be very patient since OpenSSL API is spread across multiple sources and doesn't provide an effecient way to "search" for a particular function or structure.
I wrote a commentary/guide on how Net-SNMP used OpenSSL to implement DTLS:
http://www.net-snmp.org/wiki/index.php/DTLS_Implementation_Notes
Unfortunately, there are probably a few things incorrect and out of date with it. But it's still a better starting place because there is very little usable documentation out there at all.
The open source CyaSSL library supports both DTLS 1.0 and DTLS 1.2 as well, in addition to standard SSL/TLS protocols up to TLS 1.2. Written in C, there is also a Java wrapper available.
The CyaSSL Manual is a good reference regarding usage and guidance, and the download package contains both client and server examples to help users get up and running more quickly (found under the ./examples directory).
The following Wikipedia article can be a good reference point when comparing SSL/TLS libraries: http://en.wikipedia.org/wiki/Comparison_of_TLS_implementations.
DTLS is supported in the GnuTLS library as well. Information on the API and examples are provided in the GnuTLS Manual.
Openssl starts to support DTLS 1.0 since version 0.9.8, and version 1.0.1c or above is recommended due to some DTLS-related fixes(support for DTLS-SRTP, avoiding DTLS DoS attack, etc.)
If DTLS 1.2 is needed, openssl version 1.1.0 is necessary.