Commit Graph

1314 Commits (b7ed261e7dfd367f3bc5a8bef654b91ba74feb97)

Author SHA1 Message Date
Kim Alvefur baf8af6d14 s2smanager: Make sure destroyed sessions have a sends2s method 11 years ago
Matthew Wild 7a26bcac2e sessionmanager: Return 'not-allowed' error instead of the non-existent 'already-bound' error when client tries to bind a resource twice on the same stream (thanks Flow) fixes issue #484. 11 years ago
Kim Alvefur ff0710136d stanza_router: Fix routing of 'error' IQs with multiple childs (thanks Pawel) 11 years ago
Matthew Wild c5d0345453 certmanager, net.http: Disable SSLv3 by default 11 years ago
Kim Alvefur ac223b2175 core.stanza_router: Stricter validation of stanzas 11 years ago
Kim Alvefur 4edabcbd81 modulemanager: Reduce warning to debug level message about modules already being loaded, it's probably just module:depends() 12 years ago
Matthew Wild c2dac33a79 configmanager: nameprep VirtualHost and Component names 12 years ago
Kim Alvefur ee9ceb739f configmanager: Delay importing LuaFileSystem until needed by an Include line 12 years ago
Matthew Wild f3e7199e17 portmanager: Make maximum read size configurable, and default to 4KB 12 years ago
Kim Alvefur 09b2942592 modulemanager: Load mod_saslauth on components by default 12 years ago
Matthew Wild 2565ed535e certmanager: Further cipher string tweaking. Re-enable ciphers required for DSA and ECDH certs/keys. 12 years ago
Matthew Wild 5f4e34aa73 Back out 1b0ac7950129, as SSLv3 appears to still be in moderate use on the network. Also, although obsolete, SSLv3 isn't documented to have any weaknesses that TLS 1.0 (the most common version used today) doesn't also have. Get your act together clients! 12 years ago
Matthew Wild 67a543adb0 certmanager: Update default cipher string to prefer forward-secrecy over cipher strength and to disable triple-DES (weaker and much slower than AES) 12 years ago
Matthew Wild 84ab7c5628 certmanager: Fix order of options, so that the dynamic option is at the end of the array 12 years ago
Matthew Wild 9a43ef189a certmanager: Default to using the server's cipher preference order by default, as clients have been shown to commonly select weak and insecure ciphers even when they support stronger ones 12 years ago
Kim Alvefur 1527cd447a certmanager: Disable SSLv3 by default 12 years ago
Kim Alvefur 69e2fd5d81 certmanager: Fix dhparam callback, missing imports (Testing, pfft) 13 years ago
Kim Alvefur 99ab893457 certmanager: Allow for specifying the dhparam option as a path to a file instead of a callback 13 years ago
Matthew Wild 599f897c2a certmanager: Fix for working around a bug with LuaSec 0.4.1 that causes it to not honour the 'ciphers' option. This change will apply 0.9's default cipher string for LuaSec 0.4.1 users. 13 years ago
Kim Alvefur c7d98b691e configmanager: Fix checking of absolute paths on Windows 13 years ago
Matthew Wild a0093f80ff certmanager: Set our own default cipher string, which includes only ciphers regarded as 'HIGH' strength (by OpenSSL). In particular this disables RC4. 13 years ago
Matthew Wild 47a2577f26 certmanager: Add single_dh_use and single_ecdh_use to default options 13 years ago
Matthew Wild 442955c94c certmanager: Set ssl.curve to 'secp384r1' by default, to enable ECC ciphers 13 years ago
Matthew Wild b4884d7aab certmanager: Use 'curve' and 'dhparam' options from ssl config if present 13 years ago
Matthew Wild ce2b29fe49 certmanager: Disable SSL compression if possible (LuaSec 0.5 or 0.4.1+OpenSSL 1.x) 13 years ago
Kim Alvefur 6ca07758d3 portmanager: Also include the interface the service is listening on 13 years ago
Waqas Hussain f3d552c92b portmanager: Include port numbers the service is listening on in the info logs. 13 years ago
Kim Alvefur 82b393b7fc moduleapi: in module:provides(), add the name of the module in item._provided_by 13 years ago
Kim Alvefur 0ccbb6e726 moduleapi: module:provides called without an item makes a copy of the environment instead. Fixes warnings about non-existent globals 13 years ago
Matthew Wild edecb033c4 moduleapi: Add module:get_option_inherited_set() to return a set that inherits items from a globally set set, if set 13 years ago
Matthew Wild 351975549e moduleapi: Add module:context(host) to produce a fake API context for a given host (or global). module:context("*"):get_option("foo") to get global options. 13 years ago
Waqas Hussain d875ae5d80 storagemanager: Fix traceback in logging when store type is nil, and store is unsupported. 13 years ago
Kim Alvefur 10e527173b moduleapi: Make module:open_store() open a store named after the calling module by default 13 years ago
Matthew Wild fb13c42bfd moduleapi: Add module:open_store() as a front-end to storagemanager.open() 13 years ago
Matthew Wild 09a18297ad sessionmanager, s2smanager: Remove unused imports 13 years ago
Matthew Wild 752df97c84 sessionmanager, s2smanager: Remove open_session tracing 13 years ago
Matthew Wild 7357acbb32 moduleapi: assert() that prosody.core_post_stanza is not nil 13 years ago
Matthew Wild 93f34b7d58 portmanager: import pairs() (thanks Maranda) 13 years ago
Marco Cirillo 3f35128dd3 rostermanager: do not save rosters for unexistant users. 13 years ago
Marco Cirillo c62c02db85 portmanager: add logic to allow specification of service default values for ssl config and / or overrides. 13 years ago
Matthew Wild 9778882628 configmanager: Some cleanup, remove unused variables and imports 13 years ago
Marco Cirillo 42cb071ede moduleapi: have get_host_items wrap on get_items from modulemanager, also add has_{feature/identity} to the API. 13 years ago
Marco Cirillo bf1ce76f60 modulemanager: add missing ipairs import. 13 years ago
Marco Cirillo 2a5ae358a2 modulemanager: add function to retrieve module items from a specific host entity. 13 years ago
Matthew Wild 91835f681a portmanager: Log error and fail to bind when port is invalid (not a number) 13 years ago
Kim Alvefur e83dd1f241 portmanager: Add use_ipv4 option, default to true. 13 years ago
Kim Alvefur 1b1da54686 portmanager: use_ipv6 defaults to true if luasocket has ipv6 support 13 years ago
Kim Alvefur aa0eb8fdc8 configmanager: Fix so unset variables are searched for in the global section 13 years ago
Kim Alvefur 75e786c1f0 core.*: Complete removal of all traces of the "core" section and section-related code. 13 years ago
Matthew Wild 923d1aa1bd s2smanager: Remove unused function parameter 13 years ago