Commit Graph
23 Commits
Author SHA1 Message Date
Vigilans 882a363b85 DomainStrategy support for all outbounds 2023-02-19 13:34:15 +00:00
mydogshitgold 5893d2f3a6 feat: add option to override destination of access log
When SystemPolicy.OverrideAccessLogDest is enabled, destination host
in access log will be replaced with sniffed host. (#866)
2023-02-19 12:26:33 +00:00
Vigilans f8ac919d66 [app/dns] Support per-client configuration for fakedns (#2212)
* Move `filterIP` from `hosts.go` to `dnscommon.go`

* Implement adding pools for fakedns.HolderMulti

* Implement per-client fakedns for DNS app

* Remove `dns.ClientWithIPOption` and replace with new programming model

* Implement JSON config support for new fakedns config

* Fix lint and tests

* Fix some codacy analysis
2022-12-15 10:38:28 +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 3ef7feaeaf update version: auto replacement to v5 path 2022-01-02 15:16:23 +00:00
Loyalsoldier dce8764fd7 Lint: fix lint (#1427)
* Lint: replace golint with revive
* Lint: fix lint
2021-11-27 17:16:41 +08:00
世界 a66bb28aee Reformat code 2021-10-28 18:34:19 +08:00
世界 cdb14de63e Apply timeout to dns outbound (#1330)
Cherry-pick from 7b0699e8a5
2021-10-20 23:22:42 +01:00
Shelikhoo ee185a5824 rework protocol buffer log settings 2021-10-02 22:29:37 +01:00
Shelikhoo a9979057dc fix torjan protobuf version
We could migrate to v2 version of protobuf interface now, but it would cause additional trouble. A quick fix is applied.
2021-09-28 18:34:56 +01:00
秋のかえで be4dd56ac7 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 22:49:08 +01:00
世界 9ee66f7efe Add socks4/4a support 2021-09-27 21:54:29 +01:00
Shelikhoo e314b1ef2f Revert "rename gun, ws to full name"
This reverts commit d4d6e16295.
2021-09-07 16:36:26 +01:00
Shelikhoo d4d6e16295 rename gun, ws to full name 2021-09-07 15:57:50 +01:00
秋のかえで 679d713b89 feat: add Shadowsocks simplified config 2021-09-07 13:50:06 +01:00
Shelikhoo 98ee44befd update test for router refactor 2021-09-07 13:43:28 +01:00
Shelikhoo 51f05b1bff fix test break for refactor data into seperate package 2021-09-04 19:43:10 +01:00
Shelikhoo 663e6028c3 isolate mux,proxy settings 2021-09-04 13:19:43 +01:00
Shelikhoo 436aaca6ab isolate socks settings 2021-09-04 12:52:13 +01:00
Shelikhoo df9624a965 isolate tls settings 2021-09-04 12:48:23 +01:00
Shelikhoo 3e68a192f5 isolate sniffer config 2021-09-04 12:37:53 +01:00
Shelikhoo ba2dd5995d replace TypedMessage with anypb.Any 2021-09-04 11:13:28 +01:00
Shelikhoo add375390e move v4 configure support to own directory 2021-09-04 11:13:13 +01:00