Better HN
topnewbestaskshowjobs
Log inSign up

Morhaus

515 karma · joined Nov 21, 2013 (13y ago) · 20 submissions

Submissions

comment 4mo ago · link · parent

Congrats on shipping :)

2.

Arti, a pure-Rust Tor implementation(blog.torproject.org ↗)

108 points · by Morhaus · 5y ago · 2 comments

3.

Some Obscure C Features(multun.net ↗)

476 points · by Morhaus · 7y ago · 138 comments

comment 10y ago · link · parent

That's a great suggestion! If you'd like to see this implemented, please open an issue. https://github.com/Morhaus/facebook-sixth-sense/issues

comment 10y ago · link · parent

They will. However, if you take a look at the final code snippet, you'll see we're not relying on any minified name. The public interface of modules remains intact through minification.

6.

A Facebook Sixth Sense(kirszenberg.com ↗)

8 points · by Morhaus · 10y ago · discuss

comment 12y ago · link · parent

Because it's much easier to implement?

comment 12y ago · link · parent

I just did, thanks :)

comment 12y ago · link · parent

There is no built-in failover mechanism atm. However I guess you could use another program on top of dispatch to implement such a feature.

comment 12y ago · link · parent

Yup.

comment 12y ago · link · parent

Adding it now.

comment 12y ago · link · parent

One of the advantages of using a proxy is that you can configure it per app.

For example, let's say I have 3 interfaces.

Interfaces (1) and (2) are low-latency and interface (3) is high latency.

I can start a proxy on localhost:1080 that redirects to interfaces (1), (2) and (3), and configure my download manager to use it.

I can then start another proxy on localhost:1081 that redirects to interfaces (1) and (2), and configure my game client to use it.

comment 12y ago · link · parent

Windows, Mac OS X and Linux.

Every platform which runs NodeJS in fact.

comment 12y ago · link · parent

For now, the proxy will still try to dispatch sockets to every network interfaces specified at launch. But such a feature could perfectly be implemented.

comment 12y ago · link · parent

At the TCP level.

comment 12y ago · link · parent

Just did, thanks for the input!

comment 12y ago · link · parent

Dispatch-proxy lets you boot a proxy on your machine that dispatches every incoming connection to a different network interface.

The possibilities are endless:

* download a file through threaded downloading, effectively combining multiple connections' speed in one single file download,

* create two proxies, assign to each its own interface, and run two apps simultaneously that use a different interface,

* create a hotspot proxy at home that connects through Ethernet and your 4G card for all your mobile devices,

* etc.

Here are some instructions to quickly get started with using the proxy:

1) INSTALLATION

* Install Node.JS (http://nodejs.org/).

* Launch a terminal.

* Run the command `npm install -g dispatch-proxy` as a power user and press Enter. It will install the `dispatch` command-line utility.

2) STARTING AN HTTP PROXY

* To quickly start an HTTP proxy, run `dispatch start --http`.

* The program will print the proxy address and port (by default localhost:8080) as well as the list of local addresses the program will be dispatching requests to.

* Configure your system to use the combination address:port as an HTTP proxy.

3) LISTING ALL AVAILABLE NETWORK INTERFACES

* To list all available network interfaces, run `dispatch list`

* Each available network interface will be printed with a list of addresses.

* Right now, the dispatch utility only supports IPv4 addresses.

* If an address is marked to be "internal", then you won't be able to use it to connect to the internet.

I encourage you to read the docs https://github.com/Morhaus/dispatch-proxy.

18.

Combine your Wi-Fi, Ethernet and 3G connections to increase your download speed(github.com ↗)

247 points · by Morhaus · 12y ago · 62 comments

19.

Show HN: A proxy that balances traffic between multiple internet connections(github.com ↗)

10 points · by Morhaus · 13y ago · discuss