aboutsummaryrefslogtreecommitdiffstats
path: root/core/s2smanager.lua
Commit message (Collapse)AuthorAgeFilesLines
* core.s2smanager: Fix check_cert_status() for when the stream has no from attrKim Alvefur2012-02-211-1/+6
|
* s2smanager: Log the host when marking it authenticatedPaul Aurich2012-01-241-1/+1
|
* s2smanager: Update to newer luasecPaul Aurich2010-12-061-2/+4
|
* s2smanager: Fix letter case in log message (thanks darkrain)Matthew Wild2011-06-051-1/+1
|
* s2smanager: Log reason when destroying a session.Waqas Hussain2011-05-071-1/+1
|
* s2smanager: Drop some log messages to debug level from info/warnMatthew Wild2011-02-221-2/+2
|
* Merge 0.8->trunkWaqas Hussain2011-01-291-1/+2
|\
| * s2smanager: Change 'Connection failed' error message text to ↵Matthew Wild2011-01-261-1/+2
| | | | | | | | 'Server-to-server connection failed' (thanks Paul)
* | Merge 0.8->trunkMatthew Wild2011-01-101-5/+4
|\|
| * 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
|\|