summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-12-07Fix warnings in m_ssl_openssl about the use of `long long` on C++03.Peter Powell
2014-12-07Move common code to make::common from make::utilities.Peter Powell
The other code in that file will be removed very soon so it has been left alone to avoid merge conflicts. This will help prevent insp20 merge conflicts in the future.
2014-12-07Implement support for distribution specific version labels.Peter Powell
This will help us determine whether a version has been packaged by a downstream distribution who quite often make arbitrary changes which are a pain to provide support for. Debian, we're looking at you.
2014-12-07Improve build system compiler detection.Peter Powell
- Check the CXX environment variable inside find_compiler instead of doing it separately. - Use a test file instead of checking for version output. This ensures we are using a working compiler. - Pipe the output through run_test which makes debugging problems considerably easier. - Detect Xcode versions of Clang properly by returning the LLVM version number instead of the Xcode one.
2014-12-07Improve configure cache file handling.Peter Powell
- Add a version number to the configure cache file. - Disable configure cache file in non-interactive mode. - Rename configure cache file to .configure.cache to avoid 2.0 files. - Use run_test to produce the "reading .configure.cache" message.
2014-12-07Miscellaneous improvements to configure.Peter Powell
- Clean up various minor sections of the code. - Remove OpenSSL and GnuTLS detection plumbing. - This will soon be the job of modulemanager. - This did not work in non-interactive mode unlike --enable-extras. - Rework runas user handling. - Add the --gid configure option. - Accept either an id or a name in --gid and --uid. - Rework the question flow in interactive mode. - User is no longer asked detailed questions unless they want them. - Socket engine questions have been removed. - Automatically enable non-interactive mode if STDIN or STDOUT are not a tty.
2014-12-07Add Perl module for console related code.Peter Powell
- Move prompt_* methods to this module. - Add methods for printing errors and warnings easily. - Add colour code helpers and switch all code to use them.
2014-11-01Add stdalgo::isin() and use it to simplify codeAttila Molnar
2014-11-01Add stdalgo::erase() and use it to simplify codeAttila Molnar
2014-10-27Remove if (!this) check from ConfigTag::readString()Attila Molnar
2014-10-27Merge insp20Attila Molnar
2014-10-27m_ssl_openssl Store a pointer to the OpenSSLIOHook object in SSL objectsAttila Molnar
2014-10-26Release v2.0.18Attila Molnar
2014-10-26Remove some dead code found by CoverityAttila Molnar
2014-10-25Merge pull request #944 from SaberUK/insp20+gnutls-rndAttila Molnar
[2.0] Use gnutls_rnd instead of gcry_randomize on newer GnuTLS versions.
2014-10-25Use gnutls_rnd instead of gcry_randomize on newer GnuTLS versions.Peter Powell
This is a modified version of 690c372. Fixes #905.
2014-10-25Merge pull request #940 from SaberUK/insp20+fix-makefileAttila Molnar
[2.0] Fix some small bugs in the makefile template.
2014-10-24Use clang++ on FreeBSD 10 instead of g++.Peter Powell
2014-10-24Fix some small bugs in the makefile template.Peter Powell
- GCC in C++ mode should be called g++ not gcc. - ICC in C++ mode should be called icpc not icc.
2014-10-23m_delaymsg Add option to disallow NOTICEs tooAttila Molnar
2014-10-23Fix m_banredirect causing bans added for hosts being rewritten as nicksAdam
2014-10-22Fail AAAA DNS queries if inet_ntop() failsAttila Molnar
2014-10-22Check the return value of getnameinfo() on Windows in insp_inet_ntop() and ↵Attila Molnar
return NULL if it fails
2014-10-22Set the parameter of -b to the banmask actually removedAttila Molnar
This is needed because of the case insensitive match
2014-10-20m_ssl_openssl Add compile time option that allows disabling renegotiationsAttila Molnar
2014-10-20m_ssl_openssl Add compile time option to enable ECDHAttila Molnar
2014-10-20m_ssl_gnutls Add compile time option for allowing sha256 certificate ↵Attila Molnar
fingerprints
2014-10-20Update <nationalchars> tag documentationAttila Molnar
2014-10-19Fix watch away numerics, #937Adam
2014-10-17m_delayjoin Only send JOIN on mode change if the mode being changed is a ↵Attila Molnar
prefix mode
2014-10-16Initialize all fields of issl_session on module load in SSL modulesAttila Molnar
2014-10-16Add interface to SSL modules that allows other modules to obtain the raw SSL ↵Attila Molnar
session of a socket
2014-10-16m_ssl_gnutls Refcount GnuTLS objects, free them when they are no longer in ↵Attila Molnar
use instead of at /rehash ssl time
2014-10-15m_ssl_openssl Fix debug messageAttila Molnar
2014-10-15m_ssl_openssl Reset data_to_write for new sessionsAttila Molnar
2014-10-15m_ssl_openssl Free the ssl_cert object as soon as the session is closed ↵Attila Molnar
instead of waiting for the next VerifyCertificate() or new connection
2014-10-15m_ssl_openssl Remove bogus errno assignment from CloseSession()Attila Molnar
2014-10-15Merge pull request #935 from SaberUK/insp20+fix-crlfAttila Molnar
Add a workaround for compiling modules with Windows line endings.
2014-10-14m_ssl_openssl Return an error from the IOHook read and write functions if ↵Attila Molnar
the handshake returns 0 The meaning of a 0 return value quoted from the manual: The TLS/SSL handshake was not successful but was shut down controlled and by the specifications of the TLS/SSL protocol.
2014-10-14m_ssl_openssl Add user-friendly config options for setting a few OpenSSL ↵Attila Molnar
context options
2014-10-13Add a workaround for compiling modules with Windows line endings.Peter Powell
2014-10-13m_nationalchars Ask m_spanningtree to rebuild its hashmaps when the ↵Attila Molnar
national_case_insensitive_map changes Issue #923
2014-10-13m_spanningtree Rebuild serverlist and sidlist when receiving a specific RequestAttila Molnar
Issue #923
2014-10-13m_nationalchars Rebuild the hash map in m_watch when the ↵Attila Molnar
national_case_insensitive_map changes Issue #923
2014-10-13m_nationalchars Rebuild core hashmaps when the national_case_insensitive_map ↵Attila Molnar
changes Issue #923
2014-10-13Merge pull request #934 from SaberUK/insp20+fix-various-issuesAttila Molnar
Fix various issues detected by Coverity.
2014-10-13Kill some logically dead code detected by Coverity.Peter Powell
- m_watch: wl has already been confirmed to not be NULL on L161.
2014-10-13Replace dodgy use of const char* and memcpy with std::string.Peter Powell
This was backported from commit e01df63 in master.
2014-10-13Merge pull request #933 from SaberUK/insp20+fix-llvm34Attila Molnar
Fix various warnings when building with LLVM 3.5.
2014-10-13Avoid calling methods on NULL pointers wherever possible.Peter Powell
The trick we use to allow this is undefined behaviour and is not liked by LLVM. We should stop using it but it has the potential to break to many things for a minor release.