- Feb 25, 2019
-
-
Vladimír Čunát authored
After 83539eb7 it was a bit complicated. It allowed to save a memcpy of the address in case no port was specified, but we only need to do the split when changing configuration, so it was overzealous optimization.
-
Petr Špaček authored
policy.TLS_FORWARD: send SNI on wire if configured See merge request !762
-
Petr Špaček authored
-
Petr Špaček authored
-
Petr Špaček authored
-
- Feb 22, 2019
-
-
It's mainly about the way we parse and validate them. Almost all of the parts of validation that were being done in modules/policy/policy.lua and daemon/tls.c got moved to daemon/bindings/net.c, so it's easier to follow that. Also more checks are being done now, e.g. contents of .pin_sha256 and .hostname strings.
-
In https world it's standard to do that, and it's relied on. Real-life example: 8.8.8.8#853 over TLSv1.3 won't send a certificate if we don't send SNI (no idea why; also they do send it with TLSv1.2). As a consequence, we no longer allow multiple hostnames per address-port tuple, but that didn't seem useful.
-
Vladimír Čunát authored
-
Make sure gcc doesn't produce unused func/var warnings when using optional compilation. This fixes three such issues on CentOS 7.
-
- Feb 21, 2019
-
-
Vladimír Čunát authored
-
Vladimír Čunát authored
-
- Feb 18, 2019
-
-
Tomas Krizek authored
doc/flowcharts: use underscores instead of spaces in filename See merge request !772
-
Tomas Krizek authored
-
- Feb 14, 2019
-
-
Petr Špaček authored
doc: attempt on documenting of some kresd algorithms See merge request !731
-
-
-
-
-
- Feb 11, 2019
-
-
Petr Špaček authored
smaller changes, mainly around lua error handling See merge request !768
-
Vladimír Čunát authored
-
Vladimír Čunát authored
-
Vladimír Čunát authored
We use a function that's not in lua 5.1, but it's been present in luajit since 2.0.0: https://github.com/LuaJIT/LuaJIT/commit/fcddd5a3a
-
Vladimír Čunát authored
It's often a bit shorter, and it provides us with location.
-
Vladimír Čunát authored
Now we don't rewrite the port-splitters in command line by zero bytes. That was confusing the output of some SW showing the command-line of running kresd.
-
- Feb 07, 2019
-
-
Petr Špaček authored
split code and docs for lua bindings into smaller files See merge request !765
-
It's now a directory, one C file for each lua table of functions. We get more total lines due to per-file copyright headers, but the original file was just too long (nearing 2k lines). The layout was inspired by the lib/cache/ split. Disadvantage: git operations (e.g. blame) will stumble on this commit. During the move, rename the "str" and "xstr" macros, too. Otherwise there are no real changes, as they would be hard to spot.
-
Vladimír Čunát authored
-
This should be the default, but since we're relying on it in our documentation, it's better to set it explicitly. It can be overriden in the drop-in file if necessary.
-
- Feb 06, 2019
-
-
Vladimír Čunát authored
Original thread: https://gitlab.labs.nic.cz/knot/knot-resolver/merge_requests/752
-
Vladimír Čunát authored
- logging - watch by default - in Fedora we need to depend on the version for lua 5.1
-
vcunat squashed this, rebased, etc.
-
Vladimír Čunát authored
-
Petr Špaček authored
-