Инструмент для тестирования TLS-соединений с серверами XMPP

Guus der Kinderen 1e0adf3672 Merge pull request #7 from Zash/zash/fix-1 hace 5 años
3rdparty 773340ac50 sqlite3 support! The results of tests, certificates, SRV records, TLSA records and ciphers are now stored into a database. See the README for updated installation instructions. hace 11 años
net e34348686c Fix same typo, added more debugging. hace 10 años
plugins f3fa771de4 Added a squishy file to build automatically. hace 11 años
Dockerfile d1cb0e8e8a Stop using hardcoded and outdated root DNSSEC key hace 6 años
LICENSE 8921d3925c Added LICENSE file to clarify that xmppoke is licensed under the MIT license. hace 10 años
README.md ff6f895dee Merge 'xmppoke-docker' hace 6 años
certs.lua 676ab0cc35 Massive patch fixing up the backend to work together with the new frontend correctly. hace 11 años
ciphertable.lua d04147f1d4 Allow ciphertable.lua to be invoked directly for converting a hex string to a cipher string. hace 11 años
client.lua 55f818c807 Added support for debugging DNS results: hace 11 años
configmanager.lua 55f818c807 Added support for debugging DNS results: hace 11 años
docker-entrypoint.sh 031a1a5fc0 Add missing file hace 6 años
import_ca.lua 29ba82ae70 Missed changes in previous commit. hace 9 años
import_directory.lua 06ddb6d74b Managed to save this file from Apollo. hace 9 años
onions.lua 44fe3e2e57 Added support for testing Tor hidden services (will break without unbound). hace 10 años
poke.lua 04d9c02700 Attempted fix for DANE reporting hace 5 años
schema.pg.sql 63443f5548 Remove the UNIQUE index on the certificate_sans table, as certificates can include duplicate SANs, even though they are useless. hace 9 años
server.lua a638ef4e60 Use plain "xmpp.net" as the stream identity. hace 10 años
sql.lua 2fa07c45ff Simplify and fix the import_ca.lua file. hace 9 años
squishy d1cb0e8e8a Stop using hardcoded and outdated root DNSSEC key hace 6 años

README.md

XMPPoke - Testing the encryption strength of XMPP servers

What is XMPPoke?

XMPPoke is a tool which is used to probe XMPP servers for their security and connectivity settings. Think testssl.sh, but for XMPP and with different features.

It focuses on cipher suites, certificate validity, authentication options, SRV record setup and DANE.

Installing

Required:

Then:

squish --use-http

to build xmppoke.lua.

Use:

sqlite3 results.db < schema.sql

to initialize the database.

Running

lua xmppoke.lua example.com

This will initiate a number of connections to example.com, to test the TLS configuration.

Usage:

lua xmppoke.lua [-v] [-h] [--out=reports/] [--mode=(server|client)] [--delay=seconds] hostname

  • -v,--verbose verbose.
  • -h,--html write a HTML report, instead of ANSI colored output to the terminal.
  • -o,--output the directory where to store the report. Default is reports/.
  • -m,--mode the mode (either client or server). Default is client.
  • -d,--delay the number of seconds to wait between every connection. Default is 2.
  • --capath path to a directory containing your trusted CA certificates. Default is */etc/ssl/certs/.
  • --cafile path to a directory containing your trusted CA certificates. Default is nil.
  • --certificate path to a client side certificate to use. Some servers refuse s2s connections from servers that use TLS but don't present a client cert. Default is nil.
  • --key path to the private key for the --certificate. Default is nil.
  • --blacklist path to the list of keys included in the openssl-blacklist package. Default is /usr/share/openssl-blacklist/.

Docker

Build the docker image as usual.

The docker image exposes the following interface:

  • The XMPPoke Queue Manager expects some environment variables as configuration. See there for details.

  • The XMPPoke Queue Manager is the command which is run by default when running the image as a container.