Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How does it do wget, etc. without violating CORS? I was able to download from a couple different websites.


It uses a proxy. JSLinux emulates a network device and sends ethernet frames to a proxy via websockets. The proxy sends these frames to a Linux TAP device. The rest is a decent firewall configuration.

You might even be able to connect to another emulated JSLinux machine if you know that IP address.

More information here:

http://www.benjamincburns.com/2013/11/10/jor1k-ethmac-suppor...


https://bellard.org/jslinux/faq.html

> Can I access to the network from the virtual machine ?

Yes it is possible. It uses the websocket VPN offered by Benjamin Burns (see his blog). The bandwidth is capped to 40 kB/s and at most two connections are allowed per public IP address. Please don't abuse the service.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: