Hacker News new | ask | show | jobs
by jeff_harris 3235 days ago
Haha yes... although I would be slightly nervous to expose my janky C code to the internet. Where I'm confident it would crash and burn in a very short amount of time :)
2 comments

Use a proxy. Openresty (nginx+lua) or a Go app would do. Only allow whitelisted commands through like the basic control commands and then pass it on to your C code.
yep, that would definitely be a good idea!
Most certainly your machine will suddenly reboot to a newly installed arch ;)
haha yes!