And I like the screenshot showing "Bad command or file name". I saw that message plenty of times, although now it seems like a lifetime ago!
Hosting a Public Website on MS-DOS (2022)
21–30 of 54 posts
Re: Hosting a Public Website on MS-DOS (2022)
#22Earlier quoted context omitted.
I wrote a web server for CP/M, the issue there was that the C library could only hold the state of a small number of FILE* at a time, because they were allocated statically.
I was thinking about cpm online software too! what hardware do you run it on? any links?
I have a blog post: https://incoherency.co.uk/blog/stories/rc2014-web-server.htm...
And a github repo: https://github.com/jes/cpmhttpd
Re: Hosting a Public Website on MS-DOS (2022)
#23> Your server will be secure because it's obscure. But it's still very likely to become a target for autistic geniuses. I legit laughed out loud.
Re: Hosting a Public Website on MS-DOS (2022)
#24> That's because DOS webservers can only keep track of 8- or 16-ish concurrent requests Is that because of the lack of official 'forking'/threading, or due to the limitations of whatever TCP stack is being used for the listen() / accept() calls? (or something else?)
I wrote a web server for CP/M, the issue there was that the C library could only hold the state of a small number of FILE* at a time, because they were allocated statically.
In the DOS days, dynamic memory allocation was to be avoided if possible. Machines did not handle running out of memory gracefully. Often we'd unnecessarily fix the size of things to avoid run-time uncertainty.
A scientific Fortran code I once saw allocated all of the memory it would need at the beginning of the code in an array called 'a'. Then from there it would dole out portions to other parts of the program using common blocks.
Re: Hosting a Public Website on MS-DOS (2022)
#25He was quite cool, he wrote his own simple message board for the lecture, and when students hacked it and wrote fake messages under his name, he took it in a sporting spirit, and the students reached an informal understanding with him: it‘s fine to post under his name if it is in another color than his (his name was red) or it‘s something like "NotProfName".
Re: Hosting a Public Website on MS-DOS (2022)
#26Re: Hosting a Public Website on MS-DOS (2022)
#27I discovered Felix a couple months ago. It's a shame he has disappeared since making this blog post.
Re: Hosting a Public Website on MS-DOS (2022)
#28> Your server will be secure because it's obscure. But it's still very likely to become a target for autistic geniuses. I legit laughed out loud.
Nowadays there are armies of bots that will find an insecure internet-connected server within seconds. Security through obscurity isn't much of a thing anymore.
There is no botnet targeting web services running on DOS, because no one is running web services on DOS.
Re: Hosting a Public Website on MS-DOS (2022)
#29> Your server will be secure because it's obscure. But it's still very likely to become a target for autistic geniuses. I legit laughed out loud.
Nowadays there are armies of bots that will find an insecure internet-connected server within seconds. Security through obscurity isn't much of a thing anymore.
Re: Hosting a Public Website on MS-DOS (2022)
#30> That's because DOS webservers can only keep track of 8- or 16-ish concurrent requests No different to my Python gunicorn web server then
I'd be surprised to see gunicorn do more than 1 request an hour on a 386.