Commit Graph

59 Commits (8b979ccaf40ae38dbeaa5e7a4edb2e6d760fdffa)

Author SHA1 Message Date
Waqas Hussain b6e1405a9a Bounce stanza errors on failed s2s 17 years ago
Matthew Wild 2e83fd69f7 Add support for dialback piggy-backing. Fixes #37. Thanks to CShadowRun for helping me test :) 17 years ago
Matthew Wild d3ad4a5123 0.1 -> 0.2 17 years ago
Matthew Wild 2b0083790b Slightly more secure dialback secret generation 17 years ago
Matthew Wild b3e9fc629c Remove print()s from sessionmanager and s2smanager 17 years ago
Matthew Wild 7c9f4818c3 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. 17 years ago
Matthew Wild ffd2676218 Fix for s2s with jabberd2 (we weren't routing db:verify's over s2sout_unauthed) 17 years ago
Matthew Wild 533449b6d2 Don't send stream:features to incoming s2s connections 17 years ago
Matthew Wild bf3bb39ea3 Fix logger ids for c2s and s2sout 17 years ago
Matthew Wild 0c5cc83112 Insert copyright/license headers 17 years ago
Matthew Wild 77c094c25a No more reading 1 byte at a time from sockets 17 years ago
Waqas Hussain 85a3bc3443 Switched from md5 to sha256 for dialback key generation 17 years ago
Matthew Wild 7d402ac968 Log reason for connection failure 17 years ago
Matthew Wild fba46bce30 (Basic) IDNA and SRV fallback support 17 years ago
Matthew Wild 5efcee9d4d Remove or comment useless prints, or change them to log() 17 years ago
Matthew Wild 5748442766 Remove version=1.0 on s2s stream headers, again. 17 years ago
Matthew Wild 2cad7943e5 Remove an old FIXME comment 17 years ago
Matthew Wild 5a46bff5b2 Comments and logging fixes 17 years ago
Matthew Wild 093c9c9fa0 Send version=1.0 again in s2s stream header 17 years ago
Matthew Wild dd6a298f93 Fix for setting the correct host on the socket, seems to fix s2s with XCP 17 years ago
Matthew Wild 43c5342160 Don't send version 1.0. Who cares about Gmail? 17 years ago
Matthew Wild b27c563266 Send version=1.0 in s2s stream header. Send s2s stream:features when in 1.0 mode. 17 years ago
Matthew Wild 9ab64fc855 Don't attempt to auth connection unless stanzas are being sent across it 17 years ago
Matthew Wild f1966ba5b7 Log sent s2s stanzas 17 years ago
Matthew Wild 801e99fcbb We have SRV resolving \o/ 17 years ago
Matthew Wild 99b617b8b6 session:disconnect() -> session:close() for consistency with other Lua APIs 17 years ago
Matthew Wild 01c770997f Quite some changes, to: 17 years ago
Waqas Hussain 7c92b4e9a1 Fixed s2s manager's send queue to not store recieved stanza objects (as these can chnage after the send call) 17 years ago
Waqas Hussain 9318711f5f Log how many queued stanzas we send 17 years ago
Matthew Wild 1c704dcef7 Update hostname for identi.ca 17 years ago
Matthew Wild b06c5faec4 Remove some old unused (and empty) functions from s2smanager 17 years ago
Matthew Wild 22df06d27d Now outgoing s2s sessions are associated with their from_host, fixes #15 17 years ago
Matthew Wild 428fc65bbc Some more logging fixes 17 years ago
Matthew Wild 6d9485225a Yep, s2s definitely works now. This is just a small fix for logging... 17 years ago
Matthew Wild c374478423 I knew it ;) Fix sending error replies over s2s (though we shouldn't be error'ing on stream:features anyway) 17 years ago
Matthew Wild f980ba5734 Print out the stanza also 17 years ago
Matthew Wild 1b422e8f1d Fix for detecting when we are routing a stanza to ourself (I'm sure this has something to do with you, waqas...) 17 years ago
Matthew Wild 9acd51fbef Another small fix, for logging in s2smanager 17 years ago
Matthew Wild e110538068 Another small fix, for logging in s2smanager 17 years ago
Matthew Wild 3349550650 Mmm, s2s fixed :) 17 years ago
Matthew Wild 2a2cad9354 Missed importing a function in last commit 17 years ago
Matthew Wild a37d7db54f Change sending reply stream header to use top_tag() 17 years ago
Matthew Wild 564fb0420a Some s2s fixes. Now connect() does not block, and stanzas are not lost when connection is slow 17 years ago
Matthew Wild 074f86605d Move some code about so that we don't leave connections hanging if they hit the connection timeout 17 years ago
Matthew Wild a94c596c02 Prevent slow connects for s2s from blocking for so long 17 years ago
Matthew Wild eafc61c999 Fix some very misleading logging 17 years ago
Matthew Wild 63808314ef Just committing this warning, because I want to know if the problem really affects us 17 years ago
Waqas Hussain 66ae6ceaa8 Added resource priority handling, etc 17 years ago
Matthew Wild 4851756ca4 Fix s2s once and for all 17 years ago
Matthew Wild 7a2fc45f65 General fixes for s2s, to make it more robust (I hope), sending data to remote hosts sane (s2ssession.send() works as expected), recycle outgoing dialback connections, etc. 17 years ago