zonyitoo
04ea2ea1db
support "acl" and "outbound_fwmark" in configuration
2022-05-24 13:08:45 +08:00
Hanwei Jin and ty
c27a3decf5
update: remove rnd from security-iv-printable-prefix feature ( #844 )
...
Co-authored-by: ty <zonyitoo@users.noreply.github.com >
2022-05-22 22:41:59 +08:00
zonyitoo
809b7d8e0b
fixed comment typo
v1.15.0-alpha.4
2022-05-21 16:06:27 +08:00
zonyitoo
6644b30306
update dependencies
2022-05-21 12:02:33 +08:00
zonyitoo
4cd80e0e35
recreate client session if packet_id overflowed
2022-05-21 12:01:10 +08:00
zonyitoo
4605783fcf
windows also supports dual-stack udp socket
2022-05-18 23:43:50 +08:00
zonyitoo
95a3c9c111
socks5 udp converts IPv4-mapped-IPv6 to IPv4
2022-05-18 23:34:04 +08:00
zonyitoo
90ae706737
UDP outbound socket unified to one IPv6 socket
...
Older implementation uses 2 separated sockets for sending IPv4 and IPv6
packets, so one client may be mapped to 2 different outbound addresses.
IPv6 UDP socket is capable to send packets to IPv4 targets, just use
IPv4-mapped-IPv6 addresses as target addresses.
NOTE: OpenBSD's IPv6 socket are always IPv6-only.
https://man.openbsd.org/OpenBSD-current/ip6#IPV6_V6ONLY
2022-05-18 23:13:56 +08:00
zonyitoo
0685e4ab99
AEAD-2022 header check error with detailed message
2022-05-17 13:23:07 +08:00
zonyitoo
30c4b83374
replay policy must be "reject" for aead-2022
2022-05-17 11:13:47 +08:00
zonyitoo
0f970a7527
replay attack policy "reject" for AEAD-2022 ciphers
...
- add "default" policy, which is "reject" for AEAD-2022 and "ignore" for
AEAD, Stream ciphers
2022-05-17 10:42:31 +08:00
dependabot[bot]
6c5b478385
Bump smoltcp from 0.8.0 to 0.8.1
...
Bumps [smoltcp](https://github.com/smoltcp-rs/smoltcp ) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/smoltcp-rs/smoltcp/releases )
- [Changelog](https://github.com/smoltcp-rs/smoltcp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/smoltcp-rs/smoltcp/compare/v0.8.0...v0.8.1 )
---
updated-dependencies:
- dependency-name: smoltcp
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-17 09:42:16 +08:00
zonyitoo
81c3fbe60e
add stargazers
2022-05-16 13:55:44 +08:00
zonyitoo
77d343eb98
make "password" optional for none/plain method ( #838 )
2022-05-16 13:34:59 +08:00
zonyitoo
76f8b021c8
fixed PingBalancer checker panic when servers is empty
2022-05-15 20:55:51 +08:00
zonyitoo
855f7fa8f1
allow sslocal run without servers ( #818 )
...
If no server was configured, then sslocal will bypass all connections
and packets.
2022-05-15 20:42:15 +08:00
zonyitoo
5146c7d20b
apply timeout on server handshake
2022-05-15 19:14:13 +08:00
zonyitoo
365740a0a1
check REQUEST_SALT only when received at least 1 data chunk
2022-05-15 13:35:04 +08:00
zonyitoo
f5c7956904
check REQUEST_SALT only when read() returns non-EOF
2022-05-15 13:23:29 +08:00
zonyitoo
ce08be7a31
set SO_LINGER (0) for misbehav clients before close()
2022-05-15 11:49:01 +08:00
zonyitoo
03651f3968
make clippy happy
2022-05-15 01:34:35 +08:00
zonyitoo
3ce2e728ae
fixed build warning on Windows
2022-05-15 01:13:29 +08:00
zonyitoo
2048cb1d51
AEAD-2022 TCP protocol breaking changes
...
1. Request Header (TYPE + TIMESTAMP + LENGTH) encrypted into 1 AEAD
chunk
2. Response Header (TYPE + TIMESTAMP + REQUEST_SALT + LENGTH) encrypted
into 1 AEAD chunk
3. Header MUST be read by 1 read() call
4. Reject with EOF/RST if failed to decrypt header
BREAKING: Not compatible with v1.15.0-alpha.1, v1.15.0-alpha.2,
v1.15.0-alpha.3
2022-05-15 00:13:25 +08:00
zonyitoo
3678dd5f6a
plain SIP002 method and password should be percent encoded
2022-05-12 23:37:45 +08:00
zonyitoo
e58a0c4995
append remarks in url hash
2022-05-12 23:25:35 +08:00
zonyitoo
8156113402
aead-2022 cipher SIP002 URL should keep userinfo plaintext
2022-05-12 23:13:50 +08:00
zonyitoo
a339461c13
fixed typo
2022-05-12 19:58:46 +08:00
zonyitoo
eb4df55ed6
SIP002 extended format URL. Allowing non-encoded userinfo
...
https://github.com/shadowsocks/shadowsocks-org/issues/27#issuecomment-1124853747
2022-05-12 19:56:28 +08:00
zonyitoo
a2bcd6987c
add support aead-2022 in Notes
2022-05-12 15:53:32 +08:00
zonyitoo
811ba22490
update dependencies
2022-05-09 11:52:51 +08:00
zonyitoo
fbb2090274
libc extra_traits have to be enabled
v1.15.0-alpha.3
2022-05-08 21:46:32 +08:00
zonyitoo
d4f2230094
nix 0.24.0 build failed on mips*-unknown-linux-musl targets
...
- https://github.com/nix-rust/nix/issues/1719
v1.15.0-alpha.2
2022-05-08 21:32:17 +08:00
zonyitoo
9d50c2d7c2
AEAD-2022 (SIP022) pre-release
v1.15.0-alpha.1
2022-05-08 21:12:15 +08:00
zonyitoo
d690167201
basic wrappers for sendmmsg/recvmmsg ( #823 )
2022-05-08 17:16:45 +08:00
zonyitoo
238b8f4f2d
NixOS (nixpkg) release reference
...
- Thanks @marsam (https://github.com/marsam )
2022-05-08 15:07:40 +08:00
zonyitoo
c9fa0ab3b9
fixed archlinux-cn badges
2022-05-07 18:46:27 +08:00
zonyitoo
8ac08c5166
Windows API switched to windows-sys
2022-05-07 00:29:14 +08:00
dependabot[bot]
2a5f40b5f7
Bump serde_json from 1.0.79 to 1.0.81
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.79 to 1.0.81.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.79...v1.0.81 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-04 07:22:05 +08:00
dependabot[bot]
e5c7fea90c
Bump clap from 3.1.14 to 3.1.15
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.14 to 3.1.15.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.1.14...v3.1.15 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-04 07:20:23 +08:00
NeverBehave
0f8ebecd7d
fix(docs): JSON config usage update
2022-05-04 07:18:14 +08:00
dependabot[bot]
180eabe8bc
Bump clap from 3.1.12 to 3.1.14
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.12 to 3.1.14.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.1.12...v3.1.14 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-04 07:17:29 +08:00
dependabot[bot]
ceb8b74ae2
Bump serde_json from 1.0.79 to 1.0.80
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.79 to 1.0.80.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.79...v1.0.80 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-04 07:17:17 +08:00
dependabot[bot]
de171185d5
Bump notify from 5.0.0-pre.14 to 5.0.0-pre.15
...
Bumps [notify](https://github.com/notify-rs/notify ) from 5.0.0-pre.14 to 5.0.0-pre.15.
- [Release notes](https://github.com/notify-rs/notify/releases )
- [Changelog](https://github.com/notify-rs/notify/blob/main/CHANGELOG.md )
- [Commits](https://github.com/notify-rs/notify/compare/5.0.0-pre.14...5.0.0-pre.15 )
---
updated-dependencies:
- dependency-name: notify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-04 07:17:09 +08:00
dependabot[bot]
3c121142a3
Bump thiserror from 1.0.30 to 1.0.31
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.30 to 1.0.31.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.30...1.0.31 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-04 07:17:00 +08:00
dependabot[bot]
1b9e4dc92f
Bump mimalloc from 0.1.28 to 0.1.29
...
Bumps [mimalloc](https://github.com/purpleprotocol/mimalloc_rust ) from 0.1.28 to 0.1.29.
- [Release notes](https://github.com/purpleprotocol/mimalloc_rust/releases )
- [Commits](https://github.com/purpleprotocol/mimalloc_rust/compare/v0.1.28...v0.1.29 )
---
updated-dependencies:
- dependency-name: mimalloc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-04 07:16:51 +08:00
xiazuojie
32f6a09d54
remove 2 targets
2022-04-27 00:20:12 +08:00
xiazuojie
608f7c0cea
remove duplicated armv7-unknown-linux-musleabihf
2022-04-27 00:20:12 +08:00
xiazuojie
a44514028e
Update build-release.yml
...
add popular armv7 build targets
2022-04-27 00:20:12 +08:00
dependabot[bot]
2c5c9cf7b5
Bump nix from 0.23.1 to 0.24.1
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.23.1 to 0.24.1.
- [Release notes](https://github.com/nix-rust/nix/releases )
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/compare/v0.23.1...v0.24.1 )
---
updated-dependencies:
- dependency-name: nix
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-25 22:29:33 +08:00
zonyitoo
c10792e87e
update dependencies
2022-04-25 00:10:23 +08:00