aboutsummaryrefslogtreecommitdiffstats
path: root/core/s2smanager.lua
Commit message (Collapse)AuthorAgeFilesLines
...
* | s2smanager: No-one noticed that Prosody stopped sending to/from on stream ↵Matthew Wild2010-01-191-1/+1
| | | | | | | | headers recently? :)
* | s2smanager: Split sending of stream header into a :open_stream() methodMatthew Wild2010-01-091-2/+11
| |
* | s2smanager: Allow new_outgoing() to create sessions without automatically ↵Matthew Wild2010-01-041-3/+5
| | | | | | | | connecting them (set 3rd parameters to false)
* | s2smanager: Stamp a 'to' on the reply stream:stream. This makes prosody happy.Paul Aurich2010-01-031-1/+1
| |
* | s2smanager, hostmanager: Make dialback secrets per-hostMatthew Wild2010-01-031-2/+1
| |
* | s2smanager: Trim trailing whitespaceMatthew Wild2010-01-031-7/+7
| |
* | s2smanager: Give reasons to destroy_session in more cases, including when ↵Matthew Wild2009-12-171-2/+2
| | | | | | | | DNS lookup fails
* | Merge with backout branchMatthew Wild2009-12-171-1/+0
|\ \
| * | s2smanager: More whitespaceMatthew Wild2009-12-171-3/+1
| | |
* | | s2smanager: Send reply stream header only after checking we serve this host ↵Matthew Wild2009-12-171-4/+4
| | | | | | | | | | | | (sorry darkrain... :) )
* | | Backed out changeset 78c5cb163ea9, to fix another way. Haven't done this for ↵Matthew Wild2009-12-171-1/+2
|/ / | | | | | | a while :)
* | s2smanager: Mark stream as opened sooner, this prevents a duplicated stream ↵Matthew Wild2009-12-171-2/+1
| | | | | | | | header on host-unknown errors (thanks darkrain and his mail server)
* | s2smanager: WhitespaceMatthew Wild2009-12-171-1/+0
| |
* | s2smanager: Have both destroy_session and bounce_sendq accept a reason ↵Matthew Wild2009-12-171-3/+6
| | | | | | | | string to include in bounced stanzas
* | s2smanager: Allow configuration of the dialback_secret in the configMatthew Wild2009-11-261-2/+1
| |
* | Merge with 0.6Matthew Wild2009-11-251-0/+4
|\|
| * 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: Fix syntax error introduced in mergeMatthew Wild2009-11-221-1/+1
| |
* | Merge with trunkMatthew Wild2009-11-221-2/+2
|\ \
| * | s2smanager: Don't log full stanza when sending outwardsMatthew Wild2009-11-211-2/+2
| | |
| * | s2smanager: Don't tostring() the data before sending, sends2s already does this.Matthew Wild2009-11-211-1/+1
| |/
* / s2smanager: Update for new net.server API (s2s still doesn't work with ↵Matthew Wild2009-11-221-3/+3
|/ | | | libevent for other reasons)
* 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