Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | move soures to src subdir | Natanael Copa | 2013-08-22 | 1 | -62/+0 |
| | |||||
* | pingu: add support for 'fwmark' route rule | Natanael Copa | 2013-08-20 | 1 | -1/+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_adm: support route dumps | Natanael Copa | 2012-03-14 | 1 | -0/+1 |
| | |||||
* | pingu_adm: new admin command for dumping active pings | Natanael Copa | 2012-03-14 | 1 | -1/+2 |
| | |||||
* | pingu_ping: always stop ev timer when cleaning up ping list | Natanael Copa | 2012-03-14 | 1 | -2/+1 |
| | |||||
* | pingu_conf: add optional rule-priority config option | Natanael Copa | 2011-12-08 | 1 | -0/+1 |
| | | | | This will set the preference for the 'ip rule' | ||||
* | pingu_adm: implement host-status and gateway-status | Natanael Copa | 2011-10-12 | 1 | -0/+2 |
| | |||||
* | pingu_iface: support binding multiple ping hosts to same iface | Natanael Copa | 2011-10-07 | 1 | -0/+9 |
| | | | | | | | 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_route | Natanael Copa | 2011-10-07 | 1 | -3/+3 |
| | |||||
* | pingu_iface: only load-balance if 2 or more interfaces are configured for it | Natanael Copa | 2011-09-21 | 1 | -1/+1 |
| | | | | | We should not try load-balance at all if there are only 1 or less interfaces configured with "load-balance" | ||||
* | pingu_netlink: delete the exact multipath we created | Natanael Copa | 2011-09-09 | 1 | -0/+1 |
| | | | | | We need to keep track how we created the multipath and delete the corresponding. | ||||
* | pingu_{iface,netlink}: only remove route rules that we actually created | Natanael Copa | 2011-09-07 | 1 | -0/+1 |
| | |||||
* | pingu: cleanup on exit | Natanael Copa | 2011-09-06 | 1 | -0/+1 |
| | | | | We remove the ip rule, close the ping sockets and netlink sockets. | ||||
* | pingu: only create/lose binding when we get/lose address | Natanael Copa | 2011-09-06 | 1 | -1/+2 |
| | | | | | We don't need to rebind every burst. We only bind when we get an address and we only lose the binding when the address is lost. | ||||
* | pingu: add config option 'load-balance' | Natanael Copa | 2011-08-16 | 1 | -0/+2 |
| | | | | | 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_gateway: cleanup. split out gateway funcs | Natanael Copa | 2011-08-05 | 1 | -14/+1 |
| | | | | | To make code cleaner we move all gateway functions to separate file and rename a few functions. | ||||
* | pingu: implement new config format | Natanael Copa | 2011-08-05 | 1 | -2/+5 |
| | | | | | | | | | | | | | | | | | | | | | 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_iface: init the sockets when init instead of when create | Natanael Copa | 2011-08-02 | 1 | -0/+1 |
| | |||||
* | pingu: use source address for ip rule and copy scope link route | Natanael Copa | 2011-08-02 | 1 | -1/+7 |
| | |||||
* | pingu: remove default gw from main route table when isp goes down | Natanael Copa | 2011-07-29 | 1 | -0/+2 |
| | |||||
* | pingu: clean up for ipv6 support in future | Natanael Copa | 2011-07-28 | 1 | -3/+5 |
| | | | | | | | make the pingu_gateway struct also hold a destination so the struct can be reused. use sockaddr_any as much as possible. | ||||
* | pingu: add gw to list and minor cleanup | Natanael Copa | 2011-07-28 | 1 | -0/+2 |
| | | | | | | | | - add default gateways to our gw list - use sockaddr_init to init our gw - implement sockaddr_to_string TODO: delete default gateways from list | ||||
* | pingu: use sockaddr_any | Natanael Copa | 2011-07-28 | 1 | -6/+2 |
| | | | | add common sockaddr utility functions | ||||
* | Use sockaddr_any for storing address and gateway | Natanael Copa | 2011-07-28 | 1 | -1/+15 |
| | |||||
* | pingu: add initial code to modify routing tables | Natanael Copa | 2011-07-21 | 1 | -2/+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_netlink: pick up primary address for interfaces | Natanael Copa | 2011-07-15 | 1 | -1/+6 |
| | |||||
* | pingu_netlink: monitor link status of interfaces via netlink | Natanael Copa | 2011-07-13 | 1 | -0/+2 |
| | |||||
* | pingu_iface: implement pingu_iface_usable() | Natanael Copa | 2011-07-13 | 1 | -0/+1 |
| | | | | To test if we can use socket. | ||||
* | pingu: try bind socket to interface every burst | Natanael Copa | 2011-07-13 | 1 | -0/+2 |
| | | | | | | 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. | ||||
* | Add headers for libev based pingu | Natanael Copa | 2011-07-07 | 1 | -0/+20 |