benjojo / bondcat

A netcat/ncat like tool that bonds multiple sockets together.
Apache License 2.0
230 stars 17 forks source link

Different schedulers? #4

Open Llorx opened 1 year ago

Llorx commented 1 year ago

Hi,

I would like to ask, is there a chance to have different schedulers? I don't want to aggregate, but to send all the data through all the links at the same time, so the connection is going to have always the maximum bandwidth and ping of the best connection, without aggregation.

In MPTCP they call it "redundant scheduler".

benjojo commented 1 year ago

I don't think bondcat/multipath is the best use-case for that. I have built something similar (mostly for seamless high availability) but using UDP.

Bondcat and it's underlying library is designed around TCP connections, but if you have UDP connections you can "just" send on all uplinks at once and pick out whatever arrives first

You could technically patch this in, but for now I'm not sure I want the added complexity of this

Llorx commented 1 year ago

I see. I actually want this for TCP, exactly the same as MPTCP but without the limitations of having the MPTCP header filtered by intermediaries. Going to try to patch the source code.