Привет, ребят.
Интересную штуку заметил на Debian Trixie. По дефолту репы переключили на работу через (поправьте, если неправильно назвал) распределительный сервер по адресу debian.map.fastlydns.net, который определяет ближайшие сервер по географии и перенаправляет туда. В Debian Bookworm у меня еще работала старая схема, поэтому проблемы до апгрейда не было.
Что происходит сейчас - при выполнении sudo apt update я вижу бесконечно висящее
0% [Connecting to debian.map.fastlydns.net (146.75.2.132)] [Connecting to debian.map.fastlydns.net (146.75.2.132)] Ign:1 http://deb.debian.org/debian trixie InRelease
Ign:2 http://deb.debian.org/debian trixie-updates InReleaseIgn:3 http://deb.debian.org/debian trixie-backports InReleaseIgn:4 http://security.debian.org/debian-security trixie-security InReleaseIgn:3 http://deb.debian.org/debian trixie-backports InReleaseIgn:2 http://deb.debian.org/debian trixie-updates InReleaseIgn:1 http://deb.debian.org/debian trixie InReleaseIgn:4 http://security.debian.org/debian-security trixie-security InReleaseIgn:1 http://deb.debian.org/debian trixie InReleaseIgn:2 http://deb.debian.org/debian trixie-updates InReleaseIgn:3 http://deb.debian.org/debian trixie-backports InReleaseIgn:4 http://security.debian.org/debian-security trixie-security InReleaseErr:3 http://deb.debian.org/debian trixie-backports InReleaseUnable to connect to deb.debian.org:http:Err:2 http://deb.debian.org/debian trixie-updates InReleaseUnable to connect to deb.debian.org:http:Err:1 http://deb.debian.org/debian trixie InReleaseCould not connect to debian.map.fastlydns.net:80 (146.75.2.132), connection timed out Could not connect to deb.debian.org:80 (151.101.194.132), connection timed out Could not connect to deb.debian.org:80 (151.101.2.132), connection timed out Could not connect to deb.debian.org:80 (151.101.66.132), connection timed out Could not connect to deb.debian.org:80 (151.101.130.132), connection timed outUnable to connect to deb.debian.org:http:Err:4 http://security.debian.org/debian-security trixie-security InReleaseCould not connect to debian.map.fastlydns.net:80 (146.75.2.132), connection timed out Could not connect to security.debian.org:80 (151.101.66.132), connection timed out Could not connect to security.debian.org:80 (151.101.130.132), connection timed out Could not connect to security.debian.org:80 (151.101.194.132), connection timed out Could not connect to security.debian.org:80 (151.101.2.132), connection timed outUnable to connect to security.debian.org:http:All packages are up to date.Warning: Failed to fetch http://deb.debian.org/debian/dists/trixie/InRelease Unable to connect to deb.debian.org:http:Warning: Failed to fetch http://deb.debian.org/debian/dists/trixie-updates/InRelease Unable to connect to deb.debian.org:http:Warning: Failed to fetch http://security.debian.org/debian-security/dists/trixie-security/InRelease Unable to connect to security.debian.org:http:Warning: Failed to fetch http://deb.debian.org/debian/dists/trixie-backports/InRelease Unable to connect to deb.debian.org:http:Warning: Some index files failed to download. They have been ignored, or old ones used instead.
Отключаю xray - все начинает работать. Т. к. я не эксперт, понимания, почему, у меня не хватает. Пытался разобраться в доках xray, чтобы понять, что подкрутить, но не смог. Чувствую, что что-то очевидно, но не найду. Прошу помочь.
Конфиг клиента
{
"log": {
"loglevel": "debug"
},
"inbounds": [
{
"tag": "in-tproxy",
"listen": "127.0.0.1",
"port": 61221,
"protocol": "dokodemo-door",
"settings": {
"followRedirect": true,
"network": "tcp,udp"
},
"streamSettings": {
"sockopt": {
"tproxy": "tproxy"
}
},
"sniffing": {
"enabled": true,
"destOverride": ["http", "tls", "quic", "fakedns"],
"routeOnly": true
}
}
],
"outbounds": [
{
"protocol": "vless",
"settings": {
"domainStrategy": "UseIPv4",
"vnext": [
{
"address": "IP",
"port": 443,
"users": [
{
"id": "ID",
"encryption": "none",
"flow": "xtls-rprx-vision"
}
]
}
]
},
"streamSettings": {
"network": "tcp",
"security": "reality",
"realitySettings": {
"fingerprint": "chrome",
"serverName": "rutube.ru",
"publicKey": "PUBKEY",
"spiderX": "",
"shortId": "SHORTID"
}
},
"tag": "proxy"
},
{
"protocol": "freedom",
"settings": {
"domainStrategy": "UseIPv4"
},
"tag": "direct"
},
{
"protocol": "blackhole",
"tag": "blocked"
}
],
"routing": {
"domainStrategy": "IPIfNotMatch",
"domainMatcher": "hybrid",
"rules": [
{
"domain": [
"2ip.ru",
"ntc.party",
"rutracker.org",
"rutor.org"
],
"outboundTag": "proxy"
},
{
"domain": [
"ruvds.com"
],
"outboundTag": "direct"
},
{
"domain": ["domain:ru"],
"outboundTag": "direct"
},
{
"ip": ["::/0"],
"outboundTag": "blocked"
},
{
"ip": ["geoip:private", "geoip:ru"],
"outboundTag": "direct"
},
{
"network": "tcp,udp",
"outboundTag": "proxy"
}
]
}
}
sources.list стандартный.
Подозреваю, что дело в резолве адреса после перенаправления, который не может дойти до меня.
Пинг до обоих серверов проходит
ping debian.map.fastlydns.net -c 2
PING debian.map.fastlydns.net (146.75.2.132) 56(84) bytes of data.
64 bytes from 146.75.2.132: icmp_seq=1 ttl=60 time=114 ms
64 bytes from 146.75.2.132: icmp_seq=2 ttl=60 time=115 ms
--- debian.map.fastlydns.net ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 113.998/114.341/114.685/0.343 ms
ping -c 2 deb.debian.org
PING debian.map.fastlydns.net (151.101.194.132) 56(84) bytes of data.
64 bytes from 151.101.194.132: icmp_seq=1 ttl=60 time=103 ms
64 bytes from 151.101.194.132: icmp_seq=2 ttl=60 time=209 ms
--- debian.map.fastlydns.net ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 103.115/156.306/209.498/53.191 ms