From 49729d0b02b9feda1f7297fe1ad22b8cc634e76fb21b9927347350cb9dd3c1fd Mon Sep 17 00:00:00 2001 From: Hillwood Yang Date: Mon, 19 Jun 2023 07:41:07 +0000 Subject: [PATCH] Accepting request 1093738 from home:hillwood:branches:server:proxy - Update version to 1.15.3 * local-tun: Support tun_interface_destination for configuring Tun device's destination address * Support outbound_fwmark, outbound_user_cookie, outbound_bind_interface and outbound_bind_addr in configuration file * AEAD-2022 protoco * SIP002 Extended Format: Allowing unencoded user-info in URL * Manager standalone mode support bypassing ACL files * Allow sslocal run without any servers, which will bypass all connections and packets * "password" is optional for none / plain method * redir-local: Enable dual-stack support on Linux (TProxy) and FreeBSD * Disable md5-asm and sha1-asm: shadowsocks/shadowsocks-crypto * "acl" and "outbound_fwmark" are available in configuration file * Properly handle IPv4-mapped-IPv6 addresses in UDP assocations * Automatically bump RLIMIT_NOFILE on Unix (except Android) * SOCKS5 protocol supports RFC1929 Username/Password Authentication * HKDF-SHA1 uses ring's assembly implementation * Set environment variable SS_SYSTEM_DNS_RESOLVER_FORCE_BUILTIN to use system's builtin DNS resolver * Allow setting "system" in DNS configuration key "dns" to use system provided DNS API * Support setting SO_USER_COOKIE on FreeBSD * Local tun interface refactored the VirtDevice::poll strategy * balancer.check_best_interval could let ping balancer to ping only the choosen best server in this interval * Set a shorter interval in balancer.check_best_interval than balancer.check_interval to check much frequently the best server * efactored local-tun, using smoltcp as a user-space network stack * Support K8S deployment OBS-URL: https://build.opensuse.org/request/show/1093738 OBS-URL: https://build.opensuse.org/package/show/server:proxy/shadowsocks-rust?expand=0&rev=4 --- _constraints | 2 +- shadowsocks-rust-1.15.3.tar.gz | 3 ++ shadowsocks-rust-1.8.23.tar.gz | 3 -- shadowsocks-rust.changes | 85 ++++++++++++++++++++++++++++++++++ shadowsocks-rust.spec | 9 ++-- vendor.tar.gz | 4 +- 6 files changed, 96 insertions(+), 10 deletions(-) create mode 100644 shadowsocks-rust-1.15.3.tar.gz delete mode 100644 shadowsocks-rust-1.8.23.tar.gz diff --git a/_constraints b/_constraints index 26a9f7e..306d24b 100644 --- a/_constraints +++ b/_constraints @@ -6,7 +6,7 @@ - 3 + 10 diff --git a/shadowsocks-rust-1.15.3.tar.gz b/shadowsocks-rust-1.15.3.tar.gz new file mode 100644 index 0000000..6820536 --- /dev/null +++ b/shadowsocks-rust-1.15.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:13b877b0961402310f45b814b1f4cefec141d0a2ff8be37d57f1ee966c41c497 +size 289035 diff --git a/shadowsocks-rust-1.8.23.tar.gz b/shadowsocks-rust-1.8.23.tar.gz deleted file mode 100644 index 4474a68..0000000 --- a/shadowsocks-rust-1.8.23.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a24602023940b53d9a02017aa182b3ac04eda53c1fc51e822337c902a4061def -size 161682 diff --git a/shadowsocks-rust.changes b/shadowsocks-rust.changes index 5ff0b61..ccd2444 100644 --- a/shadowsocks-rust.changes +++ b/shadowsocks-rust.changes @@ -1,3 +1,88 @@ +------------------------------------------------------------------- +Mon Jun 19 06:19:16 UTC 2023 - opensuse-packaging + +- Update version to 1.15.3 + * local-tun: Support tun_interface_destination for configuring Tun + device's destination address + * Support outbound_fwmark, outbound_user_cookie, outbound_bind_interface + and outbound_bind_addr in configuration file + * AEAD-2022 protoco + * SIP002 Extended Format: Allowing unencoded user-info in URL + * Manager standalone mode support bypassing ACL files + * Allow sslocal run without any servers, which will bypass all connections + and packets + * "password" is optional for none / plain method + * redir-local: Enable dual-stack support on Linux (TProxy) and FreeBSD + * Disable md5-asm and sha1-asm: shadowsocks/shadowsocks-crypto + * "acl" and "outbound_fwmark" are available in configuration file + * Properly handle IPv4-mapped-IPv6 addresses in UDP assocations + * Automatically bump RLIMIT_NOFILE on Unix (except Android) + * SOCKS5 protocol supports RFC1929 Username/Password Authentication + * HKDF-SHA1 uses ring's assembly implementation + * Set environment variable SS_SYSTEM_DNS_RESOLVER_FORCE_BUILTIN to use system's + builtin DNS resolver + * Allow setting "system" in DNS configuration key "dns" to use system provided + DNS API + * Support setting SO_USER_COOKIE on FreeBSD + * Local tun interface refactored the VirtDevice::poll strategy + * balancer.check_best_interval could let ping balancer to ping only the choosen + best server in this interval + * Set a shorter interval in balancer.check_best_interval than + balancer.check_interval to check much frequently the best server + * efactored local-tun, using smoltcp as a user-space network stack + * Support K8S deployment + * shadowsocks-crypto switch underlying encryption library to RustCrypto + * New binary ssservice with unified features in (sslocal, ssserver and + ssmanager) + * Removed direct dependency to mio, sending file descriptors through UDS now + with sendfd + * ACL regular expression rules will try to convert to || (sub-domains) and | + (exact match) rules + * TCP connects with Happy Eyeballs (RFC6555, RFC8305) strategy + * Basic support of tun interface in sslocal (Experimental) Tested on macOS and + Linux + * Local server will choose remote servers based on their "mode" + * ssmanager support --plugin and --plugin-opts as default plugin + configurations + * ssmanager support starting ssserver in standalone (independent process) mode + * ACL support | and || hash-set and domain-tree mode + * Support --outbound-bind-interface on Windows + * TFO on Linux queue length set to 1024 to match backlogs + * Completely remove Replay Attack Protection with Ping-Pong bloom filter in + default build configuration + * Support Snapcraft + * Multi-architecture Docker image for release + * Replaced futures::future::abortable with tokio's builtin + tokio::task::JoinHandle::abort + * Define binaries' exit code with standard in sysexits.h + * HTTP local listener supports TCP_NODELAY, SO_KEEPALIVE and dual-stack + * Remove slient dropping when replay was detected + * Enable TCP Keep Alive for inbound and outbound sockets + * Add disabled key for local servers in configuration + * Support TFO (TCP Fast Open) on Linux, Windows, macOS (iOS), FreeBSD + * Support customizing servers' weight for balancer + * HTTP Proxy preserves headers' title case + * Support non-standard AEAD ciphers sm4-gcm and sm4-ccm + * Support non-standard AEAD ciphers with crypto2, could be enabled by feature + aead-cipher-extra + * Support protocol in basic configuration format + * supports starting multiple instances in the same process + * Check repeated salt after first successful decryption + * Support setting SO_MARK, SO_BINDTODEVICE on Linux + * Support setting SO_SNDBUF and SO_RCVBUF for TCP sockets + * Support SIP008 extend server fields server, server_port, remarks + * Support sending TCP and UDP queries simutaneously + * Support connection reusability + * Remove mostly TCP timeout setting for tunnels, connections will only be + killed if clients or servers close + * Auto-reload DNS resolver configuration from /etc/resolv.conf on *NIX + platforms + * Allow customizing number of worker-threads for multi-threaded scheduler + * Support field disabled in extended server configuration + * Support customizing inbound and outbound sockets' SO_SNDBUF and SO_RCVBUF by + command line options + * Fix bugs + ------------------------------------------------------------------- Sat Nov 13 12:01:57 UTC 2021 - opensuse-packaging diff --git a/shadowsocks-rust.spec b/shadowsocks-rust.spec index a3b103a..72f0c16 100644 --- a/shadowsocks-rust.spec +++ b/shadowsocks-rust.spec @@ -16,7 +16,7 @@ # Name: shadowsocks-rust -Version: 1.8.23 +Version: 1.15.3 Release: 0 Summary: Rust port of Shadowsocks License: MIT @@ -32,18 +32,19 @@ BuildRequires: cargo-packaging BuildRequires: cargo BuildRequires: pkgconfig(openssl) BuildRequires: systemd-rpm-macros -ExcludeArch: ppc ppc64 ppc64le s390 s390x +# ExcludeArch: ppc ppc64 ppc64le s390 s390x %{?systemd_ordering} %description shadowsocks-rust is a rust port of shadowsocks. -shadowsocks is a lightweight secured SOCKS5 proxy for embedded devices and low-end boxes. +shadowsocks is a lightweight secured SOCKS5 proxy for embedded devices and +low-end boxes. %prep %setup -q -a1 -n %{name}-%{version} mkdir .cargo -cat >.cargo/config <>.cargo/config.toml <