aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Release 2.0.12 v2.0.12Gravatar attilamolnar2013-04-241-1/+1
|
* Move SocketEngine::IgnoreError() code into socketengine.h and add test for ↵Gravatar attilamolnar2013-04-241-14/+0
| | | | EWOULDBLOCK
* 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
* Add config option to disable somaxconn range() checkGravatar attilamolnar2013-04-231-1/+2
|
* 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-213-3/+22
| | | | 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
* Don't crop the channel name if it's too long in Channel::Channel()Gravatar attilamolnar2013-04-211-4/+2
| | | | | | ...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
* Immediately stop processing whenever we detect and handle a RecvQ overrunGravatar attilamolnar2013-04-191-0/+1
| | | | Thanks to @SimosNap for the report and cooperation
* Fix uuids getting truncated in the nick hash in UserManager::AddUser() if ↵Gravatar attilamolnar2013-04-191-1/+1
| | | | nickmax is < 9
* 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-163-3/+29
| | | | 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
* Close listening sockets regardless of the return value of shutdown()Gravatar attilamolnar2013-04-161-1/+2
|
* Do not enable SO_LINGER on our socketsGravatar attilamolnar2013-04-161-5/+0
| | | | | | | | | Using this option allowed close() to block for up to a second Thanks to Shamsdeen and Rix for their assistance that made this fix possible Fixes issue #445 reported by @shaggie76 Fixes issue #494 reported by @Rixcho
* 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
|
* Don't attempt to unload or reload modules that are waiting to be unloadedGravatar attilamolnar2013-04-053-1/+5
|
* Fix LUSERS not working in a PURE_STATIC buildGravatar attilamolnar2013-04-051-0/+1
|
* cmd_stats List opers without iterating the whole userlistGravatar attilamolnar2013-04-011-5/+6
|
* cmd_invite Check if the inviting user is on the channel before potentially ↵Gravatar attilamolnar2013-04-011-8/+8
| | | | telling him the target is already on it
* Release 2.0.11 v2.0.11Gravatar attilamolnar2013-03-291-1/+1
|
* cmd_kill Send snotice to servers when both the oper and the victim are on ↵Gravatar attilamolnar2013-03-291-1/+4
| | | | the same server
* 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
* Fix premature overwriting of OLDTIME that resulted in time drifts never ↵Gravatar attilamolnar2013-03-281-1/+2
| | | | being detected
* cmd_lusers Fix miscountingGravatar attilamolnar2013-03-271-3/+3
|
* 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
* | Accept -c as a command line argument (equivalent to --config)Gravatar attilamolnar2013-03-251-1/+1
|/
* Initialize the FakeClient pointer in InspIRCd::InspIRCd()Gravatar attilamolnar2013-03-241-0/+1
|
* m_timedbans Notice halfops and above when a timed ban is placedGravatar attilamolnar2013-03-241-1/+6
| | | | Fixes #415 reported by @killerrabbit
* Fix infinite loop when all DNS request slots are in useGravatar attilamolnar2013-03-201-0/+20
| | | | This is not the best way to detect this scenario, a better detection mechanism will replace this in the future
* Add support for mandatory tags in included config filesGravatar attilamolnar2013-03-201-8/+21
| | | | | | | | | If the mandatory tag is not found in the included config, the rehash is aborted. This is especially useful for remote includes, as it allows users to have a dummy tag at the end of the included config to indicate that the config has been wholly read. This method does not depend on exit codes so even situations where wget returns an empty or a wrong page that we would otherwise accept can be detected and an error can be generated before we assume that the contents have disappeared (and unload all modules, if the included file is supposed to contain module tags, for example). Usage: <include ... mandatorytag="namehere"> - if the included config doesn't contain a <namehere> tag then the rehash is aborted Fixes #30 reported by @Justasic
* 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
|