世界
9ee66f7efe
Add socks4/4a support
2021-09-27 21:54:29 +01:00
Loyalsoldier
41ae53e60d
Fix: IP length not deterministic ( #1267 )
...
The length of IPv4 address in Go standard library could be 16
if it is in IPv6-mapped-IPv4 format.
(cherry picked from commit c58a372d93e22f990161da5612a9207dfe0218b2)
2021-09-27 21:53:49 +01:00
Loyalsoldier
389a0585f3
Chore: update build script to include geoip-only-cn-private.dat ( #1266 )
...
(cherry picked from commit 8a22e942c4c883e7f2d9f1da1565ecb6a9329eb0)
2021-09-27 21:50:57 +01:00
Shelikhoo
0f7345ba76
adjustment: ♻️ refactor geoip match logic ( #1157 )
...
cherry-pick f1902165c7c89db81136c4145f39896266bf32c2
2021-09-27 21:50:18 +01:00
Loyalsoldier
a86415cb43
♻️ refactor geoip match logic ( #1157 )
...
cherry-pick f1902165c7c89db81136c4145f39896266bf32c2
2021-09-27 21:43:05 +01:00
Ye Zhihao
1919d47649
cherry-pick adjustment for uint socket mask
2021-09-27 21:39:29 +01:00
Ye Zhihao
27614e56fc
🐛 http dialer add socket config; sockopt.mark use uint32 ( #1264 )
...
(cherry picked from commit 4d155bc2bf9dc5bdc3d7433aa67fbc2f5f93677d)
2021-09-27 21:37:45 +01:00
dependabot[bot]
38f10d029e
Chore: bump github.com/pires/go-proxyproto from 0.6.0 to 0.6.1 ( #1263 )
...
Bumps [github.com/pires/go-proxyproto](https://github.com/pires/go-proxyproto ) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/pires/go-proxyproto/releases )
- [Commits](https://github.com/pires/go-proxyproto/compare/v0.6.0...v0.6.1 )
---
updated-dependencies:
- dependency-name: github.com/pires/go-proxyproto
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>
(cherry picked from commit 4a174e8aa66ce0aaccba602e87a032e101fea315)
2021-09-27 18:11:05 +01:00
kslr
b1311cf807
🐛 fix CodeQL is triggered multiple times
...
(cherry picked from commit 36d320a4a95266c69c5101a0cb423d11a1bcb1fc)
2021-09-27 18:08:47 +01:00
Shelikhoo
2fcc0ba1bb
add ip preprocessor logic
2021-09-18 21:04:30 +01:00
kslr
6216bd0acb
🎨 refine restful-api
2021-09-15 19:48:46 +01:00
Shelikhoo
cb5875fe62
fix incomplete revert for name change
2021-09-13 17:01:09 +01:00
Shelikhoo
a7eae67723
add back "door" to dokodemo-door's name
...
kslr said that without door it would lose its spirit
2021-09-13 16:55:43 +01:00
Shelikhoo
6dc2dfb6c7
use custom loading rules for dns
2021-09-10 20:35:02 +01:00
Shelikhoo
89d9eba1a9
use custom loading rules for router
2021-09-09 14:45:19 +01:00
秋のかえで
a8ff0a6371
fix: VLESS simplified config inbound user account
2021-09-08 19:38:14 +01:00
Shelikhoo
33a42e05da
chore: tidy up go.mod
2021-09-08 19:37:06 +01:00
Shelikhoo
e0c76fd1e6
integrate chi restful api
2021-09-08 19:37:06 +01:00
kslr
c96096aa72
gin move to chi
2021-09-08 19:37:02 +01:00
Shelikhoo
d9f293e135
add transport original name support
2021-09-07 16:53:09 +01:00
Shelikhoo
e314b1ef2f
Revert "rename gun, ws to full name"
...
This reverts commit d4d6e16295f2300e5dc01783d93468fd2f1a0167.
2021-09-07 16:36:26 +01:00
Shelikhoo
d4d6e16295
rename gun, ws to full name
2021-09-07 15:57:50 +01:00
Shelikhoo
c89d629943
support more than one type for a config
2021-09-07 14:48:44 +01:00
Shelikhoo
9b93bb614a
improve reflection logic in registry
2021-09-07 14:45:56 +01:00
Shelikhoo
434d9e8700
add grpc service register
2021-09-07 14:43:45 +01:00
Shelikhoo
8ed83b6d0a
register commander
2021-09-07 14:33:00 +01:00
Shelikhoo
eeaa1e96e4
add register for reverse, instman, fakedns
2021-09-07 14:19:56 +01:00
秋のかえで
a67132e3d2
feat: add gRPC transport simplified config
2021-09-07 13:51:30 +01:00
秋のかえで
d4b6ac37e6
fix: require simplified config in all.go
2021-09-07 13:51:18 +01:00
秋のかえで
35ba772e6e
feat: add Dokodemo simplified config
2021-09-07 13:51:05 +01:00
秋のかえで
383bd4ce62
feat: add network to Shadowsocks simplified config
2021-09-07 13:50:47 +01:00
秋のかえで
6d7220bd6c
feat: add Loopback simplified config
2021-09-07 13:50:34 +01:00
秋のかえで
954dab8eaf
feat: refine Trojan simplified config
2021-09-07 13:50:20 +01:00
秋のかえで
679d713b89
feat: add Shadowsocks simplified config
2021-09-07 13:50:06 +01:00
秋のかえで
b4997170dc
feat: add HTTP simplified config
2021-09-07 13:49:22 +01:00
Shelikhoo
98ee44befd
update test for router refactor
2021-09-07 13:43:28 +01:00
Shelikhoo
3c56a7f947
register observatory: auto generated
2021-09-07 13:19:43 +01:00
Shelikhoo
62eaa9a8cc
register observatory
2021-09-07 13:19:31 +01:00
Shelikhoo
68c8759f4b
add custom jsonpb unmarshaler for multi-observatory
2021-09-07 13:16:47 +01:00
Shelikhoo
df03970c22
register multi observatory
2021-09-07 13:03:03 +01:00
Shelikhoo
b368ac3b7c
added general purpose tagged features config loader
2021-09-07 13:02:09 +01:00
Shelikhoo
c05e37de45
add default value for content
2021-09-07 12:29:40 +01:00
Shelikhoo
6c934f9db0
register strategy config
2021-09-07 11:48:24 +01:00
Shelikhoo
30648c3e07
added custom balancer settings processing logic
2021-09-07 11:42:45 +01:00
Shelikhoo
5182727054
fix CountryCode not set
2021-09-07 11:09:34 +01:00
Shelikhoo
68f28b1913
refactor common router structure into separate package
2021-09-07 09:13:58 +01:00
Shelikhoo
fd63ad7160
added simplified config register
2021-09-07 08:42:34 +01:00
Shelikhoo
cbdb3113a3
fix dns register as log
2021-09-07 08:05:18 +01:00
Shelikhoo
350ac46b41
update dns to adapt to protobuf change
2021-09-07 08:03:29 +01:00
Shelikhoo
eb423bee54
update router to adapt to protobuf change
2021-09-07 08:02:38 +01:00