aboutsummaryrefslogtreecommitdiffstats
path: root/core/s2smanager.lua
Commit message (Collapse)AuthorAgeFilesLines
* s2smanager: Send reply stream header only after checking we serve this host ↵Matthew Wild2009-12-171-4/+4
| | | | (sorry darkrain... :) )
* s2smanager: Don't tostring() the data before sending, sends2s already does this.Matthew Wild2009-11-211-1/+1
|
* s2smanager: Log and fail gracefully when unable to create socket for ↵Matthew Wild2010-02-251-0/+5
| | | | outgoing s2s connection (thanks foucault)
* s2smanager: Fix for the logic SRV record priority comparison (thanks darkrain)Matthew Wild2010-02-251-1/+3
|
* s2smanager: Log warning when trying to send a stanza from a host we don't ↵Matthew Wild2009-11-251-0/+4
| | | | serve, instead of a traceback (thanks stpeter)
* s2smanager: Fail outgoing s2s connection if hostname does not pass ↵Matthew Wild2009-11-201-1/+6
| | | | idna_to_ascii(), thanks Flo + waqas
* s2smanager: Queue db:verify unless we already sent a db:result (if we had ↵Matthew Wild2009-11-201-5/+1
| | | | 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.
* s2smanager: Use session-specific logger to log outgoing data on outgoing s2s ↵Matthew Wild2009-10-181-1/+1
| | | | connections
* s2smanager: Add incoming_s2s to the prosody objectMatthew Wild2009-10-171-0/+1
|
* s2smanager: Fix access of 'config' global without requiring configmanagerMatthew Wild2009-10-161-1/+1
|
* s2smanager: Make s2s-stream-features a per-host eventMatthew Wild2009-10-081-1/+6
|
* s2smanager: Don't send version=1.0 in reply to incoming stream tag if they ↵Matthew Wild2009-10-061-1/+1
| | | | didn't advertise 1.0 (makes happy some old ejabberd versions)
* s2smanager: Improve log message on missing to/from in stream headerMatthew Wild2009-10-061-1/+3
|
* s2smanager: Mark session as secure if it was negotiating TLS and opens a new ↵Matthew Wild2009-10-051-0/+4
| | | | stream
* Specify XMPP version on response stream to incoming s2s connection.Paul Aurich2009-10-031-1/+1
|
* Minor changes; outgoing TLS works.Paul Aurich2009-10-031-1/+2
|
* s2smanager: Small commentMatthew Wild2009-10-041-0/+1
|
* s2smanager: Don't wait for stream:features from non-XMPP-1.0 hostsMatthew Wild2009-10-041-4/+7
|
* s2smanager: Send stream:features for incoming s2s connections which support ↵Matthew Wild2009-10-041-2/+6
| | | | XMPP 1.0
* s2smanager: Give outgoing sessions a host field (the local one)Matthew Wild2009-10-041-1/+3
|
* Merge with 0.5Matthew Wild2009-09-271-7/+7
|\
| * core.s2smanager: Always use last record in the DNS cacheMatthew Wild2009-09-271-7/+7
| |
* | Merge with 0.5Matthew Wild2009-09-211-1/+5
|\|
| * core.s2smanager: Don't recurse CNAMEs infinitely :)Matthew Wild2009-09-211-1/+5
| |
* | Merge with 0.5Matthew Wild2009-09-201-0/+22
|\|
| * s2smanager: Timeout unauthed s2s connectionsMatthew Wild2009-09-201-0/+22
| |
* | Merge with 0.5Matthew Wild2009-09-191-1/+11
|\|
| * s2smanager: Compatibility with domains which use CNAMEsMatthew Wild2009-09-191-1/+11
| |
* | Merge with 0.5Matthew Wild2009-09-191-1/+29
|\|
| * s2smanager: Pass A-record lookups through adns moduleMatthew Wild2009-09-191-1/+29
| |
* | core.s2smanager, xmppserver_listener: Move the responsibility of setting ↵Matthew Wild2009-08-161-0/+1
|/ | | | session.log from the latter to the former for incoming sessions (outgoing are already like this)
* Remove version number from copyright headersMatthew Wild2009-07-101-1/+1
|
* s2smanager: Fix to correctly bounce stanzas if first connection attempt ↵Matthew Wild2009-07-081-2/+9
| | | | fails instantly
* s2smanager: Log the hostname and address when s2s connection fails instantlyMatthew Wild2009-07-031-1/+1
|
* Send xml:lang in stream headers, fixes #78Matthew Wild2009-07-011-1/+1
|
* s2smanager: Remove srv_hosts from session when connected, this fixes ↵Matthew Wild2009-06-191-0/+2
| | | | attempting to reconnect s2s sessions when they are closed during shutdown
* s2smanager: Use a UUID as the dialback secretWaqas Hussain2009-06-041-1/+1
|
* s2smanager: Timeout DNS requests after 60 seconds (or dns_timeout in config)Matthew Wild2009-05-261-2/+14
|
* s2smanager: Only send reply </stream:stream> when connection is still openMatthew Wild2009-05-261-1/+3
|
* s2smanager: Miscellaneous logging improvements, changing levels, improving ↵Matthew Wild2009-04-301-6/+6
| | | | messages and using session loggers where possible
* core.s2smanager: Buffer data sent before connectionMatthew Wild2009-04-201-0/+31
|
* core.s2smanager: Logging improvementsMatthew Wild2009-04-201-1/+9
|
* core.s2smanager: Don't initiate dialback if we don't have a connection yetMatthew Wild2009-04-121-1/+1
|
* Remove more debugging code which was accidentally committed (don't trust hg)Matthew Wild2009-04-101-2/+0
|
* core.s2smanager: Remove some debuggingMatthew Wild2009-04-101-8/+2
|
* MergeMatthew Wild2009-04-101-21/+45
|
* core.s2smanager: Look away... wait for it... now! Hopefully s2s should be ↵Matthew Wild2009-04-081-1/+1
| | | | back to normal.
* core.s2smanager: Check for valid host and port before attempting connectionMatthew Wild2009-04-061-0/+5
|
* sessionmanager, s2smanager, mod_component: Send reply </stream:stream> when ↵Matthew Wild2009-04-051-0/+5
| | | | client closes stream
* Fixed: Some nil access bugsWaqas Hussain2009-03-301-2/+2
|