Commit Graph
246 Commits
Author SHA1 Message Date
Shelikhoo 1409be04c2 regenerate protobuf files 2021-07-01 18:58:48 +01:00
LoyalsoldierandGitHub d7a202a705 Lint: update linter config & fix code style (#1089)
* Lint: update linter config
* Fix: code style
2021-06-22 22:36:23 +08:00
Shelikhoo 9a03b425c9 apply coding style 2021-06-22 12:56:35 +01:00
LoyalsoldierandGitHub e6aaa57def Feat: add queryStrategy option for DNS (#794) 2021-03-19 15:55:18 +08:00
LoyalsoldierandGitHub 9e9173acb4 Chore: update protobuf & dependencies (#793)
* Chore: update protobuf
* Chore: regenerate mock files
* Chore: update dependencies
* Chore: use Go v1.16.2 and later
2021-03-18 12:17:26 +08:00
LoyalsoldierandGitHub e03947e6b0 Chore: update protobuf & dependencies (#748) 2021-03-08 05:12:27 +08:00
LoyalsoldierandGitHub 49cf614346 Chore: update dependencies & protobuf (#728) 2021-03-03 17:31:53 +08:00
afb8385a7e Feat: routing and freedom outbound ignore Fake DNS (#696)
Turn off fake DNS for request sent from Routing and Freedom outbound.
Fake DNS now only apply to DNS outbound.
This is important for Android, where VPN service take over all system DNS
traffic and pass it to core.  "UseIp" option can be used in Freedom outbound
to avoid getting fake IP and fail connection.

Co-authored-by: loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com>
2021-02-23 10:17:20 +08:00
LoyalsoldierandGitHub f94dd11a8c Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
LoyalsoldierandGitHub f98944c9e0 Chore: update protobuf (#670) 2021-02-11 14:57:20 +08:00
loyalsoldier 784775f689 Refine code according to golangci-lint results 2020-10-11 19:22:46 +08:00
loyalsoldier b181045b0c Errorgen: support to run outside of GOPATH 2020-10-04 13:06:12 +08:00
loyalsoldier f9175e3bc8 Fix according to go vet results 2020-08-26 19:35:33 +08:00
LoyalsoldierandGitHub ef460f68f8 Adjust Protocol Buffers (#109)
* Update protoc binary executable files to v3.13.0

* Write proto files in more standard way

* Make go generate & vprotogen compatible with protoc-gen-gofast

* Regenerate pb.go files according to new proto files

* Clean go.sum by running go mod tidy

* Implement mustEmbedUnimplementedServiceServer for gPRC services
2020-08-24 12:10:26 +00:00
Shelikhoo 09b81b78c3 regenerate pb data 2020-06-08 16:16:32 +08:00
Darien Raymond c072d38e2c refine tls connection 2019-02-17 00:58:02 +01:00
Darien Raymond 634bba0f8a fix user level in socks inbound 2019-02-15 00:28:26 +01:00
Darien Raymond b234cfb4c4 unify NewPacketReader 2019-02-07 19:14:37 +01:00
Darien Raymond 1ab94fed79 optimize v2ctl size 2019-02-01 20:08:21 +01:00
Darien Raymond ec95dca3e5 force packet reader in freedom on UDP 2018-12-11 10:17:50 +01:00
Darien Raymond 427679e66d simplify task execution 2018-12-06 11:35:02 +01:00
Darien Raymond 057e271588 update proto lib 2018-12-01 17:39:51 +01:00
Darien Raymond 8a82a3664c pick IP family by local address in freedom 2018-11-19 21:36:46 +01:00
Darien Raymond 128a90b98b move link to transport 2018-11-03 12:36:29 +01:00
Darien Raymond c2566e1331 cleanup unused scenarios 2018-10-22 22:40:53 +02:00
Darien Raymond 17e51b277b move proxy.Dialer to internet.Dialer 2018-10-22 22:12:50 +02:00
Darien Raymond f78cf6cfc2 testing with mock 2018-10-22 15:58:52 +02:00
Darien Raymond 307aac26b3 simplify dependency resolution 2018-10-22 11:26:22 +02:00
Darien Raymond a5dcb0f13e refactor dependency resolution 2018-10-21 10:27:13 +02:00
Darien Raymond ca4d42f2bc help function for create instance from config bytes 2018-10-11 22:48:57 +02:00
Darien Raymond b4821c5ed5 move policy and dnsClient 2018-10-11 22:34:31 +02:00
Darien Raymond b6dc31d3fe first part to move feature interfaces into dedicated directory 2018-10-11 20:43:37 +02:00
Darien Raymond 091fa6ad23 use new errorgen 2018-09-30 23:08:41 +02:00
Darien Raymond d55fbd7f8d simplify error creation 2018-09-30 18:39:53 +02:00
Darien Raymond 00ea6e3cb2 update protobuf generated files 2018-09-30 18:39:28 +02:00
Darien Raymond 94b880d060 move session based info into session package 2018-09-18 23:09:54 +02:00
Darien Raymond 383b84e7dd unified tproxy option 2018-09-17 15:12:58 +02:00
Darien Raymond d068f357bd update proto lib 2018-09-14 11:00:59 +02:00
Darien Raymond 57966adf49 revert reader creation based on per-connection buffer 2018-08-17 20:54:25 +02:00
Darien Raymond 5e65d7da6d more accurate memory usage when buffer = 0 2018-07-31 16:05:57 +02:00
Darien Raymond 7baa6977d3 cleanup buf interfaces 2018-07-31 13:43:27 +02:00
Darien Raymond 4b63638dca update protobuf lib 2018-07-25 00:36:28 +02:00
Darien Raymond 2858b769dd detect any ip 2018-07-18 16:29:29 +02:00
Darien Raymond b9db4514e2 allow partial override in freedom 2018-07-18 16:21:40 +02:00
Darien Raymond 59819871a1 change ip everytime when dial IP 2018-07-01 21:37:45 +02:00
Darien Raymond ff0ae91b9b update protobuf generated files 2018-06-26 16:28:54 +02:00
Darien Raymond 9977eadf8c remove dependency from errors to session 2018-06-25 01:09:02 +02:00
Darien Raymond 13f3c356ca unified task package 2018-05-27 13:02:29 +02:00
Darien Raymond 7fa4bb434b fix pipe closing logic for inbound proxies. 2018-05-27 11:42:01 +02:00
Darien Raymond 68da956fc4 re-generate code 2018-05-25 11:56:01 +02:00