aboutsummaryrefslogtreecommitdiffstats
path: root/core/s2smanager.lua
Commit message (Collapse)AuthorAgeFilesLines
...
| * s2smanager: Don't bounce error replies for error and result stanzas.Waqas Hussain2011-01-101-5/+4
| |
| * s2smanager: Destroy session on immediate failure of a connection attempt ↵Matthew Wild2010-12-241-1/+7
| | | | | | | | (e.g. inability to create sockets)
| * s2smanager: Handle DNS lookup error in response handlerMatthew Wild2010-12-241-2/+3
| |
| * s2smanager: send_to_host(): Handle already-destroyed session and bounce ↵Matthew Wild2010-12-241-1/+4
| | | | | | | | stanza accordingly
| * s2smanager: new_outgoing(): Destroy session if first connection attempt ↵Matthew Wild2010-12-241-1/+5
| | | | | | | | fails immediately (e.g. can't create sockets)
| * s2smanager: Give all new outgoing s2s sessions a close method by default ↵Matthew Wild2010-12-241-0/+2
| | | | | | | | (destroy_session)
| * s2smanager: Add a missing semi-colonMatthew Wild2010-12-241-1/+1
| |
| * s2smanager: destroy_session(): Pass reason to retire_session() and return ↵Matthew Wild2010-12-241-1/+2
| | | | | | | | true on successful destruction
| * s2smanager: retire_session(): Add a 'reason' parameterMatthew Wild2010-12-241-1/+3
| |
| * s2smanager: session.send(): Return the result of send_to_host() (and ↵Matthew Wild2010-12-221-1/+1
| | | | | | | | incidentally make this a tail call \o/)
| * s2smanager: send_to_host(): Return false on failure, and true otherwiseMatthew Wild2010-12-221-0/+3
| |
* | s2smanager: Destroy session on immediate failure of a connection attempt ↵Matthew Wild2010-12-241-1/+7
| | | | | | | | (e.g. inability to create sockets)
* | s2smanager: Handle DNS lookup error in response handlerMatthew Wild2010-12-241-2/+3
| |
* | s2smanager: send_to_host(): Handle already-destroyed session and bounce ↵Matthew Wild2010-12-241-1/+4
| | | | | | | | stanza accordingly
* | s2smanager: new_outgoing(): Destroy session if first connection attempt ↵Matthew Wild2010-12-241-1/+5
| | | | | | | | fails immediately (e.g. can't create sockets)
* | s2smanager: Give all new outgoing s2s sessions a close method by default ↵Matthew Wild2010-12-241-0/+2
| | | | | | | | (destroy_session)
* | s2smanager: Add a missing semi-colonMatthew Wild2010-12-241-1/+1
| |
* | s2smanager: destroy_session(): Pass reason to retire_session() and return ↵Matthew Wild2010-12-241-1/+2
| | | | | | | | true on successful destruction
* | s2smanager: retire_session(): Add a 'reason' parameterMatthew Wild2010-12-241-1/+3
| |
* | s2smanager: session.send(): Return the result of send_to_host() (and ↵Matthew Wild2010-12-221-1/+1
| | | | | | | | incidentally make this a tail call \o/)
* | s2smanager: send_to_host(): Return false on failure, and true otherwiseMatthew Wild2010-12-221-0/+3
| |
* | core.s2smanager, mod_console, mod_saslauth, util.certverification: rename ↵Kim Alvefur2010-12-121-1/+1
| | | | | | | | util.certverification to util.x509
* | s2smanager: Check for getpeercertificate availability (for old LuaSecs)Matthew Wild2010-11-271-1/+4
| |
* | s2s: SASL EXTERNALPaul Aurich2010-11-211-2/+36
|/
* s2smanager: Compatibility hack for when not using dialbackPaul Aurich2010-11-211-0/+2
|
* Monster whitespace commit (beware the whitespace monster).Waqas Hussain2010-10-161-4/+2
|
* s2smanager: Don't fire s2sin-destroyed for sessions that were never fully ↵Matthew Wild2010-09-051-1/+1
| | | | established (thanks Thomas)
* s2smanager: Fire s2s{in,out}-destroyed when s2s connections are destroyedMatthew Wild2010-09-051-0/+13
|
* s2smanager: Fire s2s{in,out}-established when new s2s connections are readyMatthew Wild2010-08-301-1/+10
|
* sessionmanager, s2smanager: Give resting sessions a pass-through filter, ↵Matthew Wild2010-08-221-0/+1
| | | | fixes #202
* s2smanager: Remove dependency on eventmanagerMatthew Wild2010-08-031-1/+1
|
* s2smanager: brackets, just to be sure :)Matthew Wild2010-08-031-1/+1
|
* s2smanager: Only bounce real stanzas on s2s failure, not dialback and ↵Matthew Wild2010-08-031-1/+2
| | | | friends (thanks elghinn)
* s2smanager: Handle disallow_s2s for incoming streams as well as outgoingMatthew Wild2010-07-161-4/+16
|
* s2smanager: Lower default DNS timeout to 15s (it's now a per-DNS-server ↵Matthew Wild2010-07-051-15/+3
| | | | timeout, rather than total timeout), use net.dns's new timeout system, and remove our custom timeout handlers
* Merge 0.7->trunkMatthew Wild2010-07-021-1/+1
|\
| * s2smanager: Don't attempt to connect to a nil host (for whatever reason... ↵Matthew Wild2010-07-021-1/+1
| | | | | | | | invalid DNS record perhaps?) (thanks dersd)
* | s2smanager: Register outgoing connection with the connection listener only ↵Matthew Wild2010-07-021-4/+4
| | | | | | | | after initializing filters (thanks darkrain, dersd)
* | s2smanager: Fix logging for outgoing sessions to also log pre-filtered dataMatthew Wild2010-06-131-1/+1
| |
* | s2smanager: Move 'sending' debug log message so that it sees the ↵Matthew Wild2010-06-101-1/+1
| | | | | | | | pre-filtered stanzas
* | Merge 0.7->trunkMatthew Wild2010-06-031-1/+0
|\|
| * s2smanager: Remove potentially misleading log message (thanks albert)Matthew Wild2010-06-031-1/+0
| |
* | s2smanager: Add filters for outgoing bytes and stanzasMatthew Wild2010-06-021-2/+29
|/
* Merge 0.6->0.7Matthew Wild2010-03-301-2/+2
|\
| * stanza_router, s2smanager, modulemanager: Fix for handling of the default ↵Matthew Wild2010-03-301-2/+2
| | | | | | | | namespace on stanzas, causing sometimes jabber:client to be sent over s2s, and accepted
* | Merge 0.6->0.7Matthew Wild2010-03-221-2/+2
|\|
| * Update copyright headers for 2010Matthew Wild2010-03-221-2/+2
| |
* | sessionmanager, s2smanager: Add type of ?2s_destroyed to resting sessions ↵Matthew Wild2010-03-221-0/+1
| | | | | | | | (fixes a logging traceback, thanks Flo)
* | Merge 0.6->0.7Matthew Wild2010-03-181-5/+0
|\|
| * s2smanager: Remove the infamous 'as per RFC' log message entirely (it ↵Matthew Wild2010-03-181-6/+0
| | | | | | | | happens too often to be useful)