Log

core/s2smanager.lua @ 4330:520fcb333cba

description author age
s2smanager: Update to newer luasec Paul Aurich 2010-12-07
s2smanager: Fix letter case in log message (thanks darkrain) Matthew Wild 2011-06-05
s2smanager: Log reason when destroying a session. Waqas Hussain 2011-05-07
Merge 0.8->trunk Matthew Wild 2011-02-24
s2smanager: Drop some log messages to debug level from info/warn Matthew Wild 2011-02-22
s2smanager: Drop some log messages to debug level from info/warn Matthew Wild 2011-02-22
Merge 0.8->trunk Waqas Hussain 2011-01-28
s2smanager: Change 'Connection failed' error message text to 'Server-to-server connection failed' (thanks Paul) Matthew Wild 2011-01-26
Merge 0.8->trunk Matthew Wild 2011-01-10
s2smanager: Don't bounce error replies for error and result stanzas. Waqas Hussain 2011-01-10
Merge 0.8->trunk Matthew Wild 2011-01-06
s2smanager: Destroy session on immediate failure of a connection attempt (e.g. inability to create sockets) Matthew Wild 2010-12-24
s2smanager: Handle DNS lookup error in response handler Matthew Wild 2010-12-24
s2smanager: send_to_host(): Handle already-destroyed session and bounce stanza accordingly Matthew Wild 2010-12-24
s2smanager: new_outgoing(): Destroy session if first connection attempt fails immediately (e.g. can't create sockets) Matthew Wild 2010-12-24
s2smanager: Give all new outgoing s2s sessions a close method by default (destroy_session) Matthew Wild 2010-12-24
s2smanager: Add a missing semi-colon Matthew Wild 2010-12-24
s2smanager: destroy_session(): Pass reason to retire_session() and return true on successful destruction Matthew Wild 2010-12-24
s2smanager: retire_session(): Add a 'reason' parameter Matthew Wild 2010-12-24
s2smanager: session.send(): Return the result of send_to_host() (and incidentally make this a tail call \o/) Matthew Wild 2010-12-22
s2smanager: send_to_host(): Return false on failure, and true otherwise Matthew Wild 2010-12-22
s2smanager: Destroy session on immediate failure of a connection attempt (e.g. inability to create sockets) Matthew Wild 2010-12-24
s2smanager: Handle DNS lookup error in response handler Matthew Wild 2010-12-24
s2smanager: send_to_host(): Handle already-destroyed session and bounce stanza accordingly Matthew Wild 2010-12-24
s2smanager: new_outgoing(): Destroy session if first connection attempt fails immediately (e.g. can't create sockets) Matthew Wild 2010-12-24
s2smanager: Give all new outgoing s2s sessions a close method by default (destroy_session) Matthew Wild 2010-12-24
s2smanager: Add a missing semi-colon Matthew Wild 2010-12-24
s2smanager: destroy_session(): Pass reason to retire_session() and return true on successful destruction Matthew Wild 2010-12-24
s2smanager: retire_session(): Add a 'reason' parameter Matthew Wild 2010-12-24
s2smanager: session.send(): Return the result of send_to_host() (and incidentally make this a tail call \o/) Matthew Wild 2010-12-22
s2smanager: send_to_host(): Return false on failure, and true otherwise Matthew Wild 2010-12-22
core.s2smanager, mod_console, mod_saslauth, util.certverification: rename util.certverification to util.x509 Kim Alvefur 2010-12-12
s2smanager: Check for getpeercertificate availability (for old LuaSecs) Matthew Wild 2010-11-27
s2s: SASL EXTERNAL Paul Aurich 2010-11-22
s2smanager: Compatibility hack for when not using dialback Paul Aurich 2010-11-22
Monster whitespace commit (beware the whitespace monster). Waqas Hussain 2010-10-16
s2smanager: Don't fire s2sin-destroyed for sessions that were never fully established (thanks Thomas) Matthew Wild 2010-09-05
s2smanager: Fire s2s{in,out}-destroyed when s2s connections are destroyed Matthew Wild 2010-09-05
s2smanager: Fire s2s{in,out}-established when new s2s connections are ready Matthew Wild 2010-08-30
sessionmanager, s2smanager: Give resting sessions a pass-through filter, fixes #202 Matthew Wild 2010-08-22
s2smanager: Remove dependency on eventmanager Matthew Wild 2010-08-03
s2smanager: brackets, just to be sure :) Matthew Wild 2010-08-03
s2smanager: Only bounce real stanzas on s2s failure, not dialback and friends (thanks elghinn) Matthew Wild 2010-08-03
s2smanager: Handle disallow_s2s for incoming streams as well as outgoing Matthew Wild 2010-07-16
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 Matthew Wild 2010-07-05
Merge 0.7->trunk Matthew Wild 2010-07-02
s2smanager: Don't attempt to connect to a nil host (for whatever reason... invalid DNS record perhaps?) (thanks dersd) Matthew Wild 2010-07-02
s2smanager: Register outgoing connection with the connection listener only after initializing filters (thanks darkrain, dersd) Matthew Wild 2010-07-02
s2smanager: Fix logging for outgoing sessions to also log pre-filtered data Matthew Wild 2010-06-13
s2smanager: Move 'sending' debug log message so that it sees the pre-filtered stanzas Matthew Wild 2010-06-10
Merge 0.7->trunk Matthew Wild 2010-06-03
s2smanager: Remove potentially misleading log message (thanks albert) Matthew Wild 2010-06-03
s2smanager: Add filters for outgoing bytes and stanzas Matthew Wild 2010-06-02
Merge 0.6->0.7 Matthew Wild 2010-03-30
stanza_router, s2smanager, modulemanager: Fix for handling of the default namespace on stanzas, causing sometimes jabber:client to be sent over s2s, and accepted Matthew Wild 2010-03-30
Merge 0.6->0.7 Matthew Wild 2010-03-22
Update copyright headers for 2010 Matthew Wild 2010-03-22
sessionmanager, s2smanager: Add type of ?2s_destroyed to resting sessions (fixes a logging traceback, thanks Flo) Matthew Wild 2010-03-22
Merge 0.6->0.7 Matthew Wild 2010-03-18
s2smanager: Remove the infamous 'as per RFC' log message entirely (it happens too often to be useful) Matthew Wild 2010-03-18
Merge 0.6.2/waqas with 0.6.2/MattJ Matthew Wild 2010-03-03
sessionmanager, s2smanager: Fix for syntax of null_data_handler() (thanks Nolan) Matthew Wild 2010-02-12
sessionmanager, s2smanager: Give sessions dummy data handlers that log when data is received by a destroyed session Matthew Wild 2010-02-12
s2smanager: Use s2smanager log() if session doesn't have a logger (thanks Flo) Matthew Wild 2010-02-19
s2smanager: Fix syntax error) Matthew Wild 2010-01-30
s2smanager: require_s2s_encryption -> s2s_require_encryption Matthew Wild 2010-01-30
s2smanager: Make require_s2s_encryption do what it says on the tin Matthew Wild 2010-01-30
s2smanager: Stamp a 'to' on the reply stream:stream. This makes prosody happy. Paul Aurich 2010-01-03
s2smanager: Give reasons to destroy_session in more cases, including when DNS lookup fails Matthew Wild 2009-12-17
s2smanager: Have both destroy_session and bounce_sendq accept a reason string to include in bounced stanzas Matthew Wild 2009-12-17
s2smanager: Send reply stream header only after checking we serve this host (sorry darkrain... :) ) Matthew Wild 2009-12-17
s2smanager: Don't tostring() the data before sending, sends2s already does this. Matthew Wild 2009-11-21
s2smanager: Don't re-destroy destroyed sessions Matthew Wild 2010-03-14
s2smanager: Add open_stream and close methods to resting sessions Matthew Wild 2010-03-14
sessionmanager, s2smanager: Close session on </stream:stream> Matthew Wild 2010-03-11
sessionmanager, s2smanager: Destroyed sessions are now simply resting (not dead) until they are collected - prevents a whole class of tracebacks Matthew Wild 2010-03-08
Merge with 0.6 Matthew Wild 2010-02-25
s2smanager: Log and fail gracefully when unable to create socket for outgoing s2s connection (thanks foucault) Matthew Wild 2010-02-25
s2smanager: Fix for the logic SRV record priority comparison (thanks darkrain) Matthew Wild 2010-02-25
s2smanager: Use s2smanager log() if session doesn't have a logger (thanks Flo) Matthew Wild 2010-02-19
sessionmanager, s2smanager: Fix for syntax of null_data_handler() (thanks Nolan) Matthew Wild 2010-02-12
sessionmanager, s2smanager: Give sessions dummy data handlers that log when data is received by a destroyed session Matthew Wild 2010-02-12
s2smanager, mod_compression, mod_tls: Changed event.session to event.origin for s2s-stream-features event for consistency. Waqas Hussain 2010-02-11
s2smanager: Update for new server SSL API (don't pass a sslctx) Matthew Wild 2010-01-31
s2smanager: Fix syntax error) Matthew Wild 2010-01-30
s2smanager: require_s2s_encryption -> s2s_require_encryption Matthew Wild 2010-01-30
s2smanager: Make require_s2s_encryption do what it says on the tin Matthew Wild 2010-01-30
s2smanager: Whitespace Matthew Wild 2010-01-28
s2smanager: Log error and fail gracefully if we can't open a socket for an outgoing s2s connection (thanks foucault) Matthew Wild 2010-01-19
s2smanager: No-one noticed that Prosody stopped sending to/from on stream headers recently? :) Matthew Wild 2010-01-19
s2smanager: Split sending of stream header into a :open_stream() method Matthew Wild 2010-01-09
s2smanager: Allow new_outgoing() to create sessions without automatically connecting them (set 3rd parameters to false) Matthew Wild 2010-01-04
s2smanager: Stamp a 'to' on the reply stream:stream. This makes prosody happy. Paul Aurich 2010-01-03
s2smanager, hostmanager: Make dialback secrets per-host Matthew Wild 2010-01-03
s2smanager: Trim trailing whitespace Matthew Wild 2010-01-03
s2smanager: Give reasons to destroy_session in more cases, including when DNS lookup fails Matthew Wild 2009-12-17
Merge with backout branch Matthew Wild 2009-12-17
s2smanager: Send reply stream header only after checking we serve this host (sorry darkrain... :) ) Matthew Wild 2009-12-17
Backed out changeset 78c5cb163ea9, to fix another way. Haven't done this for a while :) Matthew Wild 2009-12-17
s2smanager: More whitespace Matthew Wild 2009-12-17
s2smanager: Mark stream as opened sooner, this prevents a duplicated stream header on host-unknown errors (thanks darkrain and his mail server) Matthew Wild 2009-12-17
s2smanager: Whitespace Matthew Wild 2009-12-17
s2smanager: Have both destroy_session and bounce_sendq accept a reason string to include in bounced stanzas Matthew Wild 2009-12-17
s2smanager: Allow configuration of the dialback_secret in the config Matthew Wild 2009-11-26
Merge with 0.6 Matthew Wild 2009-11-25
s2smanager: Log warning when trying to send a stanza from a host we don't serve, instead of a traceback (thanks stpeter) Matthew Wild 2009-11-25
s2smanager: Fix syntax error introduced in merge Matthew Wild 2009-11-22
Merge with trunk Matthew Wild 2009-11-22
s2smanager: Update for new net.server API (s2s still doesn't work with libevent for other reasons) Matthew Wild 2009-11-22
s2smanager: Don't log full stanza when sending outwards Matthew Wild 2009-11-21
s2smanager: Don't tostring() the data before sending, sends2s already does this. Matthew Wild 2009-11-21
s2smanager: Fail outgoing s2s connection if hostname does not pass idna_to_ascii(), thanks Flo + waqas Matthew Wild 2009-11-20
s2smanager: Queue db:verify unless we already sent a db:result (if we had then it can could a dialback deadlock). Also remove some redundant code which could cause a db:result to be sent while still negotiating features (e.g. TLS) and break things. Collectively these fix a 'random' s2s failure (usually with ejabberd for some reason) - resulting in an 'unbound prefix' XML error, or 'ssl handshake failure'. Was this commit message long enough? I think so. Matthew Wild 2009-11-20
s2smanager: Use session-specific logger to log outgoing data on outgoing s2s connections Matthew Wild 2009-10-18
s2smanager: Add incoming_s2s to the prosody object Matthew Wild 2009-10-17
s2smanager: Fix access of 'config' global without requiring configmanager Matthew Wild 2009-10-16
s2smanager: Make s2s-stream-features a per-host event Matthew Wild 2009-10-08
s2smanager: Don't send version=1.0 in reply to incoming stream tag if they didn't advertise 1.0 (makes happy some old ejabberd versions) Matthew Wild 2009-10-06
s2smanager: Improve log message on missing to/from in stream header Matthew Wild 2009-10-06
s2smanager: Mark session as secure if it was negotiating TLS and opens a new stream Matthew Wild 2009-10-05