DNS-over-HTTP support (server side)
- Apr 11, 2019
-
-
Petr Špaček authored
-
Petr Špaček authored
-
Change handling of the inability to get address; it happens occasionally and the traces were disruptive.
-
-
The problem is that C structures are not scanned by lua GC, so we'd have to keep these alive in some other way; therefore it's simpler to just use the mempool.
-
"Unfortunately", for FFI-bound C functions there it doesn't hold that missing parameters would be converted to nil/NULL. Still, this function seems unlikely to have been used outside the repo.
-
It caused crashes somewhere inside LuaJIT or the JIT-ed code.
-
Petr Špaček authored
-
Petr Špaček authored
-
Petr Špaček authored
-
Petr Špaček authored
The value is kind of arbitrary, as precaution. 64k value was causing cqueues to close connections with GET requests with "Broken pipe" and it seems to work with 1024 B.
-
Petr Špaček authored
-
Petr Špaček authored
-
Petr Špaček authored
-
Petr Špaček authored
-
Petr Špaček authored
-
Petr Špaček authored
-
Petr Špaček authored
This will allow modules like view etc. work in the same way with packets received over HTTP.
-
Petr Špaček authored
-
Petr Špaček authored
We intentionally compute max-age header as minimum over all RRs, doing so only over ANSWER section does not make sense (and RFC 8484 allows us to do so).
-
Petr Špaček authored
This seems to be a limitation in cqueues but we have to confirm this.
-
Petr Špaček authored
-
-
It's a regression of b00ee5fa (v3.0.0). Fortunately, since that version we use cache for positive packets only when they are BOGUS (see `bool want_pkt =`) so that they're available for +cd queries. Therefore the impact was really negligible, until the DoT module.
-
Petr Špaček authored
First version which actually works with Firefox DoH in default configuration. Limitations: - does not support HTTP GET method - headers for HTTP cache are not generated - error handling is largely missing - no tests - ACLs will not work, modules do not see source IP address of the HTTP endpoint
-