1
0
mirror of https://github.com/matrix-org/matrix-federation-tester.git synced 2025-04-19 07:02:19 +03:00
Richard van der Hoff ded612f2d9
Update gomatrixserverlib version (#155)
Update to a more recent version of gomatrixserverlib, mostly to pick up the fix to matrix-org/gomatrixserverlib#440.

Since GMSL now requires go 1.18, bump to that.

Fixes #153.
2024-11-12 11:05:10 +00:00
2019-02-10 21:10:02 +00:00
2019-03-26 17:43:10 +00:00
2020-07-21 13:29:08 +01:00
2022-09-01 11:09:11 +01:00
2024-11-12 11:05:10 +00:00
2024-11-12 11:05:10 +00:00
2020-07-21 13:29:08 +01:00

Matrix Federation Tester

Checks that federation is correctly configured on a matrix server.

Building

Requires Go 1.18.

git clone https://github.com/matrix-org/matrix-federation-tester
cd matrix-federation-tester
go build

Running

An HTTP daemon can be started as follows:

BIND_ADDRESS=:8080 ./matrix-federation-tester

Alternatively, the federation tester can be used from the commandline via the -lookup parameter:

./matrix-federation-tester -lookup <server_name>

HTTP API

The federation tester may be accessed using the following templated URLs. Please replace <server_name> with your server name (eg: matrix.org).

Full JSON report

https://matrix.org/federationtester/api/report?server_name=<server_name>

Plain text response

Returns GOOD if the federation is ok and BAD if it's not ok.

https://matrix.org/federationtester/api/federation-ok?server_name=<server_name>
Description
Тестирование подключения к федеративному серверу Matrix
Readme 2 MiB
Languages
Go 96%
Shell 3%
Dockerfile 1%