aboutsummaryrefslogtreecommitdiffstats
path: root/pingu_host.h
Commit message (Collapse)AuthorAgeFilesLines
* pingu_adm: implement host-status and gateway-statusNatanael Copa2011-10-121-1/+1
|
* pingu_iface: support binding multiple ping hosts to same ifaceNatanael Copa2011-10-071-1/+2
| | | | | | | Add config option for executing actions when interface gateway goes up/down. Add config option for required hosts up per interface (defaults to 1)
* pingu_adm: implement initial admin socketNatanael Copa2011-09-211-0/+1
| | | | only supported command so far is "status"
* pingu_host: cleanup. use constant to indicate host online/offlineNatanael Copa2011-09-091-0/+6
| | | | This is to make code cleaner and easier to read.
* pingu_netlink: do not add dead routes to multipathNatanael Copa2011-09-091-0/+1
| | | | | We don't was add a multipath via an interface that a pinghost has set as DOWN.
* pingu: implement new config formatNatanael Copa2011-08-051-7/+8
| | | | | | | | | | | | | | | | | | | | | 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 }
* pingu: add initial code to modify routing tablesNatanael Copa2011-07-211-0/+1
| | | | | 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.
* pingu: try bind socket to interface every burstNatanael Copa2011-07-131-1/+1
| | | | | | 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.
* pingu: move config reading to pingu_host and make host_list globalNatanael Copa2011-07-081-1/+1
|
* Add headers for libev based pinguNatanael Copa2011-07-071-1/+9
|
* misc clean upNatanael Copa2011-07-011-0/+24
- rename ping_host to pingu_host - open log - fix compiler warning