Adam
13c5eec00a
m_ssl_openssl: allow certificate chain files to be used
2016-09-05 10:41:52 -04:00
Peter Powell
f4f6787c9c
Remove support for DH-AES and DH-BLOWFISH.
...
These SASL mechanisms are considered insecure and should not be
used anymore.
2016-04-13 20:26:50 +01:00
Robby
f118960a25
Update copyright to 2016. This was done with:
...
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \;
Added missing copyright headers to files that didn't have it yet.
Fixed some whitespace and blank lines along the way.
2016-01-28 20:24:49 +01:00
Adam
9645f53dc8
Update m_ssl_gnutls Windows library version to libgnutls-30
2016-01-23 22:25:19 -05:00
Adam
41802c28c6
Fix m_sql_oper to compile from the cleanup of the other day
2016-01-23 20:45:10 -05:00
Adam
164b349ef9
Fix various inconsistencies/crashes related to having multiple opers configured for the same user through combinations of os_oper/config/m_sql_oper
2016-01-19 16:25:02 -05:00
Adam
93a92bb73b
Clear regex xlines on unload, which happens on shutdown, even though they are perm modules
2015-09-23 14:55:28 -04:00
Adam
907e192aab
Merge pull request #126 from SaberUK/2.0+typos
...
Fix a ton of typos.
2015-09-06 16:11:50 -04:00
Adam
dfc18db1dd
Remove unused variables from m_ldap
2015-07-23 08:25:28 -04:00
Adam
63dbd7fbf0
Set LDAP_OPT_PROTOCOL_VERSION 3 etc on reconnect, too
2015-07-23 08:23:48 -04:00
Peter Powell
1666b1a8d8
Fix a ton of typos.
2015-07-08 11:06:02 +01:00
Jyzee
a458f7c840
irc2sql: handle away messages.
2015-04-30 19:29:44 +02:00
Adam
c070a00114
Fix m_ldap_oper to build
2015-03-22 15:34:49 -04:00
Adam
5fc72660e4
Merge pull request #113 from attilamolnar/2.0+openssl
...
m_ssl_openssl: SSL context option changes
2015-03-12 17:53:52 -04:00
Attila Molnar
1bee18fcf4
m_ssl_openssl: Allow disabling SSLv3 via the config
2015-03-12 19:35:07 +01:00
Attila Molnar
a57e41304f
m_ssl_openssl: Set sane default context options
2015-03-12 19:35:07 +01:00
Adam
fb17bc85ea
Redesign m_ldap to no longer rely on undefined behavior
...
Accessing the same LDAP* from multiple threads at once is always
undefined, even if one thread is just polling ldap_result.
Instead keep one thread per connection and issue blocking queries on the
thread.
2015-03-11 08:48:08 -04:00
Adam
845ca576b4
More properly track topic change sources and allow users with access to change topics through topiclock
2015-01-28 22:57:15 -05:00
Adam
4fc71bb22f
Link m_ldap against ldap_r not ldap
2014-12-02 15:49:14 -05:00
Adam
b940077553
Validate credentials sent via sasl more
2014-10-16 21:38:46 -04:00
Adam
0cd3bfa24f
Fix module event prioritization which was broken with the newer
...
auto-attach event stuff.
Also remove logically dead code from os_defcon, and make os_defcon akill
similar masks to os_session when enforcing session akills.
Fixes #1618 which relies on os_session to be prioritized before
os_defcon.
2014-10-14 18:58:55 -04:00
DukePyrolator
6a3f7c01b1
changed the engine of the chanstats table from InnoDB back to MyISAM to avoid increasing the auto_increment counter on each INSERT IGNORE. For existing tables please manually run 'ALTER TABLE anope_chanstats ENGINE=MyISAM'.
2014-09-14 11:36:05 +02:00
Adam
7a64d95f7c
Fix Log() calls in m_ldap_oper
2014-07-11 00:22:32 -04:00
Adam
f1c3bdd55e
Correct wording of log message when ldap services are created
2014-06-09 17:16:55 -04:00
Adam
f20bac996d
Fix Windows build and update library names to the newer ones.
...
Also fix crash on Windows when unloading a module because it threw an
exception.
2014-05-30 18:14:55 -04:00
Adam
866f3f32ab
Speed up akill xline checks
...
Cache xline nick, user, host, etc instead of rebuilding it everytime its
requested. Store users ip in sockaddr form and not string form to
prevent having to rebuild sockaddrs when checking xlines.
Also do not try to convert empty config values in Config::Get as this
can be rather common if a non string configuration value is not set, and
the cost of the ConvertException is great.
2014-05-20 21:16:00 -04:00
Adam
d79dd0b7d7
Pass password to nick register event so modules like m_ldap_authentication can create the respective account using the decrypted password which might not always be available
2014-05-01 18:38:17 -04:00
Robby-
f436ce9912
m_ssl_gnutls: Fix deprecation warnings when using newer GnuTLS versions.
2014-03-17 00:58:51 +01:00
Adam
bce7237d9f
Set LDAP_OPT_NETWORK_TIMEOUT to 0 in m_ldap to prevent the asynchronous
...
library cals from blocking...
Fix multiple possible null pointer derefs if modules pass null
interfaces (none currently do, but it is allowed)
Fix memory leak from results when services are destructed
Timeout queries that never come back.
2014-03-11 09:45:34 -04:00
Adam
3fef01e35b
Fix compile error in m_sasl_dh-aes and m_sasl_dh-blowfish on unusually old g++ versions
2014-03-10 04:56:17 -04:00
DukePyrolator
4b5ce8a972
irc2sql: removed the currentusers field from the chan table, keeping it updated on each join/part eats too many ressources
2014-03-09 04:55:35 +01:00
Adam
1dfdf36fc3
Fix m_ssl_gnutls to send its cert. Most of this is from Attila.
2014-02-24 00:06:38 -05:00
Attila Molnar
bb1b015103
Make m_ssl_gnutls work with at least GnuTLS v2.8
2014-02-22 16:59:10 +01:00
Daniel Vassdal
b6935e706c
enc_bcrypt.cpp: Get rid of the libxcrypt dependency by including code from libxcrypt, and move enc_bcrypt out of extras
2014-02-20 11:42:20 -08:00
Adam
0db81ca46a
Merge pull request #52 from attilamolnar/2.0+gnutls
...
Add support for SSL connections powered by GnuTLS
2014-02-17 22:21:08 -05:00
Adam
baff417652
Move encryption.h to include/modules
2014-02-17 13:53:04 -05:00
Attila Molnar
1c39d25cca
Add m_ssl_gnutls
2014-02-17 01:12:01 +01:00
Attila Molnar
9c0134ee2c
Rename m_ssl to m_ssl_openssl and update docs
2014-02-17 00:41:36 +01:00
Adam
959fee5937
Fix Windows build
2014-02-16 18:28:39 -05:00
Daniel Vassdal
a71d0f6757
enc_bcrypt: Add module
2014-02-16 11:07:36 -08:00
Daniel Vassdal
c0ce71e55a
m_sasl_dh-blowfish: Add module
2014-02-14 15:12:25 -08:00
Daniel Vassdal
0eeb0caf08
m_sasl_dh-aes: Add module
2014-02-14 15:12:25 -08:00
Adam
66cc965fd7
Ignore nonblocking errnors on socket operations
2014-02-05 15:26:03 -05:00
Adam
81b01bb55b
Fix missing colon in stats and top, fix smileys and actions count. Patch by bush.
2014-01-21 21:10:06 -05:00
Adam
1027ec667a
Made the chanstats confs try and look similar to every other configuration file
2014-01-21 17:33:57 -05:00
DukePyrolator
df8d85d80a
m_chanstats: fixed the config options NSDefChanstats and CSDefChanstats
2014-01-19 08:11:19 +01:00
DukePyrolator
4b192addd2
m_chanstats: do not count negative words if you have more smileys in a line than words
2014-01-17 06:49:49 +01:00
Adam
43aaaeab7e
Mark m_sql_log, m_rewrite, and m_dnsbl as extra so they show up in modlist with no parameters, as they are "unusual"
2014-01-14 03:50:08 -05:00
Adam
09879c5c15
Fix compile with -std=c++11
2014-01-06 13:59:14 -05:00
Adam
d64855b35b
Allow m_sql_authentication to disable email changing similar to m_ldap_authentication
2014-01-04 13:44:47 -05:00