Comments (8)
curl ifconfig.co/ 的结果可以看一下?
from als.
极端情况下,可以使用环境变量 PUBLIC_IPV4 / PUBLIC_IPV6 来手动配置这些信息
from als.
curl ifconfig.co/ 的结果可以看一下?
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>Just a moment...</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="robots" content="noindex,nofollow">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link href="/cdn-cgi/styles/challenges.css" rel="stylesheet">
</head>
<body class="no-js">
<div class="main-wrapper" role="main">
<div class="main-content">
<noscript>
<div id="challenge-error-title">
<div class="h2">
<span class="icon-wrapper">
<div class="heading-icon warning-icon"></div>
</span>
<span id="challenge-error-text">
Enable JavaScript and cookies to continue
</span>
</div>
</div>
</noscript>
<div id="trk_jschal_js" style="display:none;background-image:url('/cdn-cgi/images/trace/managed/nojs/transparent.gif?ray=7df332a80f724601')"></div>
<form id="challenge-form" action="/?__cf_chl_f_tk=MZRZ9KKfwGaN8ba3K6khMt_uzSBhhKO6iTbawCrCV10-1688094434-0-gaNycGzNBSU" method="POST" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="md" value="slqRrG2Nuu2EcX_rbYC90aV9dbrAREOMWZyfHrxSIfw-1688094434-0-AbICjWgUAl5g5bZXZNT8y-CG_qIEzHPjyUymWzSE-arDrjfAGrzUY5GaWP9La8WQP9hV5hEZmUoQk2_QhDTpRSTtLBEnUSr2no2SqnFQ6eiNF49j0MAeuvccGHRtLPkIjZytu19knrNb58EhiRbTwuxZUYox4KDQz6CBv2TBBu-ALppupl21Q5VDlv349oIHBpsaaFMsYRGkUGZcLLGLFZtXnRg0unXS96AjHzx6N6pXT-1Im7DhSN1jV1Dx7W9FNvn59u9UViyTc5rRjlpL5rO5clLTl-M36N8xO7_k-2N8VDMaZzDdWoi0Re3ZiuuDK7bFscOvnsaAvYxHqzgtbI9kv8ikjle0v9fKfUsIgPsF_LqgJFC-H4xOe6hAiV9Q3YErEglbryBkj_9Kxx51VdomH5_KF1jr7FjQBipReiaM74BUiOnjsILWQ7oi7z34fjKVcT1ZgXQW0AA1VPT9jnBj08lTRA4lfHAtQqjAoia6JAIxcEr8VcdlBXAAIlOXLl-ZHLr_TwlLDzq7rrU5Yyp9s7TdIPy8UT0Iqfi4EZ7LsID4nT6IP2ZJh1GgUn7GYh_PG9ByBxFwCEzqsOO2QS3_m01tcbLhWChwKy2DUI_vI-pjrqImnFUPbIL-S9pfkRpOEnfBY1p93hA0C7HSZVproslQ_3-Vqs-r0MUdLg8LRKVttdUvYGKfjNip4sVhEc2900OBri4cOgJMyRG9EAOK6K3Rn0BwG9wjpW4mN2jdadj_LKTXx-Q2BR-pHrw5sokcXcA2CMl-w9wEvugcg-T6VLkQElAQcoo7oXlaI3bMIsYF50wscpT5qwvtEd56rWWmTsqxP5brJs6FeKg0u9lwJ2mcujA3Q9IPFlPgeC5lx0TfKaoUUvXbVKSae8f_O0qrP0dvPk6QKuPOxb3UfjvCzJ_RK0tASI87k6ndEr77DCcxrE233-TN-kABGgXWGydKlfJS8LAdQegbmLhbWz6VKNw67JZZ_mCzW8jW0_FCQxZHrhF2G8OERxBM36sVDfAblDrlWixLgpIcL8CStQX2dqGNJPBvY-vNTBwPumpZf3_zL9KLu5O5uKh0ouZMX1WDxaRqvJIwMil1L8hIrRxCqy7WIXeyZx9mf06HAwG4fMzEsEXCb70dxPT7ZEd-4TmcuWd5lajWwAznkA8YE28fYwCa_2whTXWV6NL3t08Wt89hGGfXi3OD2YPY84Rbswe2BT5kK-HUBAFQIfv49u_AFg1EVls4iNyM2_xgeBDX">
</form>
</div>
</div>
<script>
(function(){
window._cf_chl_opt={
cvId: '2',
cZone: 'ifconfig.co',
cType: 'managed',
cNounce: '31966',
cRay: '7df332a80f724601',
cHash: 'e38602320a1eb1f',
cUPMDTk: "\/?__cf_chl_tk=MZRZ9KKfwGaN8ba3K6khMt_uzSBhhKO6iTbawCrCV10-1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4pRq/3uE/0XoTs/sjoPLUYI0lCN1aE=',
}
};
var trkjs = document.createElement('img');
trkjs.setAttribute('src', '/cdn-cgi/images/trace/managed/js/transparent.gif?ray=7df332a80f724601');
trkjs.setAttribute('alt', '');
trkjs.setAttribute('style', 'display: none');
document.body.appendChild(trkjs);
var cpo = document.createElement('script');
cpo.src = '/cdn-cgi/challenge-platform/h/g/orchestrate/managed/v1?ray=7df332a80f724601';
window._cf_chl_opt.cOgUHash = location.hash === '' && location.href.indexOf('#') !== -1 ? '#' : location.hash;
window._cf_chl_opt.cOgUQuery = location.search === '' && location.href.slice(0, location.href.length - window._cf_chl_opt.cOgUHash.length).indexOf('?') !== -1 ? '?' : location.search;
if (window.history && window.history.replaceState) {
var ogU = location.pathname + window._cf_chl_opt.cOgUQuery + window._cf_chl_opt.cOgUHash;
history.replaceState(null, null, "\/?__cf_chl_rt_tk=MZRZ9KKfwGaN8ba3K6khMt_uzSBhhKO6iTbawCrCV10-1688094434-0-gaNycGzNBSU" + window._cf_chl_opt.cOgUHash);
cpo.onload = function() {
history.replaceState(null, null, ogU);
};
}
document.getElementsByTagName('head')[0].appendChild(cpo);
}());
</script>
</body>
</html>
from als.
curl ifconfig.co/ 的结果可以看一下?
对了 我的vps是双栈机器,有ipv4和ipv6,v6优先,网页打开ifconfig.co显示的ipv6地址
from als.
极端情况下,可以使用环境变量 PUBLIC_IPV4 / PUBLIC_IPV6 来手动配置这些信息
通过e参数指定IP后,正常了。
你用的那个ip在我这里不行。
但是 curl ifconfig.io 或者curl ip.sb 都是可以的。你要不要考虑做个多个api的尝试吧。一个不行换一个。
from als.
已在 dd8705c 修复, 该提交使用 golang 全新重构了 ALS
from als.
已在 dd8705c 修复, 该提交使用 golang 全新重构了 ALS
我看版本还是没有新版本,还没有发布对吧?
from als.
Docker 镜像更新了,v2 支持单文件运行,因此版本发布会晚一些
from als.
Related Issues (20)
- use relative path for speedtest static file
- [BUG] 如何开启iperf3 HOT 1
- 服务器信息下没有返回服务器位置和IP信息 HOT 4
- dont set public path in ui build
- [BUG] 内网环境未能获取外网ip时,iPerf3不能显示端口 HOT 2
- [BUG] ping 结果没有渲染 HOT 2
- [BUG] nginx反代到子目录,网页不显示内容 HOT 1
- [疑问] 容器创建1G的文件在哪里,需要认为清理么 HOT 3
- [BUG] 文件下载测试地址问题 HOT 1
- [讨论]获取客户端真实 IP 地址的设计 HOT 3
- [BUG] 更新到最新版后 Web Shell 无法输入命令 HOT 1
- 测速只会一直转圈圈! HOT 1
- [BUG] Docker部署-通过Caddy反代打不开 HOT 2
- 现在新版的WEBUI只有白色,有点过于刺眼了 HOT 1
- 欧洲地区的服务器无法使用speedtest.net HOT 4
- [BUG] 允许flood ping HOT 2
- fakeshell延迟巨大 HOT 1
- [BUG] speedtest无法执行 HOT 3
- [BUG] nexttrace每一跳的IP信息占用了两行
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from als.