Commit Graph
6232 Commits
Author SHA1 Message Date
世界 fc6ae4d4e7 Fix lint 2022-06-28 21:36:12 +08:00
世界 ebee459f1f Fix ticker usage
ticker.Close does not close ticker.C
2022-06-28 20:13:30 +08:00
Huang-Huang Bao 02c8b04230 Fix: correct TCP keepalive sockopt names for darwin
Fixes: a0eb84dbff
2022-06-25 19:45:18 +01:00
秋のかえで 2e1d542a5c Feat: add bytes support to v5 configuration 2022-06-25 19:43:51 +01:00
秋のかえで 28d197b6f3 Feat: add JSONC support to v5 configuration 2022-06-25 19:43:51 +01:00
Huang-Huang Bao 5d3915c751 Fix: build routing condition for geo domain 2022-06-25 19:42:40 +01:00
Shelikhoo 3673ed2be8 Fix: Support both dokodemo inbound config types 2022-06-25 19:41:45 +01:00
Huang-Huang Bao 4ea9a5638e Fix: correct a type assertion of dokodemo simplified config
Fixes tproxy not working with jsonv5 config
2022-06-25 19:40:08 +01:00
yuhan6665 9484390b18 Fix TestUserValidator 2022-06-25 19:39:21 +01:00
Vigilans 81ef92c077 Refactor strmatcher.ACAutomatonMatcherGroup 2022-06-25 19:38:35 +01:00
lrh2000 396ee770b7 proxy: Unify timeouts of different protocols for reading the first payload 2022-06-25 19:34:32 +01:00
lrh2000 17d85263e2 proxy/http: Avoid getting stuck when using server-first protocols
PR #99 reduces an extra RTT when setting up the CONNECT tunnel
via http proxy, however, server-first protocols (such as MySQL)
will be unusable as v2ray keeps to wait for the client request.
This commit solves the problem by limiting the maximum waiting
time to 50 ms.
2022-06-25 19:26:33 +01:00
Shelikhoo b4069f743c update version v5.0.7 2022-06-12 23:29:37 +01:00
Shelikhoo 5eff77c48a Fix DoS attack vulnerability in VMess Option Processing 2022-06-12 23:29:09 +01:00
Shelikhoo 4e24784082 Add JsonV5 support for QUIC: auto generated 2022-05-12 23:05:08 +01:00
Shelikhoo 7deca02977 Add JsonV5 support for QUIC 2022-05-12 23:05:07 +01:00
dependabot[bot] c333383a0a Chore: bump github.com/miekg/dns from 1.1.48 to 1.1.49 (#1779)
Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.48 to 1.1.49.
- [Release notes](https://github.com/miekg/dns/releases)
- [Changelog](https://github.com/miekg/dns/blob/master/Makefile.release)
- [Commits](https://github.com/miekg/dns/compare/v1.1.48...v1.1.49)

---
updated-dependencies:
- dependency-name: github.com/miekg/dns
  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>
2022-05-12 23:05:30 +08:00
Shelikhoo 0468cdfa56 Fix convert time ip parsing in jsonv5 2022-05-11 15:04:28 +01:00
dependabot[bot] 0685f8c55d Chore: bump github.com/go-playground/validator/v10 (#1764)
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.10.1 to 10.11.0.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.10.1...v10.11.0)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  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>
2022-05-03 22:52:43 +08:00
Shelikhoo 17a93bbc65 update version v5.0.6 2022-05-03 15:25:49 +01:00
Shelikhoo 52ea2b0146 Fix TLS Client Certificate Verify Not Applied 2022-05-03 15:23:33 +01:00
Shelikhoo c93ad2fc1c update version v5.0.5 2022-05-02 15:51:18 +01:00
dyhkwong 703b2da5a7 Fix "disable quit on connection interrupt" 2022-05-02 15:50:35 +01:00
Shelikhoo dbbb84007f update version v5.0.4 2022-05-01 17:02:06 +01:00
Shelikhoo f4b0241b4f disable quit on connection interrupt 2022-05-01 16:05:00 +01:00
Loyalsoldier 7d7fe08ccc Fix: lint setting for revive (#1758) 2022-05-01 00:58:07 +08:00
Loyalsoldier d9125f91af Fix: gci command for formatting code (#1757)
* Fix: gci command for formatting code
* Chore: format code
2022-05-01 00:47:14 +08:00
Shelikhoo d7ad10ff14 fix coding style issue 2022-04-29 21:36:26 +01:00
Shelikhoo 8a3e90c11f Fix bug incorrect config parse in VLite inbound 2022-04-28 19:32:55 +01:00
Shelikhoo 87090bf408 Add VLite inbound auto generated files 2022-04-28 19:32:55 +01:00
Shelikhoo afa1302914 Update VLite & its dependencies 2022-04-28 19:32:55 +01:00
Shelikhoo 8cbfa3c6de Include VLite Server in default distribution 2022-04-28 19:32:55 +01:00
Shelikhoo e6e5aa6ffc Add Support for VLite UDP Server: auto generated 2022-04-28 19:32:55 +01:00
Shelikhoo 4c79629c69 Add Support for VLite UDP Server 2022-04-28 19:32:55 +01:00
Shelikhoo 7b1203ca96 Add Packet Scramble Support for VLite UDP Client 2022-04-28 19:32:55 +01:00
Shelikhoo 4016e0e961 Add VLite Server Support Definition: auto generated 2022-04-28 19:32:55 +01:00
Shelikhoo c009faa7c7 Add VLite Server Support Definition 2022-04-28 19:32:55 +01:00
Shelikhoo 11362acc79 Add VLite Client Support for Packet Armor: auto generated 2022-04-28 19:32:55 +01:00
Shelikhoo 322c8cc663 Add VLite Client Support for Packet Armor 2022-04-28 19:32:55 +01:00
Shelikhoo dae391fa41 Fix Simplified Router Bug in Processing Rules 2022-04-28 19:32:55 +01:00
Shelikhoo 010aa3a103 Fix VLite UDP Outbound bugs 2022-04-28 19:32:55 +01:00
Shelikhoo 0b20760e17 Add TODO for NarrowScopeToConnection 2022-04-28 19:32:55 +01:00
Shelikhoo 53a430ea5b Add UDP VLite Outbound to default distributions 2022-04-28 19:32:55 +01:00
Shelikhoo 0dea56fc63 Add UDP VLite Outbound Support: auto generated 2022-04-28 19:32:55 +01:00
Shelikhoo f25530717b Add UDP VLite Outbound Support 2022-04-28 19:32:55 +01:00
Shelikhoo 86f64c031a Add UDP VLite protobuf config 2022-04-28 19:32:55 +01:00
Shelikhoo 0ae6c7119e Add environment support in root level instance 2022-04-28 19:32:55 +01:00
Shelikhoo 7e35509381 Add environment implementation 2022-04-28 19:32:55 +01:00
Shelikhoo 3b142ae319 Add relax capability set type 2022-04-28 19:32:55 +01:00
Shelikhoo 49ea72d0ed Add create object with environment api 2022-04-28 19:32:55 +01:00