Hi
This might come as an odd request but as I'm not good with C and there's
nice people out there I'll give it a shot.
I'm looking at doing per-packet load-balancing based on the
source-address. That is, for every packet that goes out the source
address should be new.
First I tried doing this with iproute2 or netfilter but there's really
no good way to do this in Linux. Atleast not that me and my friends found.
So then I thought that I could do the per-packet balancing in the
application instead when using UDP in OpenVPN:
Basically what I want, and this can be statically written in the code,
is a list of IPs that OpenVPN chooses from for every packet.
I think this should be fairly easy to do and there shouldn't be many
lines of code. If I understood correctly it can be done under the
resolve_bind_local function in socket.c.
Is there anyone who can help me with this task? It would be very
appriciated!
Sincerely,
Sebastian H