Commit Graph

85 Commits (041209a264222c8261ccff51df5f73bbbc23d6b8)

Author SHA1 Message Date
Matthew Wild 118883d655 Remove version number from copyright headers 17 years ago
Matthew Wild 25c8f0ffa4 s2smanager: Fix to correctly bounce stanzas if first connection attempt fails instantly 17 years ago
Matthew Wild 0bee1c3195 s2smanager: Log the hostname and address when s2s connection fails instantly 17 years ago
Matthew Wild 3dc21c4fc7 Send xml:lang in stream headers, fixes #78 17 years ago
Matthew Wild cd970ddf0d s2smanager: Remove srv_hosts from session when connected, this fixes attempting to reconnect s2s sessions when they are closed during shutdown 17 years ago
Waqas Hussain 6028056446 s2smanager: Use a UUID as the dialback secret 17 years ago
Matthew Wild 0172110483 s2smanager: Timeout DNS requests after 60 seconds (or dns_timeout in config) 17 years ago
Matthew Wild 7804582f2a s2smanager: Only send reply </stream:stream> when connection is still open 17 years ago
Matthew Wild 8f3b27b822 s2smanager: Miscellaneous logging improvements, changing levels, improving messages and using session loggers where possible 17 years ago
Matthew Wild 7b9dbf5747 core.s2smanager: Buffer data sent before connection 17 years ago
Matthew Wild 27ef148e70 core.s2smanager: Logging improvements 17 years ago
Matthew Wild 13db2a926b core.s2smanager: Don't initiate dialback if we don't have a connection yet 17 years ago
Matthew Wild e99f46bcda Remove more debugging code which was accidentally committed (don't trust hg) 17 years ago
Matthew Wild d95e52160f core.s2smanager: Remove some debugging 17 years ago
Matthew Wild 8ba629387a Merge 17 years ago
Matthew Wild 493839e2ac core.s2smanager: Look away... wait for it... now! Hopefully s2s should be back to normal. 17 years ago
Matthew Wild 12c59fd50c core.s2smanager: Check for valid host and port before attempting connection 17 years ago
Matthew Wild a27b839551 sessionmanager, s2smanager, mod_component: Send reply </stream:stream> when client closes stream 17 years ago
Waqas Hussain 2365831f7d Fixed: Some nil access bugs 17 years ago
Waqas Hussain 985a40227e Fixed: s2smanager: Apply nameprep on hostnames passed in stream tag (part of issue #57) 17 years ago
Matthew Wild c80f91dc02 0.3->0.4 17 years ago
Matthew Wild 1a7a72a9f6 core.s2smanager: Remove some old commented code, break a long line in 2 17 years ago
Matthew Wild c5ee166aa9 Update copyright notices for 2009 17 years ago
Matthew Wild f2d020191f 0.2->0.3 17 years ago
Matthew Wild bf3b96204d GPL->MIT! 17 years ago
Matthew Wild c0dbcb4389 Port to new server.lua, quite some changes, but I believe everything to be working 17 years ago
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