Aaron Chen
6c6739ce02
chore: fix clippy warning ( #1734 )
2024-10-25 00:07:45 +08:00
zonyitoo
09088dedad
chore: ready for release v1.21.1
2024-10-24 00:10:05 +08:00
zonyitoo
ab5005c985
fix(local-http): HttpClient send HTTP requests URI contains only Path&Query
...
- fix #1730
- hyper will serialize the hyper::Request<T> object with all the
contents in the uri, which may be rejected by some of the servers.
2024-10-24 00:06:43 +08:00
Aaron Chen
6ec834f641
chore: suppress a clippy warning ( #1719 )
2024-10-18 23:20:06 +08:00
Aaron Chen
e44cc278aa
chore: clippy fix ( #1706 )
...
* chore: clippy fix
* clippy fix for bsd
2024-10-06 02:22:31 +08:00
renovate[bot]
f950ba5632
fix(deps): update rust crate brotli to v7 ( #1698 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-04 23:23:24 +08:00
Aaron Chen
fbf968f14a
chore: clippy fix ( #1695 )
2024-10-01 21:55:39 +08:00
zonyitoo
2f48a353fe
chore: tun2 can be compatible with all 3.1.x versions
2024-09-27 22:03:51 +08:00
dependabot[bot]
fae0217977
chore(deps): bump tun2 from 3.1.4 to 3.1.5 ( #1673 )
2024-09-27 13:54:16 +00:00
zonyitoo
fef1ec59fe
chore: libc version compatbile from 0.2.141
2024-09-27 00:12:57 +08:00
dependabot[bot]
14f02a38fe
chore(deps): bump libc from 0.2.158 to 0.2.159 ( #1669 )
2024-09-26 16:08:18 +00:00
zonyitoo
bd4efaaa7d
chore: release v1.21.0
2024-09-22 22:39:20 +08:00
dependabot[bot]
609a238ab3
chore(deps): bump bson from 2.12.0 to 2.13.0 ( #1658 )
2024-09-22 02:25:00 +00:00
dependabot[bot]
5e2bbece19
chore(deps): bump etherparse from 0.15.0 to 0.16.0 ( #1660 )
2024-09-22 01:49:38 +00:00
zonyitoo
8c95ada0f7
feat(shadowsocks): impls As*Fd As*Socket for ProxySocket
2024-09-22 08:32:48 +08:00
zonyitoo
0ce6cb333b
feat(shadowsocks): splits DatagramTransport into DatagramSocket, DatagramSend, DatagramReceive
2024-09-21 00:22:05 +08:00
zonyitoo
60d0576b26
feat(shadowsocks): DatagramTransport & DatagramTransportExt
...
ProxySocket and MonProxySocket accepts socket as a generic type that
implements DatagramTransport.
2024-09-21 00:03:50 +08:00
Yuwei Ba
4e295818e5
take arbitrary IO for udp proxy ( #1641 )
...
* udp relay
* refact
* reset
* Update crates/shadowsocks/src/relay/udprelay/proxy_socket.rs
* export trait
2024-09-21 00:02:55 +08:00
ge9
e691853f44
add support for OpenBSD/pf ( #1567 )
2024-09-19 23:09:58 +08:00
link2xt
a04e92c110
feat(shadowsocks): add more Debug implementations ( #1656 )
...
Most implementations are derived.
I would like to add `missing_debug_implementations` lint,
but before deriving more Debug implementations
we need to add Debug implementations to types exported
from `shadowsocks-crypto`.
2024-09-17 20:39:28 +08:00
dependabot[bot]
4b510d57a2
chore(deps): bump tun2 from 3.1.2 to 3.1.4 ( #1653 )
2024-09-16 18:04:56 +00:00
dependabot[bot]
384b0cdc35
chore(deps): bump bson from 2.11.0 to 2.12.0 ( #1654 )
2024-09-16 17:47:18 +00:00
zonyitoo
fa21a30ac2
fix(shadowsocks): check mptcp socket() return value
2024-09-09 23:12:29 +08:00
dependabot[bot]
c31719a539
chore(deps): bump ipnet from 2.9.0 to 2.10.0 ( #1646 )
2024-09-09 14:24:32 +00:00
zonyitoo
7c92aec1ee
chore: release shadowsocks v1.20.3
2024-09-07 14:53:37 +08:00
dependabot[bot]
f41fc6ff4d
chore(deps): bump tun2 from 2.0.8 to 3.1.0 ( #1640 )
...
* chore(deps): bump tun2 from 2.0.8 to 3.1.0
Bumps [tun2](https://github.com/ssrlive/rust-tun ) from 2.0.8 to 3.1.0.
- [Release notes](https://github.com/ssrlive/rust-tun/releases )
- [Commits](https://github.com/ssrlive/rust-tun/commits )
---
updated-dependencies:
- dependency-name: tun2
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix: AsyncDevice impls Deref
* fix: fake tun impls Deref
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: zonyitoo <zonyitoo@gmail.com >
2024-09-05 23:52:23 +08:00
dependabot[bot]
2361f2f41f
chore(deps): bump rustls-native-certs from 0.7.2 to 0.8.0 ( #1639 )
2024-09-05 15:09:37 +00:00
David Lönnhager
d34e9b7294
Expose raw fd on ProxySocket
2024-08-27 10:27:32 +08:00
dependabot[bot]
f46e2a64d6
chore(deps): bump tun2 from 2.0.6 to 2.0.8 ( #1627 )
2024-08-26 16:10:30 +00:00
dependabot[bot]
92e379de7c
chore(deps): bump tun2 from 2.0.5 to 2.0.6 ( #1621 )
2024-08-20 07:31:23 +00:00
zonyitoo
c341c89908
chore: release v1.20.4
2024-08-16 00:18:20 +08:00
zonyitoo
f200dff600
feat: unified ServerHandle
2024-08-15 23:55:47 +08:00
zonyitoo
6ffeda5495
fix(server): exit server instance if any of the sub-tasks exited ( #1612 )
...
Replaced FutureUnordered with futures::select_all, and put all sub-tasks
into individual tokio tasks.
2024-08-14 23:30:38 +08:00
zonyitoo
d67908f27e
feat(shadowsocks): ProxyServerStream::from_stream made public ( #1613 )
2024-08-13 23:30:51 +08:00
Vesa Vilhonen
0041f62128
feat(local): Allow configuring udp associate addr
...
User might want to bind the socket to a different address
than what is advertised in the Socks 5 UDP Associate responses.
This adds a new command line option to control only that but to still
default to udp bind addr and local address.
Example:
sslocal --local-addr 0.0.0.0:1080 --udp-associate-addr 10.51.1.1:1080 -U
Here the server would without this change respond to UDP Associate request with
address 0.0.0.0:1080. With the new switch, it responds 10.51.1.1:1080.
2024-08-13 23:19:07 +08:00
drawdrop
e43ee2a346
chore: fix some comments
...
Signed-off-by: drawdrop <cricis@icloud.com >
2024-08-12 23:29:04 +08:00
xiaobo tian
9ec9d8e27b
fix(net) losing the raw file descriptor may leak resources
...
Signed-off-by: xiaobo tian <peterwillcn@gmail.com >
2024-08-07 12:26:35 +08:00
zonyitoo
29fc232e1f
chore: imports_granularity set to default
...
- imports_granularity is still unstable since 2021:
https://rust-lang.github.io/rustfmt/?version=v1.6.0&search=#imports_granularity
2024-08-07 00:17:00 +08:00
dependabot[bot]
e0f88a0dbf
chore(deps): bump windows-sys from 0.52.0 to 0.59.0 ( #1604 )
2024-08-05 17:14:14 +00:00
dependabot[bot]
9e64c668d1
chore(deps): bump bytes from 1.6.1 to 1.7.1 ( #1605 )
2024-08-05 16:24:21 +00:00
zonyitoo
15b00a2b75
chore: Batch*Message document
2024-08-03 23:53:33 +08:00
zonyitoo
9d97bd4fd8
chore: proxy_socket doc opt
2024-08-03 23:53:33 +08:00
zonyitoo
87ac73829e
feat: release v1.20.3
2024-07-29 01:29:50 +08:00
zonyitoo
5585fad9da
fix: fixed MAD calculation
2024-07-28 18:10:45 +08:00
zonyitoo
eea43c7cd6
feat: ServerScore replaced stdev with MAD
2024-07-28 14:54:24 +08:00
zonyitoo
9eae3b044e
fix: tun2 v2.0.2 removing deps on SetInterfaceDnsSettings ( #1589 )
2024-07-14 21:21:24 +08:00
dependabot[bot]
97079ae8e6
chore(deps): bump hyper from 1.3.1 to 1.4.0 ( #1578 )
2024-07-08 15:48:51 +00:00
Aaron Chen
918730497f
update links
2024-07-06 11:12:23 +08:00
zonyitoo
43d5b2a9fd
fix: IP_DONTFRAG, IPV6_DONTFRAG now in libc
2024-06-25 22:27:31 +08:00
ty
6d7bc358c1
fix(local-redir): FreeBSD UDP set IP_RECVORIGDSTADDR, IPV6_RECVORIGDSTADDR
...
NOTE: They have the same value as IP_ORIGDSTADDR, IPV6_ORIGDSTADDR
ref #1543
2024-06-25 14:03:18 +08:00