go.mod 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. module github.com/Psiphon-Labs/psiphon-tunnel-core
  2. go 1.21
  3. replace gitlab.com/yawning/obfs4.git => github.com/jmwample/obfs4 v0.0.0-20230725223418-2d2e5b4a16ba
  4. // When this is the main module, github.com/pion/dtls/v2, used by
  5. // psiphon/common/inproxy via pion/webrtc, is replaced with a fork
  6. // which adds support for optional DTLS ClientHello randomization.
  7. // This fork is currently based on https://github.com/pion/dtls v2.2.7.
  8. //
  9. // This fork also includes the mingyech/dtls Conjure customizations.
  10. //
  11. // In addition, ice/v2 and webrtc/v3 are replaced by forks, based on
  12. // github.com/pion/ice/v2 v2.3.12 and github.com/pion/webrtc/v3 v3.2.24
  13. // respectively, containing Psiphon customizations. See comments in
  14. // psiphon/common/inproxy/newWebRTCConn for details.
  15. replace github.com/pion/dtls/v2 => ./replace/dtls
  16. replace github.com/pion/ice/v2 => ./replace/ice
  17. replace github.com/pion/webrtc/v3 => ./replace/webrtc
  18. require (
  19. filippo.io/edwards25519 v1.1.0
  20. github.com/Psiphon-Inc/rotate-safe-writer v0.0.0-20210303140923-464a7a37606e
  21. github.com/Psiphon-Labs/bolt v0.0.0-20200624191537-23cedaef7ad7
  22. github.com/Psiphon-Labs/consistent v0.0.0-20240322131436-20aaa4e05737
  23. github.com/Psiphon-Labs/goptlib v0.0.0-20200406165125-c0e32a7a3464
  24. github.com/Psiphon-Labs/psiphon-tls v0.0.0-20240305020009-09f917290799
  25. github.com/Psiphon-Labs/quic-go v0.0.0-20240305203241-7c4a760d03cc
  26. github.com/armon/go-proxyproto v0.0.0-20180202201750-5b7edb60ff5f
  27. github.com/bifurcation/mint v0.0.0-20180306135233-198357931e61
  28. github.com/bits-and-blooms/bloom/v3 v3.6.0
  29. github.com/cespare/xxhash v1.1.0
  30. github.com/cheekybits/genny v0.0.0-20170328200008-9127e812e1e9
  31. github.com/cognusion/go-cache-lru v0.0.0-20170419142635-f73e2280ecea
  32. github.com/deckarep/golang-set v0.0.0-20171013212420-1d4478f51bed
  33. github.com/dgraph-io/badger v1.5.4-0.20180815194500-3a87f6d9c273
  34. github.com/elazarl/goproxy v0.0.0-20200809112317-0581fc3aee2d
  35. github.com/elazarl/goproxy/ext v0.0.0-20200809112317-0581fc3aee2d
  36. github.com/florianl/go-nfqueue v1.1.1-0.20200829120558-a2f196e98ab0
  37. github.com/flynn/noise v1.0.1-0.20220214164934-d803f5c4b0f4
  38. github.com/fxamacker/cbor/v2 v2.5.0
  39. github.com/gammazero/deque v0.2.1
  40. github.com/gobwas/glob v0.2.4-0.20180402141543-f00a7392b439
  41. github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
  42. github.com/google/gopacket v1.1.19
  43. github.com/grafov/m3u8 v0.0.0-20171211212457-6ab8f28ed427
  44. github.com/hashicorp/golang-lru v1.0.2
  45. github.com/juju/ratelimit v1.0.2
  46. github.com/marusama/semaphore v0.0.0-20171214154724-565ffd8e868a
  47. github.com/miekg/dns v1.1.44-0.20210804161652-ab67aa642300
  48. github.com/mitchellh/panicwrap v0.0.0-20170106182340-fce601fe5557
  49. github.com/oschwald/maxminddb-golang v1.12.0
  50. github.com/patrickmn/go-cache v2.1.0+incompatible
  51. github.com/pion/datachannel v1.5.5
  52. github.com/pion/dtls/v2 v2.2.7
  53. github.com/pion/ice/v2 v2.3.12
  54. github.com/pion/sctp v1.8.12
  55. github.com/pion/sdp/v3 v3.0.8
  56. github.com/pion/stun v0.6.1
  57. github.com/pion/transport/v2 v2.2.4
  58. github.com/pion/webrtc/v3 v3.2.24
  59. github.com/refraction-networking/conjure v0.7.11-0.20240130155008-c8df96195ab2
  60. github.com/refraction-networking/gotapdance v1.7.10
  61. github.com/refraction-networking/utls v1.3.3
  62. github.com/ryanuber/go-glob v0.0.0-20170128012129-256dc444b735
  63. github.com/sirupsen/logrus v1.9.3
  64. github.com/stretchr/testify v1.9.0
  65. github.com/syndtr/gocapability v0.0.0-20170704070218-db04d3cc01c8
  66. github.com/wader/filtertransport v0.0.0-20200316221534-bdd9e61eee78
  67. github.com/wlynxg/anet v0.0.1
  68. golang.org/x/crypto v0.19.0
  69. golang.org/x/net v0.21.0
  70. golang.org/x/sync v0.3.0
  71. golang.org/x/sys v0.17.0
  72. golang.org/x/term v0.17.0
  73. golang.zx2c4.com/wireguard v0.0.0-20230325221338-052af4a8072b
  74. tailscale.com v1.40.0
  75. )
  76. require (
  77. filippo.io/bigmod v0.0.1 // indirect
  78. filippo.io/keygen v0.0.0-20230306160926-5201437acf8e // indirect
  79. github.com/AndreasBriese/bbloom v0.0.0-20190825152654-46b345b51c96 // indirect
  80. github.com/alexbrainman/sspi v0.0.0-20210105120005-909beea2cc74 // indirect
  81. github.com/andybalholm/brotli v1.0.5 // indirect
  82. github.com/bits-and-blooms/bitset v1.10.0 // indirect
  83. github.com/davecgh/go-spew v1.1.1 // indirect
  84. github.com/dchest/siphash v1.2.3 // indirect
  85. github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect
  86. github.com/gaukas/godicttls v0.0.4 // indirect
  87. github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect
  88. github.com/golang/protobuf v1.5.3 // indirect
  89. github.com/google/go-cmp v0.5.9 // indirect
  90. github.com/google/pprof v0.0.0-20211214055906-6f57359322fd // indirect
  91. github.com/google/uuid v1.3.1 // indirect
  92. github.com/josharian/native v1.1.1-0.20230202152459-5c7d0dd6ab86 // indirect
  93. github.com/jsimonetti/rtnetlink v1.1.2-0.20220408201609-d380b505068b // indirect
  94. github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0 // indirect
  95. github.com/klauspost/compress v1.16.7 // indirect
  96. github.com/libp2p/go-reuseport v0.4.0 // indirect
  97. github.com/mdlayher/netlink v1.7.1 // indirect
  98. github.com/mdlayher/socket v0.4.0 // indirect
  99. github.com/mroth/weightedrand v1.0.0 // indirect
  100. github.com/onsi/ginkgo/v2 v2.12.0 // indirect
  101. github.com/pelletier/go-toml v1.9.5 // indirect
  102. github.com/pion/interceptor v0.1.25 // indirect
  103. github.com/pion/logging v0.2.2 // indirect
  104. github.com/pion/mdns v0.0.9 // indirect
  105. github.com/pion/randutil v0.1.0 // indirect
  106. github.com/pion/rtcp v1.2.12 // indirect
  107. github.com/pion/rtp v1.8.3 // indirect
  108. github.com/pion/srtp/v2 v2.0.18 // indirect
  109. github.com/pion/turn/v2 v2.1.3 // indirect
  110. github.com/pkg/errors v0.9.1 // indirect
  111. github.com/pmezard/go-difflib v1.0.0 // indirect
  112. github.com/quic-go/qpack v0.4.0 // indirect
  113. github.com/refraction-networking/ed25519 v0.1.2 // indirect
  114. github.com/refraction-networking/obfs4 v0.1.2 // indirect
  115. github.com/sergeyfrolov/bsbuffer v0.0.0-20180903213811-94e85abb8507 // indirect
  116. github.com/tailscale/goupnp v1.0.1-0.20210804011211-c64d0f06ea05 // indirect
  117. github.com/x448/float16 v0.8.4 // indirect
  118. gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/goptlib v1.5.0 // indirect
  119. go4.org/mem v0.0.0-20210711025021-927187094b94 // indirect
  120. golang.org/x/exp v0.0.0-20221205204356-47842c84f3db // indirect
  121. golang.org/x/text v0.14.0 // indirect
  122. golang.org/x/tools v0.12.0 // indirect
  123. golang.zx2c4.com/wireguard/windows v0.5.3 // indirect
  124. google.golang.org/protobuf v1.31.0 // indirect
  125. gopkg.in/yaml.v3 v3.0.1 // indirect
  126. )