aboutsummaryrefslogtreecommitdiffstats
path: root/core/s2smanager.lua
Commit message (Collapse)AuthorAgeFilesLines
* s2smanager: Remove the infamous 'as per RFC' log message entirely (it ↵Matthew Wild2010-03-181-6/+0
| | | | happens too often to be useful)
* Merge 0.6.2/waqas with 0.6.2/MattJMatthew Wild2010-03-031-0/+3
|\
| * sessionmanager, s2smanager: Fix for syntax of null_data_handler() (thanks Nolan)Matthew Wild2010-02-121-1/+1
| |
| * sessionmanager, s2smanager: Give sessions dummy data handlers that log when ↵Matthew Wild2010-02-121-0/+3
| | | | | | | | data is received by a destroyed session
* | s2smanager: Use s2smanager log() if session doesn't have a logger (thanks Flo)Matthew Wild2010-02-191-1/+1
| |
* | s2smanager: Fix syntax error)Matthew Wild2010-01-301-1/+1
| |
* | s2smanager: require_s2s_encryption -> s2s_require_encryptionMatthew Wild2010-01-301-1/+1
| |
* | s2smanager: Make require_s2s_encryption do what it says on the tinMatthew Wild2010-01-301-0/+10
| |
* | s2smanager: Stamp a 'to' on the reply stream:stream. This makes prosody happy.Paul Aurich2010-01-031-1/+1
| |
* | s2smanager: Give reasons to destroy_session in more cases, including when ↵Matthew Wild2009-12-171-2/+2
| | | | | | | | DNS lookup fails
* | s2smanager: Have both destroy_session and bounce_sendq accept a reason ↵Matthew Wild2009-12-171-3/+6
| | | | | | | | string to include in bounced stanzas
* | 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
|