From 5062779dc79091d63929d44b6354e1cbefa2e8f5 Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Sat, 18 Mar 2023 23:13:26 +0800 Subject: v2raya: Update to 2.0.4 - Added TproxyNotSkipBr flag for OpenWrt. - Removed all upstreamed patches. - Removed deprecated option. - Re-enable ipv6/nftables auto-detect. Signed-off-by: Tianling Shen --- net/v2raya/files/v2raya.config | 8 ++------ net/v2raya/files/v2raya.init | 5 ++--- 2 files changed, 4 insertions(+), 9 deletions(-) (limited to 'net/v2raya/files') diff --git a/net/v2raya/files/v2raya.config b/net/v2raya/files/v2raya.config index 131131cf8..8ebf318cd 100644 --- a/net/v2raya/files/v2raya.config +++ b/net/v2raya/files/v2raya.config @@ -10,11 +10,11 @@ config v2raya 'config' # Make sure your IPv6 network works fine before you turn it on. # Optional values: auto, on, off. - option ipv6_support 'on' + option ipv6_support 'auto' # Experimental feature. Make sure you have installed nftables. # Optional values: auto, on, off. - option nftables_support 'on' + option nftables_support 'auto' # Optional values: trace, debug, info, warn or error option log_level 'info' @@ -48,7 +48,3 @@ config v2raya 'config' # v2rayA will pass in the --stage (pre-start, post-start, pre-stop, post-stop) argument. option plugin_manager '' - # Specify the certification path instead of automatically generating a self-signed certificate. - # Example: /etc/v2raya/grpc_certificate.crt,/etc/v2raya/grpc_private.key - option vless_grpc_inbound_cert_key '' - diff --git a/net/v2raya/files/v2raya.init b/net/v2raya/files/v2raya.init index 2b77fa5dc..b4a719613 100755 --- a/net/v2raya/files/v2raya.init +++ b/net/v2raya/files/v2raya.init @@ -42,8 +42,8 @@ start_service() { append_env_arg "config" "address" "0.0.0.0:2017" append_env_arg "config" "config" "/etc/v2raya" - append_env_arg "config" "ipv6_support" "on" - append_env_arg "config" "nftables_support" "on" + append_env_arg "config" "ipv6_support" "auto" + append_env_arg "config" "nftables_support" "auto" append_env_arg "config" "log_level" "info" append_env_arg "config" "log_file" "/var/log/v2raya/v2raya.log" append_env_arg "config" "log_max_days" "3" @@ -52,7 +52,6 @@ start_service() { append_env_arg "config" "transparent_hook" append_env_arg "config" "core_hook" append_env_arg "config" "plugin_manager" - append_env_arg "config" "vless_grpc_inbound_cert_key" append_env_bool "config" "log_disable_color" append_env_bool "config" "log_disable_timestamp" -- cgit v1.2.3