View previous topic :: View next topic |
Author |
Message |
pablo_supertux Advocate
Joined: 25 Jan 2004 Posts: 2926 Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)
|
Posted: Sat May 15, 2021 2:30 pm Post subject: I'm unable to use IPv6 |
|
|
It seems that my system cannot connect to any service running on IPv6 and I don't know why.
Today my thunderbird took very long to fetch mails. I then executed this:
Code: |
$ telnet imap.mailbox.org 993
Trying 2001:67c:2050:106::143:199...
|
and nothing else happens. When I do the same using the IPv4 Address
Code: |
$ $ telnet 80.241.60.199 993
Trying 80.241.60.199...
Connected to imap.mailbox.org.
Escape character is '^]'.
^CConnection closed by foreign host.
|
However, if I log in (via ssh) to another server in a different network and I do:
Code: |
$ telnet 2001:67c:2050:106::143:199 993
Trying 2001:67c:2050:106::143:199...
Connected to 2001:67c:2050:106::143:199.
Escape character is '^]'.
^]
telnet> Connection closed.
|
the it works. More and more services start failing, I started a eix-sync and got stuck at Refreshing keys via WKD and then I realize that it also could be accessing the page via IPv6 which would explain why it doesn't work.
I don't have a firewall and no iptable rules
Code: |
iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
|
So, am I missing perhaps something in my kernel? In "Networking Support" there are so many options, I don't even know where to start looking.
Is there a way to tell my system to resolve A records by default instead of AAAA records until I can solve this issue? _________________ A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth! |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54096 Location: 56N 3W
|
Posted: Sat May 15, 2021 3:31 pm Post subject: |
|
|
pablo_supertux,
I get Code: | ~ $ telnet imap.mailbox.org 993
Trying 2001:67c:2050:106::143:199...
Connected to imap.mailbox.org.
Escape character is '^]'. |
So its not the host at imap.mailbox.org, Its your end, your firewall or something in the middle.
Compare Code: | traceroute -4 -U imap.mailbox.org | with Code: | traceroute -6 -U imap.mailbox.org |
My IPv4 route has two extra hops compared to IPv6 and I don't get any response after gate-4.heinlein-hosting.de on ether IPv4 or IPv6 _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
pablo_supertux Advocate
Joined: 25 Jan 2004 Posts: 2926 Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)
|
Posted: Sat May 15, 2021 3:37 pm Post subject: |
|
|
It seems to be either an ISP error or my router. I checked my router but there is no way to configure anything about ipv4 vs ipv6, I made an firmware update and after the restart of the router I now get the ipv4 addresses
Code: |
$ telnet imap.mailbox.org 993
Trying 80.241.60.199...
Connected to imap.mailbox.org.
Escape character is '^]'.
^]
telnet> Connection closed.
|
However the problem remains, if I try to access directly via the IPv6 address, then I get this:
Code: |
$ telnet 2001:67c:2050:106::143:199 993
Trying 2001:67c:2050:106::143:199...
telnet: connect to address 2001:67c:2050:106::143:199: Permission denied
|
I called my ISP hotline but as expected, they could not help, they didn't even know or understand what is the problem. _________________ A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth! |
|
Back to top |
|
|
pablo_supertux Advocate
Joined: 25 Jan 2004 Posts: 2926 Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)
|
Posted: Sat May 15, 2021 4:01 pm Post subject: |
|
|
But is there a way to tell the local dns resolver to query A records before AAAA records? _________________ A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth! |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Sat May 15, 2021 6:15 pm Post subject: |
|
|
My ISP doesn't even attempt to support v6. I suspect it's a problem with your ISP. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54096 Location: 56N 3W
|
Posted: Sat May 15, 2021 6:30 pm Post subject: |
|
|
pablo_supertux
Put your entire kernel .config onto a pastebin site please.
iptables is for IPv4 only. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
pablo_supertux Advocate
Joined: 25 Jan 2004 Posts: 2926 Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)
|
Posted: Sun May 16, 2021 12:35 am Post subject: |
|
|
Hi
my kernel config
https://pastebin.com/DyvciLUZ
the problem was the ISP. I called support and the guy said that the diagnose tool showed no error, we could discard a configuration problem on my side and then he said he would post a ticket to the technicians as this might be an issue with the distribution node where my router is connected to. And apparently the technicians were quick because a few hours later it started working. To be honest, I'm not sure whether I already had trouble connecting via IPv6 and I just hadn't realize that because the DNS resolver resolved IPv4 and now that it started resolving to IPv6 it's when I realized that, or whether this was a temporarily issue and it was working in the past. _________________ A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth! |
|
Back to top |
|
|
|