summaryrefslogtreecommitdiffstats
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.
* fix build on on 64 bit platformsStephen Hemminger2008-04-032-2/+2
| | | | | | Use proper include files so watchlink can be built on 64 bit platforms. Not strictly necessary yet, since vyatta isn't doing 64 bit builds, but some development machines run 64 bit OS.
* add wildcard for interfaces. use an "*" in place of an interface name--and ↵Michael Larson2008-03-311-2/+1
| | | | | | the address provided will exclude all matching addresses across all ethernet addresses.
* Merge branch 'master' of http://git.vyatta.com/vyatta-quaggaMichael Larson2008-03-312-1/+33
|\
| * Filter unwanted netlink messagesStephen Hemminger2008-03-312-1/+33
| | | | | | | | | | | | Use socket filter to drop unwanted messages on the netlink listen socket. This prevents problems where the listener socket buffer gets overrruns with echos of the new route update that occurs when link changes.
* | modified watchlink parser to support the following behaviors:Michael Larson2008-03-314-2/+57
|/ | | | | | | | | | | | | | | | | | | | | > comments are now allowed after the # symbol after each entry > address ranges are now supported in the matching if the user enters a netmask value, then every address within the range is exlcluded > ip value (without a mask) is treated as a /32 for matching > matching is against the masked off address value, the mask is specified by the exclusion entry (and not by the configured address value) > sig_usr1 will reload the configuration and is required after each modification of the exclude file. The format of the file is the following: [interface] [address|network] #comments Only one entry per line is allowed vifs are supported in the interface line (i.e. eth0.1w)
* added interface/address exclusion support to watchlink. The correct format is:Michael Larson2008-03-306-17/+91
| | | | | | | | | | | | | | | [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
* Remove unused lintian "ignore" optionrbalocca2008-03-211-1/+0
|
* support 64bitMichael Larson2008-03-201-1/+1
|
* bumped up netlink recv buffer limits for zebra--should alleviate netlink ↵Michael Larson2008-03-202-3/+3
| | | | | | error msgs that occur under large routing tables when layer 2 event occurs.
* Merge branch 'master' of git:/git/vyatta-quaggaMark O'Brien2008-03-191-1/+1
|\ | | | | | | | | | | Conflicts: debian/changelog
| * 3.0.1Mark O'Brien2008-03-181-0/+29
| |
* | VC4.0.1debian/0.99.9-3Mark O'Brien2008-03-181-0/+29
|/
* 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.
* Fix Bug 2750 bgp: large ASN shown as negativeMohit Mehta2008-03-142-5/+5
| | | | - 'vtysh -c "sh run" | grep bgp' gives an accurate 32-bit AS number now
* Fix 2842: Protocol debug does not take affect until underlying log levelStig Thormodsrud2008-03-131-1/+2
| | | | is lowered
* Merge branch 'glendale'Mohit Mehta2008-03-111-14/+14
|\
| * Fix Bug 2750 bgp: large ASN shown as negativeMohit Mehta2008-03-111-14/+14
| | | | | | | | - 32 bit asns show allright now
* | Change license notice from VPL to GPLv2Stephen Hemminger2008-03-1011-242/+33
|/ | | | Glendale is licensed under GPL version 2.
* Bugfix: 2845Bob Gilligan2008-03-051-2/+0
| | | | Re-enable handling of RTM_DELLINK.
* vc4.0.0debian/0.99.9-2Mark O'Brien2008-02-251-0/+117
|
* fix for bug 2750. will also submit to quagga dvlprs.Michael Larson2008-02-121-4/+4
|
* force so_recvbuf size to 223232 (double of 111616) for netlink in zebra. ↵Michael Larson2008-02-061-1/+1
| | | | | | will also need to modify kernel proc settings
* Revert "avoid package conflict between iproute and vyatta-iproute"Stephen Hemminger2008-01-311-1/+1
| | | | | | | Since vyatta-iproute advertises itself as iproute there should be no need for the previous change. This reverts commit 87431d4ce8c1521e7b748d927136e581228fbf1e.
* avoid package conflict between iproute and vyatta-iprouteStephen Hemminger2008-01-301-1/+1
| | | | Now that there is vyatta-iproute, don't get both packages installed.
* modified watchlink to manage connected routes in local and main tables per ↵Michael Larson2008-01-2811-62/+284
| | | | interface rather than pulling interface address on cable pull event.
* remove generated files from repoAn-Cheng Huang2008-01-245-25/+4
|
* moved some stderr messages to syslog. removed stderr message when receiving ↵Michael Larson2008-01-221-3/+6
| | | | ack from kernel on netlink msg.
* need to qualify test for non-ethernet type interfaces to newlink/dellink ↵Michael Larson2008-01-211-1/+2
| | | | messages only.
* fix for bc addr and fix for parsing iface for show cmds and filterMichael Larson2008-01-212-2/+46
|
* fix for ppp--restrict watchlink to ethernet interface types only. Filter by ↵root2008-01-183-5/+10
| | | | checking the ifi_type flag in ifinfomsg hdr from netlink.
* fix bug introduced with ptp support--indexing of database and initialization ↵Michael Larson2008-01-174-5/+5
| | | | of terminating address.
* Merge branch 'master' of http://suva.vyatta.com/vyatta-quaggaMichael Larson2008-01-171-1/+0
|\
| * Merge commit 'origin'Tom Grennan2008-01-171-2/+2
| |\
| * | donot add user "vyatta" to vtysh.conf in preinit, this is now done during ↵Tom Grennan2008-01-171-1/+0
| | | | | | | | | | | | system config
* | | added empty exclude file creation to make watchlink happyMichael Larson2008-01-171-0/+1
| |/ |/|
* | removed stderr message when unable to open exclusion file. Also downgraded ↵Michael Larson2008-01-171-2/+2
|/ | | | | | syslog entry to log_info--this file won't exist unless the cli configures link-detect to off.
* Merge commit 'origin/master'Tom Grennan2008-01-167-22/+46
|\
| * fix for bug 2570. increased buffer length from 4096 to 8192root2008-01-151-1/+2
| |
| * 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-156-13/+36
| | | | | | | | where the ifa_address != ifa_local then ifa_address is populated in setaddr message. fix for bug 2650
* | ignore watchlink binaryTom Grennan2008-01-161-0/+1
| |
* | use "log syslog LEVEL" not "log file syslog LEVEL"Tom Grennan2008-01-161-1/+1
| |
* | separate init of vtysh.conf from other daemonsTom Grennan2008-01-161-2/+7
|/
* donot modify existing conffilesTom Grennan2008-01-141-2/+2
|
* Merge branch 'master' of http://suva.vyatta.com/vyatta-quaggaMichael Larson2008-01-111-1/+1
|\
| * Log to syslog daemonJustin Fletcher2008-01-111-1/+1
| |
* | added support for filtering of interfaces. filter or exclusion list needs to ↵Michael Larson2008-01-113-4/+73
|/ | | | | | | be be written to exclude file located in linstatus directory. watchlink accepts sigusr1 to reload filter without requiring restart on configuration change.
* cleaned up source a bit. added syslog error messages. added legal-eeze.Michael Larson2008-01-1111-17/+345
| | | | other minor edits.