Comments (8)
What is your output of:
host httpredir.debian.org
Seems to work fine for me:
$ host httpredir.debian.org
httpredir.debian.org has address 176.9.184.93
httpredir.debian.org has address 5.153.231.35
httpredir.debian.org has address 128.31.0.66
httpredir.debian.org has IPv6 address 2001:41c8:1000:21::21:35
httpredir.debian.org has IPv6 address 2a01:4f8:151:555d::42
httpredir.debian.org mail is handled by 0 .
from http-redirector.
I have the same IPs, different (random) order
$ host httpredir.debian.org
httpredir.debian.org has address 5.153.231.35
httpredir.debian.org has address 128.31.0.66
httpredir.debian.org has address 176.9.184.93
httpredir.debian.org has IPv6 address 2001:41c8:1000:21::21:35
httpredir.debian.org has IPv6 address 2a01:4f8:151:555d::42
httpredir.debian.org mail is handled by 0 .
The problem is random, too. But I tested both IPv6 address explicitly by using /etc/hosts
. And for now I had no problems with this:
2a01:4f8:151:555d::42 httpredir.debian.org
but with this I had:
2001:41c8:1000:21::21:35 httpredir.debian.org
from http-redirector.
Still seems to work fine:
curl -vg6 -HHost:httpredir.debian.org [2001:41c8:1000:21::21:35]
from http-redirector.
Well, http://httpredir.debian.org/ is not redirecting anyway. But see this:
$ curl -vg6 -HHost:httpredir.debian.org http://[2001:41c8:1000:21::21:35]/debian/dists/jessie/main/binary-amd64/Packages.gz
* Trying 2001:41c8:1000:21::21:35... * Connected to 2001:41c8:1000:21::21:35 (2001:41c8:1000:21::21:35) port 80 (#0) GET /debian/dists/jessie/main/binary-amd64/Packages.gz HTTP/1.1 User-Agent: curl/7.40.0 Accept: */* Host:httpredir.debian.org < HTTP/1.1 302 Found < Date: Fri, 31 Jul 2015 17:37:15 GMT < Location: http://ftp.rrzn.uni-hannover.de/debian/debian/dists/jessie/main/binary-amd64/Packages.gz < Content-Type: text/plain < X-Clacks-Overhead: GNU Terry Pratchett < Vary: Accept-Encoding < Transfer-Encoding: chunked < * Connection #0 to host 2001:41c8:1000:21::21:35 left intact
With ftp.rrzn.uni-hannover.de
not being IPv6 reachable.
$ curl -vg6 -HHost:httpredir.debian.org http://[2a01:4f8:151:555d::42]/debian/dists/jessie/main/binary-amd64/Packages.gz
* Trying 2a01:4f8:151:555d::42... * Connected to 2a01:4f8:151:555d::42 (2a01:4f8:151:555d::42) port 80 (#0) GET /debian/dists/jessie/main/binary-amd64/Packages.gz HTTP/1.1 User-Agent: curl/7.40.0 Accept: */* Host:httpredir.debian.org < HTTP/1.1 302 Found < Date: Fri, 31 Jul 2015 17:42:14 GMT < Location: http://debian.morphium.info/debian/dists/jessie/main/binary-amd64/Packages.gz < Content-Type: text/plain < Link: <http://debian.morphium.info/debian/dists/jessie/main/binary-amd64/Packages.gz>; rel=duplicate; pri=1; depth=1, <http://debian.mirror.lrz.de/debian/dists/jessie/main/binary-amd64/Packages.gz>; rel=duplicate; pri=1; depth=1, <http://mirror.de.leaseweb.net/debian/dists/jessie/main/binary-amd64/Packages.gz>; rel=duplicate; pri=1; depth=1 < Vary: Accept-Encoding < Transfer-Encoding: chunked < * Connection #0 to host 2a01:4f8:151:555d::42 left intact
However debian.morphium.info is IPv6 reachable.
from http-redirector.
What was the IP address that was used to connect to the redirector?
The only way for it to redirect you to an ipv4-only mirror when you made the request over v6 is if you used an ipv6 over ipv4 tunnel of some kind.
from http-redirector.
Yes, it is a 2002::/16 (6to4) address.
from http-redirector.
Apologies for getting back until now. So how come you are doing 6to4 but are not able to establish a route to an ipv4 host?
The redirector considers connections from teredo and 6to4 addresses to be due to a communication error and explicitly looks for an ipv4 mirror for those clients.
from http-redirector.
It was a test to build an IPv6-auto-configure only Network. With the internet Gateway doing the 6to4.
from http-redirector.
Related Issues (20)
- debian.dc-uoit.net is return a private IPv4 adress HOT 1
- suggestion for better mirror
- restrict to ipv4 lookups only. HOT 1
- http://httpredir.debian.org/debian Not Found HOT 4
- frequent "502 connection closed" errors
- Caching doesn't seem to work with http-redirector HOT 3
- restrict to only certain domains (e.g. *.debian.org) HOT 2
- Redirects are not permanent HOT 2
- Let redirects be short-term cachable HOT 2
- please blacklist mirror.dhakacom.com, it returns every request as 403 Forbidden HOT 1
- Please add support for the new debug archive
- Missing Hungary
- Redirects to mirror with missing packages
- Doesn't understand new ftpsync tracefiles
- Failed to fetch libx11-xcb HOT 4
- flaky 'Remote end closed connection' in docker build HOT 14
- Redirects IPv6 client to hostname which has IPv6, but isn't listening on IPv6
- Redirected to mirrors which are far from client computer HOT 2
- HTTPS version, i.e. https://httpsredir.debian.org/debian
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 http-redirector.