aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
Commit message (Expand)AuthorAgeFilesLines
* m_spanningtree Fix TreeRoot UserCount being possibly wrong if loaded after st...Gravatar Attila Molnar2015-02-041-1/+1
* Fix a snotice in m_spanningtree incorrectly using an unsigned long.•••This value can be negative so it should be a signed long not an unsigned long. Gravatar Peter Powell2015-01-031-2/+2
* Remove some dead code found by CoverityGravatar Attila Molnar2014-10-261-2/+0
* m_spanningtree Rebuild serverlist and sidlist when receiving a specific Request•••Issue #923 Gravatar Attila Molnar2014-10-134-0/+25
* Fix various warnings when building with LLVM 3.5.•••- warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] - warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] Gravatar Peter Powell2014-10-132-4/+4
* Update example configuration files, fix typos and case•••Mention m_regex_stdlib in the list of regex providers after m_filter Gravatar Attila Molnar2014-07-241-1/+1
* m_spanningtree Always treat the remote client as the winner on nick collision...Gravatar Attila Molnar2014-07-242-4/+15
* m_spanningtree Forward NICK messages when they cause a collision with the new...•••Suppressing these messages meant that we relied on an appropriate NICK to come from the direction the SAVE was sent to; this left all servers behind us uninformed until the target server of the SAVE reacted with a nick change to uuid. This was problematic because someone can legitimately change nick to the past nick of the SAVEd user on a server that already has the SAVEd user with the uuid nick and that nick change message can reach servers that haven't yet seen the nick change to uuid of the SAVEd user. Gravatar Attila Molnar2014-06-061-7/+7
* m_spanningtree Fix cleanup of connections when unloading a module that provid...Gravatar Attila Molnar2014-06-061-0/+3
* Update server.cpp•••Rewrote "invalid credentials" error message to remove confusion regarding "server snomask", which some users interpreted as "I must make sure the snomask on each server is identical" (which makes no sense), when really the intention is basically "look at the logs on the other server". Gravatar Dan Parsons2014-05-211-2/+2
* m_spanningtree Advertise the availability of m_globops in CAPAB CAPABILITIESGravatar Attila Molnar2014-04-291-0/+6
* m_spanningtree Set the bursting flag in the FJOIN handler based on whether th...•••Previously the flag was true if our route to the source was bursting, which resulted in m_joinflood incorrectly registering netjoins when a remote server was bursting Fixes issue #839 reported by @joshtek0 Gravatar Attila Molnar2014-04-261-2/+3
* Add REG_ALL checks to treat unregistered users as nonexistent in more casesGravatar Attila Molnar2014-04-041-1/+1
* m_spanningtree Do pointer comparison before deleting one of the pointers in T...•••While the previous code worked fine in practice, it was incorrect in theory Gravatar Attila Molnar2014-03-021-1/+2
* m_spanningtree Don't send snotices to servers about remote servers splitting•••The snotice is sent to opers when the SQUIT is processed by their server Gravatar Attila Molnar2014-03-021-1/+1
* m_spanningtree Fix nick TS desync on SVSNICK•••Don't accept invalid timestamps Gravatar Attila Molnar2013-12-153-3/+21
* Use case insensitive comparison for server names for (auto)connects, issue #662Gravatar Adam2013-11-092-4/+4
* Fix parsing ADDLINE with expiration or creation dates past ~2038 probablyGravatar Adam2013-11-091-2/+6
* Fix issue #657, fix sending FNAME with spacesGravatar Adam2013-11-091-1/+1
* m_spanningtree Fix timestamp in AWAYGravatar attilamolnar2013-08-311-1/+1
* m_spanningtree When an IOHook goes away close all pending connections that us...Gravatar attilamolnar2013-08-212-1/+10
* Use server ids when propagating squitsGravatar Adam2013-07-261-2/+2
* m_spanningtree FJOIN handler: Merge and take maxmodes into consideration when...Gravatar attilamolnar2013-06-121-5/+24
* Remove unnecessary string copies and dead codeGravatar attilamolnar2013-06-053-31/+5
* m_spanningtree Fix FIDENT routing•••A new FIDENT was broadcast for each incoming FIDENT causing harmless but unnecessary server to server traffic Gravatar attilamolnar2013-06-041-2/+1
* Remove unused variables, avoid copies where possible, check empty() instead o...•••Most of these were detected by cppcheck Gravatar attilamolnar2013-05-161-1/+0
* m_spanningtree Fix crash when connecting to a remote server that has the same...•••See 49223cfe12ecd9071123f724e615e63841f2421d Gravatar attilamolnar2013-04-231-2/+3
* m_spanningtree Fix IS_LOCAL() check in OnRehash handlerGravatar attilamolnar2013-04-181-1/+1
* m_spanningtree Create new TreeServers for incoming connections only when they...Gravatar attilamolnar2013-04-103-25/+60
* m_spanningtree Fix incoming channel modes being lost for 0-user permanent cha...•••This did not affect listmodes Gravatar attilamolnar2013-03-201-0/+8
* Remove unused variables detected by Clang 4.2.Gravatar Peter Powell2013-02-012-3/+2
* m_spanningtree Fix rare desync when a KILL crosses a message that has the kil...Gravatar attilamolnar2013-01-141-3/+19
* Add a flag to Command that controls whether an empty last parameter is allowe...Gravatar attilamolnar2012-12-151-0/+8
* Add IS_SERVER() and REG_ALL checks to (mostly oper only) commands taking a ta...•••If a SID was passed as the target user parameter or when it's an unregistered user reply with the "no such nick" (or the moral equivalent) message Gravatar attilamolnar2012-12-154-4/+4
* cmd_rehash, m_spanningtree Fix REHASH messages duplicating at each hop•••Fixes #375 reported by @JDowny Gravatar attilamolnar2012-11-291-0/+3
* m_spanningtree Remove redundant params.size() checks•••TreeSocket::ProcessConnectedLine() and CommandParser::CallHandler() only call the handler when there are enough parameters Gravatar attilamolnar2012-11-282-11/+0
* Remove usage of deprecated CallCommandHandler() and IsValidModuleCommand()Gravatar attilamolnar2012-11-192-3/+3
* Remove usage of the deprecated ConfigReaderGravatar attilamolnar2012-11-121-10/+10
* m_spanningtree SVSNICK needs 3 parametersGravatar attilamolnar2012-11-091-1/+1
* m_spanningtree Refuse bogus NICK messages•••If the new nick looks like an uid verify that its the correct uid Gravatar attilamolnar2012-11-091-1/+7
* Make better use of User::GetFullRealHost()Gravatar attilamolnar2012-10-211-1/+1
* Windows: In-depth cleanup (see details)•••-Fix x64 builds for Windows. Now all configurations compile. -Remove the non-working rebase stuff. -Remove the Windows fork hack and instead use FreeConsole() to emulate the behavior. This directly allows us to compile with ASLR, which is turned on now. -Remove the old IPC mechanism for the removed GUI. This is not needed anymore as the GUI wasn't ever supported on anything newer than 1.2 -Remove the WIN32/WINDOWS macros. _WIN32 is supported on all x86-based VC++ targets, so that's what we need. -Enable optimizations for release builds. -De-duplicate printf_c(), it was previously copy-pasted into colors.h for configure -Add the VC++ specific bad files in .gitignore -Disable PID writing on Windows. This is only making sense for *nix builds. -Replace the CPU usage retrieval with an algorithm analogous to the *nix behavior. Also supports separated now/total values. (Tested with a dummy busy loop - seems working) -Removed certain unused functions and variables -Remove stdint defines from the windows wrapper -Remove CRT debug alloc. This is a bad idea as it would define a macro to replace free which breaks builds. -Re-evaluated the warnings list, commented it. -Moved inspircd_config/_version to include/ to match *nix -Removed the creation of inspircd_se_config, as it isn't used at all. -Made non-git builds show as "r0" instead of "r" (thanks to @SaberUK for pointing this out) -Fixed up m_spanningtree's project paths. Now all configurations (debug/release x86/x64) have been tested and build properly. -Moved FindDNS out of the wrapper and matched its log behavior with *nix. (It's pointless having it in the wrapper after the recent slimming down) -Replaced random/srandom wrappers with a mechanism that tries to use Windows' Random API first is no SSL module is loaded. -Removed more old junk from support for compilers older than VC++ 2010 (we don't have project files for these, so compiling them would be hard anyways) -Removed the unused ClearConsole() -Removed unused includes from the wrapper. Also, do not include psapi.h here if we don't link psapi.lib. This should be done where appropriate. -Made inet_aton an inline function for increased performance -C4800, performance warning about bool forcing, resolved at all occurrences. -C4701, uninitialized variable 'cached', resolved at all occurrences. -dlerror() was migrated out of the wrapper for more thread safety (no global buffer being shared) and increased performance. -Removed the wrong CRT debug flags. This drains a lot of performance. -Removed the clock_gettime/gettimeofday wrappers -Replaced all TCHAR/ANSI mix-ups of functions with the correct respective function. -Added a block of C4355 for < VS2012 -Update project files for c870714 Gravatar ChrisTX2012-10-124-11/+7
* Remove superfluous std::string()sGravatar attilamolnar2012-10-128-20/+20
* m_spanningtree Fix undefined behavior caused by referencing the returned buff...Gravatar attilamolnar2012-10-071-1/+2
* m_spanningtree Fill a parameterlist in OnAddLine/OnDelLineGravatar attilamolnar2012-10-031-7/+8
* m_spanningtree Simplify OnMode and OnSetAway handlersGravatar attilamolnar2012-10-031-13/+5
* m_spanningtree Remove empty RedoConfig()Gravatar attilamolnar2012-10-032-5/+0
* m_spanningtree Utils: Remove unused functionsGravatar attilamolnar2012-10-032-31/+0
* m_spanningtree OPERTYPE handler: Return when finished processing instead of c...Gravatar attilamolnar2012-10-031-8/+3
* m_spanningtree Remote WHOIS handler: Find target with FindNickOnly (don't acc...Gravatar attilamolnar2012-10-031-1/+1