aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/server.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* m_spanningtree Add newly created TreeServers to the parent's list in the cons...Gravatar Attila Molnar2014-07-271-1/+0
* m_spanningtree Don't pointlessly copy strings in SERVER handlersGravatar Attila Molnar2014-07-271-7/+7
* m_spanningtree Deduplicate server auth codeGravatar Attila Molnar2014-07-271-55/+28
* m_spanningtree Deduplicate auth finish codeGravatar Attila Molnar2014-07-271-11/+1
* m_spanningtree Remove duplicated code from TreeSocket::Outbound_Reply_Server()•••This is implemented in CheckDuplicate() Gravatar Attila Molnar2014-07-271-14/+1
* Merge insp20Gravatar Attila Molnar2014-07-251-2/+2
|\
| * 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 Introduce command buildersGravatar attilamolnar2013-08-271-5/+10
* | 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-5/+1
* | m_spanningtree Implement DoOneToMany() using DoOneToAllButSender()Gravatar attilamolnar2013-08-221-1/+1
* | 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-2/+2
* | 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-22/+15
* | m_spanningtree Remove SpanningTreeUtilities* fields and parametersGravatar attilamolnar2013-08-171-2/+2
* | Remove $ModDep commentsGravatar attilamolnar2013-08-151-2/+0
* | 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-1/+1
* | Merge insp20Gravatar attilamolnar2013-04-281-27/+40
|\|
| * m_spanningtree Fix crash when connecting to a remote server that has the same...•••See 49223cfe12ecd9071123f724e615e63841f2421d Gravatar attilamolnar2013-04-231-2/+3
| * m_spanningtree Create new TreeServers for incoming connections only when they...Gravatar attilamolnar2013-04-101-25/+37
* | m_spanningtree Ignore hopcount in incoming SERVER command, always send 0 at b...Gravatar attilamolnar2013-04-131-16/+0
* | m_spanningtree Remove unneeded #includesGravatar attilamolnar2013-04-121-4/+0
* | m_spanningtree atoi() to ConvToInt() conversion, add const where possible•••Remove two redundant functions from Utils Gravatar attilamolnar2013-04-121-2/+2
* | Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-121-1/+1
* | Convert IsSID() to a static member function, modules shouldn't override itGravatar attilamolnar2013-04-011-1/+1
|/
* Remove superfluous std::string()sGravatar attilamolnar2012-10-121-1/+1
* 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-6/+2
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+15
* Restore prefixGravatar Jackmcbarn2010-12-021-1/+1
* Fix possible crashGravatar Jackmcbarn2010-12-021-1/+1
* Fix crash when a remote server has the same name as we doGravatar Daniel De Graaf2010-04-161-2/+3
* 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-14/+13
* ...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
* 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-6/+0
* Allow multiple autoconnects in a single <autoconnect> tag, fix infinite failover•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11786 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-301-2/+4
* Remove InspIRCd* parameters and fields•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-261-2/+2
* Create StreamSocket for IO hooking implementation•••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 Gravatar danieldg2009-09-211-23/+23
* Change cmd_*.so to use the Module object API•••Create Module* objects for each command, and load them like modules. This unifies the external API for modules. Library directory is now deprecated: all modules are located in a single module directory. Header files for each command are no longer needed; remove. This also fixes two potential segfaults in m_spanningtree. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11668 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-031-2/+0
* Add modules to the VF_COMMON list in backwards compatability link mode, trans...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11657 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-5/+3
* Replace std::deque with std::vector in spanningtree and related modules•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11593 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-3/+3
* Fix build of m_spanningtree and display of dependency regeneration•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11557 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-011-6/+6
* Allow SSL fingerprint-based server authentication•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11404 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-06-071-2/+2
* Fix PingFlag not being set correctly for servers whose burst takes longer tha...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11324 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-221-2/+0
* Update all wiki links to point to the new wiki. This was done automatically w...•••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 Gravatar psychon2009-03-151-1/+1
* Mark children of remote servers as bursting while their parent is bursting•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11217 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-141-0/+1
* Push password comparison logic into ComparePass, fixes authentication bug not...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11195 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-101-4/+2
* Fix crash when services (or a misbehaving remote server) introduces a server ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11171 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-051-29/+31
* We already have an error for not enough params to the SERVER command, but the...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11014 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2009-01-311-2/+2
* Update copyrights for 2009.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-021-1/+1
* Make an error message more verbose to help users•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10866 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-12-071-3/+3
* Move some messages (correctly) to remote link snomask.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10769 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-311-3/+3
* Fix for listening sockets not clearing their timeout on connected. Reported b...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10594 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2008-09-241-0/+2