aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/treesocket1.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'insp3' into master.Gravatar Sadie Powell2021-06-011-1/+1
|\
| * Look up the SSL I/O hook properly in spanningtree.Gravatar Sadie Powell2021-06-011-1/+1
| | | | | | | | Fixes a regression introduced in commit 83bb6951fe.
* | Switch simple iterator loops to use range-based for loops.Gravatar Sadie Powell2021-04-071-2/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-03-051-2/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-03-051-2/+1
| |
* | Refactor classbase/CullResult into Cullable/Cullable::Result.Gravatar Sadie Powell2021-03-021-2/+2
| |
* | Convert CapabData to be a unique_ptr.Gravatar Sadie Powell2020-11-271-14/+3
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-11-011-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-10-301-1/+1
| |
* | Convert CmdResult to an 8-bit strongly typed enum.Gravatar Sadie Powell2020-10-271-4/+4
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-09-181-0/+2
|\|
| * Warn about non-local plaintext server connections.Gravatar Sadie Powell2020-08-291-4/+14
| |
* | Move GetNextLine from StreamSocket to TreeSocket.Gravatar Sadie Powell2020-07-201-0/+10
| |
* | Fix the case of getError/getSendQSize and rewrite the doc comments.Gravatar Sadie Powell2020-07-201-3/+3
| |
* | Rip out compatibility code for the 2.0 protocol.Gravatar Sadie Powell2020-05-201-0/+9
| |
* | Switch the spanningtree module from reference<> to std::shared_ptr<>.Gravatar Sadie Powell2020-04-131-1/+1
| |
* | Use C++11 inline initialisation for class members.Gravatar Sadie Powell2020-02-061-4/+6
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-2/+6
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-2/+6
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-07-271-1/+0
|\|
| * Add an event for adding tags to S2S messages.Gravatar Peter Powell2019-07-191-1/+0
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-05-151-3/+23
|\|
| * Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-281-2/+2
| |
| * Fix broken linking over IPv4 on IPv6 capable systems.Gravatar Peter Powell2019-04-251-5/+15
| | | | | | | | | | | | If no bind address was specified then one would be created which had an incompatible address family to the address that the server was trying to connect to.
| * Fix linking servers with UNIX sockets.Gravatar Peter Powell2019-04-151-2/+12
| | | | | | | | | | - Remove the address/port overloads of BeginConnect. - Change DoConnect to take a sockaddrs instead of an address/port.
* | SnomaskManager: remove fakederef.Gravatar Sadie Powell2019-02-071-2/+2
| |
* | ModuleManager: remove fakederef.Gravatar Sadie Powell2019-02-071-1/+1
| |
* | LogManager: remove fakederef.Gravatar Sadie Powell2019-02-071-3/+3
|/
* Use CommandBase::Params instead of std::vector<std::string>.Gravatar Peter Powell2018-07-261-1/+1
| | | | | This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
* Rename the spanningtree module header to server.Gravatar Peter Powell2017-12-031-1/+1
| | | | | In the future we will have server linking modules that are not the spanningtree module.
* Fix a ton of -Wsign-conversion warnings.Gravatar Peter Powell2017-11-171-2/+2
|
* Check for errors after calling IOHookProvider::OnAccept()Gravatar Attila Molnar2016-08-241-2/+10
|
* m_spanningtree Change type of Link::Name to std::stringGravatar Attila Molnar2016-08-221-1/+1
| | | | Switch to stdalgo::string::equalsci()
* Keep multiple IOHookProvider references in class ListenSocketGravatar Attila Molnar2016-08-081-2/+7
| | | | This adds the <bind:hook> config option which works together with <bind:ssl>
* m_spanningtree Clean up commentsGravatar Attila Molnar2015-05-131-9/+7
|
* m_spanningtree Get rid of some boilerplateGravatar Attila Molnar2015-01-201-5/+0
| | | | Make methods const while at it
* Reduce std::string::substr() usageGravatar Attila Molnar2015-01-101-1/+1
| | | | substr() returns a new string while erase() and assign() modify the existing one
* m_spanningtree Throw a ProtocolException if a server SQUITs a server it ↵Gravatar Attila Molnar2014-07-281-0/+2
| | | | shouldn't
* m_spanningtree Squit dead servers immediately when they die, not at the next ↵Gravatar Attila Molnar2014-07-281-0/+1
| | | | timer tick
* m_spanningtree Add the TreeServer that split to the cull list and destroy ↵Gravatar Attila Molnar2014-07-281-2/+1
| | | | everything under it recursively at cull time instead of at squit processing time
* m_spanningtree Move squit logic into TreeServer from TreeSocketGravatar Attila Molnar2014-07-281-85/+10
|
* m_spanningtree Remove now needless TreeSocket::ConnectionFailureShownGravatar Attila Molnar2014-07-281-2/+2
|
* m_spanningtree Keep track of whether we've sent our burst, to be used for ↵Gravatar Attila Molnar2014-07-271-2/+2
| | | | translation
* m_spanningtree Throw an exception on protocol violations instead of ↵Gravatar Attila Molnar2014-04-161-1/+12
| | | | | | returning CMD_INVALID Catch CoreExceptions, log and close the link in OnDataReady()
* Merge insp20Gravatar Attila Molnar2014-04-071-2/+3
|\
| * m_spanningtree Do pointer comparison before deleting one of the pointers in ↵Gravatar Attila Molnar2014-03-021-1/+2
| | | | | | | | | | | | TreeSocket::Squit() While the previous code worked fine in practice, it was incorrect in theory
| * m_spanningtree Don't send snotices to servers about remote servers splittingGravatar Attila Molnar2014-03-021-1/+1
| | | | | | | | The snotice is sent to opers when the SQUIT is processed by their server
| * Use server ids when propagating squitsGravatar Adam2013-07-261-2/+2
| |
* | Split IOHook into IOHook and IOHookProviderGravatar Attila Molnar2014-01-221-13/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Improve UserManager::QuitUser() and related codeGravatar Attila Molnar2014-01-051-0/+5
| | | | | | | | | | | | - 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