GithubHelp home page GithubHelp logo

acmzero / rpi-router Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 20 KB

Scripts to make a router out of a raspberry pi 4, useful when multiple isp

License: GNU General Public License v3.0

Shell 100.00%

rpi-router's People

Contributors

acmzero avatar

Watchers

 avatar  avatar

rpi-router's Issues

Move project to Py

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.

Cleanup when starting the service

Currently the routing table is 'dirty' when starting/restarting the service, would be nice to just restart the service without manually cleaning.

High latency when no default gateway

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.

Delay interface automatically

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.

Pause service

There should be a way to pause the service to avoid interrupting some services.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.