https://github.com/operatorfoundation/routing
A swift library that provides methods to change network interface routing parameters.
https://github.com/operatorfoundation/routing
swift-package
Last synced: about 2 months ago
JSON representation
A swift library that provides methods to change network interface routing parameters.
- Host: GitHub
- URL: https://github.com/operatorfoundation/routing
- Owner: OperatorFoundation
- License: mit
- Created: 2020-09-25T22:04:07.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-04-25T01:57:17.000Z (about 2 years ago)
- Last Synced: 2025-01-17T14:57:24.278Z (over 1 year ago)
- Topics: swift-package
- Language: Swift
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Routing
Swift project that provides methods to change network interface routing parameters.
Currently only Linux is supported. Tested on Ubuntu 18.04.
For IPv4 and IPv6 the following are implemented:
* Set route, address, NAT
* Get route, NAT
* Delete NAT
* Enable/Disable IP forwarding
To do (including but not limited to):
* //FIXME: move/add input validation from TunTesterCli to TunDevice
* //FIXME: change to ioctls?
* //FIXME: add get functionality for address, IP forwarding, route
* //FIXME: change get functions to return structs instead of a string to make checking settings easier
* //FIXME: add remove address functionality
* //FIXME: add DNS functionality
* //FIXME: add MacOS support
* //FIXME: make more generic/universal
* //FIXME: write tests