Websockets TAP proxy for jor1k Linux emulator
If you have never heard of jor1k, you should give a look now because it will likely surprise you. We have been used to old consoles emulators running in browsers, but Sebastian Macke managed to port a fully-fledged Linux to it, by implementing the OR1K architecture.
This Linux-in-a-browser has network support thanks to a smart trick: it will relay ethernet frames via websockets to a relay server that are in turn injected in a TAP interface of the relay server. Brilliant.
My small contribution to this awesome emulation project is a Go implementation of the original python version, called go-websockproxy, with some features added:
Now it should be fairly simple for anybody to run their own network-backed Linux-in-a-browser and also secure it by using the authentication key feature.