aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_tls.lua
Commit message (Collapse)AuthorAgeFilesLines
* mod_tls: Log reasons for not being able to do TLSKim Alvefur2017-02-151-0/+2
|
* mod_tls: Check that connection has starttls method first to prevent offering ↵Kim Alvefur2017-01-271-3/+3
| | | | starttls over tls (thanks Remko and Tobias)
* mod_tls: Return session.ssl_ctx if not nil, like when doing the full session ↵Kim Alvefur2017-01-251-3/+3
| | | | type check
* mod_tls: Add debug logging for when TLS should be doable but no ssl context ↵Kim Alvefur2017-01-251-0/+4
| | | | was set
* mod_tls: Verify that TLS is available before proceedingKim Alvefur2017-01-231-1/+1
|
* mod_tls: Only accept <proceed> on outgoing s2s connectionsKim Alvefur2017-01-231-5/+7
|
* mod_tls: Ignore unused argument [luacheck]Kim Alvefur2016-11-021-1/+1
|
* mod_tls: Fix ssl option fallback to a "parent" host if current host does not ↵Kim Alvefur2015-11-091-2/+2
| | | | have ssl options set (thanks 70b1)
* mod_tls: Remove unused reference to global ssl config option (certmanager ↵Kim Alvefur2015-11-091-1/+0
| | | | adds that to the context)
* mod_tls: Fix inhertinance of 'ssl' option from "parent" host to subdomain ↵Kim Alvefur2015-09-151-10/+12
| | | | (fixes #511)
* mod_tls: Treat session.ssl_ctx being false as a signal that TLS is disabledKim Alvefur2015-05-181-1/+1
|
* mod_tls: Build <starttls/> as a stanza instead of with string concatenationKim Alvefur2015-05-181-1/+2
|
* certmanager, mod_tls: Return final ssl config as third return value (fix for ↵Kim Alvefur2014-11-221-7/+7
| | | | c6caaa440e74, portmanager assumes non-falsy second return value is an error) (thanks deoren)
* mod_tls: Keep ssl config around and attach them to sessionsKim Alvefur2014-11-191-6/+12
|
* mod_legacyauth, mod_saslauth, mod_tls: Pass require_encryption as default ↵Kim Alvefur2014-10-211-1/+1
| | | | option to s2s_require_encryption so the later overrides the former
* mod_lastactivity, mod_legacyauth, mod_presence, mod_saslauth, mod_tls: Use ↵Kim Alvefur2014-07-041-1/+1
| | | | the newer stanza:get_child APIs and optimize away some table lookups
* mod_tls: Simplify and use new ssl config merging in certmanagerKim Alvefur2014-07-031-15/+17
|
* Merge 0.9->0.10Matthew Wild2014-01-181-4/+10
|\
| * mod_tls: Let s2s_secure_auth override s2s_require_encryption and warn if ↵Kim Alvefur2014-01-151-0/+6
| | | | | | | | they differ
| * mod_tls: Rename variables to be less confusingKim Alvefur2014-01-151-4/+4
| |
| * mod_tls: Log error when TLS initialization fails0.9.3Matthew Wild2014-01-121-2/+9
| |
* | Remove all trailing whitespaceFlorian Zeitz2013-08-091-1/+1
| |
* | mod_tls: Remove debug statementKim Alvefur2013-06-161-1/+0
| |
* | mod_tls: Refactor to allow separate SSL configuration for c2s and s2s ↵Kim Alvefur2013-06-131-26/+36
|/ | | | connections
* mod_tls: More use of config sections removedKim Alvefur2013-03-231-2/+2
|
* mod_announce, mod_auth_anonymous, mod_c2s, mod_c2s, mod_component, mod_iq, ↵Kim Alvefur2013-03-231-0/+1
| | | | mod_message, mod_presence, mod_tls: Access prosody.{hosts,bare_sessions,full_sessions} instead of the old globals
* mod_tls: Fix log statement (thanks Zash)Matthew Wild2012-01-181-1/+1
|
* mod_tls: Fix for components to more reliably inherit SSL settings from their ↵Matthew Wild2011-04-061-4/+3
| | | | parenthost (thanks Link Mauve)
* mod_tls: Drop 'TLS negotiation started for ...' to debug level from infoMatthew Wild2011-02-221-1/+1
|
* mod_tls: Let hosts without an 'ssl' option inherit it from their parent hosts.Waqas Hussain2010-11-101-1/+7
|
* mod_tls: Pass the hostname rather than host session to ↵Matthew Wild2010-11-081-2/+2
| | | | certmanager.create_context() (thanks darkrain)
* certmanager, hostmanager, mod_tls: Move responsibility for creating per-host ↵Matthew Wild2010-11-061-0/+12
| | | | SSL contexts to mod_tls, meaning reloading certs is now as trivial as reloading mod_tls
* mod_tls: Remove extraneous flag to starttls() for s2sout connecectionsMatthew Wild2010-07-221-1/+1
|
* Merge 0.6->0.7Matthew Wild2010-03-241-2/+3
|\
| * mod_tls: Add s2s_allow_encryption option which, when set to false, disabled ↵Matthew Wild2010-03-241-18/+27
| | | | | | | | TLS for s2s
* | Merge 0.6->0.7Matthew Wild2010-03-221-2/+2
|\|
| * Update copyright headers for 2010Matthew Wild2010-03-221-2/+2
| |
| * Merge 0.6.2/waqas with 0.6.2/MattJMatthew Wild2010-03-031-5/+9
| |\
| | * mod_tls: Don't offer TLS on hosts that don't have any certsMatthew Wild2010-02-121-2/+4
| | |
| | * mod_tls: Fixed an extra :up() in s2s stream feature generation.Waqas Hussain2010-02-121-1/+1
| | |
| | * mod_tls: Respond with proper error when TLS cannot be negotiated.Waqas Hussain2010-02-121-2/+4
| | |
| * | mod_tls: Set the sslctx on outgoing connections (possibly the cause of ↵Matthew Wild2010-01-311-0/+2
| |/ | | | | | | outgoing s2s connections not being encrypted)
* | mod_tls: Only negotiate TLS on outgoing s2s connections if we have an SSL ↵Matthew Wild2010-02-161-1/+3
| | | | | | | | context (thanks Flo...)
* | mod_tls: Ban TLS after auth, not before.Waqas Hussain2010-02-141-2/+2
| |
* | mod_tls: Fixed traceback during S2S TLS (nil global access).Waqas Hussain2010-02-141-1/+1
| |
* | mod_tls: Refactor to simplify detection of whether we can do TLS on a connectionMatthew Wild2010-02-121-3/+13
| |
* | mod_tls: Don't offer TLS on hosts that don't have any certsMatthew Wild2010-02-121-2/+4
| |
* | s2smanager, mod_compression, mod_tls: Changed event.session to event.origin ↵Waqas Hussain2010-02-121-2/+2
| | | | | | | | for s2s-stream-features event for consistency.
* | mod_tls: Hook stream-features event using new events API.Waqas Hussain2010-02-121-2/+3
| |
* | mod_tls: Cleanup.Waqas Hussain2010-02-121-50/+40
| |