zonyitoo
|
d3454dbd9a
|
enable armv8,neon for build scripts
|
2022-01-28 09:54:10 +08:00 |
|
zonyitoo
|
2cc68880d8
|
shadowsocks-crypto uses crates.io v0.3
|
2022-01-28 02:26:41 +08:00 |
|
zonyitoo
|
8766191164
|
cross build uses nightly rust
|
2022-01-28 02:02:32 +08:00 |
|
zonyitoo
|
0a8e2316d3
|
sha1-asm, md5-asm can only be used in some platforms
|
2022-01-28 01:44:15 +08:00 |
|
zonyitoo
|
9e0dc934b1
|
autodetect CPU features
|
2022-01-28 01:13:24 +08:00 |
|
zonyitoo
|
ff1f0508c5
|
build-and-test should overrides to nightly
|
2022-01-28 00:26:48 +08:00 |
|
zonyitoo
|
fdc9120bf9
|
add back aes-*-ccm
- CI requires nightly because clippy can only run on nightly.
|
2022-01-28 00:13:36 +08:00 |
|
zonyitoo
|
fc3e858ca5
|
add back v1-aead-extra aes-*-gcm-siv
|
2022-01-27 23:27:53 +08:00 |
|
zonyitoo
|
ec91638cb9
|
decrypt_in_place requires Buffer trait
|
2022-01-27 23:03:09 +08:00 |
|
zonyitoo
|
b36a5dee9e
|
ring-compat doesn't provide decrypt_in_place_detached
|
2022-01-27 22:34:17 +08:00 |
|
zonyitoo
|
78e0e0e243
|
Build with stable Rust.
- #750 introduced strip=true, but it can only be used in >= 1.59
|
2022-01-27 21:52:26 +08:00 |
|
zonyitoo
|
15ff6ac901
|
shadowsocks-crypto uses RustCrypto managed algorithms
|
2022-01-27 21:20:26 +08:00 |
|
zonyitoo
|
9801a8f6ec
|
Re-enable rx checksum
|
2022-01-26 15:40:50 +08:00 |
|
zonyitoo
|
7fba4ecea8
|
ICMP handled by smoltcp stack. Disable rx checksum verification
|
2022-01-26 15:36:53 +08:00 |
|
dependabot[bot]
|
bb156b5bc1
|
Bump serde_json from 1.0.75 to 1.0.78
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.75 to 1.0.78.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.75...v1.0.78)
---
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-01-25 12:33:57 +08:00 |
|
zonyitoo
|
1f1df39b4f
|
update dependencies
|
2022-01-22 18:22:18 +08:00 |
|
Y0ba
|
2c6fb0d81b
|
Disable default features in mimalloc allocator
|
2022-01-22 17:43:25 +08:00 |
|
Y0ba
|
c3f52eeb99
|
Strip symbols in release mode
|
2022-01-22 16:57:39 +08:00 |
|
zonyitoo
|
c69507198d
|
make clippy happy
|
2022-01-21 21:19:13 +08:00 |
|
zonyitoo
|
c7b4ae488d
|
udp association creation log should be DEBUG
|
2022-01-21 20:54:21 +08:00 |
|
zonyitoo
|
cc0cc7ca8a
|
drop proxied socket when send/recv error
|
2022-01-21 20:22:45 +08:00 |
|
zonyitoo
|
bd7c5b3a11
|
refactored UDP association reducing Tasks number
- every associations now contains only 1 task
|
2022-01-21 20:18:06 +08:00 |
|
zonyitoo
|
a4b035e6cc
|
udp association release log set to debug, matching the creation log
|
2022-01-21 13:21:48 +08:00 |
|
zonyitoo
|
269c61b985
|
make clippy happy
|
2022-01-21 01:59:10 +08:00 |
|
zonyitoo
|
c6e0af39f4
|
TCP socket timeout in 7200s following Linux's setting
|
2022-01-21 01:53:05 +08:00 |
|
zonyitoo
|
8ab8e296e0
|
updated crypto2 for fixing aarch64 macro error
|
2022-01-21 00:23:07 +08:00 |
|
zonyitoo
|
0306fa4f2f
|
TCP tun poll_* may wake the same task when replacing waker
|
2022-01-20 23:50:59 +08:00 |
|
zonyitoo
|
58c78e03b8
|
updated crypto2 for fixing build on aarch64
|
2022-01-20 17:51:27 +08:00 |
|
zonyitoo
|
b2ffad33cd
|
make clippy happy
|
2022-01-20 17:08:19 +08:00 |
|
zonyitoo
|
a8d87d7c47
|
upgrade shadowsocks-crypto/crypto2 for removing llvm_asm
- crypto2 also supports dynamic code optimization path
- fixes #749
|
2022-01-20 16:19:23 +08:00 |
|
zonyitoo
|
4d30371bdf
|
copy send/recv buffer as much as possible
|
2022-01-20 15:23:26 +08:00 |
|
zonyitoo
|
ada409f81a
|
EXPERIMENT: tun TCP separates read/write with interface poll
- ref #745
- reduce manager lock acquisition compete among TcpSockets and
Interface::poll
|
2022-01-19 13:34:10 +08:00 |
|
zonyitoo
|
082ef9741b
|
better format of Icmpv6
|
2022-01-19 09:56:24 +08:00 |
|
zonyitoo
|
b4167b0add
|
remove unnecessary yield in TCP manager's poll task
Tokio will handle dead loop properly.
|
2022-01-17 23:13:50 +08:00 |
|
zonyitoo
|
da541e0404
|
enable delay ACK for TcpSocket
|
2022-01-17 22:56:24 +08:00 |
|
dependabot[bot]
|
f166e04924
|
Bump iprange from 0.6.6 to 0.6.7
Bumps [iprange](https://github.com/sticnarf/iprange-rs) from 0.6.6 to 0.6.7.
- [Release notes](https://github.com/sticnarf/iprange-rs/releases)
- [Commits](https://github.com/sticnarf/iprange-rs/compare/v0.6.6...v0.6.7)
---
updated-dependencies:
- dependency-name: iprange
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2022-01-17 22:03:13 +08:00 |
|
dependabot[bot]
|
fd12e9b6ed
|
Bump serde_urlencoded from 0.7.0 to 0.7.1
Bumps [serde_urlencoded](https://github.com/nox/serde_urlencoded) from 0.7.0 to 0.7.1.
- [Release notes](https://github.com/nox/serde_urlencoded/releases)
- [Commits](https://github.com/nox/serde_urlencoded/commits)
---
updated-dependencies:
- dependency-name: serde_urlencoded
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2022-01-17 22:03:04 +08:00 |
|
zonyitoo
|
13c5de07b8
|
increase TCP send/recv buffer size
- ref ##745, significantly increase thoughtput, but still slower than
system network stack
|
2022-01-17 22:01:24 +08:00 |
|
zonyitoo
|
add0fb6cc2
|
SocketHandle should be removed from iface when connection closed
|
2022-01-17 21:35:06 +08:00 |
|
zonyitoo
|
3307c121fd
|
handling ICMP, add debug logs for smoltcp Interface::poll
|
2022-01-17 20:50:38 +08:00 |
|
zonyitoo
|
1c23911874
|
Revert "put UDP recv buffer on heap"
This reverts commit 15c5f5d7b3.
|
2022-01-17 00:01:08 +08:00 |
|
zonyitoo
|
15c5f5d7b3
|
put UDP recv buffer on heap
- ref #745
- 16K buffer defined on stack of an async function will actually causing
it to be copied on Heap memory.
|
2022-01-16 23:39:43 +08:00 |
|
zonyitoo
|
470feafce9
|
abort the old future if state is reset
|
2022-01-16 21:28:06 +08:00 |
|
zonyitoo
|
73c49ccf13
|
optimization: socket manager guarded by parking_lot Mutex
|
2022-01-16 18:04:57 +08:00 |
|
zonyitoo
|
8ad277f4f3
|
removed unused async_interface
|
2022-01-16 18:00:25 +08:00 |
|
zonyitoo
|
9b676c9000
|
dns-pressure test tool (UDP memory consumption test)
|
2022-01-16 15:06:24 +08:00 |
|
zonyitoo
|
3acbe68b30
|
optimization: local-tun virtual device lock-free input/output
|
2022-01-16 11:37:35 +08:00 |
|
zonyitoo
|
7db23b38f4
|
local-tun also obey "mode" configuration
|
2022-01-16 04:24:51 +08:00 |
|
zonyitoo
|
9c9cde4156
|
drive interface.poll() when received packet
|
2022-01-16 04:12:00 +08:00 |
|
zonyitoo
|
00c926d282
|
refactored tun local with smoltcp (user-space network stack)
ref #744, probably could fix compatibility issue on R4S (OpenWRT) and
IPv6 support.
|
2022-01-16 03:54:52 +08:00 |
|