summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/server.cpp
AgeCommit message (Collapse)Author
2020-10-30Update copyright headers.InspIRCd Robot
2020-08-29Fix a word missing from the last commit.Sadie Powell
2020-08-29Warn about non-local plaintext server connections.Sadie Powell
2020-01-11Update copyright headers.InspIRCd Robot
2019-09-23Add the server id to the Server class.Peter Powell
2019-07-19spanningtree: Never send a message to a raw UUID in CmdBuilder.Peter Powell
2019-05-14If a parent server is hidden then also hide its child servers.Peter Powell
This should fix #851.
2019-04-28Textual improvements and fixes such as typos, casing, etc. (#1612)Robby
2019-02-18Improve support for wildcards in <link:name>.Peter Powell
Closes #1569.
2018-07-26Use CommandBase::Params instead of std::vector<std::string>.Peter Powell
This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
2017-11-17Fix a ton of -Wsign-conversion warnings.Peter Powell
2016-08-22m_spanningtree Change type of Link::Name to std::stringAttila Molnar
Switch to stdalgo::string::equalsci()
2016-04-28m_spanningtree Send snotice with the negotiated ciphersuite when connected ↵Attila Molnar
using SSL
2015-05-13m_spanningtree Use uint64_t for the burst start time to avoid overflowsAttila Molnar
2015-05-13m_spanningtree Clean up commentsAttila Molnar
2015-01-10Reduce std::string::substr() usageAttila Molnar
substr() returns a new string while erase() and assign() modify the existing one
2014-07-27m_spanningtree Sync bursting state of servers in SERVERAttila Molnar
Also send the time when they started bursting
2014-07-27m_spanningtree Parse additional information present in SERVER messagesAttila Molnar
Format: <key>[=<value>]
2014-07-27m_spanningtree Add TreeServer::BeginBurst() that marks a server as burstingAttila Molnar
Don't mark servers as bursting in the constructor
2014-07-27m_spanningtree Remove unused parameters from the server introduction messageAttila Molnar
This does not affect the initial SERVER message containing the password
2014-07-27m_spanningtree Add newly created TreeServers to the parent's list in the ↵Attila Molnar
constructor
2014-07-27m_spanningtree Don't pointlessly copy strings in SERVER handlersAttila Molnar
2014-07-27m_spanningtree Deduplicate server auth codeAttila Molnar
2014-07-27m_spanningtree Deduplicate auth finish codeAttila Molnar
2014-07-27m_spanningtree Remove duplicated code from TreeSocket::Outbound_Reply_Server()Attila Molnar
This is implemented in CheckDuplicate()
2014-07-25Merge insp20Attila Molnar
2014-05-21Update server.cppDan Parsons
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".
2013-08-27m_spanningtree Introduce command buildersattilamolnar
2013-08-25m_spanningtree Allow server-to-server command handlers to specify whether ↵attilamolnar
they accept servers, remote users or both as the command source To make life easier for handlers accepting servers only as source, pass them a TreeServer* so they don't have to call FindServer()
2013-08-22m_spanningtree Implement DoOneToMany() using DoOneToAllButSender()attilamolnar
2013-08-22m_spanningtree Change TreeServer::GetSocket() to always return the socket ↵attilamolnar
that can be used to talk to the server The only exception is the tree root (us) which has no associated socket (NULL) Add TreeServer::IsRoot() and IsLocal() helpers
2013-08-18m_spanningtree Move all server-to-server command handlers into handler classesattilamolnar
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.
2013-08-17m_spanningtree Remove SpanningTreeUtilities* fields and parametersattilamolnar
2013-08-15Remove $ModDep commentsattilamolnar
2013-08-04Change modules to use the MODNAME constant when logging.Peter Powell
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.
2013-04-28Merge insp20attilamolnar
2013-04-23m_spanningtree Fix crash when connecting to a remote server that has the ↵attilamolnar
same name as we do and also there is a link block with our server name and their password See 49223cfe12ecd9071123f724e615e63841f2421d
2013-04-13m_spanningtree Ignore hopcount in incoming SERVER command, always send 0 at ↵attilamolnar
burst
2013-04-12m_spanningtree Remove unneeded #includesattilamolnar
2013-04-12m_spanningtree atoi() to ConvToInt() conversion, add const where possibleattilamolnar
Remove two redundant functions from Utils
2013-04-12Add LOG_ prefix to the log level enum values.Peter Powell
2013-04-10m_spanningtree Create new TreeServers for incoming connections only when ↵attilamolnar
they've accepted our credentials, not when they send SERVER
2013-04-01Convert IsSID() to a static member function, modules shouldn't override itattilamolnar
2012-10-12Remove superfluous std::string()sattilamolnar
2012-06-12m_spanningtree Burst to a new server before introducing it to the rest of ↵attilamolnar
the network Fixes issue #103 reported by @nenolod
2012-04-19Replace copyright headers with headers granting specific authors copyrightRobby-
2010-12-02Restore prefixJackmcbarn
2010-12-02Fix possible crashJackmcbarn
2010-04-16Fix crash when a remote server has the same name as we doDaniel De Graaf
2010-02-13Clean up treesocket naming confusion by adding a link block reference during ↵danieldg
negotiation git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12452 e03df62e-2008-0410-955e-edbf42e46eb7