Commit Graph

2616 Commits

Author SHA1 Message Date
zonyitoo
bd4efaaa7d chore: release v1.21.0 v1.21.0 2024-09-22 22:39:20 +08:00
dependabot[bot]
6e83a2e81e chore(deps): bump clap from 4.5.17 to 4.5.18 (#1661) 2024-09-22 02:42:40 +00: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]
d0c117353d chore(deps): bump webpki-roots from 0.26.5 to 0.26.6 (#1662) 2024-09-22 02:07:16 +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
dependabot[bot]
7426a461d1 chore(deps): bump serde from 1.0.209 to 1.0.210 (#1659) 2024-09-22 01:30:49 +00:00
dependabot[bot]
9814195b9e chore(deps): bump bytes from 1.7.1 to 1.7.2 (#1664) 2024-09-22 01:14:15 +00:00
ty
d722c306e4 feat: dependabot allow opening 50 PRs 2024-09-22 08:48:52 +08:00
ty
bf798a5922 chore: dependabot checks daily 2024-09-22 08:41:53 +08: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
zonyitoo
f3c65413c6 feat: update dependencies 2024-09-05 23:53:30 +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
dependabot[bot]
a4919d01cc chore(deps): bump async-trait from 0.1.81 to 0.1.82 (#1637) 2024-09-04 02:02:51 +00:00
dependabot[bot]
81b5923869 chore(deps): bump webpki-roots from 0.26.3 to 0.26.5 (#1638) 2024-09-03 08:06:21 +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]
3677dc2b6e chore(deps): bump flate2 from 1.0.31 to 1.0.33 (#1628) 2024-08-26 15:52:41 +00:00
dependabot[bot]
afff9cdb4e chore(deps): bump blake3 from 1.5.3 to 1.5.4 (#1629) 2024-08-26 15:35:15 +00:00
dependabot[bot]
ee23d50d51 chore(deps): bump serde_json from 1.0.125 to 1.0.127 (#1630) 2024-08-26 15:18:20 +00:00
dependabot[bot]
b034d56fa8 chore(deps): bump reqwest from 0.12.5 to 0.12.7 (#1631) 2024-08-26 15:01:56 +00:00
dependabot[bot]
7a5ce8ec6a chore(deps): bump clap from 4.5.15 to 4.5.16 (#1623) 2024-08-20 08:04:25 +00:00
dependabot[bot]
52d66f3726 chore(deps): bump serde_json from 1.0.124 to 1.0.125 (#1622) 2024-08-20 07:47:35 +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
dependabot[bot]
2b7fb41472 chore(deps): bump rustls-native-certs from 0.7.1 to 0.7.2 (#1620) 2024-08-20 07:15:06 +00:00
zonyitoo
c341c89908 chore: release v1.20.4 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
dependabot[bot]
4c2bdaeabb chore(deps): bump serde_json from 1.0.122 to 1.0.124 (#1609) 2024-08-12 16:03:08 +00:00
dependabot[bot]
260509c86a chore(deps): bump clap from 4.5.13 to 4.5.15 (#1610) 2024-08-12 15:47:32 +00:00
drawdrop
e43ee2a346 chore: fix some comments
Signed-off-by: drawdrop <cricis@icloud.com>
2024-08-12 23:29:04 +08:00
zonyitoo
edac97d1fe chore: add macports badge (#1607) 2024-08-10 11:09:13 +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]
dcc628d7a0 chore(deps): bump clap from 4.5.11 to 4.5.13 (#1602) 2024-08-05 17:32:41 +00: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]
5c373adec5 chore(deps): bump serde_json from 1.0.121 to 1.0.122 (#1601) 2024-08-05 16:56:13 +00:00
dependabot[bot]
80b22d3f67 chore(deps): bump flate2 from 1.0.30 to 1.0.31 (#1603) 2024-08-05 16:40:30 +00:00