News for hackers. Stuff that matters.
Re:A simple web server written in Awk by tripflag on Wednesday September 20, 2023 @08:14AM (#37583230)
neat! i was aware of bash's built-in tcp client at /dev/tcp, but gawk being able to function as a tcp server is way cooler. Thanks for that bit of knowledge :>
Re:A simple web server written in Awk by dzove855 on Wednesday September 20, 2023 @09:57AM (#37584182)
Actually, bash has now a loadable builtin to listen on tcp socket. I wrote a script and the patch. https://github.com/dzove855/Bash-web-server

The patch is now included in bash 5.2

Re:A simple web server written in Awk by tyingq on Wednesday September 20, 2023 @10:07AM (#37584324)
Excellent! Looking forward to your pure bash TLS implementation next :)
Re:A simple web server written in Awk by dzove855 on Wednesday September 20, 2023 @04:10PM (#37589483)
it is already in my mind creating a bind to something like libressl or rustssl, but it will be much more complicated.