Log

core/s2smanager.lua @ 2851:dcd1c0a90b2f

description author age
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
Specify XMPP version on response stream to incoming s2s connection. Paul Aurich 2009-10-04
Minor changes; outgoing TLS works. Paul Aurich 2009-10-04
s2smanager: Small comment Matthew Wild 2009-10-04
s2smanager: Don't wait for stream:features from non-XMPP-1.0 hosts Matthew Wild 2009-10-04
s2smanager: Send stream:features for incoming s2s connections which support XMPP 1.0 Matthew Wild 2009-10-04
s2smanager: Give outgoing sessions a host field (the local one) Matthew Wild 2009-10-04
Merge with 0.5 Matthew Wild 2009-09-27
core.s2smanager: Always use last record in the DNS cache Matthew Wild 2009-09-27
Merge with 0.5 Matthew Wild 2009-09-21
core.s2smanager: Don't recurse CNAMEs infinitely :) Matthew Wild 2009-09-21
Merge with 0.5 Matthew Wild 2009-09-20
s2smanager: Timeout unauthed s2s connections Matthew Wild 2009-09-20
Merge with 0.5 Matthew Wild 2009-09-19
s2smanager: Compatibility with domains which use CNAMEs Matthew Wild 2009-09-19
Merge with 0.5 Matthew Wild 2009-09-19
s2smanager: Pass A-record lookups through adns module Matthew Wild 2009-09-19
core.s2smanager, xmppserver_listener: Move the responsibility of setting session.log from the latter to the former for incoming sessions (outgoing are already like this) Matthew Wild 2009-08-16
Remove version number from copyright headers Matthew Wild 2009-07-10
s2smanager: Fix to correctly bounce stanzas if first connection attempt fails instantly Matthew Wild 2009-07-08
s2smanager: Log the hostname and address when s2s connection fails instantly Matthew Wild 2009-07-03
Send xml:lang in stream headers, fixes #78 Matthew Wild 2009-07-01
s2smanager: Remove srv_hosts from session when connected, this fixes attempting to reconnect s2s sessions when they are closed during shutdown Matthew Wild 2009-06-19
s2smanager: Use a UUID as the dialback secret Waqas Hussain 2009-06-04
s2smanager: Timeout DNS requests after 60 seconds (or dns_timeout in config) Matthew Wild 2009-05-26
s2smanager: Only send reply </stream:stream> when connection is still open Matthew Wild 2009-05-26
s2smanager: Miscellaneous logging improvements, changing levels, improving messages and using session loggers where possible Matthew Wild 2009-04-30
core.s2smanager: Buffer data sent before connection Matthew Wild 2009-04-20
core.s2smanager: Logging improvements Matthew Wild 2009-04-20
core.s2smanager: Don't initiate dialback if we don't have a connection yet Matthew Wild 2009-04-12
Remove more debugging code which was accidentally committed (don't trust hg) Matthew Wild 2009-04-10
core.s2smanager: Remove some debugging Matthew Wild 2009-04-10
Merge Matthew Wild 2009-04-10
core.s2smanager: Look away... wait for it... now! Hopefully s2s should be back to normal. Matthew Wild 2009-04-08
core.s2smanager: Check for valid host and port before attempting connection Matthew Wild 2009-04-06
sessionmanager, s2smanager, mod_component: Send reply </stream:stream> when client closes stream Matthew Wild 2009-04-05
Fixed: Some nil access bugs Waqas Hussain 2009-03-30
Fixed: s2smanager: Apply nameprep on hostnames passed in stream tag (part of issue #57) Waqas Hussain 2009-03-29
0.3->0.4 Matthew Wild 2009-03-20
core.s2smanager: Remove some old commented code, break a long line in 2 Matthew Wild 2009-03-02
Update copyright notices for 2009 Matthew Wild 2009-01-30
0.2->0.3 Matthew Wild 2009-01-30
GPL->MIT! Matthew Wild 2009-01-30
Port to new server.lua, quite some changes, but I believe everything to be working Matthew Wild 2009-01-17
Bounce stanza errors on failed s2s Waqas Hussain 2008-12-18
Add support for dialback piggy-backing. Fixes #37. Thanks to CShadowRun for helping me test :) Matthew Wild 2008-12-13
0.1 -> 0.2 Matthew Wild 2008-12-10
Slightly more secure dialback secret generation Matthew Wild 2008-12-07
Remove print()s from sessionmanager and s2smanager Matthew Wild 2008-12-06
Remove an incorrect line which I didn't add, and fix the proper way. Corrects the sending of stanzas over unauthed s2sout's. Also fixes mod_dialback to send stanzas and not strings. Matthew Wild 2008-12-05
Fix for s2s with jabberd2 (we weren't routing db:verify's over s2sout_unauthed) Matthew Wild 2008-12-05
Don't send stream:features to incoming s2s connections Matthew Wild 2008-12-04
Fix logger ids for c2s and s2sout Matthew Wild 2008-12-04
Insert copyright/license headers Matthew Wild 2008-12-03
No more reading 1 byte at a time from sockets Matthew Wild 2008-11-28
Switched from md5 to sha256 for dialback key generation Waqas Hussain 2008-11-27
Log reason for connection failure Matthew Wild 2008-11-26
(Basic) IDNA and SRV fallback support Matthew Wild 2008-11-26
Remove or comment useless prints, or change them to log() Matthew Wild 2008-11-20
Remove version=1.0 on s2s stream headers, again. Matthew Wild 2008-11-20
Remove an old FIXME comment Matthew Wild 2008-11-19
Comments and logging fixes Matthew Wild 2008-11-19
Send version=1.0 again in s2s stream header Matthew Wild 2008-11-19
Fix for setting the correct host on the socket, seems to fix s2s with XCP Matthew Wild 2008-11-19
Don't send version 1.0. Who cares about Gmail? Matthew Wild 2008-11-19
Send version=1.0 in s2s stream header. Send s2s stream:features when in 1.0 mode. Matthew Wild 2008-11-19
Don't attempt to auth connection unless stanzas are being sent across it Matthew Wild 2008-11-19
Log sent s2s stanzas Matthew Wild 2008-11-19
We have SRV resolving \o/ Matthew Wild 2008-11-18
session:disconnect() -> session:close() for consistency with other Lua APIs Matthew Wild 2008-11-18
Quite some changes, to: Matthew Wild 2008-11-18
Fixed s2s manager's send queue to not store recieved stanza objects (as these can chnage after the send call) Waqas Hussain 2008-11-17
Log how many queued stanzas we send Waqas Hussain 2008-11-15
Update hostname for identi.ca Matthew Wild 2008-11-14
Remove some old unused (and empty) functions from s2smanager Matthew Wild 2008-11-14
Now outgoing s2s sessions are associated with their from_host, fixes #15 Matthew Wild 2008-11-14
Some more logging fixes Matthew Wild 2008-11-14
Yep, s2s definitely works now. This is just a small fix for logging... Matthew Wild 2008-11-14