mirror of
https://github.com/matrix-org/dendrite
synced 2024-10-31 04:59:07 +01:00
6cd1285ca0
This PR adds 2 `dendrite-demo` main's, each designed expressly to serve a Hidden Service/Overlay network. The first, `dendrite-demo-i2p` add self-configuration for use of dendrite as an I2P hidden service(eepsite) and to connect to I2P services(federate) as an I2P client. It further disables the `dendrite` server from communicating with non-anonymous servers by federation(because I2P does not canonically have the ability to exit, we rely on donors for exit traffic), and enables the use of self-signed TLS certificates([because I2P services are self-authenticating but TLS is still required for other aspects of the system to work reliably](https://tor.stackexchange.com/questions/13887/registering-onion-with-certificate-authority)). This demo turns the system into an "pseudonymous" homeserver which people can connect to using an I2P-enabled Matrix client(I like `cinny` and it's what I tested with). The second, `dendrite-demo-tor` adds self-configuration for the use of dendrite as an Onion service and to connect to other onion services and non-anonymous web sites using Tor to obfuscate it's physical location and providing, optionally, pseudonymity. It also enables the use of self-signed TLS certificates, for the same reason as with I2P, because onion services aren't typically eligible for TLS certificates. It has also been tested with `cinny`. These services are both pseudonymous like myself, not anonymous. I will be meeting members of the element team at the CCC assembly shortly to discuss contributing under my pseudonym. As none of the other `dendrite-demo` have unit tests I did not add them to these checkins. * [*] I have added Go unit tests or [Complement integration tests](https://github.com/matrix-org/complement) for this PR _or_ I have justified why this PR doesn't need tests --------- Co-authored-by: eyedeekay <idk@mulder> Co-authored-by: Till Faelligen <2353100+S7evinK@users.noreply.github.com>
160 lines
7.2 KiB
Modula-2
160 lines
7.2 KiB
Modula-2
module github.com/matrix-org/dendrite
|
|
|
|
require (
|
|
github.com/Arceliar/phony v0.0.0-20220903101357-530938a4b13d
|
|
github.com/DATA-DOG/go-sqlmock v1.5.0
|
|
github.com/MFAshby/stdemuxerhook v1.0.0
|
|
github.com/Masterminds/semver/v3 v3.1.1
|
|
github.com/blevesearch/bleve/v2 v2.4.0
|
|
github.com/codeclysm/extract v2.2.0+incompatible
|
|
github.com/cretz/bine v0.2.0
|
|
github.com/dgraph-io/ristretto v0.1.1
|
|
github.com/docker/docker v25.0.6+incompatible
|
|
github.com/docker/go-connections v0.4.0
|
|
github.com/eyedeekay/goSam v0.32.54
|
|
github.com/eyedeekay/onramp v0.33.8
|
|
github.com/getsentry/sentry-go v0.14.0
|
|
github.com/gologme/log v1.3.0
|
|
github.com/google/go-cmp v0.6.0
|
|
github.com/google/uuid v1.6.0
|
|
github.com/gorilla/mux v1.8.0
|
|
github.com/gorilla/websocket v1.5.0
|
|
github.com/kardianos/minwinsvc v1.0.2
|
|
github.com/lib/pq v1.10.9
|
|
github.com/matrix-org/dugong v0.0.0-20210921133753-66e6b1c67e2e
|
|
github.com/matrix-org/go-sqlite3-js v0.0.0-20220419092513-28aa791a1c91
|
|
github.com/matrix-org/gomatrix v0.0.0-20220926102614-ceba4d9f7530
|
|
github.com/matrix-org/gomatrixserverlib v0.0.0-20240910190622-2c764912ce93
|
|
github.com/matrix-org/pinecone v0.11.1-0.20230810010612-ea4c33717fd7
|
|
github.com/matrix-org/util v0.0.0-20221111132719-399730281e66
|
|
github.com/mattn/go-sqlite3 v1.14.22
|
|
github.com/nats-io/nats-server/v2 v2.10.20
|
|
github.com/nats-io/nats.go v1.36.0
|
|
github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646
|
|
github.com/opentracing/opentracing-go v1.2.0
|
|
github.com/patrickmn/go-cache v2.1.0+incompatible
|
|
github.com/pkg/errors v0.9.1
|
|
github.com/prometheus/client_golang v1.19.1
|
|
github.com/sirupsen/logrus v1.9.3
|
|
github.com/stretchr/testify v1.9.0
|
|
github.com/tidwall/gjson v1.17.0
|
|
github.com/tidwall/sjson v1.2.5
|
|
github.com/uber/jaeger-client-go v2.30.0+incompatible
|
|
github.com/uber/jaeger-lib v2.4.1+incompatible
|
|
github.com/yggdrasil-network/yggdrasil-go v0.5.6
|
|
github.com/yggdrasil-network/yggquic v0.0.0-20240802104827-b4e97a928967
|
|
go.uber.org/atomic v1.11.0
|
|
golang.org/x/crypto v0.27.0
|
|
golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842
|
|
golang.org/x/image v0.18.0
|
|
golang.org/x/mobile v0.0.0-20240520174638-fa72addaaa1b
|
|
golang.org/x/sync v0.8.0
|
|
golang.org/x/term v0.24.0
|
|
gopkg.in/h2non/bimg.v1 v1.1.9
|
|
gopkg.in/yaml.v2 v2.4.0
|
|
gotest.tools/v3 v3.4.0
|
|
maunium.net/go/mautrix v0.15.1
|
|
modernc.org/sqlite v1.29.5
|
|
nhooyr.io/websocket v1.8.7
|
|
)
|
|
|
|
require (
|
|
github.com/Arceliar/ironwood v0.0.0-20240529054413-b8e59574e2b2 // indirect
|
|
github.com/HdrHistogram/hdrhistogram-go v1.1.2 // indirect
|
|
github.com/Microsoft/go-winio v0.5.2 // indirect
|
|
github.com/RoaringBitmap/roaring v1.2.3 // indirect
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
|
github.com/bits-and-blooms/bitset v1.13.0 // indirect
|
|
github.com/bits-and-blooms/bloom/v3 v3.7.0 // indirect
|
|
github.com/blevesearch/bleve_index_api v1.1.6 // indirect
|
|
github.com/blevesearch/geo v0.1.20 // indirect
|
|
github.com/blevesearch/go-faiss v1.0.13 // indirect
|
|
github.com/blevesearch/go-porterstemmer v1.0.3 // indirect
|
|
github.com/blevesearch/gtreap v0.1.1 // indirect
|
|
github.com/blevesearch/mmap-go v1.0.4 // indirect
|
|
github.com/blevesearch/scorch_segment_api/v2 v2.2.9 // indirect
|
|
github.com/blevesearch/segment v0.9.1 // indirect
|
|
github.com/blevesearch/snowballstem v0.9.0 // indirect
|
|
github.com/blevesearch/upsidedown_store_api v1.0.2 // indirect
|
|
github.com/blevesearch/vellum v1.0.10 // indirect
|
|
github.com/blevesearch/zapx/v11 v11.3.10 // indirect
|
|
github.com/blevesearch/zapx/v12 v12.3.10 // indirect
|
|
github.com/blevesearch/zapx/v13 v13.3.10 // indirect
|
|
github.com/blevesearch/zapx/v14 v14.3.10 // indirect
|
|
github.com/blevesearch/zapx/v15 v15.3.13 // indirect
|
|
github.com/blevesearch/zapx/v16 v16.0.12 // indirect
|
|
github.com/cespare/xxhash/v2 v2.2.0 // indirect
|
|
github.com/containerd/log v0.1.0 // indirect
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/distribution/reference v0.6.0 // indirect
|
|
github.com/docker/go-units v0.5.0 // indirect
|
|
github.com/dustin/go-humanize v1.0.1 // indirect
|
|
github.com/eyedeekay/i2pkeys v0.33.8 // indirect
|
|
github.com/eyedeekay/sam3 v0.33.8 // indirect
|
|
github.com/felixge/httpsnoop v1.0.4 // indirect
|
|
github.com/go-logr/logr v1.4.2 // indirect
|
|
github.com/go-logr/stdr v1.2.2 // indirect
|
|
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect
|
|
github.com/gogo/protobuf v1.3.2 // indirect
|
|
github.com/golang/geo v0.0.0-20210211234256-740aa86cb551 // indirect
|
|
github.com/golang/glog v1.0.0 // indirect
|
|
github.com/golang/protobuf v1.5.3 // indirect
|
|
github.com/golang/snappy v0.0.4 // indirect
|
|
github.com/google/pprof v0.0.0-20230808223545-4887780b67fb // indirect
|
|
github.com/h2non/filetype v1.1.3 // indirect
|
|
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
|
|
github.com/hjson/hjson-go/v4 v4.4.0 // indirect
|
|
github.com/json-iterator/go v1.1.12 // indirect
|
|
github.com/juju/errors v1.0.0 // indirect
|
|
github.com/klauspost/compress v1.17.9 // indirect
|
|
github.com/mattn/go-colorable v0.1.13 // indirect
|
|
github.com/mattn/go-isatty v0.0.19 // indirect
|
|
github.com/minio/highwayhash v1.0.3 // indirect
|
|
github.com/moby/term v0.0.0-20220808134915-39b0c02b01ae // indirect
|
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
|
github.com/modern-go/reflect2 v1.0.2 // indirect
|
|
github.com/morikuni/aec v1.0.0 // indirect
|
|
github.com/mschoch/smat v0.2.0 // indirect
|
|
github.com/nats-io/jwt/v2 v2.5.8 // indirect
|
|
github.com/nats-io/nkeys v0.4.7 // indirect
|
|
github.com/nats-io/nuid v1.0.1 // indirect
|
|
github.com/ncruces/go-strftime v0.1.9 // indirect
|
|
github.com/onsi/ginkgo/v2 v2.11.0 // indirect
|
|
github.com/opencontainers/go-digest v1.0.0 // indirect
|
|
github.com/opencontainers/image-spec v1.0.3-0.20211202183452-c5a74bcca799 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
github.com/prometheus/client_model v0.5.0 // indirect
|
|
github.com/prometheus/common v0.48.0 // indirect
|
|
github.com/prometheus/procfs v0.12.0 // indirect
|
|
github.com/quic-go/quic-go v0.45.2 // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
|
github.com/rs/zerolog v1.29.1 // indirect
|
|
github.com/tidwall/match v1.1.1 // indirect
|
|
github.com/tidwall/pretty v1.2.1 // indirect
|
|
go.etcd.io/bbolt v1.3.7 // indirect
|
|
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.53.0 // indirect
|
|
go.opentelemetry.io/otel v1.28.0 // indirect
|
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.28.0 // indirect
|
|
go.opentelemetry.io/otel/metric v1.28.0 // indirect
|
|
go.opentelemetry.io/otel/sdk v1.28.0 // indirect
|
|
go.opentelemetry.io/otel/trace v1.28.0 // indirect
|
|
go.uber.org/mock v0.4.0 // indirect
|
|
golang.org/x/mod v0.17.0 // indirect
|
|
golang.org/x/net v0.29.0 // indirect
|
|
golang.org/x/sys v0.25.0 // indirect
|
|
golang.org/x/text v0.18.0 // indirect
|
|
golang.org/x/time v0.6.0 // indirect
|
|
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect
|
|
google.golang.org/protobuf v1.34.2 // indirect
|
|
gopkg.in/macaroon.v2 v2.1.0 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
maunium.net/go/maulogger/v2 v2.4.1 // indirect
|
|
modernc.org/gc/v3 v3.0.0-20240107210532-573471604cb6 // indirect
|
|
modernc.org/libc v1.41.0 // indirect
|
|
modernc.org/mathutil v1.6.0 // indirect
|
|
modernc.org/memory v1.7.2 // indirect
|
|
modernc.org/strutil v1.2.0 // indirect
|
|
modernc.org/token v1.1.0 // indirect
|
|
)
|
|
|
|
go 1.21.0
|