This repository is used to build docker image of router. Router is used in network-simulator to control network communication. Router image has to be built before starting network generator. Network generator uses image tag to create router containers.
- iptables-api
- iproute2-api
- iproute2-rest
Iptables api written in golang is used to communicate with linux ip tables.
Api is used to filter communication, NAT, ...
This api is forked from: https://github.com/Oxalide/iptables-api
IPRoute2 api written in golang is used to control routing tables using iproute2 commands. Api supports:
- Default routes creationg and modification
- Routes creation and modification
- List interfaces
- List routes
IProute2 REST is used by network simulator api to remotely control routes on routers. API is written in golang, using http package.
docker build ./