Commit Graph

275 Commits (020cd46f0341663d71ebdbd02f67032ddcb4a677)

Author SHA1 Message Date
Matthew Wild 8bacb473e3 s2smanager: Handle DNS lookup error in response handler 15 years ago
Matthew Wild 1f94e00889 s2smanager: send_to_host(): Handle already-destroyed session and bounce stanza accordingly 15 years ago
Matthew Wild f6844e23d7 s2smanager: new_outgoing(): Destroy session if first connection attempt fails immediately (e.g. can't create sockets) 15 years ago
Matthew Wild 1246a8c366 s2smanager: Give all new outgoing s2s sessions a close method by default (destroy_session) 15 years ago
Matthew Wild fd62766d14 s2smanager: Add a missing semi-colon 15 years ago
Matthew Wild 93e5343cdf s2smanager: destroy_session(): Pass reason to retire_session() and return true on successful destruction 15 years ago
Matthew Wild d01658b1af s2smanager: retire_session(): Add a 'reason' parameter 15 years ago
Matthew Wild 1547e93d28 s2smanager: session.send(): Return the result of send_to_host() (and incidentally make this a tail call \o/) 15 years ago
Matthew Wild 3c4f63db51 s2smanager: send_to_host(): Return false on failure, and true otherwise 15 years ago
Kim Alvefur 49298b499e core.s2smanager, mod_console, mod_saslauth, util.certverification: rename util.certverification to util.x509 15 years ago
Paul Aurich 2fa9066d42 s2smanager: Update to newer luasec 15 years ago
Matthew Wild cc5269517d s2smanager: Fix letter case in log message (thanks darkrain) 15 years ago
Waqas Hussain 9c62d4894f s2smanager: Log reason when destroying a session. 15 years ago
Matthew Wild 6d11c941c0 s2smanager: Drop some log messages to debug level from info/warn 15 years ago
Matthew Wild e5dfde383e s2smanager: Drop some log messages to debug level from info/warn 15 years ago
Matthew Wild 215af9f197 s2smanager: Change 'Connection failed' error message text to 'Server-to-server connection failed' (thanks Paul) 15 years ago
Waqas Hussain 2da3143c9d s2smanager: Don't bounce error replies for error and result stanzas. 15 years ago
Matthew Wild 84b19928a5 s2smanager: Destroy session on immediate failure of a connection attempt (e.g. inability to create sockets) 15 years ago
Matthew Wild ec15ee4979 s2smanager: Handle DNS lookup error in response handler 15 years ago
Matthew Wild 0f27eda0d6 s2smanager: send_to_host(): Handle already-destroyed session and bounce stanza accordingly 15 years ago
Matthew Wild 9502dc7be9 s2smanager: new_outgoing(): Destroy session if first connection attempt fails immediately (e.g. can't create sockets) 15 years ago
Matthew Wild 4d132026d0 s2smanager: Give all new outgoing s2s sessions a close method by default (destroy_session) 15 years ago
Matthew Wild 40fc886767 s2smanager: Add a missing semi-colon 15 years ago
Matthew Wild d47a1f622b s2smanager: destroy_session(): Pass reason to retire_session() and return true on successful destruction 15 years ago
Matthew Wild 208c7ca511 s2smanager: retire_session(): Add a 'reason' parameter 15 years ago
Matthew Wild c63e6361ad s2smanager: session.send(): Return the result of send_to_host() (and incidentally make this a tail call \o/) 15 years ago
Matthew Wild abb088f7c4 s2smanager: send_to_host(): Return false on failure, and true otherwise 15 years ago
Matthew Wild 37cf0024b2 s2smanager: Check for getpeercertificate availability (for old LuaSecs) 15 years ago
Paul Aurich ef8bc026b4 s2s: SASL EXTERNAL 15 years ago
Paul Aurich bb78d91827 s2smanager: Compatibility hack for when not using dialback 15 years ago
Waqas Hussain b7e51a203d Monster whitespace commit (beware the whitespace monster). 15 years ago
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