aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/treesocket1.cpp
Commit message (Expand)AuthorAgeFilesLines
...
| * Use server ids when propagating squitsGravatar Adam2013-07-261-2/+2
* | Split IOHook into IOHook and IOHookProvider•••Create one IOHook instance for each hooked socket which contains all the hook specific data and read/write/close functions, removing the need for the "issl_session" array in SSL modules. Register instances of the IOHookProvider class in the core and use them to create specialized IOHook instances (OnConnect/OnAccept). Remove the OnHookIO hook, add a dynamic reference to ListenSocket that points to the hook provider (if any) to use for incoming connections on that socket. For outgoing connections modules still have to find the IOHookProvider they want to use themselves but instead of calling AddIOHook(hookprov), now they have to call IOHookProvider::OnConnect() after the connection has been established. Gravatar Attila Molnar2014-01-221-13/+14
* | Improve UserManager::QuitUser() and related code•••- Make operreason optional; NULL means same as quitreason - Remove User::quietquit, it is now handled internally in spanningtree - Send snotice about quitting remote users from spanningtree Gravatar Attila Molnar2014-01-051-0/+5
* | m_spanningtree Minor fixes•••- Handle the case when servers SQUIT themselves - Fix extra space in channel messages Gravatar attilamolnar2013-09-101-1/+7
* | m_spanningtree Introduce command buildersGravatar attilamolnar2013-08-271-3/+3
* | m_spanningtree Allow server-to-server command handlers to specify whether the...•••To make life easier for handlers accepting servers only as source, pass them a TreeServer* so they don't have to call FindServer() Gravatar attilamolnar2013-08-251-2/+2
* | m_spanningtree Add TreeServer::GetChildren() that replaces ChildCount() and G...Gravatar attilamolnar2013-08-221-2/+3
* | m_spanningtree Change TreeServer::GetSocket() to always return the socket tha...•••The only exception is the tree root (us) which has no associated socket (NULL) Add TreeServer::IsRoot() and IsLocal() helpers Gravatar attilamolnar2013-08-221-3/+3
* | m_spanningtree Move all server-to-server command handlers into handler classes•••These commands are not registered in or called by the core. When looking for the handler of a command a new command table is searched first which contains all server-to-server commands. If a handler cannot be found in there, the core command table is consulted. Gravatar attilamolnar2013-08-181-10/+22
* | m_spanningtree Remove SpanningTreeUtilities* fields and parametersGravatar attilamolnar2013-08-171-4/+5
* | Change the syntax of FOREACH macros to be less dumb.Gravatar Adam2013-08-041-1/+1
* | Change modules to use the MODNAME constant when logging.•••The majority of modules were logging with their module name as the log type. There was a few places which were logging to a non-name type but, with the exception of CONFIG, those messages are so uncommon that it doesn't make sense to use a seperate type for them. Gravatar Peter Powell2013-08-041-2/+2
* | m_spanningtree Change the type of TreeServer::ServerName to std::stringGravatar attilamolnar2013-07-241-3/+1
* | m_spanningtree Cleanup TreeServer and TreeSocket construction/destructionGravatar attilamolnar2013-07-241-16/+5
* | Create IOHook interface (extracted from Module)Gravatar attilamolnar2013-06-071-1/+2
* | Fix spacing in calls to LogManager::Log.Gravatar Peter Powell2013-05-191-2/+2
* | m_spanningtree Remove unneeded #includesGravatar attilamolnar2013-04-121-4/+0
* | m_spanningtree Change both prefix and first parameter of SQUIT to be a SIDGravatar attilamolnar2013-04-121-2/+2
* | Tidy up source files:•••- Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues. Gravatar Peter Powell2013-04-121-1/+1
* | Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-121-2/+2
|/
* Fix more undefined behavior caused by referencing the returned buffer by std:...•••See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88 Gravatar attilamolnar2012-09-301-1/+2
* m_spanningtree Add missing aposthrope to connection failed server noticeGravatar attilamolnar2012-08-101-1/+1
* m_spanningtree: Resolve issue #250Gravatar ChrisTX2012-08-101-0/+2
* m_spanningtree Add function to easily determine whether a server was introduc...Gravatar attilamolnar2012-07-081-1/+6
* m_spanningtree Burst to a new server before introducing it to the rest of the...•••Fixes issue #103 reported by @nenolod Gravatar attilamolnar2012-06-121-4/+8
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+17
* Add HMAC implementation to HashProvider•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12508 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-211-1/+0
* Clean up treesocket naming confusion by adding a link block reference during ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12452 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-131-43/+36
* Fix double-invocation of Squit that can cause a crash on delink•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12451 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-131-0/+1
* Restart server_hash iteration after quitting dead and pinged out servers•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12435 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-111-1/+1
* Add DYING link state, push error messages on link, and only limit recvq on un...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12370 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-041-1/+3
* Split servers if they try to send infinite garbage without a newline•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12369 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-031-0/+2
* Stop parsing inbound server lines on an error•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12334 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-301-0/+2
* Add CAPAB CHANMODES, CAPAB USERMODES to verify matching of modes by name, not...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12262 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-151-9/+9
* Verify cloak keys match during CAPAB negotiation•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12258 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-141-13/+11
* ...because every now and again, i have to do a massive commit.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2010-01-111-1/+1
* Use ServiceProvider for inter-module dependencies•••This will stop dependency chains from preventing module reloads when it is not actually needed; however, it removes some failsafes that will need to be reimplemented in order to avoid unmapped vtables. This deprecates Request as an inter-module signaling mechanism, although SQL still uses it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12140 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-11-161-17/+5
* Fix double-cull of users quitting due to connection error•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12105 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-11-121-0/+1
* Clean up duplicated link snomask messages on errors•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11999 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-11-031-5/+3
* Make User::uuid and User::server const•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11962 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-231-0/+1
* Fix plural on netsplit SNO. [dKingston]•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11961 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-10-231-2/+2
* Make irc::sockets::* parameters consistent, add irc::sockets::mask•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11953 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-221-1/+1
* Kill ListenSocketBase, use OnAcceptConnection for all new connections•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11950 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-211-1/+1
* some WriteGlobalSno changes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11939 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-211-32/+11
* Make classbase and refcountbase uncopyable; expand comments on their indended...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11888 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-171-1/+1
* Fix hook finding code and error reporting•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11813 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-091-1/+1
* Move autoconnect next-server to TreeSocket::cull, and drop autoconnect refere...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11811 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-091-1/+2
* Add server ports to ServerInstance->ports, enable SSL on them using OnHookIO•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11810 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-091-1/+22
* Update Event and Request APIs•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11808 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-081-33/+15
* Fix valgrind issues and crashes on exit•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11794 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-021-3/+8