aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_s2s/s2sout.lib.lua
Commit message (Collapse)AuthorAgeFilesLines
* mod_s2s: Use net.connect instead of s2sout.lib for outgoing s2s connectionsKim Alvefur2018-11-101-349/+0
|
* mod_s2s: Set warning status if not listening on any portsMatthew Wild2019-03-191-1/+1
|
* mod_s2s: Fix previous commitKim Alvefur2018-09-301-1/+1
|
* mod_s2s: Silence luacheck warnings in s2sout moduleKim Alvefur2018-09-301-1/+3
|
* mod_s2s: Use session logger to ease debuggingKim Alvefur2018-06-141-1/+6
|
* mod_s2s: Log a message before trying the next SRV recordKim Alvefur2018-06-141-0/+1
| | | | This was the only spot where it did `ip_hosts = nil` without logging
* Merge 0.10->trunkKim Alvefur2018-06-091-1/+1
|\
| * mod_s2s: Fix DNS timeout setting for per-session resolvers (fixes #1167)Kim Alvefur2018-06-091-1/+1
| |
* | mod_s2s: Add setting for overriding DNS resolvers (and avoid reading ↵Kim Alvefur2018-06-031-0/+6
| | | | | | | | /etc/resolv.conf every time)
* | mod_s2s: Remove tostring() in logging since this is handled by util.format nowKim Alvefur2017-12-211-5/+5
|/
* mod_s2s: Use a separate resolver object for each outgoing sessionMatthew Wild2017-09-251-5/+5
| | | | | | | | 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
* mod_s2s: Log error message from DNS lookupKim Alvefur2016-10-041-0/+4
|
* mod_s2s: Set read mode for s2sout sockets to the same as s2sinsKim Alvefur2016-08-121-1/+3
|
* 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
| |
* | Merge 0.9->0.10Kim Alvefur2015-05-131-23/+24
|\|
| * 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
| |
* | 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_s2s: Move filter initialization to common placeKim Alvefur2014-05-221-15/+0
| |
* | Merge 0.9 -> 0.10Kim Alvefur2014-02-121-0/+3
|\|
| * mod_s2s: Log a warning if no local addresses are found, as this breaks s2soutKim Alvefur2014-02-091-0/+3
| |
* | mod_c2s, mod_s2s: Set session.encrypted as session.secure does not allways ↵Kim Alvefur2013-10-071-0/+1
| | | | | | | | mean encrypted (eg consider_bosh_secure)
* | mod_s2s: Lower "Beginning new connection attempt" message from info to debug ↵Kim Alvefur2013-08-141-1/+1
| | | | | | | | level
* | mod_s2s/s2sout.lib: Improve error message logged at 'info' level when ↵Matthew Wild2013-08-141-1/+1
| | | | | | | | failing to connect to a host. Now 'Failed in all attempts to connect to XYZ'
* | Remove all trailing whitespaceFlorian Zeitz2013-08-091-13/+13
|/
* mod_s2s/s2sout.lib: Remove unused variables and importsMatthew Wild2013-06-181-6/+2
|
* mod_s2s/s2sout.lib: Remove reference to undefined globalMatthew Wild2013-06-181-1/+0
|
* mod_s2s/s2sout.lib: Use new util.net.local_addresses() to fetch local ↵Matthew Wild2013-06-181-12/+5
| | | | interface addresses
* mod_s2s/s2sout.lib: Only attempt to create an IPv6 socket if LuaSocket ↵Matthew Wild2013-06-181-2/+5
| | | | supports IPv6
* util.rfc{3484,6724}: Update to RFC 6724Florian Zeitz2013-04-301-3/+3
|
* mod_s2s: Reset secure flag on new connection attemptKim Alvefur2013-03-251-0/+4
|
* mod_s2s: Keep the dns answer object around a while so plugins can look at itKim Alvefur2013-03-231-1/+1
|
* mod_s2s, mod_saslauth, mod_compression: Refactor to have common code for ↵Kim Alvefur2013-03-161-7/+1
| | | | opening streams
* mod_s2s: Check that an SRV reply isn't empty.Kim Alvefur2012-09-031-1/+1
|
* mod_s2s/s2sout.lib: Use %s to insert strings into log messages instead of ↵Matthew Wild2012-07-231-3/+3
| | | | concatenation
* mod_s2s/s2sout.lib: Fix indentationMatthew Wild2012-07-221-60/+60
|
* mod_s2s/s2sout.lib: Don't wait for both v4 and v6 DNS responses if we only ↵Matthew Wild2012-07-221-8/+7
| | | | send one (e.g. because v6 is disabled)
* mod_s2s: Remove check for socket.tcp6()Kim Alvefur2012-05-291-4/+0
|
* mod_s2s: Only do AAAA lookup if IPv6 is available, and A if IPv4 is available.Kim Alvefur2012-05-291-1/+17
|
* mod_s2s, s2sout.lib: Send stream header in onconnect()Matthew Wild2012-05-241-2/+0
|
* s2smanager, mod_s2s: Move checking DNS timeout option to mod_s2sKim Alvefur2012-05-101-0/+2
|
* Rename plugins/s2s/ to plugins/mod_s2s/Matthew Wild2012-05-041-0/+352