GithubHelp home page GithubHelp logo

Comments (11)

LuckyTurtleDev avatar LuckyTurtleDev commented on June 11, 2024 1

I will try out this tomorrow.

from hickory-dns.

bluejekyll avatar bluejekyll commented on June 11, 2024 1

Actually, you might want to wait, see this comment, I'm not sure it's the root cause of this issue, but it could be related: #1990 (comment)

from hickory-dns.

djc avatar djc commented on June 11, 2024

Looks like you're not setting the ALPN protocol correctly for TLS/QUIC implementations.

from hickory-dns.

LuckyTurtleDev avatar LuckyTurtleDev commented on June 11, 2024

@djc is calling register_tls_listener and register_quic_listener not enough?
Why do i need to configure ALPN manual after binding and register an tls port?

I have not found anything at the doc of trust-dns-server about ALPN.

from hickory-dns.

djc avatar djc commented on June 11, 2024

According to your logs, the server is saying that the client didn't set any protocols it understands.

from hickory-dns.

LuckyTurtleDev avatar LuckyTurtleDev commented on June 11, 2024

So the kdig seems to use the wrong ALPN. So I should report this kdig instead.

But trust-dns should be able to querry trust-dns via quic.

from hickory-dns.

bluejekyll avatar bluejekyll commented on June 11, 2024

trust-dns should be working when communicating with it's libraries to the server. We have test coverage for this in https://github.com/bluejekyll/trust-dns/blob/main/bin/tests/named_quic_tests.rs. Is the certificate not being validated correctly?

from hickory-dns.

bluejekyll avatar bluejekyll commented on June 11, 2024

ALPN on the Client is set here: https://github.com/bluejekyll/trust-dns/blob/202fe2a8a4cade9df2789ae52fee2ce91749a1a7/crates/proto/src/quic/quic_client_stream.rs#L240-L247

I don't think the ALPN is configurable on the server right now, that is set here: https://github.com/bluejekyll/trust-dns/blob/202fe2a8a4cade9df2789ae52fee2ce91749a1a7/crates/proto/src/quic/quic_server.rs#L51

The ALPN for quic is defined here: https://github.com/bluejekyll/trust-dns/blob/202fe2a8a4cade9df2789ae52fee2ce91749a1a7/crates/proto/src/quic/quic_stream.rs#L24

from hickory-dns.

LuckyTurtleDev avatar LuckyTurtleDev commented on June 11, 2024

Is the certificate not being validated correctly?

At least kdig have no issue with it. I am currently not sure what I can do. Quic is currently not widely used, which make it difficult to test it, witch other clients/servers.

from hickory-dns.

djc avatar djc commented on June 11, 2024

See also #1990?

from hickory-dns.

bluejekyll avatar bluejekyll commented on June 11, 2024

@LuckyTurtleDev, do you think you could try this with the current main line branch after this change was put in, #2005?

from hickory-dns.

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.