aboutsummaryrefslogtreecommitdiff
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecessary string copies and dead codeGravatar attilamolnar2013-06-0511-43/+15
|
* m_spanningtree Fix FIDENT routingGravatar attilamolnar2013-06-041-2/+1
| | | | A new FIDENT was broadcast for each incoming FIDENT causing harmless but unnecessary server to server traffic
* m_pgsql Same fix as 0e09600a431d0e0f2cde6457e088d84caf6d6f5dGravatar attilamolnar2013-06-041-8/+8
|
* m_mysql Fix escaping strings longer than MAXBUF/2Gravatar attilamolnar2013-06-011-6/+12
| | | | | | | | | Quotes from the documentation: "You must allocate the to buffer to be at least length*2+1 bytes long. (In the worst case, each character may need to be encoded as using two bytes, and you need room for the terminating null byte.)" "The return value is the length of the encoded string, not including the terminating null character." http://dev.mysql.com/doc/refman/5.6/en/mysql-real-escape-string.html
* m_userip Allow querying own IP for non-opers, require the users/auspex priv ↵Gravatar attilamolnar2013-06-011-2/+19
| | | | | | for opers to query the IP of others Issue #513 suggested by @CuleX
* m_nicklock Fix wrong hook in SetPriority()Gravatar attilamolnar2013-05-231-1/+1
|
* m_mysql Fix crash on rehash when the database tags have been changed in the ↵Gravatar attilamolnar2013-05-221-5/+6
| | | | config
* m_channames Fix iteration in ValidateChans()Gravatar attilamolnar2013-05-181-2/+10
| | | | Spotted by @Adam-
* m_httpd_acl Reread config on rehashGravatar attilamolnar2013-05-181-3/+3
|
* m_geoip Set cc in OnSetConnectClass to the newly created string if it was NULLGravatar attilamolnar2013-05-181-2/+3
|
* Fix m_randquote with 0 quotesGravatar Adam2013-05-161-6/+7
|
* Remove unused variables, avoid copies where possible, check empty() instead ↵Gravatar attilamolnar2013-05-167-8/+7
| | | | | | of size() == 0 Most of these were detected by cppcheck
* Fix an extremely low risk crash bug in m_connectban.Gravatar Peter Powell2013-05-061-4/+5
|
* m_ssl_gnutls Call gnutls_transport_set_errno() on Windows onlyGravatar attilamolnar2013-05-021-0/+14
|
* Fix gnutls (again) on Windows by using gnutls_transport_set_errno()Gravatar Adam2013-05-021-42/+56
|
* m_ssl_gnutls Add ability to load DH params from fileGravatar attilamolnar2013-04-241-2/+23
| | | | This greatly decreases the load time because the DH parameters no longer have to be (re)generated each time the module is loaded
* m_spanningtree Fix crash when connecting to a remote server that has the ↵Gravatar attilamolnar2013-04-231-2/+3
| | | | | | same name as we do and also there is a link block with our server name and their password See 49223cfe12ecd9071123f724e615e63841f2421d
* m_rline Switch to OnUserRegister hook to disconnect banned users earlierGravatar attilamolnar2013-04-211-2/+10
|
* m_filter, m_rline Remove rlines and filters when the regex engine changes or ↵Gravatar attilamolnar2013-04-212-16/+79
| | | | becomes unavailable
* m_filter Fix memory leak on unloadGravatar attilamolnar2013-04-211-0/+17
|
* Log some internal errors on DEFAULT loglevel instead of DEBUG, log detected ↵Gravatar attilamolnar2013-04-211-0/+11
| | | | errors in m_callerid
* m_permchannels Workaround for alphabetical module initialization orderGravatar attilamolnar2013-04-211-8/+32
| | | | | | | Read database after all modules have been inited Add exception logging Fixes #485 reported by @gholms
* m_ident Invalidate cache after changing User::identGravatar attilamolnar2013-04-191-0/+1
|
* m_callerid Allow messaging yourself while +g regardless of the ACCEPT listGravatar attilamolnar2013-04-191-1/+1
|
* m_spanningtree Fix IS_LOCAL() check in OnRehash handlerGravatar attilamolnar2013-04-181-1/+1
|
* m_callerid Ignore duplicate entries when unserializing callerid_dataGravatar attilamolnar2013-04-181-3/+5
|
* m_callerid Fix bookkeeping error introduced when unserializing callerid_dataGravatar attilamolnar2013-04-181-22/+23
| | | | | | This also fixes a memory leak that didn't occur naturally but was triggerable by remote servers Thanks to @SimosNap for the report
* Fix m_ssl_gnutls and perhaps some other things on Windows by recognizing ↵Gravatar Adam2013-04-161-0/+12
| | | | WSAEWOULDBLOCK
* m_kicknorejoin Store and compare uuids instead pointersGravatar attilamolnar2013-04-161-3/+3
| | | | Fixes the off chance scenario where we disallow a join because a previously kicked user has quit and the User who is trying to join happens to be allocated at the exact same memory location
* m_kicknorejoin Limit time to 30m by defaultGravatar attilamolnar2013-04-161-14/+37
| | | | | | | | In the current implementation we only expire entries when someone joins, without a limit it was possible to make us practically never remove entries and consume (a tiny amount of) memory for each entry until the mode was removed/parameter was changed The default limit of 30m is chosen to not surprise people when they upgrade. If you need to prevent rejoins for more than a minute then you should set a (timed)ban instead Config option is available to change the limit (2.0 only)
* m_kicknorejoin Minor improvementsGravatar attilamolnar2013-04-161-8/+4
| | | | | - Ignore remote users - Remove expired items in one pass
* m_spanningtree Create new TreeServers for incoming connections only when ↵Gravatar attilamolnar2013-04-103-25/+60
| | | | they've accepted our credentials, not when they send SERVER
* Remove some uline checks that ran after an IS_LOCAL() checkGravatar attilamolnar2013-04-092-19/+2
|
* Update doc and fix the description of m_allowinviteGravatar attilamolnar2013-03-291-2/+2
|
* m_ldapoper Make the module actually workGravatar attilamolnar2013-03-291-10/+50
| | | | Fixes #439 reported by @rhylan
* m_ldapoper Fix memory leakGravatar attilamolnar2013-03-291-1/+27
| | | | See 1813369adecc1efc9812e90c40c21dc32e4965c9 for details
* Merge pull request #443 from ShutterQuick/sasl_externalGravatar Attila Molnar2013-03-261-0/+10
|\ | | | | Added support for SASL EXTERNAL
| * Added support for EXTERNALGravatar Daniel Vassdal2013-03-251-0/+10
| |
* | m_xline_db Fix pointless excessive stack usage in ReadDatabase()Gravatar attilamolnar2013-03-251-5/+2
| |
* | m_xline_db Major enhancementsGravatar attilamolnar2013-03-251-33/+26
|/ | | | | - Save database on a timer, not on every single change - Use the internal database instead of keeping track of xlines ourselves
* m_timedbans Notice halfops and above when a timed ban is placedGravatar attilamolnar2013-03-241-1/+6
| | | | Fixes #415 reported by @killerrabbit
* m_spanningtree Fix incoming channel modes being lost for 0-user permanent ↵Gravatar attilamolnar2013-03-201-0/+8
| | | | | | channels on the losing side of a netmerge This did not affect listmodes
* m_permchannels Load channels from the config only at module load time and ↵Gravatar attilamolnar2013-03-201-5/+15
| | | | only when there are no linked servers to avoid desync
* m_connflood Ignore e-lined usersGravatar attilamolnar2013-03-191-0/+3
|
* m_ssl_openssl Make it clear that a CA file is not mandatoryGravatar attilamolnar2013-03-151-1/+1
|
* Modified m_timedbans to behave more like setting mode +b manually.Gravatar ShutterQuick2013-03-151-7/+11
| | | | It now accepts extbans. If one enters something not an extban, or valid banmask, it'll add "!*@*", making it a nick-ban instead of borking.
* m_connectban Switch to OnSetUserIP hook to handle cgiirc users properly, ↵Gravatar attilamolnar2013-03-111-2/+5
| | | | ignore e-lined users
* Fix m_dnsbl not checking cgiirc users when the cgiirc address is elinedGravatar attilamolnar2013-03-111-4/+4
|
* m_dnsbl Fix connecting users timeouting when a dnsbl result is in the dns cacheGravatar attilamolnar2013-03-111-1/+4
| | | | Fixes #431 reported by @killerrabbit
* m_ssl_gnutls Fix null pointer dereference in case gnutls_xxx_get_name() ↵Gravatar attilamolnar2013-02-171-3/+11
| | | | returns NULL