summaryrefslogtreecommitdiffstats
path: root/watchlink/netlink_linkstatus.cc
Commit message (Collapse)AuthorAgeFilesLines
* add locking to prevent file update problemsdebian/0.99.9-4Stephen Hemminger2008-04-031-1/+19
| | | | | The vyatta-interfaces script needs to update the linkstatus file, so locking is needed to prevent concurrent read/update problems.
* added interface/address exclusion support to watchlink. The correct format is:Michael Larson2008-03-301-0/+2
| | | | | | | | | | | | | | | [interface] [interface] [ip/mask] It should also accept a plain IP--but I haven't tested this yet. Also added syslogging at the info level on interface up/down events. This change provides support for HA to work with interface cable event. HA and VRRP will need to populate the /var/linkstatus/exclude file with the VIPs under their management. In addition to circumvent an additional problem in HA there needs to be an additional address on the monitored interface, otherwise HA will admin down the interface when the cable is pulled
* And with the correct licensing headers.Michael Larson2008-03-171-22/+3
|
* revert behavior for watchlink to pulling/pushing address on interface on ↵Michael Larson2008-03-171-6/+38
| | | | IFF_RUNNING|IFF_UP event.
* Change license notice from VPL to GPLv2Stephen Hemminger2008-03-101-22/+3
| | | | Glendale is licensed under GPL version 2.
* modified watchlink to manage connected routes in local and main tables per ↵Michael Larson2008-01-281-10/+48
| | | | interface rather than pulling interface address on cable pull event.
* fix bug introduced with ptp support--indexing of database and initialization ↵Michael Larson2008-01-171-2/+2
| | | | of terminating address.
* fix for bug 2648--downgraded some syslog messages and removed some from console.root2008-01-151-8/+8
|
* added support for ifa_address field in rtm_newaddr message and in links ↵root2008-01-151-4/+7
| | | | where the ifa_address != ifa_local then ifa_address is populated in setaddr message. fix for bug 2650
* cleaned up source a bit. added syslog error messages. added legal-eeze.Michael Larson2008-01-111-0/+34
| | | | other minor edits.
* initial check-in of watchlink project. compiles, runs and manages state. ↵Michael Larson2008-01-091-0/+229
needs additional testing and updates to packaging files.