aboutsummaryrefslogtreecommitdiffstats
path: root/pingu_conf.c
Commit message (Collapse)AuthorAgeFilesLines
* move soures to src subdirNatanael Copa2013-08-221-253/+0
|
* pingu: add support for 'fwmark' route ruleNatanael Copa2013-08-201-0/+2
| | | | | Support for adding a fwmark to an interface. It will make it possible to use firewall to mark specific traffic for a specific ISP.
* pingu_conf: add 'ping' keyword to interface contextNatanael Copa2012-08-301-5/+12
| | | | This is a shorthand of definig a host and bind it to interface
* pingu_conf: fix minor bug in config parserNatanael Copa2012-03-061-1/+1
| | | | We should not use the uninitialized "value".
* pingu_conf: add optional rule-priority config optionNatanael Copa2011-12-081-0/+2
| | | | This will set the preference for the 'ip rule'
* pingu_iface: support binding multiple ping hosts to same ifaceNatanael Copa2011-10-071-0/+8
| | | | | | | 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_iface: only load-balance if 2 or more interfaces are configured for itNatanael Copa2011-09-211-5/+5
| | | | | We should not try load-balance at all if there are only 1 or less interfaces configured with "load-balance"
* pingu: add config option 'load-balance'Natanael Copa2011-08-161-0/+11
| | | | | Add a config option to tell pingu that we want the interface to be load balanced. We also have an optional value to tell the weight.
* pingu_conf: cleanup. use a pingu_conf structNatanael Copa2011-08-051-30/+45
|
* pingu_conf: fix lineno on error messagesNatanael Copa2011-08-051-9/+9
| | | | and some whitespace fixes
* pingu: implement new config formatNatanael Copa2011-08-051-0/+208
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 }