Commit Graph

43 Commits (eeb98faa3a09ab9bdfeaa8ed9d2ff3d1d3a94de9)

Author SHA1 Message Date
Kim Alvefur 2a66d6061b mod_s2s: Fix previous commit 7 years ago
Kim Alvefur 1cc5f7fe10 mod_s2s: Silence luacheck warnings in s2sout module 7 years ago
Kim Alvefur d8100c6004 mod_s2s: Fix DNS timeout setting for per-session resolvers (fixes #1167) 8 years ago
Matthew Wild 86ee041be8 mod_s2s: Use a separate resolver object for each outgoing session 8 years ago
Kim Alvefur 3237e9eb9d mod_s2s: Use session logger to ease debugging 8 years ago
Kim Alvefur ee03f52d20 mod_s2s: Log a message before trying the next SRV record 8 years ago
Kim Alvefur d74f8ee65d mod_s2s: Add setting for overriding DNS resolvers (and avoid reading /etc/resolv.conf every time) 8 years ago
Kim Alvefur d3bdcaeda0 mod_s2s: Remove tostring() in logging since this is handled by util.format now 8 years ago
Kim Alvefur 36b9149295 mod_s2s: Log error message from DNS lookup 9 years ago
Kim Alvefur ef3f3b099f mod_s2s: Set read mode for s2sout sockets to the same as s2sins 10 years ago
Kim Alvefur ffb24222c3 Backout 63f5870f9afe, no longer needed since Windows is currently unsupported 10 years ago
Kim Alvefur 3b6f62670d mod_s2s/s2sout: Keep SRV lookup response around even if it's empty 10 years ago
Kim Alvefur 7643d6dc8f mod_s2s/s2sout: Use the local address assigned to UDP sockets instead of util.net to enumerate possible source addresses 11 years ago
Kim Alvefur 9906fca5ac mod_s2s/s2sout: Remove now unused config option dns_max_depth 11 years ago
Kim Alvefur 7dff400ed5 net.dns, mod_s2s: Add chasing of CNAMEs to net.dns and remove it from mod_s2s 11 years ago
Kim Alvefur b4934b66b9 mod_s2s: Move filter initialization to common place 12 years ago
Kim Alvefur 5e2d0c3ba7 mod_s2s: Log a warning if no local addresses are found, as this breaks s2sout 12 years ago
Kim Alvefur 5178a1e79f mod_c2s, mod_s2s: Set session.encrypted as session.secure does not allways mean encrypted (eg consider_bosh_secure) 12 years ago
Kim Alvefur b21a193598 mod_s2s: Lower "Beginning new connection attempt" message from info to debug level 13 years ago
Matthew Wild 2666d8e8e7 mod_s2s/s2sout.lib: Improve error message logged at 'info' level when failing to connect to a host. Now 'Failed in all attempts to connect to XYZ' 13 years ago
Florian Zeitz 1d833bb807 Remove all trailing whitespace 13 years ago
Matthew Wild 34fd62b3ff mod_s2s/s2sout.lib: Remove unused variables and imports 13 years ago
Matthew Wild 5a6094750b mod_s2s/s2sout.lib: Remove reference to undefined global 13 years ago
Matthew Wild f538d14ed4 mod_s2s/s2sout.lib: Use new util.net.local_addresses() to fetch local interface addresses 13 years ago
Matthew Wild 28e1592c0c mod_s2s/s2sout.lib: Only attempt to create an IPv6 socket if LuaSocket supports IPv6 13 years ago
Florian Zeitz e53d5b4f79 util.rfc{3484,6724}: Update to RFC 6724 13 years ago
Kim Alvefur ae5806cd67 mod_s2s: Reset secure flag on new connection attempt 13 years ago
Kim Alvefur 9c4985d9d8 mod_s2s: Keep the dns answer object around a while so plugins can look at it 13 years ago
Kim Alvefur ee9ef878c4 mod_s2s, mod_saslauth, mod_compression: Refactor to have common code for opening streams 13 years ago
Kim Alvefur ddd751aed9 mod_s2s: Check that an SRV reply isn't empty. 14 years ago
Matthew Wild 9f24aa6cf8 mod_s2s/s2sout.lib: Use %s to insert strings into log messages instead of concatenation 14 years ago
Matthew Wild 07c9903d58 mod_s2s/s2sout.lib: Fix indentation 14 years ago
Matthew Wild fb3b789dca mod_s2s/s2sout.lib: Don't wait for both v4 and v6 DNS responses if we only send one (e.g. because v6 is disabled) 14 years ago
Kim Alvefur e6bf33e872 mod_s2s: Remove check for socket.tcp6() 14 years ago
Kim Alvefur bb98bf4a58 mod_s2s: Only do AAAA lookup if IPv6 is available, and A if IPv4 is available. 14 years ago
Matthew Wild 81cbf8c7d4 mod_s2s, s2sout.lib: Send stream header in onconnect() 14 years ago
Kim Alvefur 3713488b27 s2smanager, mod_s2s: Move checking DNS timeout option to mod_s2s 14 years ago
Matthew Wild d18c1ff0da Rename plugins/s2s/ to plugins/mod_s2s/ 14 years ago
Florian Zeitz 005331cb75 s2sout.lib: Check whether lua-socket supports IPv6 14 years ago
Matthew Wild 5d28dc3276 mod_s2s/s2sout.lib: Fix imports and some undefined variables 14 years ago
Florian Zeitz eb824294fe mod_s2s: Add "::" as a IPv6 interface (thanks darkrain) 14 years ago
Matthew Wild 437ed35fad mod_s2s/s2sout.lib: Log message instead of traceback when s2s isn't configured for any ports 14 years ago
Florian Zeitz eca225365d mod_s2s: Collect s2s sources from portmanager and get local address if necessary 14 years ago
Kim Alvefur 26768f3e54 s2smanager, mod_s2s: Move import of dns_max_depth to mod_s2s 14 years ago
Marco Cirillo c5f76e99d9 mod_s2s, s2sout.lib: import cert verify and add another fallback method in case socket.local_addresses isn't there. 14 years ago
Florian Zeitz 35ddcf0af3 s2sout.lib: import utils/functionality once in s2smanager. 14 years ago
Kim Alvefur ddef415e16 s2sout.lib: Fix wrong variable name 14 years ago
Kim Alvefur cf1aa003da s2sout.lib: Add locals for source interfaces 14 years ago
Kim Alvefur d30dec6f35 s2sout.lib: Import various util.* 14 years ago
Matthew Wild f851289311 s2smanager, mod_s2s, mod_s2s/s2sout: Split connection handling out of s2smanager into mod_s2s, and further split connection logic for s2sout to a module lib, s2sout.lib.lua 14 years ago