summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-06-10Fix high CPU use on Windows when connecting to a serverattilamolnar
When getting a write event for an EventHandler that wanted a single write only, remove it from the WriteSet (socketengine_select) Fixes #556 reported by @WindowsUser
2013-06-05Release 2.0.13attilamolnar
2013-06-05Remove unnecessary string copies and dead codeattilamolnar
2013-06-05Report the full GnuTLS version in configureattilamolnar
Fix incorrect version being reported when the minor version is longer than one digit (2.10.x)
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-04Fix inet_pton on Windows with IPv6 addressesattilamolnar
Code from Anope win32/socket.cpp by @Adam-
2013-06-04m_pgsql Same fix as 0e09600a431d0e0f2cde6457e088d84caf6d6f5dattilamolnar
2013-06-01cmd_who Hide +i users when listing users on a server and hidewhois is offattilamolnar
Fixes #547 reported by @RawrDragon
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-23Update authorsattilamolnar
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-18Initialize local_countattilamolnar
2013-05-16Fix m_randquote with 0 quotesAdam
2013-05-16Workaround for std::list::size() having linear complexity on some ↵attilamolnar
implementations
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-15Fix thread handle leak in threadengine_win32attilamolnar
2013-05-06Merge pull request #526 from SaberUK/insp20+connectban-fixAttila Molnar
[2.0] Fix an extremely low risk crash bug in m_connectban.
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-05-02Fix logfile path on WindowsAdam
Fixes issue #510 reported by @JDowny
2013-05-02Fix disabling IPV6_V6ONLY on sockets, issue #511Adam
2013-04-27Merge pull request #509 from SaberUK/insp20+make-distcleanAttila Molnar
Fix a few minor issues with `make distclean`.
2013-04-27Fix a few minor issues with `make distclean`.Peter Powell
- Only remove the base directory for in-source installs. - Use full paths to the source directory. - Update the help message to be more accurate.
2013-04-24Release 2.0.12attilamolnar
2013-04-24Move SocketEngine::IgnoreError() code into socketengine.h and add test for ↵attilamolnar
EWOULDBLOCK
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-23Add config option to disable somaxconn range() checkattilamolnar
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-21Don't crop the channel name if it's too long in Channel::Channel()attilamolnar
...and especially don't use the shortened name in one place and the original in another Having different <limits:maxchan> values on the same network is not supported
2013-04-19Immediately stop processing whenever we detect and handle a RecvQ overrunattilamolnar
Thanks to @SimosNap for the report and cooperation
2013-04-19Fix uuids getting truncated in the nick hash in UserManager::AddUser() if ↵attilamolnar
nickmax is < 9
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)