The code for my dissertation.
config | ||
mocks | ||
proxy | ||
shared | ||
tcp | ||
tun | ||
utils | ||
.drone.yml | ||
.gitignore | ||
go.mod | ||
go.sum | ||
main.go | ||
Makefile | ||
README.md |
A Multi-Path Bidirectional Layer 3 Proxy
Setup Notes
Linux
Policy Based Routing
ip route flush 11
ip route add table 11 to 1.1.1.0/24 dev eth1
ip route flush 10
ip route add table 10 to 1.1.1.0/24 dev eth2
ip rule add from 1.1.1.4 table 11 priority 11
ip rule add from 1.1.1.5 table 10 priority 10
ARP Flux
sysctl -w net.ipv4.conf.all.arp_announce=1
sysctl -w net.ipv4.conf.all.arp_ignore=2