fscarmen / warp-sh

WARP script is move to: https://gitlab.com/fscarmen/warp
942 stars 203 forks source link

检测不到任何 IPv4 或 IPv6。脚本中止, 如何操作 #121

Open jiaoluoshi opened 3 weeks ago

jiaoluoshi commented 3 weeks ago

root@localhost:~# wget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash -x menu.sh [option] [lisence/url/token] --2024-10-31 16:40:13-- https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh Resolving gitlab.com (gitlab.com)... 172.65.251.78, 2606:4700:90:0:f22e:fbec:5bed:a9b9 Connecting to gitlab.com (gitlab.com)|172.65.251.78|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 169529 (166K) [text/plain] Saving to: ‘menu.sh’

menu.sh 100%[=======================================================>] 165.56K --.-KB/s in 0.04s

Last-modified header missing -- time-stamps turned off. 2024-10-31 16:40:18 (4.10 MB/s) - ‘menu.sh’ saved [169529/169529]

++ text 50 ++ grep -q '\$' ++ eval echo '${E[50]}' +++ echo Choose:

eth0

eth1 =~ warp ]]

fscarmen commented 2 weeks ago

看日志,访问不了 cf 的官网,你先试试手动

curl --retry 2 -ksm5 https://www.cloudflare.com/cdn-cgi/trace

正常应该如下的

root@gcp:~# curl --retry 2 -ksm5 https://www.cloudflare.com/cdn-cgi/trace
fl=14f686
h=www.cloudflare.com
ip=34.66.96.126
ts=1730941858.372
visit_scheme=https
uag=curl/7.88.1
colo=ORD
sliver=none
http=http/2
loc=US
tls=TLSv1.3
sni=plaintext
warp=off
gateway=off
rbi=off
kex=X25519