go.mod 7.9 KB

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