go.mod 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. module github.com/Psiphon-Labs/psiphon-tunnel-core
  2. go 1.21
  3. // The following replace is required only when the build tag
  4. // PSIPHON_ENABLE_REFRACTION_NETWORKING is specified.
  5. replace gitlab.com/yawning/obfs4.git => github.com/jmwample/obfs4 v0.0.0-20230725223418-2d2e5b4a16ba
  6. // When this is the main module, github.com/pion/dtls/v2, used by
  7. // psiphon/common/inproxy via pion/webrtc, is replaced with a fork
  8. // which adds support for optional DTLS ClientHello randomization.
  9. // This fork is currently based on https://github.com/pion/dtls v2.2.7.
  10. //
  11. // This fork also includes the mingyech/dtls Conjure customizations.
  12. //
  13. // In addition, ice/v2 and webrtc/v3 are replaced by forks, based on
  14. // github.com/pion/ice/v2 v2.3.24 and github.com/pion/webrtc/v3 v3.2.40
  15. // respectively, containing Psiphon customizations. See comments in
  16. // psiphon/common/inproxy/newWebRTCConn for details.
  17. //
  18. // The following replaces are required only when the build tags
  19. // PSIPHON_ENABLE_REFRACTION_NETWORKING (dtls/v2 only) or
  20. // PSIPHON_ENABLE_INPROXY are specified.
  21. replace github.com/pion/dtls/v2 => ./replace/dtls
  22. replace github.com/pion/ice/v2 => ./replace/ice
  23. replace github.com/pion/webrtc/v3 => ./replace/webrtc
  24. require (
  25. filippo.io/edwards25519 v1.1.0
  26. github.com/Jigsaw-Code/outline-sdk v0.0.16
  27. github.com/Jigsaw-Code/outline-ss-server v1.8.0
  28. github.com/Psiphon-Inc/rotate-safe-writer v0.0.0-20210303140923-464a7a37606e
  29. github.com/Psiphon-Labs/bolt v0.0.0-20200624191537-23cedaef7ad7
  30. github.com/Psiphon-Labs/consistent v0.0.0-20240322131436-20aaa4e05737
  31. github.com/Psiphon-Labs/goptlib v0.0.0-20200406165125-c0e32a7a3464
  32. github.com/Psiphon-Labs/psiphon-tls v0.0.0-20240824224428-ca6969e315a9
  33. github.com/Psiphon-Labs/quic-go v0.0.0-20250203210204-a4381c68e52f
  34. github.com/Psiphon-Labs/utls v1.1.1-0.20241107183331-b18909f8ccaa
  35. github.com/armon/go-proxyproto v0.0.0-20180202201750-5b7edb60ff5f
  36. github.com/bifurcation/mint v0.0.0-20180306135233-198357931e61
  37. github.com/bits-and-blooms/bloom/v3 v3.6.0
  38. github.com/cespare/xxhash v1.1.0
  39. github.com/cheekybits/genny v0.0.0-20170328200008-9127e812e1e9
  40. github.com/cognusion/go-cache-lru v0.0.0-20170419142635-f73e2280ecea
  41. github.com/deckarep/golang-set v0.0.0-20171013212420-1d4478f51bed
  42. github.com/dgraph-io/badger v1.5.4-0.20180815194500-3a87f6d9c273
  43. github.com/elazarl/goproxy v0.0.0-20200809112317-0581fc3aee2d
  44. github.com/elazarl/goproxy/ext v0.0.0-20200809112317-0581fc3aee2d
  45. github.com/florianl/go-nfqueue v1.1.1-0.20200829120558-a2f196e98ab0
  46. github.com/flynn/noise v1.0.1-0.20220214164934-d803f5c4b0f4
  47. github.com/fxamacker/cbor/v2 v2.5.0
  48. github.com/go-ole/go-ole v1.3.0
  49. github.com/gobwas/glob v0.2.4-0.20180402141543-f00a7392b439
  50. github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
  51. github.com/google/gopacket v1.1.19
  52. github.com/grafov/m3u8 v0.0.0-20171211212457-6ab8f28ed427
  53. github.com/marusama/semaphore v0.0.0-20171214154724-565ffd8e868a
  54. github.com/miekg/dns v1.1.56
  55. github.com/mitchellh/panicwrap v0.0.0-20170106182340-fce601fe5557
  56. github.com/oschwald/maxminddb-golang v1.12.0
  57. github.com/patrickmn/go-cache v2.1.0+incompatible
  58. github.com/pion/datachannel v1.5.5
  59. github.com/pion/dtls/v2 v2.2.7
  60. github.com/pion/ice/v2 v2.3.24
  61. github.com/pion/logging v0.2.2
  62. github.com/pion/sctp v1.8.16
  63. github.com/pion/sdp/v3 v3.0.9
  64. github.com/pion/stun v0.6.1
  65. github.com/pion/transport/v2 v2.2.4
  66. github.com/pion/webrtc/v3 v3.2.40
  67. github.com/refraction-networking/conjure v0.7.11-0.20240130155008-c8df96195ab2
  68. github.com/refraction-networking/gotapdance v1.7.10
  69. github.com/ryanuber/go-glob v0.0.0-20170128012129-256dc444b735
  70. github.com/shirou/gopsutil/v4 v4.24.5
  71. github.com/sirupsen/logrus v1.9.3
  72. github.com/stretchr/testify v1.9.0
  73. github.com/syndtr/gocapability v0.0.0-20170704070218-db04d3cc01c8
  74. github.com/wader/filtertransport v0.0.0-20200316221534-bdd9e61eee78
  75. github.com/wlynxg/anet v0.0.1
  76. golang.org/x/crypto v0.22.0
  77. golang.org/x/net v0.24.0
  78. golang.org/x/sync v0.6.0
  79. golang.org/x/sys v0.20.0
  80. golang.org/x/term v0.19.0
  81. golang.org/x/time v0.5.0
  82. golang.zx2c4.com/wireguard v0.0.0-20230325221338-052af4a8072b
  83. golang.zx2c4.com/wireguard/windows v0.5.3
  84. tailscale.com v1.58.2
  85. )
  86. require (
  87. filippo.io/bigmod v0.0.1 // indirect
  88. filippo.io/keygen v0.0.0-20230306160926-5201437acf8e // indirect
  89. github.com/AndreasBriese/bbloom v0.0.0-20190825152654-46b345b51c96 // indirect
  90. github.com/alexbrainman/sspi v0.0.0-20231016080023-1a75b4708caa // indirect
  91. github.com/andybalholm/brotli v1.0.6 // indirect
  92. github.com/bits-and-blooms/bitset v1.10.0 // indirect
  93. github.com/cloudflare/circl v1.3.7 // indirect
  94. github.com/coreos/go-iptables v0.7.0 // indirect
  95. github.com/davecgh/go-spew v1.1.1 // indirect
  96. github.com/dblohm7/wingoes v0.0.0-20230929194252-e994401fc077 // indirect
  97. github.com/dchest/siphash v1.2.3 // indirect
  98. github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect
  99. github.com/gaukas/godicttls v0.0.4 // indirect
  100. github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect
  101. github.com/golang/protobuf v1.5.3 // indirect
  102. github.com/google/go-cmp v0.6.0 // indirect
  103. github.com/google/nftables v0.1.1-0.20230115205135-9aa6fdf5a28c // indirect
  104. github.com/google/pprof v0.0.0-20211214055906-6f57359322fd // indirect
  105. github.com/google/uuid v1.3.1 // indirect
  106. github.com/josharian/native v1.1.1-0.20230202152459-5c7d0dd6ab86 // indirect
  107. github.com/jsimonetti/rtnetlink v1.3.5 // indirect
  108. github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0 // indirect
  109. github.com/klauspost/compress v1.17.4 // indirect
  110. github.com/libp2p/go-reuseport v0.4.0 // indirect
  111. github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
  112. github.com/mdlayher/netlink v1.7.2 // indirect
  113. github.com/mdlayher/socket v0.5.0 // indirect
  114. github.com/mroth/weightedrand v1.0.0 // indirect
  115. github.com/onsi/ginkgo/v2 v2.12.0 // indirect
  116. github.com/pelletier/go-toml v1.9.5 // indirect
  117. github.com/pion/interceptor v0.1.25 // indirect
  118. github.com/pion/mdns v0.0.12 // indirect
  119. github.com/pion/randutil v0.1.0 // indirect
  120. github.com/pion/rtcp v1.2.12 // indirect
  121. github.com/pion/rtp v1.8.5 // indirect
  122. github.com/pion/srtp/v2 v2.0.18 // indirect
  123. github.com/pion/turn/v2 v2.1.3 // indirect
  124. github.com/pkg/errors v0.9.1 // indirect
  125. github.com/pmezard/go-difflib v1.0.0 // indirect
  126. github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
  127. github.com/quic-go/qpack v0.4.0 // indirect
  128. github.com/refraction-networking/ed25519 v0.1.2 // indirect
  129. github.com/refraction-networking/obfs4 v0.1.2 // indirect
  130. github.com/refraction-networking/utls v1.3.3 // indirect
  131. github.com/sergeyfrolov/bsbuffer v0.0.0-20180903213811-94e85abb8507 // indirect
  132. github.com/shadowsocks/go-shadowsocks2 v0.1.5 // indirect
  133. github.com/shoenig/go-m1cpu v0.1.6 // indirect
  134. github.com/tailscale/goupnp v1.0.1-0.20210804011211-c64d0f06ea05 // indirect
  135. github.com/tailscale/netlink v1.1.1-0.20211101221916-cabfb018fe85 // indirect
  136. github.com/tklauser/go-sysconf v0.3.12 // indirect
  137. github.com/tklauser/numcpus v0.6.1 // indirect
  138. github.com/vishvananda/netlink v1.2.1-beta.2 // indirect
  139. github.com/vishvananda/netns v0.0.4 // indirect
  140. github.com/x448/float16 v0.8.4 // indirect
  141. github.com/yusufpapurcu/wmi v1.2.4 // indirect
  142. gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/goptlib v1.5.0 // indirect
  143. go.uber.org/mock v0.4.0 // indirect
  144. go4.org/mem v0.0.0-20220726221520-4f986261bf13 // indirect
  145. go4.org/netipx v0.0.0-20230824141953-6213f710f925 // indirect
  146. golang.org/x/exp v0.0.0-20240110193028-0dcbfd608b1e // indirect
  147. golang.org/x/mod v0.14.0 // indirect
  148. golang.org/x/text v0.14.0 // indirect
  149. golang.org/x/tools v0.16.0 // indirect
  150. google.golang.org/protobuf v1.31.0 // indirect
  151. gopkg.in/yaml.v3 v3.0.1 // indirect
  152. )