aboutsummaryrefslogtreecommitdiffstats
path: root/pingu.c
Commit message (Collapse)AuthorAgeFilesLines
* move soures to src subdirNatanael Copa2013-08-221-215/+0
|
* pingu: avoid running in foreground if already forkedNatanael Copa2012-03-231-0/+23
|
* pingu_ping: always stop ev timer when cleaning up ping listNatanael Copa2012-03-141-1/+1
|
* pingu: cleanup various structures on shutdownNatanael Copa2012-03-061-0/+2
|
* pingu: fix help textNatanael Copa2011-10-191-2/+6
|
* pingu_adm: implement initial admin socketNatanael Copa2011-09-211-11/+18
| | | | only supported command so far is "status"
* pingu: cleanup on exitNatanael Copa2011-09-061-0/+3
| | | | We remove the ip rule, close the ping sockets and netlink sockets.
* pingu: catch SIGINT so we can cleanup at exitNatanael Copa2011-09-061-0/+10
|
* pingu_conf: cleanup. use a pingu_conf structNatanael Copa2011-08-051-1/+1
|
* pingu: implement new config formatNatanael Copa2011-08-051-5/+12
| | | | | | | | | | | | | | | | | | | | | 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_netlink: monitor link status of interfaces via netlinkNatanael Copa2011-07-131-0/+2
|
* pingu: run the route-script againNatanael Copa2011-07-081-51/+0
|
* pingu: move config reading to pingu_host and make host_list globalNatanael Copa2011-07-081-144/+4
|
* pingu: remove unused codeNatanael Copa2011-07-081-122/+0
|
* pingu: use new libev implementation and implent -v optionNatanael Copa2011-07-071-3/+13
|
* misc clean upNatanael Copa2011-07-011-27/+11
| | | | | | - rename ping_host to pingu_host - open log - fix compiler warning
* pingu: initial use of libevNatanael Copa2011-06-301-31/+46
| | | | For now we only use libev to generate the ping burst intervals.
* pingu: remove dead codeNatanael Copa2011-06-301-12/+0
|
* pingu: rename to max_retriesNatanael Copa2011-06-301-10/+15
|
* pingu: use linux style lists and rename thingsNatanael Copa2011-06-281-31/+29
|
* pingu: rename dest_addr to ping_hostNatanael Copa2011-06-281-4/+4
|
* pingu: rename name -> label and src_addr to source_ipNatanael Copa2011-06-281-8/+8
|
* pingu: make address family agnosticNatanael Copa2011-06-221-23/+46
| | | | also, give user the possibility to do dns lookups for every ping burst.
* pingu: support for setting source-ipNatanael Copa2010-03-111-16/+26
| | | | | | | | | This is needed so ip source routing works with shorewall The problem is that when we change the default gw, removing a gateway that went down, we are not able to ping remote host via that interface ...unless we set the source ip and have an ip route table with source ip. Shorewall sets that up.
* pingu: bind to interface. fix gateway bugNatanael Copa2010-03-111-2/+11
|
* pingu: exit failed route-script forksNatanael Copa2009-11-301-1/+5
| | | | and don't try execute at all if no route-script is specified.
* pingu: use /etc/pingu/pingu.conf as defaultLinux User2009-11-121-1/+6
|
* pingu: implement required repliesLinux User2009-11-121-11/+26
| | | | | We send totally "retry" packages and consider the link up if we get at leaset "required" number of responses within "timeout" seconds.
* pingu: implement route-scriptNatanael Copa2009-09-241-3/+58
| | | | | | | Whenever there are any changes, the route-script is called with all gateways that have status "up" as paramaeter This is supposed to be used to set the default gateway.
* pingu: added -V to print versionNatanael Copa2009-02-041-2/+11
|
* pingu: cofigurable timeout/retry. default values. invert -dNatanael Copa2009-01-311-17/+43
| | | | | | - make timeout and retry configurable - possible to set default action, timeout and retry values - the -d option means "daemonize" rather than "debug mode".
* pingu: make it workNatanael Copa2009-01-291-37/+143
|
* use SLIST from sys/queue.hNatanael Copa2008-12-251-29/+45
|
* xlib.c: moved utility funcs to separate fileNatanael Copa2008-12-181-24/+1
|
* misc code cleanupNatanael Copa2008-12-181-15/+12
|
* parse pingu.confNatanael Copa2008-12-181-1/+141
|
* initial commitNatanael Copa2008-12-041-0/+78