Commit Graph

119 Commits (71d2dced8dd98ce1b1bf67e2ebbae981cf85287c)

Author SHA1 Message Date
Kim Alvefur a5ed824a00 mod_c2s, mod_s2s: Lower priority of session shutdown to negative, so that plugins hooking at the default priority run first (fixes #601) 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 10 years ago
Kim Alvefur 9203db9b4f mod_s2s: Fire global event for stream features where the remote server has not sent the 'to' stream attribute 10 years ago
Kim Alvefur 01d663a30c mod_s2s: Account for connections that time out in connection count measure 10 years ago
Kim Alvefur fabb7c0561 mod_c2s, mod_s2s: Close incoming connections if there are no features to offer on incomplete streams (fixes #285) 10 years ago
Kim Alvefur bbdd807af4 mod_s2s: Mark stream as opened directly after opening stream, prevents session.close opening it again 11 years ago
Kim Alvefur edfc34c0fb mod_s2s: Don't cache session.sends2s (or do it later), prevents sending data after session was closed 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
Matthew Wild c8cfb78d7e mod_s2s: to/from attributes are required on s2s stream headers. Set them to '' when not available. Fixes #468. 11 years ago
Kim Alvefur aa9e7abd10 mod_s2s: Capitalize log message 11 years ago
Matthew Wild 58edf57b1f net.http, net.http.server, mod_c2s, mod_s2s, mod_component, mod_admin_telnet, mod_net_multiplex: Add ondetach to release connection from 'sessions' table (or equivalent) 12 years ago
Kim Alvefur 84a056c50b mod_s2s: Close offending s2s streams missing an 'id' attribute with a stream error instead of throwing an unhandled error 12 years ago
Matthew Wild d2e9a31bf5 mod_c2s, mod_s2s: Log received invalid stream headers 12 years ago
Kim Alvefur 9736855cd3 mod_s2s: Reset stream ID when resetting stream [compliance] 12 years ago
Kim Alvefur cab2148453 mod_s2s: Mark stream as opened earlier for outgoing connections, fixes double stream headers on policy failures 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 d67ec1537b mod_s2s: Fire read timeout event on correct virtualhost for incoming connections 11 years ago
Kim Alvefur b028ed1fee mod_c2s, mod_s2s: Collect statistics on number of connections 11 years ago
Kim Alvefur c95613de57 mod_s2s: Close s2s connections that can not proceed due to mod_dialback not being present 11 years ago
Kim Alvefur 4faf29b155 core.stanza_router, mod_s2s: Move handling of S2S features to mod_s2s from stanza_router 11 years ago
Kim Alvefur 1566993112 mod_s2s: Remove unused locals 12 years ago
Kim Alvefur 79cad06d97 mod_s2s_auth_certs: Split PKIX based certificate checking from mod_s2s into new plugin 12 years ago
Kim Alvefur 5abddcbf78 mod_dialback: Short-circuit dialback auth if certificate is considered valid 12 years ago
Kim Alvefur 332ebb57f7 mod_s2s: Fire a 's2s-created' event when new s2s connections are initialized 12 years ago
Kim Alvefur 55756cdd3c mod_s2s: Remove redundant setting of session.direction 12 years ago
Kim Alvefur 5ae109b0da mod_s2s: Move filter initialization to common place 12 years ago
Kim Alvefur c9cd737d87 mod_s2s: Decide on log function once 12 years ago
Kim Alvefur c0b1478433 mod_s2s: Follow XMPP Core on when a stream is to be considered ready 12 years ago
Kim Alvefur eabebea148 mod_s2s: Replace open_stream() with function that only adds s2s/dialback attributes to stream header 12 years ago
Kim Alvefur 793af56308 mod_s2s: Revert e626ee2fe106 change, it broke Dialback 12 years ago
Kim Alvefur 038d775543 mod_c2s, mod_s2s, mod_component, util.xmppstream: Move all session:open_stream() functions to util.xmppstream 12 years ago
Florian Zeitz a80be99fef mod_s2s: Include IP in log messages, if host is unavailable 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) 12 years ago
Kim Alvefur c43e8ae640 mod_c2s, mod_s2s: Log cipher and encryption info in a more compact and (hopefully) less confusing way 13 years ago
Kim Alvefur ca6fcc0905 mod_s2s: Captitalize log messages that begin with a stream direction 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
Kim Alvefur 2d80fe3bbd mod_admin_telnet, mod_s2s: Fix reporting of certificate chain validation details 13 years ago
Kim Alvefur 4749336127 mod_s2s: Improve policy check 13 years ago
Kim Alvefur bfe5b17163 mod_s2s: Log certificate identity validation result 13 years ago
Kim Alvefur e1f147d556 mod_c2s, mod_s2s: Log a message that stream encryption has been enabled with some details 13 years ago
Kim Alvefur b091e0eef1 mod_s2s: Add missing global hook for read-timeout 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