Giter Site home page Giter Site logo

Comments (8)

romanrm avatar romanrm commented on July 28, 2024

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.

x539 avatar x539 commented on July 28, 2024

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.

romanrm avatar romanrm commented on July 28, 2024

Still seems to work fine:

curl -vg6 -HHost:httpredir.debian.org [2001:41c8:1000:21::21:35]

from http-redirector.

x539 avatar x539 commented on July 28, 2024

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.

rgeissert avatar rgeissert commented on July 28, 2024

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.

x539 avatar x539 commented on July 28, 2024

Yes, it is a 2002::/16 (6to4) address.

from http-redirector.

rgeissert avatar rgeissert commented on July 28, 2024

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.

x539 avatar x539 commented on July 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.