acmzero / rpi-router Goto Github PK
View Code? Open in Web Editor NEWScripts to make a router out of a raspberry pi 4, useful when multiple isp
License: GNU General Public License v3.0
Scripts to make a router out of a raspberry pi 4, useful when multiple isp
License: GNU General Public License v3.0
Due to all the enhancements and new features needed for the project, it is going to be moved to python, specially for the webserver exposure.
Currently the routing table is 'dirty' when starting/restarting the service, would be nice to just restart the service without manually cleaning.
For some reason when the system decides to renew DHCP or when turning off/on new interfaces, the latency will be marked as 9999. ensure there is always a default gateway for the interface prior calculating the latency.
When one interface is not stable "Comes and goes every X minutes" and it happens to be a fast connection when available, it will cause a lot of swaps interrupting the connection frequently.
A 'delay interface' is proposed to set a time where the interface can't be picked up for swapping.
The delay should be in incremental values when the connection is not available for example:
T Desc
1 eth1 not available
2 Set eth1 delay to 1m
3 eth1 not available
4 Set eth1 delay to 2m
In this case, base_delay is 1m and it will increment by 1 minute everytime the interface is not available, when the interface does came up available again it will reset the delay for the interface.
I think it is also better to put a limit_delay to 15m, for example, where no matter what, the delay can't exceed 15 minutes, this to avoid having to wait a lot when a connection does become available and reliable enough.
There should be a way to pause the service to avoid interrupting some services.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.