A set of badly configured XMPP services for testing against. Inspired by

A list of hosts can be found by a disco#items query to which serves as an index.

Client and Server-to-Server Tests

These XMPP hosts have various intentional problems or quirks that allow testing how your client or server implementation react in this case.

Client testing

To test a client, simply attempt to add any account there. No actual login should be possible, so username and password does not matter and should never be sent. If the client implementation gets to the point where it would normally authenticate then the test has completed. Whether this constitutes a success or a failure depends on the test.

Server testing

Testing a server implementation is done by having it attempt to establish a server-to-server connection. This could be done by sending a message or ping.

DNS problems
SRV record points to NXDOMAIN.
SRV record points to NOERROR (only a TXT record, no A / AAAA).
SRV record points to '.', indicating no service.
CNAME pointing at SRV pointing at CNAME.

Network and firewall

It’s dangerous to go alone, take this: RFC 8305.
Only an A record.
Only an AAAA record.
SRV record points to a black hole.
SRV record points to blocked port.
Port black-holed over IPv4, but not IPv6.
Port blocked over IPv4, but not IPv6.
Port black-holed over IPv6, but not IPv4.
Port blocked over IPv4, but not IPv4.
SRV record points to a port with a HTTP server.
SRV record points to a port with a HTTPS server.

TLS versions

RFC 8996 deprecates TLS 1.0 and 1.1.
Supports only TLS 1.0.
Supports only TLS 1.1.
Supports only TLS 1.2.
Supports only TLS 1.3.

Diffie-Hellman parameter sizes

Ephemeral Diffie-Hellman over a bit groups of varying sizes.
512-bit (forbidden) seems to be rejected by the server, does not work as intended.
1024-bit (forbidden)
2048-bit (good but has compatibily problems)

Certificate problems

See RFC 6125 for verification guidelines.
Has a self-signed certificate.
Expired certificate.
Does not have a certificate matching the name.
Certificate chain missing an intermediate certificate.
ECDSA certificate, where others are RSA.

XMPP base connectivity
Does not offer SASL.
Does not offer TLS.
Rejects <starttls/> with <failure/>
Does not support Dialback. (Servers only)
Requires XEP-0288

Alternate verification methods
PKIX over Secure HTTP (POSH).