Commit Graph
2529 Commits
Author SHA1 Message Date
zonyitoo 5fb6944f76 fix: local-online-config cond for ConfigType::OnlineConfig v1.20.1 2024-06-20 00:05:09 +08:00
zonyitoo 0432d131a3 release v1.20.1 2024-06-20 00:01:58 +08:00
zonyitoo fdcff18e6f fix(local-online-config): wrong Server source of OnlineConfig loader
FATAL: This will cause PingBalancer adds OnlineConfig servers every
update_intervals and never replaces them, which will eventually cause OOM.
2024-06-19 23:49:32 +08:00
zonyitoo 254da692ad chore: update rustls to v0.23 with ring backend 2024-06-19 00:23:07 +08:00
zonyitoo 80103b729e fix: freebsd doesnt allow setting IPv4 options on IPv6 sockets 2024-06-19 00:19:05 +08:00
zonyitoo a27410c52d fix(local-redir): set IPV6_V6ONLY for IPv4-mapped IPv6 bind() call
- ref #1543
2024-06-16 23:47:31 +08:00
zonyitoo bedfe34fcd chore(shadowsocks): better formatting 2024-06-16 22:43:03 +08:00
zonyitoo 5c59fba427 fix(shadowsocks): check IPv4-mapped-IPv6 compatiblity with UDP socket
- ref #1543
2024-06-16 22:39:37 +08:00
zonyitoo 5d965abb61 chore(shadowsocks): clippy suggestions 2024-06-16 21:30:49 +08:00
zonyitoo 285a72d776 feat(shadowsocks): check local_addr is an IPv4-mapped-IPv6 address 2024-06-16 21:20:38 +08:00
zonyitoo 2f2d3cde8e feat(shadowsocks): IpStackCapability check Ipv4-mapped-Ipv6 by connect()
- ref #1543
2024-06-16 21:13:20 +08:00
zonyitoo cd25d25b22 feat(ssurl): remark support percent encoding 2024-06-16 20:18:04 +08:00
zonyitoo 765c9e52c5 fix(shadowsocks): IpStackCapability check IPv4-mapped-IPv6 properly
- ref #1543
2024-06-16 19:59:25 +08:00
zonyitoo 5ba8b7dcd4 feat(local-redir, server): Check IP stack capability globally
- ref #1543
- Reference Implementation: golang src/net/ipsock_posix.go
  ipStckCapabilities
2024-06-16 19:55:59 +08:00
zonyitoo 79d68f1566 feat(server): create outbound udp socket with proper AddrFamily 2024-06-16 19:04:41 +08:00
zonyitoo 885fdf2a71 chore(server): add more log about EAFNOSUPPORT 2024-06-16 19:00:33 +08:00
zonyitoo 56cab5a875 fix(server): check EINVAL if platform doesn't support dual-stack
- ref #1543
2024-06-16 18:58:06 +08:00
zonyitoo c1da627650 chore(local-redir): Better code style 2024-06-16 18:46:12 +08:00
zonyitoo eddd439ab3 fix(local-redir): EINVAL if platform doesn't support IPv4-mapped-IPv6
- ref #1543
2024-06-16 18:42:45 +08:00
zonyitoo ac67a08f87 chore: removed archlinuxcn status badge 2024-06-15 11:15:23 +08:00
zonyitoo bc8cfeeda7 fix: TABLE is only enabled for feature="stream-cipher" v1.20.0 2024-06-14 23:27:20 +08:00
zonyitoo b5f3065f3d fix: TABLE cipher doesn't need to make a derived key
- fix #887
- Reference Implemetation: shadowsocks-libev, shadowsocks (Python)
  https://github.com/shadowsocks/shadowsocks-libev/blob/5ff4f27b74be9f390e639b960a6ec8baafc1e850/src/encrypt.c#L1395-L1399
2024-06-14 23:24:35 +08:00
ty fd723259d9 feat: enable ppc64el, s390x on snap 2024-06-13 13:36:52 +08:00
zonyitoo 6345c0dcf1 feat(server): tokio v1.38 stablized RuntimeMetrics::num_workers 2024-06-13 00:00:05 +08:00
zonyitoo a5130caa0f release v1.19.4 v1.19.4 2024-06-12 23:37:47 +08:00
zonyitoo f43c823881 feat(local-online-config): enable compression 2024-06-12 22:48:50 +08:00
ty a3a29695d9 fix: android build warning 2024-06-12 13:44:16 +08:00
ty d71c5d3b86 feat: check online-config response status code 2024-06-12 12:52:39 +08:00
ty aa0e40155d chore: clippy fix 2024-06-12 10:07:51 +08:00
ty e2d4826186 feat: remove unnecessary clone 2024-06-12 09:56:58 +08:00
zonyitoo cc0e4e804a fix(local-online-build): fix online_config missing in default build 2024-06-12 02:20:15 +08:00
zonyitoo 3b7ca91d24 fix(local): windows build 2024-06-12 02:17:38 +08:00
zonyitoo 27f35076d1 fix(local-online-build): fixed build with default features 2024-06-12 02:14:40 +08:00
zonyitoo 87c1557fda feat(local-online-config): refactored with local-http client
- removed dependency to reqwest (very large)
- apply outbound configurations on sockets
- fixed #1508
2024-06-12 02:08:47 +08:00
zonyitoo e981e7eaaf fix: parse_ipnet enabled for local-fake-dns (#1558) 2024-06-11 23:28:08 +08:00
zonyitoo a77f0cb317 fix: local-fake-dns deps add ipnet (#1557) 2024-06-11 22:32:43 +08:00
dependabot[bot] 0f4fe14599 chore(deps): bump idna from 0.5.0 to 1.0.0 (#1556) 2024-06-10 15:04:37 +00:00
dependabot[bot] dfef28645e chore(deps): bump sysexits from 0.7.14 to 0.8.0 (#1555) 2024-06-10 14:47:31 +00:00
zonyitoo 1acfa1355a retag v1.19.3, fix i686 build
- ref seanmonstar/httparse#165
v1.19.3
2024-06-10 22:17:08 +08:00
zonyitoo 6c9505c126 release v1.19.3 2024-06-10 21:23:46 +08:00
ty cd537e942d feat: online-config only limits total request timeout: 30s 2024-06-10 00:39:45 +08:00
ty 27c207ec4d chore: charset is predefined in mime 2024-06-08 22:04:59 +08:00
ty d07ea6f52e feat: parse content-type with \"mime\" 2024-06-08 22:04:06 +08:00
ty 1e68e2cda2 chore: reqwest::Error print with Debug 2024-06-08 21:47:35 +08:00
ty be3a5b990a feat: enable reqwest hickory-resolver 2024-06-08 21:41:49 +08:00
ty f7c9bd53ba fix: dns-over-h3 moved to full-extra, experimental feature 2024-06-08 12:32:34 +08:00
ty 98013d7746 fix: wrong compression name, should be brotli 2024-06-08 12:29:13 +08:00
ty 7e272f6604 feat: online-config set http User-Agent and timeouts 2024-06-08 12:27:32 +08:00
ty c637d87f65 fix: sled disable compression with zstd 2024-06-08 12:18:15 +08:00
zonyitoo 84eab9e082 fix(local-tun): tun2 already handles IP packet information
- Removed all excessive IP packet information handling code
- Removed all route setting code
v1.19.2
2024-06-01 23:53:43 +08:00