aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Release v2.0.18 v2.0.18Gravatar Attila Molnar2014-10-261-1/+1
|
* Remove some dead code found by CoverityGravatar Attila Molnar2014-10-262-5/+1
|
* Merge pull request #944 from SaberUK/insp20+gnutls-rndGravatar Attila Molnar2014-10-252-6/+12
|\ | | | | [2.0] Use gnutls_rnd instead of gcry_randomize on newer GnuTLS versions.
| * Use gnutls_rnd instead of gcry_randomize on newer GnuTLS versions.Gravatar Peter Powell2014-10-252-6/+12
|/ | | | This is a modified version of 690c372. Fixes #905.
* Merge pull request #940 from SaberUK/insp20+fix-makefileGravatar Attila Molnar2014-10-252-7/+9
|\ | | | | [2.0] Fix some small bugs in the makefile template.
| * Use clang++ on FreeBSD 10 instead of g++.Gravatar Peter Powell2014-10-241-5/+7
| |
| * Fix some small bugs in the makefile template.Gravatar Peter Powell2014-10-241-2/+2
| | | | | | | | | | - GCC in C++ mode should be called g++ not gcc. - ICC in C++ mode should be called icpc not icc.
* | m_delaymsg Add option to disallow NOTICEs tooGravatar Attila Molnar2014-10-232-1/+20
| |
* | Fix m_banredirect causing bans added for hosts being rewritten as nicksGravatar Adam2014-10-231-0/+11
| |
* | Fail AAAA DNS queries if inet_ntop() failsGravatar Attila Molnar2014-10-221-1/+7
| |
* | Check the return value of getnameinfo() on Windows in insp_inet_ntop() and ↵Gravatar Attila Molnar2014-10-221-4/+4
| | | | | | | | return NULL if it fails
* | Set the parameter of -b to the banmask actually removedGravatar Attila Molnar2014-10-221-0/+1
| | | | | | | | This is needed because of the case insensitive match
* | m_ssl_openssl Add compile time option that allows disabling renegotiationsGravatar Attila Molnar2014-10-201-0/+61
| |
* | m_ssl_openssl Add compile time option to enable ECDHGravatar Attila Molnar2014-10-201-0/+36
| |
* | m_ssl_gnutls Add compile time option for allowing sha256 certificate ↵Gravatar Attila Molnar2014-10-201-0/+4
|/ | | | fingerprints
* Update <nationalchars> tag documentationGravatar Attila Molnar2014-10-201-1/+2
|
* Fix watch away numerics, #937Gravatar Adam2014-10-191-1/+1
|
* m_delayjoin Only send JOIN on mode change if the mode being changed is a ↵Gravatar Attila Molnar2014-10-171-0/+5
| | | | prefix mode
* Initialize all fields of issl_session on module load in SSL modulesGravatar Attila Molnar2014-10-162-1/+3
|
* Add interface to SSL modules that allows other modules to obtain the raw SSL ↵Gravatar Attila Molnar2014-10-163-0/+27
| | | | session of a socket
* m_ssl_gnutls Refcount GnuTLS objects, free them when they are no longer in ↵Gravatar Attila Molnar2014-10-161-66/+110
| | | | use instead of at /rehash ssl time
* m_ssl_openssl Fix debug messageGravatar Attila Molnar2014-10-151-1/+1
|
* m_ssl_openssl Reset data_to_write for new sessionsGravatar Attila Molnar2014-10-151-0/+2
|
* m_ssl_openssl Free the ssl_cert object as soon as the session is closed ↵Gravatar Attila Molnar2014-10-151-1/+1
| | | | instead of waiting for the next VerifyCertificate() or new connection
* m_ssl_openssl Remove bogus errno assignment from CloseSession()Gravatar Attila Molnar2014-10-151-1/+0
|
* Merge pull request #935 from SaberUK/insp20+fix-crlfGravatar Attila Molnar2014-10-151-4/+4
|\ | | | | Add a workaround for compiling modules with Windows line endings.
| * Add a workaround for compiling modules with Windows line endings.Gravatar Peter Powell2014-10-131-4/+4
| |
* | m_ssl_openssl Return an error from the IOHook read and write functions if ↵Gravatar Attila Molnar2014-10-141-1/+1
| | | | | | | | | | | | | | 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.
* | m_ssl_openssl Add user-friendly config options for setting a few OpenSSL ↵Gravatar Attila Molnar2014-10-141-0/+14
| | | | | | | | context options
* | m_nationalchars Ask m_spanningtree to rebuild its hashmaps when the ↵Gravatar Attila Molnar2014-10-131-0/+8
| | | | | | | | | | | | national_case_insensitive_map changes Issue #923
* | m_spanningtree Rebuild serverlist and sidlist when receiving a specific RequestGravatar Attila Molnar2014-10-134-0/+25
| | | | | | | | Issue #923
* | m_nationalchars Rebuild the hash map in m_watch when the ↵Gravatar Attila Molnar2014-10-131-0/+5
| | | | | | | | | | | | national_case_insensitive_map changes Issue #923
* | m_nationalchars Rebuild core hashmaps when the national_case_insensitive_map ↵Gravatar Attila Molnar2014-10-131-0/+15
|/ | | | | | changes Issue #923
* Merge pull request #934 from SaberUK/insp20+fix-various-issuesGravatar Attila Molnar2014-10-132-17/+7
|\ | | | | Fix various issues detected by Coverity.
| * Kill some logically dead code detected by Coverity.Gravatar Peter Powell2014-10-131-3/+0
| | | | | | | | - m_watch: wl has already been confirmed to not be NULL on L161.
| * Replace dodgy use of const char* and memcpy with std::string.Gravatar Peter Powell2014-10-131-14/+7
| | | | | | | | This was backported from commit e01df63 in master.
* | Merge pull request #933 from SaberUK/insp20+fix-llvm34Gravatar Attila Molnar2014-10-1310-16/+35
|\ \ | | | | | | Fix various warnings when building with LLVM 3.5.
| * | Avoid calling methods on NULL pointers wherever possible.Gravatar Peter Powell2014-10-135-4/+17
| | | | | | | | | | | | | | | | | | 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.
| * | Fix various warnings when building with LLVM 3.5.Gravatar Peter Powell2014-10-135-12/+18
| |/ | | | | | | | | - warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] - warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
* | m_ssl_openssl Allow configuring raw OpenSSL context optionsGravatar Attila Molnar2014-10-101-2/+27
| |
* | m_ssl_openssl Disable session caching and session ticketsGravatar Attila Molnar2014-10-101-2/+5
| |
* | m_ssl_openssl Enable single (EC)DH use and disable SSL v2Gravatar Attila Molnar2014-10-101-0/+9
| | | | | | | | | | | | | | | | | | Options enabled: - SSL_OP_NO_SSLv2 - SSL_OP_SINGLE_DH_USE - SSL_OP_SINGLE_ECDH_USE (if it exists) Partial backport of #856 by @jvehent
* | m_ssl_openssl Clear the error queue before every SSL_* callGravatar Attila Molnar2014-10-081-0/+9
|/
* Merge pull request #931 from SaberUK/insp20+fix-non-gnu-stlGravatar Attila Molnar2014-10-061-9/+9
|\ | | | | Fix hash_map.h on non-GNU C++ standard library implementations.
| * Fix hash_map.h on non-GNU C++ standard library implementations.Gravatar Peter Powell2014-10-051-9/+9
| |
* | Merge pull request #930 from rburchell/revertfixGravatar Attila Molnar2014-10-061-1/+1
|\ \ | | | | | | Revert "Fix an off-by-one on registration timeout handling."
| * | Revert "Fix an off-by-one on registration timeout handling."Gravatar Robin Burchell2014-10-051-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | This seemingly breaks (occasionally timing users out a second early), possibly due to rounding issues on time (User::age and Time() both return int, but a whole second is comprised of many ms). The root cause needs investigation, but we cannot leave a potentially breaking bug in the tree. This reverts commit 4414d644a163f3906f90b35186e07ce0383161f4.
* | Merge pull request #929 from rburchell/insp20Gravatar Attila Molnar2014-10-041-1/+1
|\ \ | | | | | | Fix an off-by-one on registration timeout handling.
| * | Fix an off-by-one on registration timeout handling.Gravatar Robin Burchell2014-10-041-1/+1
|/ / | | | | | | | | | | | | The use of > instead of >= here added a second onto the configured timeout. We won't be breaking any existing configuration, because users.h explicitly increases the limit if it's 0.
* | m_ssl_gnutls Re-set DH params when the gnutls_certificate_credentials_t ↵Gravatar Attila Molnar2014-10-031-2/+2
| | | | | | | | struct is reallocated