summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/uid.cpp
AgeCommit message (Collapse)Author
2013-04-12m_spanningtree UID handler: Log and drop the link when a server introduces a ↵attilamolnar
user with an unknown user mode
2013-04-12m_spanningtree UID handler: Remove dead codeattilamolnar
2013-04-12Add LOG_ prefix to the log level enum values.Peter Powell
2013-04-01Change User::GetIPString() to return const std::string&attilamolnar
2012-11-28m_spanningtree Remove redundant params.size() checksattilamolnar
TreeSocket::ProcessConnectedLine() and CommandParser::CallHandler() only call the handler when there are enough parameters
2012-10-21Make better use of User::GetFullRealHost()attilamolnar
2012-07-01m_spanningtree Call the collision handler with the proper parameter (client ↵attilamolnar
ip instead of modestring) when a nick collides at burst
2012-06-12Be consistent with Robby's qQ snomask changesSir Poggles
2012-04-19Replace copyright headers with headers granting specific authors copyrightRobby-
2010-04-11Prevent using invalid UIDs and enforce UID/SID matchingDaniel De Graaf
2010-03-02Log duplicate UUID events a bit betterdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12580 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-11Make UID modify its parameter on a nick collision so that services has an ↵danieldg
easier time understanding things git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12433 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-30Remove a few needless string crops, compile fixdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12329 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-18Move lots of spanningtree items to commandsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12296 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-11...because every now and again, i have to do a massive commit.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-09Remove mode counter, not reliable and only used for umode +idanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12246 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-23Make User::uuid and User::server constdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11962 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-21Split LocalUser and RemoteUserdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11940 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-08Update Event and Request APIsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11808 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-03Get rid of a bunch of memory-wasting C-style stringsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11796 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-02Fix valgrind issues and crashes on exitdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11794 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-26Remove InspIRCd* parameters and fieldsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-21Create StreamSocket for IO hooking implementationdanieldg
Fixes the SSL SendQ bug Removes duplicate code between User and BufferedSocket Simplify SSL module API Simplify EventHandler API (Readable/Writeable moved to SE) Add hook for culled objects to invoke callbacks prior to destructor Replace SocketCull with GlobalCull now that sockets can close themselves Shorten common case of user read/parse/write path: User::Write is now zero-copy up to syscall/SSL invocation User::Read has only two copy/scan passes from read() to ProcessCommand git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11752 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02Remove unneeded ProtocolInterface::Introducedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11600 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02Replace std::deque with std::vector in spanningtree and related modulesdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11593 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01Remove more text<->binary IP conversions, making code more IPv4/IPv6 independentdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11578 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01Change IP address storage in User to use more IPv4/IPv6 common codedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11575 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01Strip SUPPORT_IP6LINKS #definedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11572 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01Fix build of m_spanningtree and display of dependency regenerationdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11557 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-15Update all wiki links to point to the new wiki. This was done automatically ↵psychon
with the following command, only .Makefile.inc got some indent fixups by hand. for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-14Revert r11194 "Quiet bursts for uplinks, suggested by HiroP, thanks!"danieldg
This check on uplink was not sufficient. It has been replaced by marking children of a bursting server as bursting, so the uplink is no longer needed. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11218 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-10Quiet bursts for uplinks, suggested by HiroP, thanks!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11194 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-06Send SVSNICKs during nick collision to prevent servers that do not fully ↵danieldg
implement collisions from killing users git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11179 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-22Revert "Check nickname validity on introduction, closes bug #682 reported by ↵w00t
danieldg (thanks)." This broke stuff. This reverts commit 4d29ae6cc6c4f5ba410b58cc0807f018484f6447. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10975 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-21Check nickname validity on introduction, closes bug #682 reported by ↵w00t
danieldg (thanks). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10974 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-02Update copyrights for 2009.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-04Fix malformed UID errors so that w00t can troubleshoot! :)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10796 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-28Remove comment, as it is now done.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10740 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-27Be a hell of a lot more strict about malformed UID commands. We've always ↵w00t
been strict in the past, for some reason, we were previously very permissive about broken UID - there is no reason to be. If they're fucking up, then make them fix their problem :) (this is also a lazy man's fix to get around bad pointers/etc by deleting users outside of culllist). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10731 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-05Some more safety checks to catch out invalid client introductions (e.g. from ↵brain
atheme when its too old (for some reason its no longer checking the protocol ID for this)) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10623 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-02Comments here toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10618 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-30Some suggestions from jilles about handling unknown prefix errors, and some ↵brain
ideas of my own about handling unknown modes in client introduction to prevent leaving a desynched user on the source server git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10613 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-22warning-free on windowsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10592 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-21Be consistent. Use ServerInstance in all places instead of 'Instance' in ↵w00t
half. This has bugged me forever :p. I think I got all of extra/ too.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10579 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31Two fixes: Ignore + when parsing mode string in UID, and dont prepend + if ↵brain
we already have one, to prevent '++' git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10368 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31More debugging mesages for troubleshooting invalid mode sequences in UIDbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10367 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31I guess it makes sense never to let the gecos be parsed as a mode param, ↵brain
even in error, in case it does something stupid git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10365 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31Move all the parameters around AGAIN. See docs shortlybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10364 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31Two fixes: First, change the error message for too few params for UID to now ↵brain
match the correct 11 params, and change the server name in remote kill to correctly show server name rather than sid git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10363 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-31What the fuck am I doing.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10362 e03df62e-2008-0410-955e-edbf42e46eb7