Commit Graph

87 Commits

Author SHA1 Message Date
Aaron Chen
1cba24debf fix(CI): freebsd/netbsd artifacts missing (#2047) 2025-11-16 19:29:47 +08:00
Xuesong
f5567b43e0 fix: file path in powershell script (#1833)
Change location inside powershell does not affect the working dir
saw by .NET functions. Thus absolute path is needed.
2025-01-04 10:33:17 +08:00
zonyitoo
2392cd0d3a feat: re-enable release builds for some mips-* targets
- mips-* targets are moved to Tier-3 rust-lang/compiler-team#648
- cargo nightly provides -Zbuild-std to build libstd while compiling
- cross supports build-std
2024-11-26 01:24:18 +08:00
Xuesong Peng
676cae9c62 Fix: release script failed to pack sswinservice.exe 2024-05-12 14:50:40 +08:00
Xuesong Peng
bc063c3f47 resolve #1467: build sswinservice for Windows by default 2024-03-25 10:01:26 +08:00
ty
08f350f317 Revert "Fix UPX compression issue."
This reverts commit 872e994fd1.
2023-03-15 12:14:24 +08:00
riKirsti
872e994fd1 Fix UPX compression issue.
1.Fix the UPX compression issue in GitHub Actions.
2.Use upx --lzma --best instead of upx -9 to get better compression ratio.
2023-02-21 06:39:05 +08:00
zonyitoo
26a04b9c0c build nightly with cargo-zigbuild 2022-12-17 21:09:58 +08:00
zonyitoo
121058df43 remove excessive comma 2022-03-29 13:26:01 +08:00
zonyitoo
1aa34aa633 build-script pass cross/cargo build failure to caller 2022-03-29 13:10:14 +08:00
riKirsti
ae434f7022 Compress ssservice for mips targets
compress the new added ssservice for mips targets.
2021-12-12 00:25:12 +08:00
zonyitoo
486e1d7279 Local, Server & Manager unified binary ssservice
- fixes #698
- Refactored shadowsocks-rust crate structure. Common code are put into
a separated library
2021-11-27 17:36:16 +08:00
zonyitoo
dbb1dadf37 release v1.12.1-alpha.1 2021-11-09 23:37:08 +08:00
zonyitoo
3d6e4dd5a4 aarch64-apple-darwin release script fix 2021-09-29 12:25:08 +08:00
zonyitoo
d553554aa3 nightly and release build with local-tun 2021-09-02 04:02:25 +08:00
ty
337ab16adb Local server support Tun interface for both TCP and UDP (#586)
* [POC] basic implementation of TCP redirecting tun (#581)

* [POC] basic implementation of UDP redirection of Tun

* build with action

* add configuration interface for tun

* refine document and command line options

* outbound-bind-addr instead of reusing local_address for outbound sockets

* support customizing udp expiry and capacity

* make clippy happy

* fixed build error for Android

* add docs

* make a customized AsyncFd with the released tun crate

* TUN_INTERFACE_NAME to_owned directly

* ignore accept errors for tcp tun

* tun supports Android only on master branch

* android doesnt support setting IFF_NO_PI

* set route for macos automatically when creating tun

* set route for macos directly with PF_ROUTE

* Linux-like uses ETH_P_IP and ETH_P_IPV6

* use tun on crates.io and ignores Android support temporary

* update dependencies
2021-08-22 04:49:53 +08:00
zonyitoo
3743ffe1c3 updated build scripts for empty features 2021-06-21 10:11:55 +08:00
zonyitoo
4cd70ad7e4 passing features through command line arguments 2021-06-10 11:45:56 +08:00
zonyitoo
1271cc2ff8 updated build guide 2021-06-06 23:25:20 +08:00
zonyitoo
dbaafdd57f users other actions to install nightly 2020-11-29 00:31:00 +08:00
zonyitoo
81d8b338ad Remove unnecessary customized Dockerfile, RUSTFLAGS is controlled by .cargo/config.toml 2020-11-23 23:36:39 +08:00
zonyitoo
a807cd307b crypto2 requires unstable simd and asm featurs, we have to build with nightly 2020-11-21 22:18:50 +08:00
zonyitoo
050512d20d Remove target-cpu=native in default build profile 2020-11-21 13:49:46 +08:00
zonyitoo
855fae6220 Indirect dependent to shadowsocks_crypto, reformatted 2020-11-21 13:38:02 +08:00
zonyitoo
7572430e14 Send DNS queries sequentially, UDP then TCP 2020-11-15 14:23:21 +08:00
zonyitoo
fd952cac37 fix #318, impl From<&str> for LocalDnsAddr 2020-11-15 14:23:21 +08:00
zonyitoo
7638140f20 DNS relay outbound socket should also set SO_MARK
- Pass Context reference to UpStream trait for protect() and fwmark
2020-11-15 14:23:21 +08:00
zonyitoo
5269e59d7e Refine local DNS relay configurations
- Renamed local-dns-relay feature to local-dns
- sslocal DNS relay cmd options become --dns-addr --local-dns-addr --remote-dns-addr
- sslocal accepts --protocol dns to start standalone DNS resolver
- Hide local-tunnel specific configuration fields if feature disabled
2020-11-15 14:23:21 +08:00
Feng Yu
b501ec6fd5 Fix #311. Fix mips and mipsel build 2020-11-04 21:13:34 +08:00
zonyitoo
ed9accff73 ARM gnueabihf doesnt have AES instructions 2020-11-02 01:35:02 +08:00
zonyitoo
8eeda75a72 Add arm-unknown-linux-musleabihf for rpi 2020-10-14 11:08:25 +08:00
Feng Yu
98343be4e1 Fix arm-unknown-linux-musleabi build 2020-10-12 14:13:53 +08:00
zonyitoo
945ebacd76 set COPYFILE_DISABLE on macos runner, use gnu-tar instead of bsd-tar on github action 2020-10-12 10:05:30 +08:00
Feng Yu
988e69d4da Add arm-unknown-linux-musleabi release 2020-09-20 00:30:15 +08:00
zonyitoo
4fd4ac5bbe Removed .cargo/config.toml and use RUSTFLAGS instead
ref: rust-lang/cargo#6858
2020-08-20 15:55:28 +08:00
zonyitoo
4493c55235 Set rustflags target-feature without space 2020-08-20 15:42:11 +08:00
zonyitoo
43f9195f2f Set RUSTFLAGS with project based config, fixed OPENSSL_STATIC 2020-08-19 22:19:27 +08:00
cyber386
ed0ca0dd4a Enable upx for MIPS 2020-08-13 20:09:20 +08:00
zonyitoo
a198207bcb Docker build tasks separated into multiple steps 2020-08-08 01:41:52 +08:00
zonyitoo
534512cc3d Windows build host release with powershell 2020-08-08 01:10:37 +08:00
cyber386
1d0fc9ab61 Add docker build for mips/el-unknown-linux-musl 2020-08-07 23:57:21 +08:00
cyber386
b46cef2703 Add mips/mipsel targets build with docker 2020-08-07 23:57:21 +08:00
zonyitoo
1ae41274ad linux-gnu target is now built with docker
ref #275, cross docker's glibc version is 2.15
2020-07-05 01:09:33 +08:00
zonyitoo
130503ae18 Enable neon feature for aarch64 build targets 2020-05-30 23:58:56 +08:00
zonyitoo
7fd445a17e Release name removed -stable 2020-05-16 23:01:33 +08:00
zonyitoo
bb3369ebc1 local-redir will not be set by default 2020-05-14 22:17:51 +08:00
Clement Wong
a611d6d39d [#243] Support cross compiling for aarch64-unknown-linux-gnu 2020-05-13 23:50:10 +08:00
zonyitoo
8fc070010f windows-gnu target build is fixed in openssl-sys v0.9.56 2020-05-10 22:35:28 +08:00
zonyitoo
131de5fd6e Removed +ssse3 from arm platform build script 2020-05-10 00:36:35 +08:00
zonyitoo
a50daf2ee5 [#243] Support cross compiling for arm-unknown-linux-gnueabihf 2020-05-10 00:05:48 +08:00