aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_s2s/mod_s2s.lua
Commit message (Collapse)AuthorAgeFilesLines
* sessionmanager, mod_s2s: Bring debug line for outgoing stanzas in line with ↵Kim Alvefur2018-07-241-1/+1
| | | | that for incoming
* mod_s2s: Reduce logging (#776)Kim Alvefur2018-07-221-2/+0
|
* mod_s2s: Close sockets held by resolver (#1170)Kim Alvefur2018-06-171-0/+3
|
* mod_s2s: Use a separate resolver object for each outgoing sessionMatthew Wild2017-09-251-0/+2
| | | | | | | | Cleaner approach hopefully fixes problems with some peoples' DNS hanging after a while, failed DNS when a large number of queries are made at once, and source port re-use. Related issues: #487, 761, #991, #992, #1001
* Merge 0.9->0.10Kim Alvefur2017-09-141-10/+8
|\
| * mod_component, mod_s2s: Iterate over child tags instead of child nodes (can ↵Kim Alvefur2017-09-141-10/+8
| | | | | | | | include text) in stream error (same as 176b7f4e4ac9)
* | mod_c2s, mod_s2s: Remove comment that no longer applies since 946871f6e3c8Kim Alvefur2017-01-251-2/+0
| |
* | mod_s2s: Clarify that it is stream features that can't be offered (here too)Kim Alvefur2017-01-251-2/+2
| |
* | Merge 0.9->0.10Kim Alvefur2016-09-281-1/+1
|\|
| * mod_s2s: Lower log message to 'warn' level, standard for remotely-triggered ↵0.9.11Matthew Wild2016-09-271-1/+1
| | | | | | | | protocol issues
* | mod_c2s, mod_s2s: Switch connection counting to 'amount' type and enumerate ↵Kim Alvefur2016-09-121-10/+3
| | | | | | | | once per statistics interval
* | Backed out changeset a23b5cb8c22bMatthew Wild2016-08-311-1/+0
| | | | | | | | | | It was a nice idea, but our s2s connection logic is too complicated. The session may have been destroyed inside attempt_connection().
* | mod_s2s: Fire event when s2s connection failsMatthew Wild2016-08-271-0/+1
| |
* | mod_s2s: Index session after checking if it exists (fixes traceback in case ↵Kim Alvefur2016-08-071-1/+1
| | | | | | | | of a connection without a session having a read timeout)
* | mod_c2s, mod_s2s: Bootstrap connection count statistic on module loadKim Alvefur2016-07-071-0/+10
| |
* | mod_s2s: Remove compat with namespace issue from Prosody pre-0.6.2Kim Alvefur2016-05-301-3/+0
| |
* | mod_s2s: Include name of remote server when it's missing the stream ID ↵Kim Alvefur2016-03-141-1/+1
| | | | | | | | (thanks Ge0rG)
* | Merge 0.9->0.10Kim Alvefur2016-01-261-1/+1
|\|
| * mod_c2s, mod_s2s: Lower priority of session shutdown to negative, so that ↵Kim Alvefur2016-01-261-1/+1
| | | | | | | | plugins hooking at the default priority run first (fixes #601)
* | mod_s2s: Fire global event for stream features where the remote server has ↵Kim Alvefur2015-10-111-0/+1
| | | | | | | | not sent the 'to' stream attribute
* | mod_s2s: Account for connections that time out in connection count measureKim Alvefur2015-09-251-0/+5
| |
* | mod_c2s, mod_s2s: Close incoming connections if there are no features to ↵Kim Alvefur2015-09-241-2/+7
| | | | | | | | offer on incomplete streams (fixes #285)
* | Merge 0.9->0.10Kim Alvefur2015-05-131-5/+4
|\|
| * mod_s2s: Mark stream as opened directly after opening stream, prevents ↵Kim Alvefur2015-05-131-1/+1
| | | | | | | | session.close opening it again
| * mod_s2s: Don't cache session.sends2s (or do it later), prevents sending data ↵Kim Alvefur2015-05-131-4/+3
| | | | | | | | after session was closed
* | mod_s2s: Fire read timeout event on correct virtualhost for incoming connectionsKim Alvefur2015-05-061-1/+2
| |
* | mod_c2s, mod_s2s: Collect statistics on number of connectionsKim Alvefur2015-04-261-0/+4
| |
* | Merge 0.9->0.10 againKim Alvefur2015-03-271-0/+6
|\|
| * mod_s2s: to/from attributes are required on s2s stream headers. Set them to ↵0.9.8Matthew Wild2015-03-241-1/+1
| | | | | | | | '' when not available. Fixes #468.
* | Merge 0.9->0.10Matthew Wild2014-10-141-1/+1
|\|
| * mod_s2s: Capitalize log messageKim Alvefur2014-10-101-1/+1
| |
* | mod_s2s: Close s2s connections that can not proceed due to mod_dialback not ↵Kim Alvefur2014-09-231-0/+4
| | | | | | | | being present
* | core.stanza_router, mod_s2s: Move handling of S2S features to mod_s2s from ↵Kim Alvefur2014-09-091-0/+1
| | | | | | | | stanza_router
* | Merge 0.9->0.10Kim Alvefur2014-09-021-2/+9
|\|
| * net.http, net.http.server, mod_c2s, mod_s2s, mod_component, ↵Matthew Wild2014-08-291-0/+4
| | | | | | | | mod_admin_telnet, mod_net_multiplex: Add ondetach to release connection from 'sessions' table (or equivalent)
| * mod_s2s: Close offending s2s streams missing an 'id' attribute with a stream ↵Kim Alvefur2014-09-021-2/+5
| | | | | | | | error instead of throwing an unhandled error
* | Merge 0.9->0.10Matthew Wild2014-08-281-1/+4
|\|
| * mod_c2s, mod_s2s: Log received invalid stream headersMatthew Wild2014-08-231-0/+1
| |
| * mod_s2s: Reset stream ID when resetting stream [compliance]Kim Alvefur2014-08-271-0/+1
| |
| * mod_s2s: Mark stream as opened earlier for outgoing connections, fixes ↵Kim Alvefur2014-08-261-1/+2
| | | | | | | | double stream headers on policy failures
* | mod_s2s: Remove unused localsKim Alvefur2014-07-251-2/+0
| |
* | mod_s2s_auth_certs: Split PKIX based certificate checking from mod_s2s into ↵Kim Alvefur2014-07-251-33/+0
| | | | | | | | new plugin
* | mod_dialback: Short-circuit dialback auth if certificate is considered validKim Alvefur2014-07-041-1/+1
| |
* | mod_s2s: Fire a 's2s-created' event when new s2s connections are initializedKim Alvefur2014-05-241-0/+2
| |
* | mod_s2s: Remove redundant setting of session.directionKim Alvefur2014-05-221-1/+0
| |
* | mod_s2s: Move filter initialization to common placeKim Alvefur2014-05-221-17/+17
| |
* | mod_s2s: Decide on log function onceKim Alvefur2014-05-221-2/+3
| |
* | mod_s2s: Follow XMPP Core on when a stream is to be considered readyKim Alvefur2014-04-221-1/+11
| |
* | mod_s2s: Replace open_stream() with function that only adds s2s/dialback ↵Kim Alvefur2014-04-181-14/+2
| | | | | | | | attributes to stream header
* | mod_s2s: Revert e626ee2fe106 change, it broke DialbackKim Alvefur2014-04-101-0/+20
| |