Re: [announce] skalibs-2.14.1.0, tipidee-0.0.3.0, shibari-0.0.1.0
The difference in UDP is that not having a connection makes it harder to model with the stdin/stdout method of UCSPI, right? Yes. A super-server model makes sense for TCP because you can spawn one server to handle one stream; not so much for UDP, because there is no stream, only packets, and you don't want to spawn a process for every packet. A UDP server doesn't have to deal with the complexity of multiplexing exchanges with different clients, either, since it only needs to respond to every packet in sequence. No parallelism needed, it's all very straightforward and simple to write. djbdns does the exact same: axfrdns is spawned by a super-server, but tinydns binds to its UDP socket itself. -- Laurent
Re: [announce] skalibs-2.14.1.0, tipidee-0.0.3.0, shibari-0.0.1.0
On 21 Dec 2023, at 08:38, Mario Rugiero wrote: > > On 21 Dec 2023, at 08:06, Laurent Bercot wrote: >> * shibari-0.0.1.0 >> --- >> >> A brand new project, because I clearly don't have enough on my plate. >> shibari is a suite of DNS tools, a successor to s6-dns. Eventually it >> will fully replace s6-dns, but for now it simply depends on it. This >> first version of shibari comes with two DNS server programs (one for UDP >> and one for TCP), that are more or less drop-in replacements for djb's >> tinydns and axfrdns. (I wrote them because it was a better long-term >> solution than adding a patch to fix a bug in axfrdns.) > > Out of curiosity, is there any reason this is coupled with its own server > rather > than forked from s6-tcpserver and the like? I always found it odd that tinydns > worked differently from most other DJB tools. > Is it some assumption about the load it'll be handling? Nevermind, I just noticed that seems to be the case only for UDP, but TCP does work by forking from a separate server in shibari. The difference in UDP is that not having a connection makes it harder to model with the stdin/stdout method of UCSPI, right?
Re: [announce] skalibs-2.14.1.0, tipidee-0.0.3.0, shibari-0.0.1.0
On 21 Dec 2023, at 08:06, Laurent Bercot wrote: > * shibari-0.0.1.0 > --- > > A brand new project, because I clearly don't have enough on my plate. > shibari is a suite of DNS tools, a successor to s6-dns. Eventually it > will fully replace s6-dns, but for now it simply depends on it. This > first version of shibari comes with two DNS server programs (one for UDP > and one for TCP), that are more or less drop-in replacements for djb's > tinydns and axfrdns. (I wrote them because it was a better long-term > solution than adding a patch to fix a bug in axfrdns.) Out of curiosity, is there any reason this is coupled with its own server rather than forked from s6-tcpserver and the like? I always found it odd that tinydns worked differently from most other DJB tools. Is it some assumption about the load it'll be handling?
[announce] skalibs-2.14.1.0, tipidee-0.0.3.0, shibari-0.0.1.0
Hello, New versions of some skarnet.org packages are available. This is mostly a bugfix release, with some new features. skalibs-2.14.1.0 (minor) s6-2.12.0.3(release) s6-dns-2.3.7.1 (release) s6-networking-2.7.0.1 (release) tipidee-0.0.3.0(minor) shibari-0.0.1.0(new!) * skalibs-2.14.1.0 Despite the minor bump, that was necessary for one of the bug fixes, this is still a bugfix release - but an important one. All users should upgrade. The upgrade breaks the build of old s6 and s6-networking versions, despite not being a major upgrade. This is intentional; the 'broken' functionality actually never worked, and the old interfaces *could* never work, so, better get rid of them and expose problems at build time rather than run time. The new versions of s6 and s6-networking use the new, working interfaces. Other packages are not impacted. https://skarnet.org/software/skalibs/ git://git.skarnet.org/skalibs * tipidee-0.0.3.0 --- tipidee now supports ranges! And also a new XXX_no_translate configuration option, which - as the name implies - is pretty dangerous: it disables path translations and interprets the requested URI as is, which allows symlinks to documents located outside of the server's root. https://skarnet.org/software/tipidee/ git://git.skarnet.org/tipidee * shibari-0.0.1.0 --- A brand new project, because I clearly don't have enough on my plate. shibari is a suite of DNS tools, a successor to s6-dns. Eventually it will fully replace s6-dns, but for now it simply depends on it. This first version of shibari comes with two DNS server programs (one for UDP and one for TCP), that are more or less drop-in replacements for djb's tinydns and axfrdns. (I wrote them because it was a better long-term solution than adding a patch to fix a bug in axfrdns.) https://skarnet.org/software/shibari/ git://git.skarnet.org/shibari Enjoy, Bug-reports welcome - but I probably won't be working much on them during the end of the year. Merry Christmas, happy holidays, and happy new year! -- Laurent