Commit graph

400 commits

Author SHA1 Message Date
Kim Alvefur
1a728fad75 prosodyctl: check: Don't complain about c2s_ssl or s2s_ssl being in VirtualHost sections, that's supported 2015-10-21 13:37:26 +02:00
Kim Alvefur
eb5aa38412 prosodyctl check: Warn if certificate checking is enforced but LuaSec is too old 2015-09-24 20:02:57 +02:00
Kim Alvefur
dd3368d55b prosodyctl check: Warn if encryption is required but LuaSec is unavailable 2015-09-24 20:02:00 +02:00
Kim Alvefur
b98b1d68bc prosodyctl: Move files out of the way when generating new cert or key 2015-09-19 17:46:46 +02:00
Kim Alvefur
7efc09e181 prosodyctl: Import LuaSocket to a local, don't assume that a global will be set 2015-03-13 20:12:12 +01:00
Kim Alvefur
5292b8232a prosodyctl: check: Add some more known global config options 2015-07-05 22:20:29 +02:00
Kim Alvefur
e1aa25912f prosodyctl: Soft-require LuaSec and LuaEvent so they show up in the module version listing 2015-05-18 22:04:12 +02:00
Kim Alvefur
f39b6c4482 prosodyctl: check certs: Correctly check that certificates are valid for s2s 2015-04-27 21:52:16 +02:00
Kim Alvefur
90aa3a710b prosodyctl: Use ssl.loadcertificate instead of ssl.x509.load, as the ssl.x509 export dissapears in 97b1974 or 356e03a 2015-04-02 14:31:41 +02:00
Paul Aurich
e64aed755a prosodyctl: Document magic commit ID 2015-04-01 13:30:31 -07:00
Kim Alvefur
13edf3e093 prosodyctl: Expand plugin paths and attempt to identify prosody-modules checkouts 2015-01-21 02:55:27 +01:00
Kim Alvefur
7193adf5d5 prosodyctl: Use util.mercurial to identify hg repository and revision 2015-01-21 02:55:23 +01:00
Kim Alvefur
ecf0dc0195 prosodyctl: Show relative paths in about 2014-07-04 23:13:51 +02:00
Kim Alvefur
29326acffa Merge 0.9->0.10 2014-10-26 20:57:06 +01:00
Kim Alvefur
ae1fd61887 prosodyctl: Add 'require_encryption' to list of deprecated options pointed out by the check command 2014-10-21 12:47:53 +02:00
Waqas Hussain
5daa7d9387 prosodyctl: Fix nil global access traceback in prosodyctl about (luarocks 2.2.0 no longer uses module()) 2014-10-19 03:05:49 -04:00
Kim Alvefur
baf2491993 prosodyctl: Use sha256 for certificate requests and self-signed certificates 2014-09-11 00:10:29 +02:00
Matthew Wild
878efeecd5 Merge 0.9->0.10 2014-08-28 09:23:24 +01:00
Kim Alvefur
6af9beaccf prosodyctl: Verify that 'pidfile' is a string, show friendly error otherwise 2014-08-26 12:00:51 +02:00
Matthew Wild
56339d76da prosodyctl: Remove nonsensical warning 2014-07-31 06:59:12 +01:00
Matthew Wild
318fd416c9 prosodyctl: Improve JID splitting and normalization for adduser/passwd/deluser 2014-07-31 06:58:15 +01:00
Matthew Wild
3b8d61bf98 Merge 0.9->0.10 2014-07-31 07:11:54 +01:00
Kim Alvefur
a39b07906f prosodyctl: Check that there is at least one enabled VirtualHost (or Component) defined 2014-05-02 08:56:03 +02:00
Kim Alvefur
400bdbc438 prosodyctl: Use correct variable in check certs 2014-05-02 08:27:29 +02:00
Kim Alvefur
f329e3d045 prosodyctl: Check for deprecated config options 2014-05-02 08:21:56 +02:00
Kim Alvefur
9604869045 prosodyctl: Add check that points out any disabled hosts 2014-05-02 08:16:26 +02:00
Kim Alvefur
5212d9be5c prosodyctl: Only perform checks on enabled hosts 2014-05-02 08:11:11 +02:00
Kim Alvefur
5d027d7f71 prosodyctl, util.prosodyctl: Update to reflect that mod_posix gets loaded by default on posix platforms 2014-04-10 00:24:29 +02:00
Kim Alvefur
8c0d996be4 Merge 0.9->0.10 2014-03-25 19:16:38 +01:00
Kim Alvefur
e4ea0b094a prosodyctl: Show real error if certificate config file can't be opened 2014-03-22 12:02:11 +01:00
Matthew Wild
acf2cd9d36 prosodyctl: check: Support for unicode (IDN) domains (thanks once again albert) 2013-09-02 15:22:41 +01:00
Kim Alvefur
14cde80a1f prosodyctl: Import local_addresses from the new util.net intead of luasocket 2013-07-01 22:17:31 +02:00
Kim Alvefur
192d4df580 prosodyctl: Add 'prosodyctl check certs' for validating TLS/SSL certificates 2013-06-07 20:59:43 +02:00
Kim Alvefur
e626df2fc2 prosodyctl: Add 'prosodyctl check --help' 2013-06-07 20:05:23 +02:00
Matthew Wild
a8da45a1b9 prosodyctl: check dns: Add check that proxy65 addresses resolve correctly 2013-05-22 13:33:33 +01:00
Matthew Wild
e6533b8463 prosodyctl: check config: Fix check for whether host is a component 2013-05-22 13:32:38 +01:00
Matthew Wild
b0c86fe055 prosodyctl: check config: whitespace fix 2013-05-21 13:21:12 +01:00
Matthew Wild
e0476bb4f1 prosodyctl: check config: Show a suggestion to change hosts that begin with jabber/xmpp/chat/im subdomains, and link to DNS documentation 2013-05-21 13:18:56 +01:00
Matthew Wild
8c3cb3971b prosodyctl: Use jid.split() to parse parameter to adduser/deluser/passwd 2013-05-20 15:33:57 +01:00
Matthew Wild
87c32db77c prosodyctl: check dns: Use socket.local_addresses() if available 2013-05-17 14:56:36 +01:00
Matthew Wild
ad95251524 prosodyctl: check dns: Whitespace fix in output 2013-05-17 14:56:18 +01:00
Matthew Wild
45e58c98b5 prosodyctl: check dns: More concise output (merged separate v4/v6 warnings) 2013-05-17 14:55:57 +01:00
Matthew Wild
3d22661def prosodyctl: check dns: Correctly mark host as failed if expected SRV records are not found 2013-05-17 14:55:05 +01:00
Matthew Wild
a4bd217da1 prosodyctl: Add 'prosodyctl check dns' to make an attempt at verifying the server's DNS records 2013-05-17 13:35:12 +01:00
Matthew Wild
99a110b625 prosodyctl: Add 'check' command, which currently checks the config file for some common mistakes 2013-05-17 09:01:11 +01:00
Kim Alvefur
eaf4462508 prosodyctl: Guess the country from the TLD for the cert config 2013-04-29 14:01:19 +02:00
Kim Alvefur
3de4a34919 prosodyctl: Ask about the distinguished name in a in a consistent order 2013-04-29 14:00:44 +02:00
Kim Alvefur
52a76fdb61 prosodyctl: Add message describing the distinguished name input expected 2013-04-29 13:59:39 +02:00
Kim Alvefur
827921fe1d prosodyctl: Put keys and certificates in ./certs when in a source checkout 2013-04-28 16:22:01 +02:00
Kim Alvefur
45326136c4 prosodyctl: Bump util.pposix version for API change 2013-04-09 15:50:46 +02:00