mirror of
https://gitlab.com/fscarmen/warp.git
synced 2026-06-15 03:25:42 +08:00
v3.2.4 Fix: correct wireproxy dual-stack WARP handling and DNS strategy
- Fix wireproxy WARP network detection for dual-stack environments - Set wireproxy DNS resolve strategy to auto Fix: 修复 wireproxy 双栈 WARP 网络获取与 DNS 策略 - 修复 wireproxy 获取双栈 WARP 网络的问题 - 将 wireproxy DNS 解析策略设置为 auto
This commit is contained in:
@@ -22,18 +22,20 @@
|
||||
* * *
|
||||
|
||||
## 更新信息
|
||||
2026.04.28 menu.sh v3.2.4 1. 修复 wireproxy 获取双栈 WARP 网络的问题; 2. 将 wireproxy DNS 解析策略设置为 auto
|
||||
|
||||
2026.04.10 menu.sh v3.2.3 1. 菜单调整:已移除更换 License (warp a) 功能; 2. 优化函数,提升执行效率
|
||||
|
||||
2026.03.01 warp-go.sh v1.3.2 为 IPv4 / IPv6 only 主机使用固定 IP 端点
|
||||
|
||||
2026.02.25 menu.sh v3.2.2 Restore Reserved configuration for Warp usage; 由于部分地区使用 Warp,仍需保留 Reserved 配置,因此恢复之前的配置文件
|
||||
|
||||
2026.02.22 menu.sh v3.2.1 / warp-go.sh v1.3.1 1. 移除系统版本号判断,以支持滚动发行版; 2. cloudflare.now.cc -> cloudflare.nyc.mn
|
||||
|
||||
<details>
|
||||
<summary>历史更新(点击展开或收起)</summary>
|
||||
<br>
|
||||
|
||||
>2026.03.01 warp-go.sh v1.3.2 为 IPv4 / IPv6 only 主机使用固定 IP 端点
|
||||
>
|
||||
>2026.02.25 menu.sh v3.2.2 Restore Reserved configuration for Warp usage; 由于部分地区使用 Warp,仍需保留 Reserved 配置,因此恢复之前的配置文件
|
||||
>
|
||||
>2026.02.22 menu.sh v3.2.1 / warp-go.sh v1.3.1 1. 移除系统版本号判断,以支持滚动发行版; 2. cloudflare.now.cc -> cloudflare.nyc.mn
|
||||
>
|
||||
>2026.01.02 menu.sh v3.2.0 / warp-go.sh v1.3.0 1. 账户管理优化: 顺应 Cloudflare 对 WARP 账户政策的调整,移除了已过时的 WARP+ 和 Teams 账户类型,精简了安装流程及账户升级功能(受影响命令:warp a); 2. 修复卸载 Bug: 修正了 Linux Client 在 Proxy 模式下,卸载程序后误操作路由规则而导致的网络故障问题; 3. 性能提升: 引入自建 IP API 替代第三方接口,显著提升了 IP 信息获取和脚本初始化的速度; 4. 脚本清理: 移除了部分不再使用的冗余脚本提示语及过时代码块,使输出界面更加简洁; 5. 刷 IP 逻辑: 将 Netflix 解锁检测的默认首选项从 IPv4 调整为 IPv6
|
||||
>
|
||||
>2025.09.10 menu.sh v3.1.8 增强脚本对 Arch Linux 及 EndeavourOS 系统的兼容性
|
||||
|
||||
@@ -22,6 +22,8 @@ English | [中文](README.md)
|
||||
* * *
|
||||
|
||||
## Update Information
|
||||
2026.04.28 menu.sh v3.2.4 1. Fix wireproxy WARP network detection for dual-stack environments; 2. Set wireproxy DNS resolve strategy to auto
|
||||
|
||||
2026.04.10 menu.sh v3.2.3 1. Menu adjustment: Removed the change License (warp a) function; 2. Optimize functions to improve execution efficiency
|
||||
|
||||
2026.03.01 warp-go.sh v1.3.2 Use fixed IP endpoints on IPv4-only / IPv6-only hosts.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# 当前脚本版本号
|
||||
VERSION='3.2.3'
|
||||
VERSION='3.2.4'
|
||||
|
||||
# 环境变量用于在Debian或Ubuntu操作系统中设置非交互式(noninteractive)安装模式
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
@@ -14,8 +14,8 @@ trap on_interrupt_exit INT QUIT TERM
|
||||
|
||||
E[0]="\n Language:\n 1. English (default) \n 2. 简体中文"
|
||||
C[0]="${E[0]}"
|
||||
E[1]="1. Menu adjustment: Removed the change License (warp a) function; 2. Optimize functions to improve execution efficiency"
|
||||
C[1]="1. 菜单调整:已移除更换 License (warp a) 功能; 2. 优化函数,提升执行效率"
|
||||
E[1]="1. Fix wireproxy WARP network detection for dual-stack environments; 2. Set wireproxy DNS resolve strategy to auto"
|
||||
C[1]="1. 修复 wireproxy 获取双栈 WARP 网络的问题; 2. 将 wireproxy DNS 解析策略设置为 auto"
|
||||
E[2]="The script must be run as root, you can enter sudo -i and then download and run again. Feedback: [https://github.com/fscarmen/warp-sh/issues]"
|
||||
C[2]="必须以root方式运行脚本,可以输入 sudo -i 后重新下载运行,问题反馈:[https://github.com/fscarmen/warp-sh/issues]"
|
||||
E[3]="The TUN module is not loaded. You should turn it on in the control panel. Ask the supplier for more help. Feedback: [https://github.com/fscarmen/warp-sh/issues]"
|
||||
@@ -2103,9 +2103,9 @@ EOF
|
||||
# of a wg-quick configuration. To understand what these fields mean, please refer to:
|
||||
# https://wiki.archlinux.org/title/WireGuard#Persistent_configuration
|
||||
# https://www.wireguard.com/#simple-network-interface
|
||||
# The subnet should be /32 and /128 for IPv4 and v6 respectively
|
||||
[Interface]
|
||||
Address = 172.16.0.2/32 # The subnet should be /32 and /128 for IPv4 and v6 respectively
|
||||
Address = $FREE_ADDRESS6
|
||||
Address = 172.16.0.2/32, $FREE_ADDRESS6
|
||||
MTU = $MTU
|
||||
PrivateKey = $FREE_PRIVATEKEY
|
||||
DNS = $DNS
|
||||
@@ -2132,6 +2132,16 @@ Endpoint = $ENDPOINT
|
||||
#ListenPort = 3422
|
||||
#Target = localhost:25545
|
||||
|
||||
# STDIOTunnel is a tunnel connecting the standard input and output of the wireproxy
|
||||
# process to the specified TCP target via wireguard.
|
||||
# This is especially useful to use wireproxy as a ProxyCommand parameter in openssh
|
||||
# For example:
|
||||
# ssh -o ProxyCommand='wireproxy -c myconfig.conf' ssh.myserver.net
|
||||
# Flow:
|
||||
# Piped command -->(wireguard)--> ssh.myserver.net:22
|
||||
#[STDIOTunnel]
|
||||
#Target = ssh.myserver.net:22
|
||||
|
||||
# Socks5 creates a socks5 proxy on your LAN, and all traffic would be routed via wireguard.
|
||||
[Socks5]
|
||||
BindAddress = 127.0.0.1:$PORT
|
||||
@@ -2141,6 +2151,27 @@ BindAddress = 127.0.0.1:$PORT
|
||||
#Username = ...
|
||||
# Avoid using spaces in the password field
|
||||
#Password = ...
|
||||
|
||||
# http creates a http proxy on your LAN, and all traffic would be routed via wireguard.
|
||||
#[http]
|
||||
#BindAddress = 127.0.0.1:25345
|
||||
|
||||
# HTTP authentication parameters, specifying username and password enables
|
||||
# proxy authentication.
|
||||
#Username = ...
|
||||
# Avoid using spaces in the password field
|
||||
#Password = ...
|
||||
|
||||
# Specifying certificate and key enables HTTPS
|
||||
#CertFile = ...
|
||||
#KeyFile = ...
|
||||
|
||||
[Resolve]
|
||||
# Set DNS Resovle Strategy
|
||||
# `ipv4`: Prioritize A records.
|
||||
# `ipv6`: Prioritize AAAA records .
|
||||
# `auto` (Default): If the WireGuard interface has IPv4 address only, it's equivalent to `ipv4`, otherwise it's equivalent to `ipv6`.
|
||||
ResolveStrategy = auto
|
||||
EOF
|
||||
|
||||
# 创建 WireProxy systemd 进程守护
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
2026/03/05 v1.1.1
|
||||
2024/04/19 v1.0.9
|
||||
2024/04/13 v1.0.8
|
||||
2024/02/11 v1.0.7
|
||||
|
||||
Reference in New Issue
Block a user