aboutsummaryrefslogtreecommitdiff
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* Remove some dead code found by CoverityGravatar Attila Molnar2014-10-262-5/+1
|
* Use gnutls_rnd instead of gcry_randomize on newer GnuTLS versions.Gravatar Peter Powell2014-10-251-6/+3
| | | | This is a modified version of 690c372. Fixes #905.
* m_delaymsg Add option to disallow NOTICEs tooGravatar Attila Molnar2014-10-231-1/+18
|
* Fix m_banredirect causing bans added for hosts being rewritten as nicksGravatar Adam2014-10-231-0/+11
|
* 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
* 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
|
* 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-131-3/+0
|\ | | | | 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.
* | Merge pull request #933 from SaberUK/insp20+fix-llvm34Gravatar Attila Molnar2014-10-132-4/+4
|\ \ | | | | | | Fix various warnings when building with LLVM 3.5.
| * | Fix various warnings when building with LLVM 3.5.Gravatar Peter Powell2014-10-132-4/+4
| |/ | | | | | | | | - 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
|/
* m_ssl_gnutls Re-set DH params when the gnutls_certificate_credentials_t ↵Gravatar Attila Molnar2014-10-031-2/+2
| | | | struct is reallocated
* m_sqlite3 Fix cleanup of unsuccessful database connectionsGravatar Attila Molnar2014-09-021-2/+5
|
* Fix listmodes when the config does not specify a wildcard size entry.Gravatar Peter Powell2014-08-031-7/+7
|
* Update example configuration files, fix typos and caseGravatar Attila Molnar2014-07-241-1/+1
| | | | Mention m_regex_stdlib in the list of regex providers after m_filter
* m_spanningtree Always treat the remote client as the winner on nick ↵Gravatar Attila Molnar2014-07-242-4/+15
| | | | collision if the nick is used by a (local) client that isn't fully registered
* Make sure the DN strings obtained from the SSL mods are always validGravatar Attila Molnar2014-07-242-4/+22
|
* m_hideoper: Hide hidden opers from /stats P. #874Gravatar Adam2014-07-191-1/+22
|
* Merge pull request #879 from SaberUK/insp20+fix-denychansGravatar Attila Molnar2014-06-261-1/+1
|\ | | | | Fix copy/paste error in m_denychans.
| * Fix copy/paste error in m_denychans.Gravatar Peter Powell2014-06-241-1/+1
| |
* | m_chghost Allow ulined servers to change the host of unregistered users (for ↵Gravatar Attila Molnar2014-06-181-1/+2
|/ | | | SASL)
* Fix harmless loop off-by-ones found by MoonlightningGravatar satmd2014-06-073-3/+3
|
* m_spanningtree Forward NICK messages when they cause a collision with the ↵Gravatar Attila Molnar2014-06-061-7/+7
| | | | | | | | | | | | | | new nick param rewritten to the uuid Suppressing these messages meant that we relied on an appropriate NICK to come from the direction the SAVE was sent to; this left all servers behind us uninformed until the target server of the SAVE reacted with a nick change to uuid. This was problematic because someone can legitimately change nick to the past nick of the SAVEd user on a server that already has the SAVEd user with the uuid nick and that nick change message can reach servers that haven't yet seen the nick change to uuid of the SAVEd user.
* m_spanningtree Fix cleanup of connections when unloading a module that ↵Gravatar Attila Molnar2014-06-061-0/+3
| | | | provides an IOHook
* Update server.cppGravatar Dan Parsons2014-05-211-2/+2
| | | | Rewrote "invalid credentials" error message to remove confusion regarding "server snomask", which some users interpreted as "I must make sure the snomask on each server is identical" (which makes no sense), when really the intention is basically "look at the logs on the other server".
* Fix m_permchannels and m_xline_db on WindowsGravatar Adam2014-05-082-12/+2
| | | | | | The call to remove() can fail if the database doesn't already exist. Just ignore the error, which effectively makes the rename() call below work as it does on nix
* m_cgiirc Call User::InvalidateCache() after changing host and dhost in ↵Gravatar Attila Molnar2014-05-011-0/+1
| | | | OnCheckReady()
* m_spanningtree Advertise the availability of m_globops in CAPAB CAPABILITIESGravatar Attila Molnar2014-04-291-0/+6
|
* m_spanningtree Set the bursting flag in the FJOIN handler based on whether ↵Gravatar Attila Molnar2014-04-261-2/+3
| | | | | | | | the source of the FJOIN is bursting or not Previously the flag was true if our route to the source was bursting, which resulted in m_joinflood incorrectly registering netjoins when a remote server was bursting Fixes issue #839 reported by @joshtek0
* Change Windows libraries to be dynamically linkedGravatar Adam2014-04-135-22/+23
|
* m_ssl_openssl Avoid Applink on Windows by calling PEM_read_bio_DHparams() ↵Gravatar Attila Molnar2014-04-131-0/+11
| | | | instead of PEM_read_DHparams()