Skip to content

PatrIoT-Framework/patriot-router

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PatrIoT_router

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.

Parts

  • iptables-api
  • iproute2-api
  • iproute2-rest

IPTables

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

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 API

IProute2 REST is used by network simulator api to remotely control routes on routers. API is written in golang, using http package.

Build

docker build ./

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published