Проверка перенаправлений
Мы запрашиваем URL и каждый Location, на который он указывает, до 10 шагов. Каждый шаг заново разрешается и проверяется до подключения; тела ответов не читаются.
Этот текст пока недоступен на языке «русский». До публикации перевода он показан на языке «английский».
A link often passes through several addresses before a page appears: http to https, the bare domain to www, a tracking or short link to its target. Each step is an HTTP redirect, a 3xx status code with a Location header.
This tool follows the chain one hop at a time and shows each status code and destination. It marks HTTPS upgrades and downgrades, moves to another host, permanent (301, 308) and temporary (302, 303, 307) redirects, and stops on a loop or after ten hops.
Every hop is resolved and checked again before we connect, so a public URL cannot redirect our server into a private network, and the connection is pinned to the checked address. Only ports 80 and 443 are allowed, and response bodies are never read.
Частые вопросы
301 or 302?
301 and 308 are permanent: search engines move the old address's standing to the new one, and browsers may cache the redirect. 302, 303 and 307 are temporary.
Why does the chain stop at a private address?
A redirect into a private or reserved network is exactly what a server-side request forgery attack uses. We never follow those.
How many redirects are too many?
Each hop costs at least one round trip. One redirect (http to https, or apex to www) is normal; chains of three or more are worth shortening.
См. также
- Заголовки безопасностиHSTS, CSP и другие защитные заголовки публичного сайта.
- Заголовки HTTPЗаголовки вашего запроса и заголовки ответа любого публичного URL.
- Проверка сертификата TLSСертификат, который предъявляет сервер, его цепочка и срок действия.
- Поиск DNSA, AAAA, MX, TXT, NS, SOA, CAA и другие записи с TTL.