Commit Graph

186 Commits (565c65baa1cf05abd5490aac02024e1ecabdcd3e)

Author SHA1 Message Date
Matthew Wild ac64b6c978 s2smanager: Don't fire s2sin-destroyed for sessions that were never fully established (thanks Thomas) 16 years ago
Matthew Wild fa3d0fcbba s2smanager: Fire s2s{in,out}-destroyed when s2s connections are destroyed 16 years ago
Matthew Wild 8bbe120e4b s2smanager: Fire s2s{in,out}-established when new s2s connections are ready 16 years ago
Matthew Wild 85921c4877 sessionmanager, s2smanager: Give resting sessions a pass-through filter, fixes #202 16 years ago
Matthew Wild 3e7d7bbfc9 s2smanager: Remove dependency on eventmanager 16 years ago
Matthew Wild effb4e1b72 s2smanager: brackets, just to be sure :) 16 years ago
Matthew Wild 02f918526b s2smanager: Only bounce real stanzas on s2s failure, not dialback and friends (thanks elghinn) 16 years ago
Matthew Wild e2772919dd s2smanager: Handle disallow_s2s for incoming streams as well as outgoing 16 years ago
Matthew Wild 56c310f30c s2smanager: Lower default DNS timeout to 15s (it's now a per-DNS-server timeout, rather than total timeout), use net.dns's new timeout system, and remove our custom timeout handlers 16 years ago
Matthew Wild 1309f761cb s2smanager: Register outgoing connection with the connection listener only after initializing filters (thanks darkrain, dersd) 16 years ago
Matthew Wild e3fa34385a s2smanager: Don't attempt to connect to a nil host (for whatever reason... invalid DNS record perhaps?) (thanks dersd) 16 years ago
Matthew Wild 4a2bfd9051 s2smanager: Fix logging for outgoing sessions to also log pre-filtered data 16 years ago
Matthew Wild 816598f46e s2smanager: Move 'sending' debug log message so that it sees the pre-filtered stanzas 16 years ago
Matthew Wild ef6c6f531d s2smanager: Remove potentially misleading log message (thanks albert) 16 years ago
Matthew Wild cb5b772427 s2smanager: Add filters for outgoing bytes and stanzas 16 years ago
Matthew Wild ad6a65efa1 stanza_router, s2smanager, modulemanager: Fix for handling of the default namespace on stanzas, causing sometimes jabber:client to be sent over s2s, and accepted 16 years ago
Matthew Wild 2bc0606453 Update copyright headers for 2010 16 years ago
Matthew Wild 6fc597e709 sessionmanager, s2smanager: Add type of ?2s_destroyed to resting sessions (fixes a logging traceback, thanks Flo) 16 years ago
Matthew Wild fb803e1408 s2smanager: Remove the infamous 'as per RFC' log message entirely (it happens too often to be useful) 16 years ago
Matthew Wild 03734de797 s2smanager: Don't re-destroy destroyed sessions 16 years ago
Matthew Wild 82d5e5fd0c s2smanager: Add open_stream and close methods to resting sessions 16 years ago
Matthew Wild 8e4f70c4a2 sessionmanager, s2smanager: Close session on </stream:stream> 16 years ago
Matthew Wild 7b445486a0 sessionmanager, s2smanager: Destroyed sessions are now simply resting (not dead) until they are collected - prevents a whole class of tracebacks 16 years ago
Matthew Wild f713f78045 s2smanager: Log and fail gracefully when unable to create socket for outgoing s2s connection (thanks foucault) 16 years ago
Matthew Wild 1ac7b7a3b7 s2smanager: Fix for the logic SRV record priority comparison (thanks darkrain) 16 years ago
Matthew Wild 87ff54c752 s2smanager: Use s2smanager log() if session doesn't have a logger (thanks Flo) 16 years ago
Matthew Wild 9c1222b34e s2smanager: Use s2smanager log() if session doesn't have a logger (thanks Flo) 16 years ago
Matthew Wild fee6a443f9 sessionmanager, s2smanager: Fix for syntax of null_data_handler() (thanks Nolan) 16 years ago
Matthew Wild a76e149c1c sessionmanager, s2smanager: Give sessions dummy data handlers that log when data is received by a destroyed session 16 years ago
Waqas Hussain 1445574fd3 s2smanager, mod_compression, mod_tls: Changed event.session to event.origin for s2s-stream-features event for consistency. 16 years ago
Matthew Wild 9f2b093567 s2smanager: Update for new server SSL API (don't pass a sslctx) 16 years ago
Matthew Wild 5586351c7e s2smanager: Fix syntax error) 16 years ago
Matthew Wild 5ca850a51c s2smanager: require_s2s_encryption -> s2s_require_encryption 16 years ago
Matthew Wild 4a7e2575df s2smanager: Make require_s2s_encryption do what it says on the tin 16 years ago
Matthew Wild 74ceb83cca s2smanager: Whitespace 16 years ago
Matthew Wild 952317223d s2smanager: Log error and fail gracefully if we can't open a socket for an outgoing s2s connection (thanks foucault) 16 years ago
Matthew Wild c29137a1b1 s2smanager: No-one noticed that Prosody stopped sending to/from on stream headers recently? :) 16 years ago
Matthew Wild 0b4f0121a1 s2smanager: Fix syntax error) 16 years ago
Matthew Wild 54f4000c5a s2smanager: require_s2s_encryption -> s2s_require_encryption 16 years ago
Matthew Wild d169b18350 s2smanager: Make require_s2s_encryption do what it says on the tin 16 years ago
Matthew Wild 0d8ce51b78 s2smanager: Split sending of stream header into a :open_stream() method 16 years ago
Matthew Wild 801cc75c57 s2smanager: Allow new_outgoing() to create sessions without automatically connecting them (set 3rd parameters to false) 16 years ago
Paul Aurich 92b2d54b4b s2smanager: Stamp a 'to' on the reply stream:stream. This makes prosody happy. 16 years ago
Paul Aurich b67695c401 s2smanager: Stamp a 'to' on the reply stream:stream. This makes prosody happy. 16 years ago
Matthew Wild 4b75f2857c s2smanager, hostmanager: Make dialback secrets per-host 16 years ago
Matthew Wild cddb59f542 s2smanager: Trim trailing whitespace 16 years ago
Matthew Wild 5226f7e43a s2smanager: Give reasons to destroy_session in more cases, including when DNS lookup fails 16 years ago
Matthew Wild 90a4059638 s2smanager: Give reasons to destroy_session in more cases, including when DNS lookup fails 16 years ago
Matthew Wild 8c41e63005 s2smanager: Send reply stream header only after checking we serve this host (sorry darkrain... :) ) 16 years ago
Matthew Wild 6aaad6c768 Backed out changeset 78c5cb163ea9, to fix another way. Haven't done this for a while :) 16 years ago