aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_s2s
Commit message (Collapse)AuthorAgeFilesLines
* mod_s2s: Use a separate resolver object for each outgoing sessionMatthew Wild2017-09-252-5/+7
| | | | | | | | 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_s2s: Lower log message to 'warn' level, standard for remotely-triggered ↵Matthew Wild2016-09-271-1/+1
| | | | | | | | protocol issues
| * 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)
| * Backout 63f5870f9afe, no longer needed since Windows is currently unsupportedKim Alvefur2016-01-211-24/+22
| |
| * 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/s2sout: Use the local address assigned to UDP sockets instead of ↵Kim Alvefur2015-05-131-22/+24
| | | | | | | | util.net to enumerate possible source addresses
| * mod_s2s/s2sout: Remove now unused config option dns_max_depthKim Alvefur2015-05-131-1/+0
| |
| * net.dns, mod_s2s: Add chasing of CNAMEs to net.dns and remove it from mod_s2sKim Alvefur2015-04-241-12/+0
| |
| * mod_s2s: to/from attributes are required on s2s stream headers. Set them to ↵Matthew Wild2015-03-241-1/+1
| | | | | | | | '' when not available. Fixes #468.
| * mod_s2s: Capitalize log messageKim Alvefur2014-10-101-1/+1
| |
| * 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
| * 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: Log a warning if no local addresses are found, as this breaks s2soutKim Alvefur2014-02-091-0/+3
| |
* | 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
| |
* | mod_s2s: Log error message from DNS lookupKim Alvefur2016-10-041-0/+4
| |
* | Merge 0.9->0.10Kim Alvefur2016-09-281-1/+1
|\ \
| * | mod_s2s: Lower log message to 'warn' level, standard for remotely-triggered ↵Matthew 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: Set read mode for s2sout sockets to the same as s2sinsKim Alvefur2016-08-121-1/+3
| | |
* | | 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)
* | | Merge 0.9->0.10Kim Alvefur2016-01-221-24/+22
|\| |
| * | Backout 63f5870f9afe, no longer needed since Windows is currently unsupportedKim Alvefur2016-01-211-24/+22
| | |
* | | mod_s2s/s2sout: Keep SRV lookup response around even if it's emptyKim Alvefur2015-11-051-2/+3
| | |
* | | 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-132-28/+28
|\| |
| * | 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/s2sout: Use the local address assigned to UDP sockets instead of ↵Kim Alvefur2015-05-131-22/+24
| | | | | | | | | | | | util.net to enumerate possible source addresses
| * | mod_s2s/s2sout: Remove now unused config option dns_max_depthKim Alvefur2015-05-131-1/+0
| | |
* | | mod_s2s: Fire read timeout event on correct virtualhost for incoming connectionsKim Alvefur2015-05-061-1/+2
| | |
* | | Merge 0.9->0.10Kim Alvefur2015-04-261-12/+0
|\| |
| * | net.dns, mod_s2s: Add chasing of CNAMEs to net.dns and remove it from mod_s2sKim Alvefur2015-04-241-12/+0
| | |
* | | 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
|\| |