frontend duplicate and distribute data packets to multiple upstream backend. backend pick the packet that arrived first and send to the target address and vice versa.
docker build or GOOS=linux go build
front-end:
/home/ubuntu/trafcacc -listen=tcp://:5201 -upstream=tcp://backend-addresss:51501-51524 -v
back-end:
trafcacc -backend=true -listen=tcp://:51501-51524 -upstream=tcp://remote-address:5201 -v
go test -bench . 如果使用 iperf3 IPERF=1 go test
docker pull tomasen/trafcacc:latest