Commit Graph

35 Commits (f0d34acdccd0d9d20ae1571d3e9894de03e22ffe)

Author SHA1 Message Date
Matthew Wild 63252575df mod_s2s: Use a separate resolver object for each outgoing session 9 years ago
Kim Alvefur 92730073ce mod_s2s: Log error message from DNS lookup 10 years ago
Kim Alvefur 3429c471cf mod_s2s: Set read mode for s2sout sockets to the same as s2sins 10 years ago
Kim Alvefur 3a1841b57c Backout 63f5870f9afe, no longer needed since Windows is currently unsupported 10 years ago
Kim Alvefur 1ebbd945a4 mod_s2s/s2sout: Keep SRV lookup response around even if it's empty 11 years ago
Kim Alvefur 8057766c7f 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 250115f542 mod_s2s/s2sout: Remove now unused config option dns_max_depth 11 years ago
Kim Alvefur f458d7b46d net.dns, mod_s2s: Add chasing of CNAMEs to net.dns and remove it from mod_s2s 11 years ago
Kim Alvefur 5ae109b0da mod_s2s: Move filter initialization to common place 12 years ago
Kim Alvefur 3343d921c7 mod_s2s: Log a warning if no local addresses are found, as this breaks s2sout 12 years ago
Kim Alvefur cddbe637e0 mod_c2s, mod_s2s: Set session.encrypted as session.secure does not allways mean encrypted (eg consider_bosh_secure) 13 years ago
Kim Alvefur f836fd6049 mod_s2s: Lower "Beginning new connection attempt" message from info to debug level 13 years ago
Matthew Wild 249b84b088 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 4b618a8727 Remove all trailing whitespace 13 years ago
Matthew Wild 67f89befd7 mod_s2s/s2sout.lib: Remove unused variables and imports 13 years ago
Matthew Wild fac4a3ce24 mod_s2s/s2sout.lib: Remove reference to undefined global 13 years ago
Matthew Wild 2071826108 mod_s2s/s2sout.lib: Use new util.net.local_addresses() to fetch local interface addresses 13 years ago
Matthew Wild db9c911711 mod_s2s/s2sout.lib: Only attempt to create an IPv6 socket if LuaSocket supports IPv6 13 years ago
Florian Zeitz 81cb2e4380 util.rfc{3484,6724}: Update to RFC 6724 13 years ago
Kim Alvefur 854db75cc2 mod_s2s: Reset secure flag on new connection attempt 13 years ago
Kim Alvefur 27377b9936 mod_s2s: Keep the dns answer object around a while so plugins can look at it 13 years ago
Kim Alvefur 04b647a6e8 mod_s2s, mod_saslauth, mod_compression: Refactor to have common code for opening streams 13 years ago
Kim Alvefur 9b435d76fb mod_s2s: Check that an SRV reply isn't empty. 14 years ago
Matthew Wild 6b1d7c1e1c mod_s2s/s2sout.lib: Use %s to insert strings into log messages instead of concatenation 14 years ago
Matthew Wild 1bb28a6635 mod_s2s/s2sout.lib: Fix indentation 14 years ago
Matthew Wild ee00b67dda 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 3cf0d18711 mod_s2s: Remove check for socket.tcp6() 14 years ago
Kim Alvefur c2a5ceb53a mod_s2s: Only do AAAA lookup if IPv6 is available, and A if IPv4 is available. 14 years ago
Matthew Wild 3160a4357a mod_s2s, s2sout.lib: Send stream header in onconnect() 14 years ago
Kim Alvefur f0e489b591 s2smanager, mod_s2s: Move checking DNS timeout option to mod_s2s 14 years ago
Matthew Wild 9afe1b6676 Rename plugins/s2s/ to plugins/mod_s2s/ 14 years ago
Florian Zeitz c113aa80c2 s2sout.lib: Check whether lua-socket supports IPv6 14 years ago
Matthew Wild 0d4dfb4a88 mod_s2s/s2sout.lib: Fix imports and some undefined variables 14 years ago
Florian Zeitz 3028a7d45d mod_s2s: Add "::" as a IPv6 interface (thanks darkrain) 14 years ago
Matthew Wild 16c3e94d0f mod_s2s/s2sout.lib: Log message instead of traceback when s2s isn't configured for any ports 14 years ago
Florian Zeitz 818b91cdf5 mod_s2s: Collect s2s sources from portmanager and get local address if necessary 14 years ago
Kim Alvefur 9ed71a359e s2smanager, mod_s2s: Move import of dns_max_depth to mod_s2s 14 years ago
Marco Cirillo e69011927e 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 3552b31a4f s2sout.lib: import utils/functionality once in s2smanager. 14 years ago
Kim Alvefur f397b79717 s2sout.lib: Fix wrong variable name 14 years ago
Kim Alvefur afe54f2fbd s2sout.lib: Add locals for source interfaces 14 years ago
Kim Alvefur 05e087606f s2sout.lib: Import various util.* 14 years ago
Matthew Wild 68bf2a3956 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