aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ==== release 1.2 ====v1.2Natanael Copa2012-06-131-1/+1
|
* pingu_host: bring interface down instantly if interface disapearsNatanael Copa2012-06-123-0/+10
| | | | | | | | | We need execute the down hook in case interface goes down if we have gre tunnels bound to an interface. If for example ppp0 disapears (pppd restart) and comes back before pingu notices it, the gre interface will not be bound to anything. So we force the "down" event instantly if we detect that the iface is gone.
* mtu: just ignore uninteresting icmp repliesTimo Teräs2012-06-041-1/+2
| | | | | ... we probably get the interesting one later. This is in case there's lot of icmp errors, we otherwise get tricked by those.
* pingu: avoid running in foreground if already forkedNatanael Copa2012-03-231-0/+23
|
* pingu_iface: del renewed gateways via broken ISPsNatanael Copa2012-03-231-0/+13
| | | | | | | | | | If we get a new default gateway for an interface that is marked "down", remove the default gw again from main table and let pingu detect that it went up This solves the case when dhcp will renew a lease, recreates the default gw and ISP is broke a bit futher down the road.
* ==== release 1.1 ====v1.1Natanael Copa2012-03-141-1/+1
|
* pingu_burst: memleak fixNatanael Copa2012-03-141-0/+1
| | | | we need to run freeaddrinfo() after getaddrinfo()
* pingu_adm: support route dumpsNatanael Copa2012-03-145-0/+28
|
* pingu_adm: allow only one command per connectionNatanael Copa2012-03-142-11/+14
|
* build: use git version tag for version info if availableNatanael Copa2012-03-141-1/+7
|
* pingu_adm: new admin command for dumping active pingsNatanael Copa2012-03-145-7/+33
|
* pingu_ping: always stop ev timer when cleaning up ping listNatanael Copa2012-03-145-12/+15
|
* pingu_route: add helper function for generating route stringNatanael Copa2012-03-143-17/+30
| | | | Use for logging.
* pingu_ping: always stop ev_timer when freeNatanael Copa2012-03-121-7/+10
| | | | This should fix a memory leak
* pingu: cleanup various structures on shutdownNatanael Copa2012-03-068-2/+51
|
* pingu_netlink: logging cleanupNatanael Copa2012-03-061-4/+6
| | | | Fixes uninitialized wraning in valgrind.
* pingu_burst: silence valgrind warning about uninitialized bytesNatanael Copa2012-03-061-1/+1
|
* pingu_conf: fix minor bug in config parserNatanael Copa2012-03-061-1/+1
| | | | We should not use the uninitialized "value".
* pingu_netlink: keep track of the route via interfaceNatanael Copa2011-12-084-31/+49
| | | | | This is so we later can copy more routes to alternate rotue table if needed.
* pingu_conf: add optional rule-priority config optionNatanael Copa2011-12-085-3/+12
| | | | This will set the preference for the 'ip rule'
* man: minor fixesNatanael Copa2011-10-261-5/+6
|
* ==== release 1.0 ====v1.0Natanael Copa2011-10-201-1/+1
|
* build: fix install locationsNatanael Copa2011-10-201-3/+9
|
* build: install in sbin dir instead of bin dirNatanael Copa2011-10-201-3/+3
|
* man: use variables for pathsNatanael Copa2011-10-191-6/+6
|
* pingu: fix help textNatanael Copa2011-10-191-2/+6
|
* build: make and install man pagesNatanael Copa2011-10-192-5/+17
|
* man: initial man pagesNatanael Copa2011-10-195-0/+226
|
* pingu_adm: implement host-status and gateway-statusNatanael Copa2011-10-126-13/+62
|
* pingu_host: use ONLINE/OFFLINE in log messageNatanael Copa2011-10-111-2/+4
|
* pingu_host.c: wait a sec before we send first burstNatanael Copa2011-10-111-1/+1
| | | | This is so we get time to detect routes from kernel
* pingu.conf: add some new example config optionsNatanael Copa2011-10-071-3/+21
|
* pingu_iface: support binding multiple ping hosts to same ifaceNatanael Copa2011-10-076-28/+78
| | | | | | | 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: rename pingu_gateway to pingu_routeNatanael Copa2011-10-079-185/+185
|
* pingu_adm: log commandsNatanael Copa2011-09-231-2/+3
| | | | Only supported commadn so far is "status"
* pingu_netlink: log route changes as info instead as debugNatanael Copa2011-09-231-1/+1
| | | | Routing changes should not happen that often so we can log them as info
* lua: added initial lua clientNatanael Copa2011-09-223-7/+141
|
* pingu_host: end status dump with a '\n' instead of '\0'Natanael Copa2011-09-211-1/+1
|
* build: configure pingu rundir from MakefileNatanael Copa2011-09-211-5/+11
| | | | So we can override the default rundir without patching things
* pinguctl: initial admin clientNatanael Copa2011-09-213-2/+97
|
* pingu_adm: implement initial admin socketNatanael Copa2011-09-218-15/+182
| | | | only supported command so far is "status"
* pingu_iface: only load-balance if 2 or more interfaces are configured for itNatanael Copa2011-09-213-20/+22
| | | | | We should not try load-balance at all if there are only 1 or less interfaces configured with "load-balance"
* pingu_netlink: delete multipath route if there are no pathsNatanael Copa2011-09-092-4/+6
| | | | | | The normal action is to replace but if all ISPs goes down we need to explicit delete the multipath route. Otherwise we will have the last default gw hanging around.
* pingu_ping: cleanup. Use constant to indicate if we ignore error or notNatanael Copa2011-09-093-2/+5
| | | | This makes code cleaner and easier to read.
* pingu_host: cleanup. use constant to indicate host online/offlineNatanael Copa2011-09-095-7/+14
| | | | This is to make code cleaner and easier to read.
* pingu_netlink: do not add dead routes to multipathNatanael Copa2011-09-093-1/+14
| | | | | We don't was add a multipath via an interface that a pinghost has set as DOWN.
* pingu_netlink: delete the exact multipath we createdNatanael Copa2011-09-092-7/+21
| | | | | We need to keep track how we created the multipath and delete the corresponding.
* pingu_iface: only update default route in main route tableNatanael Copa2011-09-091-1/+2
| | | | | This is related the d3c9eca81e94978284e619aca58cee93977f30a7 fix where we save all the routes in list, not only default gateways.
* pingu_netlink: do not try remove routes that kernel aready removedNatanael Copa2011-09-091-4/+8
| | | | | | | When losing an address the kernel will remove the routes with it so we don't need to try remove it. This is only to avoid error messages in log.
* pingu_netlink: update iface index even if we dont have linkNatanael Copa2011-09-081-11/+9
| | | | | We might have got a new interface but still not got a link. We need update the iface index in such case.