-
-
Notifications
You must be signed in to change notification settings - Fork 385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: dns over tls ssl/tls handshake eof channel closed (Kaspersky) #2559
Comments
@qdm12 is more or less the only maintainer of this project and works on it in his free time.
|
That's likely a consequence of the vpn connection not working; it does seem to restart the vpn and recover fine right? |
Thanks for you answer |
For information, this is the ovpn file structure given by kaspersky:
What about the line "remote-cert-tls server" ? |
Does it work with docker image tag |
I am currently absent and have to test it remotely. Is this version a new one ? I see a "latest" aged 10hours ago from now in the docker hub |
I have tested the :latest version
|
Image tag latest isn't the same as v3.39.1 (last stable release). |
Hi
How do I have to change the OPENVPN_MSSFIX option in the docker compose ? |
Hi
|
Try lowering it even further with the environment variable OPENVPN_MSSFIX until it works. The tls (aka ssl) handshake failing is, so far, 100% due to the MTU being too high (equivalent to MSSFIX too high or not specified). Also double check the mssfix is set correctly by checking in the settings tree printed at the top of your logs. It's also interesting it fails with Unbound (the DNS program for v3.39 image tag) in your case, I'll report it in #2533 |
Hi yes the parameter is in the first lines of the logs |
Have you tried with the tcp protocol? (replace proto udp with proto tcp, and eventually update the port number 1194 |
Hi |
Hi
I would like and help to make yours working |
Hi, I dont't know if its related, but please check this issue also had problems with Kaspersky. |
I don't know, this depends on Kaspersky you would need to figure this out in their openvpn configuration files. Usually it's port
Definitely! Shot myself too many times like this as well!
If you set It's just DNS over TLS doesn't work; I'm wondering if Kaspersky is just blocking traffic to TCP port What you can do as a next step is either (or both):
PS: @AH3GMfrY your issue is different than this one |
Is this urgent?
Yes
Host OS
Ubuntu 24.04
CPU arch
x86_64
VPN service provider
Custom
What are you using to run the container
docker-compose
What is the version of Gluetun
Running version latest built on 2024-10-28T09:25:35.847Z (commit f1f3472)
What's the problem 🤔
I try to connect to kaspersky vpn.
it connects but get a lot of "2024-11-02T08:37:22+01:00 WARN [dns] exchanging over dns over tls connection: EOF" messages
and:
2024-11-02T08:37:24+01:00 INFO [dns] falling back on plaintext DNS at address 1.1.1.1
2024-11-02T08:37:24+01:00 WARN [dns] DNS is not working: after 10 tries: lookup github.com on 127.0.0.1:53: server misbehaving
2024-11-02T08:37:24+01:00 INFO [dns] attempting restart in 10s
with an increasing timer
What am I missing in my configuration ?
Share your logs (at least 10 lines)
Share your configuration
The text was updated successfully, but these errors were encountered: