| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
Add config option for executing actions when interface gateway goes
up/down.
Add config option for required hosts up per interface (defaults to 1)
|
|
|
|
| |
only supported command so far is "status"
|
|
|
|
| |
This is to make code cleaner and easier to read.
|
|
|
|
|
| |
We don't was add a multipath via an interface that a pinghost has set
as DOWN.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
New format allows users to define interfaces and ping hosts separately.
This means we can run pingu in routing-only mode to set up and manage
route tables for multi-isp.
We allow the user config a preferred alternate route table for each
interface. If not configured, pingu will pick one.
Example interface definition looks like:
interface eth0 {
route-table 10
}
Example host definition looks like:
host 192.168.0.1 {
bind-interface eth0
}
|
|
|
|
|
| |
For now we just create the alternate routing tables from table 10
and +1 for each new interface. First interface is 10, second is 11 etc.
|
|
|
|
|
|
| |
It might be an interface that disappeared and came back, e.g ppp0.
We also don't even try unless we have a successful binding.
|
| |
|
| |
|
|
- rename ping_host to pingu_host
- open log
- fix compiler warning
|