| 13 Oct 2021 |
NinjaTrappeur | IS that done on purpose or is this a config issue of the doc output? | 15:13:05 |
balsoft | In reply to @ninjatrappeur:matrix.org IS that done on purpose or is this a config issue of the doc output? I think it's fixed now | 15:13:20 |
balsoft |  Download clipboard.png | 15:13:29 |
baloo | https://datatracker.ietf.org/doc/html/rfc1035#section-4.1.1 | 15:13:38 |
baloo | tomberek: the ID there should match | 15:13:45 |
sterni | In reply to @ninjatrappeur:matrix.org IS that done on purpose or is this a config issue of the doc output? it's the default output of -Tterm for lowdown, should be documented in its man page how it works | 15:14:09 |
sterni | for me it looks similar to yours actually | 15:14:15 |
baloo | you sent "~\256", you received "\261\271" | 15:14:22 |
balsoft | In reply to @balsoft:balsoft.ru I think it's fixed now https://github.com/kristapsdz/lowdown/pull/74 | 15:14:29 |
NinjaTrappeur | Alright. Thanks! | 15:15:03 |
baloo | nevermind, there is actually 2 | 15:15:12 |
tomberek | baloo: hotel portals like to hijack DNS for their initial connection and give every request a specific response to their "login page" | 15:15:18 |
tomberek | i thought the LOCALDOMAIN would prevent this | 15:15:29 |
baloo | LOCALDOMAIN is just here to prevent nss from using nscd | 15:15:50 |
baloo | whenever this is present, it bypasses the local nscd cache, and just load the libnss-dns.so | 15:16:07 |
baloo | which is what we want to achieve | 15:16:17 |
baloo | we moved it early in the initialization because modifying the environment is not thread safe | 15:16:39 |
tomberek | is there a faster way to error out? An invalid URL? So the library still loads, but has 0 chance to being interpreted as valid? | 15:17:03 |
baloo | I just git cloned glibc (again) | 15:17:26 |
baloo | I'll look what I can do | 15:17:35 |
baloo | it's interesting to note, you get 2 reply for the same query, line 41 and 44 of your gist (both having the same request id (the first 2 bytes)) | 15:22:29 |
baloo | but the first one is a NOERROR, the second one is an NXDOMAIN | 15:22:53 |
baloo | 0o203 & 0b1111 gives you the Rcode = 3 which is NXDOMAIN | 15:23:26 |
baloo | (sorry dns nerd here) | 15:23:34 |
tomberek | i figured you'd be able to track this down faster than me 😉 . I forgot to mention, i'm on: nix (Nix) 2.5pre20211007_844dd90 | 15:30:47 |
baloo | I did not expect it to trigger dns on nix --version, admitedly, but the rest of it makes sense | 15:31:39 |
sterni | In reply to @ninjatrappeur:matrix.org sent an image. and the links in the man page output are not fixable, this is due to nix using lowdown for rendering section 1 man pages from markdown which it is not intended for | 15:35:45 |
baloo | tomberek: we could getaddrinfo_a with NOWAIT | 15:40:39 |
baloo | /* Enqueue ENT requests from the LIST. If MODE is GAI_WAIT wait until all
requests are handled. If WAIT is GAI_NOWAIT return immediately after
queueing the requests and signal completion according to SIG.
| 15:40:46 |
baloo | not part of posix blablabla | 15:41:06 |