5780 Commits
Author SHA1 Message Date
Shelikhoo 9936afaa49 update version v4.44.0 2021-12-05 19:27:41 +00:00
Shelikhoo c1af2bfd7a Fix DoS attack vulnerability in CommandSwitchAccountFactory 2021-12-05 19:17:20 +00:00
世界 7b0699e8a5 Apply timeout to dns outbound (#1330) 2021-10-15 20:56:55 +08:00
Shelikhoo e621175927 update version v4.43.0 2021-10-02 17:07:52 +01:00
Ovear b3e0d54630 Remove unnecessary log. 2021-09-30 13:37:42 +01:00
Ovear 75eead5a6e Fix: Remove udp conn twice 2021-09-30 13:37:42 +01:00
yuhan6665 a4cd3110f1 Fix flaky TestVMessDynamicPort (#723) 2021-09-30 13:37:05 +01:00
yuhan6665 9458a1abd3 Fix some tests to use udp.PickPort() 2021-09-30 13:34:05 +01:00
Eng Zer Jun deb9d08487 refactor: move from io/ioutil to io and os package (#1298) 2021-09-27 00:56:31 +08:00
秋のかえで b25a9e531c Feat: custom TCP Fast Open queue length (#1293)
* Feat: custom TCP Fast Open queue length

* Feat: change default TFO queue length to 4096
2021-09-27 00:29:44 +08:00
世界 0054bff7be Send shadowsocks handshake with payload if available (#1292) 2021-09-26 14:15:25 +08:00
dependabot[bot] f66575ade0 Chore: bump google.golang.org/grpc from 1.40.0 to 1.41.0 (#1288)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-25 11:18:15 +08:00
世界 c278db5b77 Fix queryStrategy ignored (#1285) 2021-09-24 13:46:34 +08:00
秋のかえで 9b43120a38 Fix: Trojan fallback (#1286) 2021-09-24 13:21:03 +08:00
Loyalsoldier 70c796b7ee Fix: debian package (#1279) 2021-09-21 06:59:21 +08:00
Loyalsoldier c334a4ed3c Chore: update debian package to v4.42.2 (#1277) 2021-09-20 11:15:04 +08:00
Shelikhoo a0a97c0003 Revert "update Go toolchain version"
This reverts commit 8952eea7c1.
2021-09-17 20:57:16 +01:00
Shelikhoo a1c46f8db3 update version v4.42.2 2021-09-17 14:23:08 +01:00
世界 00155ffa2a Add disableFallbackIfMatch dns option 2021-09-17 14:01:41 +01:00
世界 97ef2397c8 Add socks4/4a support 2021-09-17 13:58:22 +01:00
Shelikhoo 8952eea7c1 update Go toolchain version 2021-09-17 13:39:08 +01:00
Loyalsoldier c58a372d93 Fix: IP length not deterministic (#1267)
The length of IPv4 address in Go standard library could be 16
if it is in IPv6-mapped-IPv4 format.
2021-09-11 10:07:54 +08:00
Loyalsoldier 8a22e942c4 Chore: update build script to include geoip-only-cn-private.dat (#1266) 2021-09-11 09:03:19 +08:00
Loyalsoldier f1902165c7 ♻️ refactor geoip match logic (#1157) 2021-09-10 16:31:25 +08:00
Ye Zhihao 4d155bc2bf 🐛 http dialer add socket config; sockopt.mark use uint32 (#1264) 2021-09-10 16:18:26 +08:00
dependabot[bot] 4a174e8aa6 Chore: bump github.com/pires/go-proxyproto from 0.6.0 to 0.6.1 (#1263)
Bumps [github.com/pires/go-proxyproto](https://github.com/pires/go-proxyproto) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/pires/go-proxyproto/releases)
- [Commits](https://github.com/pires/go-proxyproto/compare/v0.6.0...v0.6.1)

---
updated-dependencies:
- dependency-name: github.com/pires/go-proxyproto
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-09 12:09:13 +08:00
kslr 36d320a4a9 🐛 fix CodeQL is triggered multiple times 2021-09-09 11:50:35 +08:00
Shelikhoo 5ce183c256 fix error typo for browser forwarder(Sec-Websocket-Protocol) 2021-09-05 10:32:36 +01:00
kslr d7e52c2f65 🔥 remove the redundant CODECODE_OF_CONDUCT.md 2021-09-04 17:24:52 +08:00
Shelikhoo c4a6686e77 update version v4.42.1 2021-09-03 22:22:21 +01:00
Shelikhoo d23f457be5 Revert "refactor go.mod file"
This reverts commit 84918fbaac.
v4.42.0
2021-09-03 21:49:50 +01:00
Shelikhoo ebdacfdb86 add comment for gRPC TLS silent failure behavior
When gRPC transport have been configured to use TLS, it may silently ignore TLS failure. This may make it harder to diagnose TLS setting issues when gRPC transport is used. This comment is added to help other developers be aware of this caveat.
2021-09-03 21:34:34 +01:00
Shelikhoo 84918fbaac refactor go.mod file
This is required to make sure the go.mod's style is consistent with Go best practice.
2021-09-03 21:25:17 +01:00
Shelikhoo 8ac4750f9e fix lint warning
apply coding style. Be sure to update the style checking tool after a long time of inactivity.
2021-09-02 17:34:39 +01:00
Shelikhoo a53fd35205 separate client ca and server ca
This is designed to prevent a server from being attacked with a client with a certificate issued by a trusted system CA.
Some commercial CA actually can issue certificate to individual to proof their identity. The server should not accept these certs as a valid client certificates.
2021-09-01 22:34:13 +01:00
ydx fb665ee94a add client certificate verify (#1169) 2021-09-01 21:12:03 +01:00
Loyalsoldier 46fa8f7480 Fix: DNS return value (#1242) 2021-08-29 16:24:10 +08:00
秋のかえで 50bcb6831c Fix: response AAAA records in TypeA query (#1235) 2021-08-26 23:39:59 +08:00
Loyalsoldier 70e341564a Chore: deb package uses Golang v1.17 (#1234) 2021-08-26 15:20:31 +08:00
Loyalsoldier 1a686b0abc Chore: add trimmed geoip-only-cn-private.dat to package (#1233)
This size-reduced dat file only includes `cn` and `private` list, which is suitable for ROM/RAM insufficient devices.

Use it in V2Ray like this:

- `ext:geoip-only-cn-private.dat:cn`
- `ext:geoip-only-cn-private.dat:private`
2021-08-26 12:46:14 +08:00
朱聖黎 (Zhu Sheng Li) 67cd3ac40e Fix: keep probeInterval consistent for the same outbound (#1230) 2021-08-25 20:16:10 +08:00
秋のかえで 4f9415d001 Fix: DoQ local mode compatible with IP destination (#1226) 2021-08-23 19:46:19 +08:00
Loyalsoldier c91f98c60d Lint: check Go modules before test (#1220) 2021-08-21 14:45:38 +08:00
Loyalsoldier 5ba50d6951 Fix: go module & update dependencies (#1219) 2021-08-21 14:19:16 +08:00
Loyalsoldier f2a504e2bb Fix: semgrep lint (#1218) 2021-08-21 13:50:51 +08:00
database64128 c78ee5aac7 🏡 Housekeeping: Update to Go 1.17 (#1215)
* ⬆ Update to Go 1.17

* 🏗 Update workflows and add windows-arm64

* 💾 Update generated files

* 📛 Update not-so-friendly filenames
2021-08-21 13:20:40 +08:00
dependabot[bot] 91ae805337 Chore: bump github.com/lucas-clemente/quic-go from 0.22.1 to 0.23.0 (#1213)
Bumps [github.com/lucas-clemente/quic-go](https://github.com/lucas-clemente/quic-go) from 0.22.1 to 0.23.0.
- [Release notes](https://github.com/lucas-clemente/quic-go/releases)
- [Changelog](https://github.com/lucas-clemente/quic-go/blob/master/Changelog.md)
- [Commits](https://github.com/lucas-clemente/quic-go/compare/v0.22.1...v0.23.0)

---
updated-dependencies:
- dependency-name: github.com/lucas-clemente/quic-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-20 10:22:19 +08:00
Loyalsoldier 5794a97708 Fix: JSON tag case (#1212)
JSON unmarshal is case insensitive in Golang
2021-08-19 21:16:54 +08:00
ihotteandihotte 8f429c35cb Fix: observatory log & JSON config(#1211)
Co-authored-by: ihotte <ihotte@yeah.net>
2021-08-19 13:40:47 +08:00
Loyalsoldier e39a69e688 Chore: update deb package to v4.41.1 (#1207) 2021-08-18 13:18:13 +08:00