dependabot[bot]
d4d6581322
chore(deps): bump byteorder from 1.4.3 to 1.5.0 ( #1320 )
2023-10-09 15:26:16 +00:00
Hanwei Jin
b25e9e36af
bugfix: fix missed client_cache_size config item in SSLocalExtConfig ( #1319 )
2023-10-08 23:52:13 +08:00
zonyitoo
1c0e2c7a72
chore(homebrew): v1.16.2 new release
2023-09-23 15:35:00 +08:00
zonyitoo
09c6b23f34
feat(local): local-dns client_cache_size set default when creating server instance
2023-09-23 15:25:47 +08:00
zonyitoo
0c5f693e9a
release v1.16.2
2023-09-23 14:41:57 +08:00
Hanwei Jin
68e930635e
feature: add support to config dns client cache size ( #1308 )
2023-09-23 14:11:15 +08:00
zonyitoo
e8ea40c25e
fix(ssurl): enable rustls only for x86, x86_64, aarch64 targets
...
ref #1287
Rustls (deps by reqwest) doesn't support all platforms, like MIPS.
2023-09-12 01:00:50 +08:00
zonyitoo
ef5e869e6d
reformatted
2023-09-11 22:07:50 +08:00
dependabot[bot]
9ce0902210
chore(deps): bump bytes from 1.4.0 to 1.5.0 ( #1294 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-11 22:04:31 +08:00
zonyitoo
772ba6b916
fix(server): UDP_SOCKET_SUPPORT_DUAL_STACK should be static
2023-09-11 22:03:53 +08:00
zonyitoo
e3d7c015be
reformatted
2023-09-11 22:02:22 +08:00
zonyitoo
04d2b3747c
fix(server): disable dual-stack UDP outbound socket dynamically
...
ref #1293
Check EAFNOSUPPORT from `socket()` syscall dynamically.
2023-09-11 21:50:17 +08:00
zonyitoo
173cc6c858
release v1.16.1
2023-09-01 12:11:26 +08:00
spyophobia and zonyitoo
c872714d1a
[Regression fix] local DNS uses mode tcp_and_udp by default ( #1285 )
...
Co-authored-by: zonyitoo <zonyitoo@gmail.com >
2023-08-31 22:40:57 +08:00
dependabot[bot]
fbe81b76ca
chore(deps): bump nix from 0.26.2 to 0.27.1 ( #1284 )
2023-08-28 14:26:51 +00:00
dependabot[bot]
0be60a35e8
chore(deps): bump url from 2.4.0 to 2.4.1 ( #1283 )
2023-08-28 14:08:11 +00:00
zonyitoo
80e4910c0f
AEAD2022_PASSWORD_BASE64_ENGINE guarded by aead-cipher-2022
2023-08-27 00:52:36 +08:00
zonyitoo
169d880340
feat(shadowsocks): macOS if_nametoindex cache result
2023-08-13 07:37:31 +08:00
zonyitoo
be18b4ee01
refomatted
2023-08-13 07:32:51 +08:00
zonyitoo
6d82932117
fix(shadowsocks): set_ip_unicast_if doesnt need async
2023-08-13 07:32:07 +08:00
zonyitoo
34f91a971c
feat(windows): IF index cache in thread_local prevent unnecessary lock
2023-08-13 07:31:06 +08:00
zonyitoo
dcc4743552
feat(windows): IF index cache use HashMap directly
2023-08-13 07:23:52 +08:00
zonyitoo
e383129ffe
fix(shadowsocks): IP_UNICAST_IF requires index to be network endianess
...
ref #1266
2023-08-12 22:18:08 +08:00
zonyitoo
fddf50accd
feat(shadowsocks): Cache windows adapter index
...
ref #1266
2023-08-12 17:17:09 +08:00
zonyitoo
366a9329ce
fix(shadowsocks): Windows UDP outbound socket set IF before bind()
...
ref #1266
2023-08-12 16:47:34 +08:00
zonyitoo
42157f73bd
feat(shadowsocks): GetAdaptersAddresses only valid network adapters
2023-08-12 00:42:44 +08:00
zonyitoo
d3f2095fe5
feat(shadowsocks): Windows bind interface with FriendlyName & AdapterName
...
ref #1266
https://learn.microsoft.com/en-us/windows/win32/api/iphlpapi/nf-iphlpapi-getadaptersaddresses
2023-08-11 23:47:44 +08:00
zonyitoo
0ed488f9dc
allow customize ResolverOpts
2023-08-08 02:23:44 +08:00
zonyitoo
65deef10ae
updated webpki-roots v0.25
2023-08-03 00:23:51 +08:00
hanwei
acc776852f
bugfix: acl rule pattern match error for tree rule
2023-07-30 21:34:06 +08:00
zonyitoo
bf0332a4d8
simpler PartialOrd impl for CipherKey
2023-07-23 01:38:48 +08:00
zonyitoo
a359a84892
make clippy happy
2023-07-19 00:45:35 +08:00
dependabot[bot]
3c842295b8
chore(deps): bump webpki-roots from 0.23.1 to 0.24.0 ( #1243 )
2023-07-10 16:50:39 +00:00
dependabot[bot]
958176a327
chore(deps): bump blake3 from 1.4.0 to 1.4.1 ( #1248 )
2023-07-10 15:49:41 +00:00
dependabot[bot]
32de79eeb7
chore(deps): bump smoltcp from 0.9.1 to 0.10.0 ( #1236 )
2023-07-03 16:23:40 +00:00
dependabot[bot]
88a31fd90e
chore(deps): bump pin-project from 1.1.1 to 1.1.2 ( #1237 )
2023-07-03 15:59:28 +00:00
zonyitoo
59c0af07cd
EOPNOTSUPP and ENOTSUP have exactly the same value on Linux
...
https://man7.org/linux/man-pages/man3/errno.3.html
EOPNOTSUPP
Operation not supported on socket (POSIX.1-2001).
(ENOTSUP and EOPNOTSUPP have the same value on Linux, but
according to POSIX.1 these error values should be
distinct.)
2023-07-01 09:35:10 +08:00
zonyitoo
6297790ade
fix(local): Also check EOPNOTSUPP on Linux ( #1221 )
2023-07-01 09:30:19 +08:00
zonyitoo
0f94f37fcc
fix(local): Redir on Linux handle ENOTSUPP for IP6T_SO_ORIGINAL_DST ( #1221 )
2023-07-01 09:14:56 +08:00
zonyitoo
b56f645d0d
fix(local): PingBalancer no default TCP mode ( #1234 )
2023-06-29 21:24:30 +08:00
Tim Xylon
a7811b6556
Apply suggestions from clippy
2023-06-27 13:22:55 +08:00
Tim Xylon
535ee0b37f
Add "dns-cache-size" command-line option
2023-06-27 13:22:55 +08:00
Tim Xylon and fernvenue
34f822ba9b
Set DNS cache size to "0" for trust-dns
...
Co-authored-by: fernvenue <git@fernvenue.com >
2023-06-27 13:22:55 +08:00
Tim Xylon
5b334f47d6
Rewrite with the ? operator
2023-06-26 23:59:11 +08:00
Tim Xylon
74d67d870a
Remove needless borrow
2023-06-26 23:59:11 +08:00
Tim Xylon
0234a4a571
Remove derivable implementation
2023-06-26 23:59:11 +08:00
Tim Xylon
943a0f15a7
Remove redundant pattern matching
2023-06-26 23:59:11 +08:00
Tim Xylon
4f696a110d
Fix uninlined format args
2023-06-26 23:59:11 +08:00
dependabot[bot]
ebe3d137fc
chore(deps): bump rustls-native-certs from 0.6.2 to 0.6.3 ( #1227 )
2023-06-19 16:53:45 +00:00
zonyitoo
b4f0f98138
Relaxed sendmmsg, recvmmsg support variable atomic operation
2023-06-18 20:58:24 +08:00