The OpenUptime check bot
OpenUptime is an uptime monitoring service. Its checker sends HTTP requests to addresses that its users have added as monitors, to find out whether those addresses are up. It does not crawl, it does not follow links to other sites and it does not collect page content for any other purpose.
What the bot does
- It requests only the URL a user entered, and follows redirects that URL answers with. A monitor checks one URL every minute at most, with the interval its owner chose.
- It reads the status code, the timing and, if the owner asked for it, a keyword or a JSON value in the answer. Response bodies are not stored or reused.
- Because every monitor belongs to someone who added your address on purpose, a request from OpenUptime means that someone asked for your site to be watched. If you do not want that, ask them to remove the monitor, or write to hi@openuptime.app and we will remove it.
How to recognize it
The User-Agent starts with OpenUptime/, for example OpenUptime/0.1 (+https://github.com/becoolme/openuptime). A User-Agent is easy to copy, so do not rely on it alone, and do not rely on IP addresses either: checks run from Cloudflare Workers and from probes in several regions, and their addresses change. OpenUptime signs its HTTP requests instead, with Web Bot Auth (HTTP message signatures, RFC 9421).
Verifying a request with Web Bot Auth
Each signed request carries three headers:
Signature-Agent: "https://openuptime.app"names the origin that publishes the public key.Signature-Inputlists the signed parts (@authorityandsignature-agent), the creation and expiry time (60 seconds apart), a randomnonce, the key id andtag="web-bot-auth".Signatureis the Ed25519 signature over those parts.
The public key is published, itself signed, at the key directory:
https://openuptime.app/.well-known/http-message-signatures-directoryIt answers with the type application/http-message-signatures-directory+json and a JSON Web Key Set holding one Ed25519 key. The key id in Signature-Input is that key's JWK thumbprint (RFC 8037). A request is genuine when its signature verifies with the key in the directory, it has not expired and its @authority is your own host. A bot filter that supports Web Bot Auth, such as Cloudflare's, does this for you and marks the request as a verified bot.
Allowing OpenUptime through
- Cloudflare: a verified bot is not challenged by Bot Fight Mode or Super Bot Fight Mode. To allow it explicitly, add a WAF custom rule that matches
cf.bot_management.verified_bot(or the Verified Bots field in the rule builder) together with the User-Agent containingOpenUptime. - Other filters: verify the signature as described above, or allow the User-Agent
OpenUptime/for the monitored path only. Allowing by User-Agent alone lets anyone who copies it through.
Running your own copy
A self-hosted install and your own probes sign their requests only when you give them a key. Create an Ed25519 key, set CHECK_SIGNING_KEY to its private half as a one-line JWK and CHECK_SIGNATURE_AGENT to the https origin that serves it. The API then answers /.well-known/http-message-signatures-directory on that origin with the public key. Without both variables, checks go out unsigned, as before. CHECK_USER_AGENT changes the User-Agent.
Contact
Questions about the bot, or a request to stop checking an address: hi@openuptime.app.
OpenUptime 检测机器人
OpenUptime 是一项可用性监控服务。它的检测程序会向用户添加为监控项的地址发送 HTTP 请求,以判断这些地址是否可用。它不会爬取网站,不会顺着链接访问其他站点,也不会为其他用途收集页面内容。
机器人做什么
- 它只请求用户填写的那个 URL,并跟随该 URL 返回的重定向。每个监控项按其所有者设定的间隔检测,最快每分钟一次。
- 它读取状态码、耗时,以及(在所有者要求时)响应中的关键词或 JSON 值。响应内容不会被保存或另作他用。
- 每个监控项都属于某位特意添加了你的地址的用户,所以来自 OpenUptime 的请求意味着有人希望监控你的网站。如果你不希望如此,请让对方删除该监控项,或写信到 hi@openuptime.app,我们会将其移除。
如何识别
User-Agent 以 OpenUptime/ 开头,例如 OpenUptime/0.1 (+https://github.com/becoolme/openuptime)。User-Agent 很容易被仿冒,请不要只依赖它;也不要依赖 IP 地址,因为检测来自 Cloudflare Workers 和多个地区的探针,地址会变化。OpenUptime 改为用 Web Bot Auth(HTTP 消息签名,RFC 9421)为 HTTP 请求签名。
用 Web Bot Auth 验证请求
每个带签名的请求包含三个请求头:
Signature-Agent: "https://openuptime.app"指明发布公钥的来源。Signature-Input列出被签名的部分(@authority和signature-agent)、创建与过期时间(相隔 60 秒)、随机的nonce、密钥 ID 以及tag="web-bot-auth"。Signature是对这些内容的 Ed25519 签名。
公钥发布在密钥目录中,目录本身也带签名:
https://openuptime.app/.well-known/http-message-signatures-directory它返回类型为 application/http-message-signatures-directory+json 的 JSON Web Key Set,其中包含一个 Ed25519 密钥。Signature-Input 中的密钥 ID 是该密钥的 JWK 指纹(RFC 8037)。当签名能用目录中的密钥验证通过、尚未过期,并且 @authority 是你自己的主机时,请求才是真实的。支持 Web Bot Auth 的 Bot 过滤(例如 Cloudflare)会自动完成这些检查,并把请求标记为已验证的机器人。
放行 OpenUptime
- Cloudflare:已验证的机器人不会被 Bot Fight Mode 或 Super Bot Fight Mode 拦截。若要显式放行,可添加 WAF 自定义规则,匹配
cf.bot_management.verified_bot(或规则构建器中的 Verified Bots 字段),并要求 User-Agent 包含OpenUptime。 - 其他过滤器:按上文验证签名,或仅针对被监控的路径放行 User-Agent
OpenUptime/。只按 User-Agent 放行,会让任何仿冒它的人通过。
运行你自己的实例
自托管实例和你自建的探针只有在你提供密钥时才会为请求签名。生成一个 Ed25519 密钥,把 CHECK_SIGNING_KEY 设为其私钥(单行 JWK),把 CHECK_SIGNATURE_AGENT 设为提供密钥目录的 https 来源。API 随后会在该来源的 /.well-known/http-message-signatures-directory 返回公钥。两个变量缺一,检测都会和以前一样不带签名发出。CHECK_USER_AGENT 可修改 User-Agent。
联系方式
关于机器人的问题,或希望停止检测某个地址:hi@openuptime.app。
Last updated 2026-11-25最后更新:2026-11-25