loyalsoldier and Shelikhoo
a5224a2bb7
Chore: remove build tag !confonly
2021-09-04 11:12:02 +01:00
loyalsoldier and Shelikhoo
a95bb95267
Remove !confonly build tag
2021-09-04 11:11:43 +01:00
Loyalsoldier and GitHub
46fa8f7480
Fix: DNS return value ( #1242 )
2021-08-29 16:24:10 +08:00
Loyalsoldier and GitHub
70e341564a
Chore: deb package uses Golang v1.17 ( #1234 )
2021-08-26 15:20:31 +08:00
Loyalsoldier and GitHub
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
Loyalsoldier and GitHub
c91f98c60d
Lint: check Go modules before test ( #1220 )
2021-08-21 14:45:38 +08:00
Loyalsoldier and GitHub
5ba50d6951
Fix: go module & update dependencies ( #1219 )
2021-08-21 14:19:16 +08:00
Loyalsoldier and GitHub
f2a504e2bb
Fix: semgrep lint ( #1218 )
2021-08-21 13:50:51 +08:00
Loyalsoldier and GitHub
5794a97708
Fix: JSON tag case ( #1212 )
...
JSON unmarshal is case insensitive in Golang
2021-08-19 21:16:54 +08:00
Loyalsoldier and GitHub
e39a69e688
Chore: update deb package to v4.41.1 ( #1207 )
2021-08-18 13:18:13 +08:00
Loyalsoldier and GitHub
639148dda4
Refinement: LRU ( #1142 )
2021-08-10 11:08:45 +08:00
Loyalsoldier and GitHub
a783cd5f08
DNS: refine code ( #1193 )
2021-08-10 11:08:05 +08:00
Loyalsoldier and GitHub
ecaf597a76
Chore: update dependencies ( #1192 )
2021-08-10 02:58:29 +08:00
Loyalsoldier and GitHub
470acefef6
Fix: use sorted cidr list ( #1156 )
2021-07-22 10:43:21 +08:00
Loyalsoldier and GitHub
4935e55e4b
Chore: update Debian package ( #1090 )
2021-06-22 22:44:55 +08:00
Loyalsoldier and GitHub
d7a202a705
Lint: update linter config & fix code style ( #1089 )
...
* Lint: update linter config
* Fix: code style
2021-06-22 22:36:23 +08:00
Loyalsoldier and GitHub
92bb1688fd
Chore: update dependencies ( #1071 )
2021-06-15 10:39:16 +08:00
Loyalsoldier and GitHub
b275548a80
CI: refine codecov ( #1064 )
2021-06-13 10:13:29 +08:00
Loyalsoldier and GitHub
de76a21e98
Chore: update dependencies ( #1035 )
2021-05-26 08:08:51 +08:00
Loyalsoldier and GitHub
3cab4d17d9
Chore: update debian package to v4.39.2 ( #1034 )
2021-05-26 08:01:22 +08:00
Loyalsoldier and GitHub
6f8979d017
Style: format code by gofumpt ( #1022 )
2021-05-20 05:28:52 +08:00
Loyalsoldier and GitHub
cf009a4ba2
Fix lint ( #1021 )
2021-05-19 20:41:23 +08:00
Loyalsoldier and GitHub
b57ebd5c1c
vFormat: use gci instead of customized goimports ( #1020 )
2021-05-19 19:59:46 +08:00
Loyalsoldier and GitHub
218f27c9c1
Feat: vformat supports multi-core processing ( #996 )
2021-05-11 09:05:43 +08:00
Loyalsoldier and GitHub
a771e3401a
Fix: lint error ( #995 )
2021-05-11 08:36:06 +08:00
Loyalsoldier and GitHub
026a803781
Chore: use Go v1.16.4 explicitly ( #993 )
2021-05-11 06:26:39 +08:00
Loyalsoldier and GitHub
07fb242259
Chore: just build deb package on some cases to save space quota ( #994 )
2021-05-11 06:24:35 +08:00
Loyalsoldier and GitHub
224d6b13cb
Chore: update dependencies ( #992 )
2021-05-11 06:07:57 +08:00
loyalsoldier and Shelikhoo
fa85afc920
Feat: add geodata loader benchmark
2021-05-05 13:22:01 +01:00
Loyalsoldier and GitHub
736379d22d
Chore: update debian package ( #975 )
2021-05-05 10:34:12 +08:00
Loyalsoldier and GitHub
8ce32e0d4c
Fix: GetAssetLocation ( #974 )
2021-05-05 00:51:58 +01:00
Loyalsoldier and GitHub
1cb9fd2999
Chore: little refinements ( #973 )
2021-05-05 07:28:09 +08:00
loyalsoldier
bf9a27a6db
Revert "Revert "Fix: GetAssetLocation for external geo files ( #968 )""
...
This reverts commit 70245fd30e .
2021-05-05 06:39:00 +08:00
loyalsoldier and Shelikhoo
007a15bd79
fix
2021-05-04 19:21:46 +01:00
loyalsoldier and Shelikhoo
2bdc86049a
code style
2021-05-04 19:21:34 +01:00
loyalsoldier and Shelikhoo
40f8e82204
refine
2021-05-04 19:19:43 +01:00
Loyalsoldier and GitHub
51c8ab8338
Fix: GetAssetLocation for external geo files ( #968 )
2021-05-04 19:05:50 +08:00
Loyalsoldier and GitHub
7805ca2ac1
Refine geodata related tests ( #967 )
2021-05-04 16:30:23 +08:00
Loyalsoldier and GitHub
de71e63893
Refinement: geodata decoder removes unnecessary GC & exports methods for 3rd party ( #965 )
2021-05-04 01:39:47 +08:00
Loyalsoldier and GitHub
980fb59878
Fix: observatory starts with empty config & fails to close ( #957 )
2021-05-01 22:28:23 +08:00
Loyalsoldier and GitHub
411a50c8fa
Fix: multi FakeDNS Close method ( #956 )
2021-05-01 22:20:33 +08:00
Loyalsoldier and GitHub
0d4479a72a
Fix: FakeDNS prints error with empty config ( #955 )
2021-05-01 21:44:12 +08:00
Loyalsoldier and GitHub
a585ca28a8
Fix: code not found in geo files ( #953 )
2021-05-01 17:54:47 +08:00
Loyalsoldier and GitHub
625a15e03b
Chore: format code by new customized goimports ( #950 )
2021-05-01 11:15:39 +08:00
Loyalsoldier and GitHub
0fe129de65
Infra: use customized goimports ( #949 )
2021-05-01 11:11:37 +08:00
Loyalsoldier and GitHub
7e876709fe
Refactor: memory-efficient geo file decoder ( #934 )
2021-05-01 07:59:29 +08:00
Loyalsoldier and GitHub
a21e4a7deb
Fix: FakeDNS IPv6 & refine JSON unmarshal ( #925 )
2021-04-22 08:12:52 +08:00
Loyalsoldier and GitHub
4737a1fd5d
Chore: update dependencies ( #920 )
2021-04-18 23:12:23 +08:00
Loyalsoldier and GitHub
4bbe672ffd
Test: add test to avoid the error of missing geoip & geosite ( #895 )
2021-04-13 10:52:01 +08:00
Loyalsoldier and GitHub
b9ad33070e
Bump version to v4.37.3
2021-04-12 23:21:20 +08:00
Loyalsoldier and GitHub
9beabe833a
Chore: update debian package ( #894 )
2021-04-12 23:14:26 +08:00
Loyalsoldier and GitHub
66c3423b98
Fix: use Go v1.16 to build deb package ( #890 )
2021-04-12 12:07:04 +08:00
Loyalsoldier and GitHub
7790d33185
Fix: v2ray.location.asset env not working ( #889 )
2021-04-12 10:01:30 +08:00
Loyalsoldier and GitHub
31abe08c05
Chore: simplify DNS hosts struct ( #888 )
2021-04-11 12:46:02 +08:00
Loyalsoldier and GitHub
47bbb5a3de
Fix: DNS hosts proxied domain priority ( #886 )
2021-04-11 11:52:12 +08:00
Loyalsoldier and GitHub
bada0e48b4
Feat: DNS hosts support multiple addresses ( #884 )
2021-04-10 21:56:08 +08:00
Loyalsoldier and GitHub
108a700e85
Fix: fakedns option ( #879 )
2021-04-09 15:02:42 +01:00
Loyalsoldier and GitHub
3f40089caf
Feat: add disableFallback & skipFallback option for DNS ( #864 )
2021-04-09 10:35:26 +08:00
Loyalsoldier and GitHub
f71b45f3e7
Chore: fix typos ( #878 )
2021-04-09 09:47:36 +08:00
Loyalsoldier and GitHub
324c7cb862
Fix: wget command not found ( #874 )
2021-04-07 03:41:27 +08:00
Loyalsoldier and GitHub
a962e8ac00
Fix: debian build after removing geo files from repo ( #873 )
2021-04-07 03:20:51 +08:00
Loyalsoldier and GitHub
10ca68f277
Feat: remove geo files from repo & refine tests ( #869 )
2021-04-07 03:08:03 +08:00
Loyalsoldier and GitHub
3f9b5e243e
Lint: exclude deprecated lint errors temporarily ( #870 )
2021-04-06 16:54:52 +08:00
Loyalsoldier and GitHub
3a50affa0a
Feat: add reverse match for GeoIP ( #860 )
2021-04-06 12:29:12 +08:00
loyalsoldier
05020718b1
Chore: format code
2021-04-06 09:55:14 +08:00
Loyalsoldier and GitHub
ae840dca6f
Chore: refine test ( #855 )
...
copy from branch v5
2021-04-04 09:33:38 +08:00
Loyalsoldier and GitHub
f8c3c36f45
Chore: use Go v1.16.3 ( #854 )
2021-04-04 09:09:53 +08:00
Loyalsoldier and GitHub
ebd4a56352
Chore: remove deprecated scopelint ( #847 )
2021-04-03 00:41:38 +08:00
Loyalsoldier and GitHub
b50d692128
Chore: update protobuf & dependencies ( #844 )
2021-04-02 21:48:27 +08:00
Loyalsoldier and GitHub
c80a6df749
Chore: format code ( #842 )
2021-04-02 20:49:45 +08:00
loyalsoldier
090a659cab
Chore: fix lint
2021-03-28 09:33:00 +08:00
loyalsoldier
a0c817888b
Chore: format code
2021-03-28 08:44:04 +08:00
loyalsoldier
f0c453ca28
Chore: update dependencies
2021-03-28 08:40:33 +08:00
loyalsoldier
24948c6520
Merge branch 'master' into dev-wsimprovement
2021-03-28 08:40:05 +08:00
Loyalsoldier and GitHub
ad09269791
Chore: refine errorgen ( #821 )
2021-03-24 15:18:07 +08:00
Loyalsoldier and GitHub
921c6d71ee
Feat: format code in one-key ( #802 )
2021-03-24 14:43:00 +08:00
Loyalsoldier and GitHub
1454bed646
Feat: vprotogen refine logic ( #820 )
2021-03-24 13:03:14 +08:00
Loyalsoldier and GitHub
389ff73a26
Feat: vprotogen adds version detector ( #819 )
...
* Feat: vprotogen adds version detector to block generation code from old protobuf version
* Chore: update .gitignore
2021-03-24 11:49:32 +08:00
Loyalsoldier and GitHub
3db3ba5872
Fix: remove AA header flag in DNS query ( #817 )
2021-03-23 15:49:20 +08:00
Loyalsoldier and GitHub
f3a56ca090
Feat: update lucas-clemente/quic-go to v0.20.0 ( #816 )
2021-03-22 22:26:30 +08:00
Loyalsoldier and GitHub
86a6d15028
Fix: DNS tests timeout due to network instability ( #805 )
2021-03-20 19:27:09 +08:00
Loyalsoldier and GitHub
e6aaa57def
Feat: add queryStrategy option for DNS ( #794 )
2021-03-19 15:55:18 +08:00
Loyalsoldier and GitHub
f0c5eded7d
Chore: change Git user ( #803 )
2021-03-19 12:35:02 +08:00
Loyalsoldier and GitHub
7459e2c5ef
Fix: vprotogen loop dependency ( #797 )
...
* Chore: remove protoc-gen-gofast
* Fix: loop dependency
* Chore: regenerate VLESS pb.go file
* Fix: compare test
2021-03-18 18:32:40 +08:00
Loyalsoldier and GitHub
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
Loyalsoldier and GitHub
fcee3af250
Bump version to v4.36.2
2021-03-16 21:21:23 +08:00
loyalsoldier
cb4dd644fc
Chore: fix MphDomainMatcher log
2021-03-16 19:21:14 +08:00
Loyalsoldier and GitHub
f9ac31853e
Update version to v4.36.1
2021-03-16 14:30:15 +08:00
Loyalsoldier and GitHub
4028a09e70
Revert "Test: fix http2 dial timeout ( #570 )" ( #778 )
...
* Revert "Test: fix http2 dial timeout (#570 )"
This reverts commit 405a051c50 .
* Feat: lower the payload size
* Remove state.NegotiatedProtocolIsMutual
It has been deprecated since Go 1.16 because it shouldn't be used: this value is always true.
2021-03-15 16:57:33 +08:00
Loyalsoldier and GitHub
933861a761
FakeDNS: use 198.18.0.0/15 as default IP pool ( #779 )
2021-03-15 16:47:10 +08:00
Loyalsoldier and GitHub
e46204f828
Chore: fix lint according to golangci-lint errors ( #781 )
...
* Chore: fix lint according to golangci-lint errors
* Chore: regenerate pb.go files
2021-03-14 07:44:47 +08:00
Loyalsoldier and GitHub
88e1e25aa9
Chore: format import using goimports ( #780 )
2021-03-14 07:09:51 +08:00
Loyalsoldier and GitHub
e03947e6b0
Chore: update protobuf & dependencies ( #748 )
2021-03-08 05:12:27 +08:00
Loyalsoldier and GitHub
49cf614346
Chore: update dependencies & protobuf ( #728 )
2021-03-03 17:31:53 +08:00
Loyalsoldier and GitHub
45740be4af
Fix panic: index out of range ( #727 )
2021-03-03 16:53:42 +08:00
Loyalsoldier and GitHub
9d13f99633
Chore: format file & change names of test cases ( #707 )
2021-02-24 17:12:44 +08:00
Loyalsoldier and GitHub
4fb792fbd6
Chore: update golangci-lint & workflow ( #704 )
2021-02-24 14:22:37 +08:00
Loyalsoldier and GitHub
efb963237c
Fix: go generate command for Go v1.16 ( #695 )
...
* Fix: go generate command for Go v1.16
* Chore: ignore go generate binaries
* Chore: regenerate mock files
* Chore: update dependencies
2021-02-20 20:43:19 +08:00
Loyalsoldier and GitHub
a545bfe2c8
Feat: use Go v1.16 & support Apple Silicon ( #686 )
2021-02-19 13:24:19 +08:00
Loyalsoldier and GitHub
0000b60a36
Chore: update dependencies ( #681 )
2021-02-17 06:49:41 +08:00