hannes boosted

What the internet was like in the old days for a .

Also important to understand where the "pull requests" comes from ;)


ok, that was fun... developing a traceroute as MirageOS unikernel, and preserving the ttl and timestamp of sent packet inside the UDP header (well, 2 * 16 bit ports is enough for everyone, no) -- gist.github.com/hannesm/10ae02

next: figure control flow to properly terminate :)

DNS, a protocol that keeps on giving... any hints when "dig -k <my-key>" completes a zone transfer over multiple messages, and reports "WARNING -- Some TSIG could not be validated"? there are TSIG on each DNS message (and according to other software they validate) using the very same key provided to dig (if there's only a single message for the AXFR, dig validates and does not print the WARNING) -- help

woop, from the land:
- qubes-mirage-firewall supporting dynamic rules was released yesterday groups.google.com/forum/#!topi
- TLS 1.3 is released, and live at mirage.io/blog/tls-1-3-mirageo
- no clue what will be announced tomorrow ;)

hannes boosted
hannes boosted

No theory, no ready-made system, no book that has ever been written will save the world. I cleave to no system. I am a true seeker.
-- Mikhail Bakunin

#anarchism #quote #bot

on linux you also don't get bswap32/bswap64 from endian.h (and need some defines to get BYTE_ORDER), but there's then a byteswap.h where you can get bswap_32 from. I find the lack of standardisation disturbing in this area; and am happy that on the C compiler front its gcc and clang who need to agree on something to have it widely usable ;)

Show thread

I usually avoid writing C code, but if I do it should be cross-platform (Linux, BSD, macOS). Today's riddle was "byte swap" and "hto{le,be}{32,64}" functions, i.e. what normally is in endian.h (Linux) sys/endian.h (BSD) libkern/OSByteOrder.h (macOS).

After hours, I discovered __BYTE_ORDER__ and __builtin_bswapYY provided by the C compiler. They work great, no lengthly chains anymore.

Anything that speaks against them? Anyone uses a C compiler without them ("cc -dM -E - < /dev/null")?

diesen wetter podcast vom hr2 fand ich sehr interessant.. hilft alles nichts (corona), wir werden massiv umdenken muessen (wegen klima/wetter, wassermangel), um weiterhin soviel nahrung zu produzieren hr2.de/podcasts/der-tag/das-we

from RFC 5246 (TLS 1.2) -- no, I've no clue why they did not just use PKCS5/PKCS7 padding. instead (please count the number of "06" occurences in the last block):

> the padding would be 6 bytes, each containing the value 6. Thus, the last 8 octets of the GenericBlockCipher before block encryption would be xx 06 06 06 06 06 06 06, where xx is the last octet of the MAC.

the implicit development are researching infrastructure FOSS projects, and joined our retreat last year - and wrote about their experience implicit-development.org/2020/ -- thanks to everyone involved, especially @runabout -- you should read their other posts as well :)

while reading through OCaml PRs, I came across "Quake III inverse square root approximation" - medium.com/hard-mode/the-legen - wow - here's the OCaml PR doing sth similar - github.com/ocaml/ocaml/pull/94

today I developed a unikernel which serves the contents of a git remote via HTTP(S), including let's encrypt certificate provisioning. A test instance is setup at test.nqsb.io -- code is at github.com/hannesm/unipi (includes various protocols: git, ssh, tls, http, acme). it is < 300 lines of application code :D and even provides HTTP cache headers (last-modified / etag) :D A webhook is available that fetches the git remote (to update the contents) :D

das habe ich vom tagesspiegel nicht erwartet, den aufruf den picknickkorb zu packen und im naechsten autohaus im cabrio zu picknicken. finde ich aber eine voll gute idee :) tagesspiegel.de/gesellschaft/v

hannes boosted

discovered "dark website forcer", an extension for firefox -- and installed github dark theme --> life is so much better, no more headaches from looking in my web browser (well, apart from the thousands pages i rarely visit that don't have dark modes)

Show more

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!