summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2013-07-26Use server ids when propagating squitsAdam
2013-07-16m_ssl_openssl Fix inverted check that prevented certificates from being ↵attilamolnar
recognized as trusted
2013-07-09m_userip Fix incorrect "variable may be used uninitialized" warning shown by ↵attilamolnar
older GCC versions
2013-06-24Prevent m_cgiirc from blocking indefinitely, resulting in registration ↵ElementalAlchemist
timeouts on e.g. Mibbit when webirc is not used
2013-06-12m_spanningtree FJOIN handler: Merge and take maxmodes into consideration ↵attilamolnar
when applying non-prefix modes
2013-06-05Remove unnecessary string copies and dead codeattilamolnar
2013-06-04m_spanningtree Fix FIDENT routingattilamolnar
A new FIDENT was broadcast for each incoming FIDENT causing harmless but unnecessary server to server traffic
2013-06-04m_pgsql Same fix as 0e09600a431d0e0f2cde6457e088d84caf6d6f5dattilamolnar
2013-06-01m_mysql Fix escaping strings longer than MAXBUF/2attilamolnar
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
2013-06-01m_userip Allow querying own IP for non-opers, require the users/auspex priv ↵attilamolnar
for opers to query the IP of others Issue #513 suggested by @CuleX
2013-05-23m_nicklock Fix wrong hook in SetPriority()attilamolnar
2013-05-22m_mysql Fix crash on rehash when the database tags have been changed in the ↵attilamolnar
config
2013-05-18m_channames Fix iteration in ValidateChans()attilamolnar
Spotted by @Adam-
2013-05-18m_httpd_acl Reread config on rehashattilamolnar
2013-05-18m_geoip Set cc in OnSetConnectClass to the newly created string if it was NULLattilamolnar
2013-05-16Fix m_randquote with 0 quotesAdam
2013-05-16Remove unused variables, avoid copies where possible, check empty() instead ↵attilamolnar
of size() == 0 Most of these were detected by cppcheck
2013-05-06Fix an extremely low risk crash bug in m_connectban.Peter Powell
2013-05-02m_ssl_gnutls Call gnutls_transport_set_errno() on Windows onlyattilamolnar
2013-05-02Fix gnutls (again) on Windows by using gnutls_transport_set_errno()Adam
2013-04-24m_ssl_gnutls Add ability to load DH params from fileattilamolnar
This greatly decreases the load time because the DH parameters no longer have to be (re)generated each time the module is loaded
2013-04-23m_spanningtree Fix crash when connecting to a remote server that has the ↵attilamolnar
same name as we do and also there is a link block with our server name and their password See 49223cfe12ecd9071123f724e615e63841f2421d
2013-04-21m_rline Switch to OnUserRegister hook to disconnect banned users earlierattilamolnar
2013-04-21m_filter, m_rline Remove rlines and filters when the regex engine changes or ↵attilamolnar
becomes unavailable
2013-04-21m_filter Fix memory leak on unloadattilamolnar
2013-04-21Log some internal errors on DEFAULT loglevel instead of DEBUG, log detected ↵attilamolnar
errors in m_callerid
2013-04-21m_permchannels Workaround for alphabetical module initialization orderattilamolnar
Read database after all modules have been inited Add exception logging Fixes #485 reported by @gholms
2013-04-19m_ident Invalidate cache after changing User::identattilamolnar
2013-04-19m_callerid Allow messaging yourself while +g regardless of the ACCEPT listattilamolnar
2013-04-18m_spanningtree Fix IS_LOCAL() check in OnRehash handlerattilamolnar
2013-04-18m_callerid Ignore duplicate entries when unserializing callerid_dataattilamolnar
2013-04-18m_callerid Fix bookkeeping error introduced when unserializing callerid_dataattilamolnar
This also fixes a memory leak that didn't occur naturally but was triggerable by remote servers Thanks to @SimosNap for the report
2013-04-16Fix m_ssl_gnutls and perhaps some other things on Windows by recognizing ↵Adam
WSAEWOULDBLOCK
2013-04-16m_kicknorejoin Store and compare uuids instead pointersattilamolnar
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
2013-04-16m_kicknorejoin Limit time to 30m by defaultattilamolnar
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)
2013-04-16m_kicknorejoin Minor improvementsattilamolnar
- Ignore remote users - Remove expired items in one pass
2013-04-10m_spanningtree Create new TreeServers for incoming connections only when ↵attilamolnar
they've accepted our credentials, not when they send SERVER
2013-04-09Remove some uline checks that ran after an IS_LOCAL() checkattilamolnar
2013-03-29Update doc and fix the description of m_allowinviteattilamolnar
2013-03-29m_ldapoper Make the module actually workattilamolnar
Fixes #439 reported by @rhylan
2013-03-29m_ldapoper Fix memory leakattilamolnar
See 1813369adecc1efc9812e90c40c21dc32e4965c9 for details
2013-03-26Merge pull request #443 from ShutterQuick/sasl_externalAttila Molnar
Added support for SASL EXTERNAL
2013-03-25Added support for EXTERNALDaniel Vassdal
2013-03-25m_xline_db Fix pointless excessive stack usage in ReadDatabase()attilamolnar
2013-03-25m_xline_db Major enhancementsattilamolnar
- Save database on a timer, not on every single change - Use the internal database instead of keeping track of xlines ourselves
2013-03-24m_timedbans Notice halfops and above when a timed ban is placedattilamolnar
Fixes #415 reported by @killerrabbit
2013-03-20m_spanningtree Fix incoming channel modes being lost for 0-user permanent ↵attilamolnar
channels on the losing side of a netmerge This did not affect listmodes
2013-03-20m_permchannels Load channels from the config only at module load time and ↵attilamolnar
only when there are no linked servers to avoid desync
2013-03-19m_connflood Ignore e-lined usersattilamolnar
2013-03-15m_ssl_openssl Make it clear that a CA file is not mandatoryattilamolnar