Commit Graph

486 Commits

Author SHA1 Message Date
mzz2017
2d96b3c59c Merge remote-tracking branch 'origin/main' into fix_refine_dns_ttl 2023-06-04 14:23:09 +08:00
mzz
d1bf6bb9de
chore: release v0.2.0rc1 (#115) (#117) 2023-06-04 12:41:08 +08:00
ston
861ad464e7
docs(README.md): add gentoo installation guide (#116) 2023-06-04 12:32:13 +08:00
mzz
4501cf4447
docs(routing.md): revise fwmark section (#113) 2023-06-04 11:56:01 +08:00
mzz
ebe51f1e31
fix(trojan): panic due to incorrect n returned by ReadFrom (#109) 2023-06-04 11:47:20 +08:00
mzz
ee09ae17e3
feat: support iptables tproxy (#80) 2023-06-04 11:38:05 +08:00
mzz
cbcbec9a1a
fix(config_parser): potential panic due to out of index (#108) 2023-06-04 10:13:35 +08:00
mzz2017
e82444e281 remove zero ttl and recover normal ttl 2023-06-03 22:06:33 +08:00
Kevin Yu
035332a89d
ci: docs synchronization (#103)
* Create sync-docs.yml

* feat(ci): add sync-docs.yml

* patch(ci/check-docs): add event-driven trigger

* ci: watch changes made in sync-docs.yml

* ci: re-arrange the order of steps

* ci(check-docs): disable all auto trigger

* ci(sync-docs): update author and commiter to daebot

* fix: apply subtle changes

* ci: apply subtle changes

* ci: test copy functionality

* patch: fix proper naming

* chore: remove dummy line

* ci: watch changes of example.dae

* chore(issue_template): remove unnecessary marks
2023-06-02 22:40:16 +08:00
mzz
689fa0f01c
fix: rand seed for network check (#106) 2023-05-30 23:01:23 +08:00
mzz
46ee3201c4
fix(test): domain_matcher/benchmark_test.go (#107) 2023-05-30 22:48:36 +08:00
mzz
b936e7ada4
feat(dns): support fixed domain ttl (#100)
* feat(dns): support fixed domain ttl

* docs
2023-05-30 22:10:32 +08:00
mzz
2a8f8f9010
feat: support geosite attr (#98) 2023-05-27 23:58:50 +08:00
Kevin Yu
9e20a7fff6
ci(hack): add config-doc-generator (#101)
Co-authored-by: mzz2017 <2017@duck.com>
2023-05-27 19:52:13 +08:00
mzz
d9f6fa7aee
fix: dns mismatched qname matching (#99) 2023-05-27 13:51:19 +08:00
Kevin Yu
38b2f7b169
refactor: move insert.sh to ./hack/test (#95)
* refacotr: move insert.sh to ./hack/test

* refactor: move Dockerfile to ./hack/build/

* ci(docker): add manual trigger

* refactor: revert fc47533a

* refactor: move Dockerfile back to its original location
2023-05-27 11:11:25 +08:00
秋のかえで
80d3940483
feat: add uTLS support (#94)
* feat: add uTLS

* feat: change `Utls.Imitate` to `UtlsImitate`

* feat: add desc and example config

* chore: refine code and docs

* docs(example.dae): adjust order

---------

Co-authored-by: mzz2017 <2017@duck.com>
2023-05-27 10:52:13 +08:00
Kevin Yu
eac04e991b
ci: add check-docs workflow (#93)
* ci: add check-docs workflow

* chore: ignore node_modules

* chore(deps): add package-lock

* style: apply formatting

* style: apply formatting

* fix: fix typo

* fix: fix all proposed changes by markdown-lint

* fix: fix trailing spaces

* fix(troubleshooting.md): apply minor fi

* fix(getting-started): apply minior fix

* ci: dont' kick off build when changes made to check-doc.yml

* ci: ONLY kick off build when target workflow file changes

* trigger build

* fix(build.yml): fix syntax

* trigger build

* fix: fix broken syntax
2023-05-21 00:41:44 +08:00
mzz
ae6667bb5d
chore(changelog): fix 0.1.10rc1 release date
fix 0.1.10rc1 release date
2023-05-15 23:22:02 +08:00
mzz
9571e7d63e
chore(changelog): v0.1.10rc1 (#92) 2023-05-15 23:17:47 +08:00
mzz
f15aa9e9d1
patch(geodata): fix incorrect geodata search path /etc/dae/dae caused by #84. (#90) 2023-05-15 22:49:13 +08:00
mzz
5ae3d90cfb
chore(changelog): v0.1.9-patch.1 and v0.1.10rc (#88)
Co-authored-by: mzz <mzz@mzzdeMacBook-Pro.local>
2023-05-14 22:35:12 +08:00
mzz
e0d3cb0ecd
fix(dns): cache would never expire caused by #63 by accident (#87) 2023-05-14 22:09:55 +08:00
mzz
11d792e6a9
patch: search geodata at same dir with config first (#84) 2023-05-14 21:49:22 +08:00
Kevin Yu
b991653692
chore: add pull_request_template (#86)
* chore: add pull_request_template

* refactor: relocate contributing guide

* doc: updated README

* patch: use background as default heading
2023-05-14 13:10:42 +08:00
Kevin Yu
53b2675949
chore: add editorconfig (#85)
* chore: add editorconfig

* chore(editorconfig): ONLY apply config to *.go
2023-05-14 13:07:55 +08:00
mzz
bf1d296401
feat: support tcp_check_http_method (#77) 2023-05-13 15:38:28 +08:00
mzz
e5983f0833
chore(Makefile): add export GOOS=linux to build on macos (#78) 2023-05-13 15:38:10 +08:00
mzz
15aab1fc02
chore(changelog): v0.1.9 (#76)
* chore(changelog): v0.1.9

* chore: i18n
2023-05-09 22:04:46 +08:00
mzz
aea686f277
fix: sniffed domain with brackets (#70)
* fix: sniffed domain with brackets

* Update control/control_plane.go
2023-05-02 16:37:38 +08:00
mzz
428b97f03d
fix(ci): PR runs docker action in some cases (#72) 2023-05-02 16:17:27 +08:00
Kevin Yu
4f10448066
chore: update changelogs to include release-v0.1.8 (#67)
* fix: fix a few typos

* chore: update changelogs to include release-v0.1.8
2023-05-01 20:05:51 +08:00
mzz
66600d22f4
fix(trojan): udp problem (#71) 2023-05-01 20:04:46 +08:00
mzz
a110cadd65
optimize: cache NXDomain and reject with 0.0.0.0/:: (#63) 2023-04-29 13:59:20 +08:00
Kevin Yu
bfe5469643
chore(codeowner): update ownership (#64)
* chore(codeowner): update ownership

* fix: fix typo

* chore(codeowner): grant permission to team instead of individuals
2023-04-29 13:44:23 +08:00
mzz2017
9493b9a0aa feat: support to give fixed ip for tcp_check_url and udp_check_dns 2023-04-29 01:08:53 +08:00
Kevin Yu
7948ba044c
chore: add issue templates (#62)
* chore: add issue templates

* chore: refine formatting
2023-04-23 13:29:26 +08:00
czybjtu
e71c272693
style: format golang import package code style (#58)
Co-authored-by: Kevin Yu <yqlbu@Bu.edu>
2023-04-23 13:27:29 +08:00
Kevin Yu
064bf1ebbc
chore: add pre-commit hook (#59)
* chore: add pre-commit-hook

* doc(contribute): add pre-commit setup guide

* doc(contribute.md): add pre-commit doc url

* chore(pre-commit): add gofmt custom hook

* fix: fix syntax

* chore(pre-commit): rename gofmt as gofmt-fixer

* chore(pre-commit): add config reference

* chore(pre-commit): add golangci-lint
2023-04-23 13:24:05 +08:00
Kevin Yu
80ae760ebf
chore: update changelogs (#57) 2023-04-22 22:45:58 +08:00
mzz
1869d5cc67
fix(run-on-macos): override interface setting instead of disable network
To avoid cannot connect to vm after reboot.
2023-04-19 22:46:57 +08:00
mzz
a2926f361e
fix(run-on-macos): Use route-metric: 200 instead of disabling dhcp routes. 2023-04-19 22:00:24 +08:00
mzz
ef762cc2ee
Update run-on-macos.md 2023-04-18 01:32:32 +08:00
mzz
d9a1471a5b
Update run-on-macos.md 2023-04-18 01:29:13 +08:00
mzz
c88fd728d8
Update README.md 2023-04-16 22:06:44 +08:00
mzz
6a617f16f0
docs(run-on-macos.md): fix typo 2023-04-16 19:58:51 +08:00
mzz
9292cb80d9
Update run-on-macos.md 2023-04-16 18:48:38 +08:00
mzz
c93f37ddc3
Update run-on-macos.md
Add auto set route and DNS
2023-04-16 18:46:34 +08:00
mzz
06ae9076de
Update run-on-macos.md 2023-04-16 17:16:49 +08:00
mzz
7c2228b602
Update run-on-macos.md 2023-04-16 17:09:11 +08:00