summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 0.99.11-17debian/0.99.11-17Stephen Hemminger2009-05-071-0/+16
|
* Updates to init scriptStephen Hemminger2009-05-071-11/+36
| | | | | | 1. Don't depend on quagga-manager because later changes may have to change what it does 2. Add LSB status function
* Merge branch 'jenner' of suva.vyatta.com:/git/vyatta-quagga into jennerStephen Hemminger2009-05-072-1/+21
|\ | | | | | | | | Conflicts: debian/vyatta-quagga.init.d
| * 0.99.11-16debian/0.99.11-16Stephen Hemminger2009-05-061-0/+19
| |
| * Merge branch 'jenner' of 192.168.100.1:git/vyatta-quagga into jennerStephen Hemminger2009-05-0611-114/+145
| |\
| * | Only start zebra as part of initial bootStephen Hemminger2009-05-011-4/+3
| | |
* | | RFC 4191 Default Router Preference support for router advertisementsChris Caputo2009-05-075-3/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | On Sun, 3 May 2009, Chris Caputo wrote: > For consideration... Feedback welcome. 2nd version. (fix to adhere to a "MUST" clause in the RFC) Chris
* | | avoid zombie accepted peer entriesTimo Teräs2009-05-071-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, when accepting the connection, it can be left as zombie, when the peer just initiates a connection, but never sends data (and the TCP connection end packets are lost). This happens because for accepted connections a temporary new peer entry is created until OPEN message is exchanged, and this temporary peer entry does not get the hold time parameter set at all. Signed-off-by: Timo Teras <timo.teras@iki.fi>
* | | Don't start watchquagga during bootStephen Hemminger2009-05-071-3/+2
| |/ |/|
* | 64-bit fix for lib/smux.h SNMP_INTEGER() macroChris Caputo2009-05-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Macro SNMP_INTEGER() prepares data which is eventually processed by asn_build_int(). SNMP_INTEGER() was using "int32_t" whereas asn_build_int() uses "long". On 32-bit systems these are the same, both 4 bytes, but on x86 64-bit systems "long" is 8 bytes. asn_build_int()'s reaction to an improperly sized value is to return a NULL pointer. Quagga's smux.c would eventually get this NULL pointer and use it in calculations to determine how much data to send over the smux connection, resulting in garbage being sent to the SNMP agent. Corrected SNMP_INTEGER() to use "long". Tested on 32-bit and 64-bit x86 Linux 2.6.27.10 systems running Quagga 0.99.11 with bgpd smux.
* | Don't delete too many routes.Joakim Tjernlund2009-05-061-1/+8
| | | | | | | | | | | | | | | | | | | | If there are two paralell PtP links to the same router: C * 192.168.101.112/32 is directly connected, p1-4-19-4-20 C>* 192.168.101.112/32 is directly connected, p1-4-17-4-18 and the cable is to one of the ppp links is pulled, Zebra deletes both routes instead of just the one that got yanked. This fixes it to only delete the route to the interface that got yanked.
* | Fix "show ip bgp dampened-paths" garbage output.Chris Caputo2009-05-063-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bgpd/bgp_damp.c: Make bgp_damp_reuse_time_vty() accept a buffer and length, rather than returning a local var buffer whose contents can get trounced. Remove duplicate BGP_UPTIME_LEN define. * bgpd/bgp_damp.h: bgp_damp_reuse_time_vty() prototype change. * bgpd/bgp_route.c: Provide bgp_damp_reuse_time_vty() with a buffer and length. Remove duplicate BGP_UPTIME_LEN define. This problem was noticed in 2005... http://hibernia.jakma.org/~paul/patches/quagga-test.diff ...but the fix didn't make it into the code. Signed-off-by: Chris Caputo <ccaputo at alt.net>
* | Compiler warning fixes for when --enable-snmp is configured.Chris Caputo2009-05-066-101/+127
|/ | | | | Compiled on 32-bit and 64-bit linux gcc 4.1.2 platforms. No run-time testing on 32-bit and limited run-time testing on 64-bit.
* 0.99.11-15debian/0.99.11-15Stephen Hemminger2009-04-301-0/+11
|
* Expanding asn path bufferStephen Hemminger2009-04-301-53/+27
| | | | | | | | Based on: [bgpd] AS4 bugfix by Chris Caputo <ccaputo@alt.net> * bgpd/bgp_aspath.c: (aspath_make_str_count) "assert (len < str_size)" was getting hit under certain 4-byte ASN conditions. New realloc strategy.
* Handle large ASN print formattingDenis Ovsienko2009-04-309-31/+31
| | | | | "%d" -> "%u" 4-byte ASN corrections. Prevent negative number when ASN is above 2^31.
* OSPF cost functionsDenis Ovsienko2009-04-301-8/+27
| | | | | | Justified OSPF cost function names and added support for: ospf cost <1-65535> A.B.C.D no ospf cost <1-65535>
* 0.99.11-14debian/0.99.11-14Stephen Hemminger2009-04-291-0/+9
|
* Handle kernel flush when address is deletedStephen Hemminger2009-04-293-1/+71
| | | | | | | When interface addresses are deleted, the kernel will flush all routes. Quagga needs to follow this correctly. Relates to DHCP bugs 4314, 4315, ...
* Use INET6_ADDRSTRLEN rather than BUFSIZStephen Hemminger2009-04-291-4/+6
| | | | Don't need whole 1K buffer for IPV6 address
* Remove unused structure elementStephen Hemminger2009-04-291-3/+0
|
* Force rib_update when connected route deletedStephen Hemminger2009-04-291-0/+4
|
* 0.99.11-13debian/0.99.11-13Stephen Hemminger2009-04-281-0/+9
|
* Merge branch 'jenner' of 192.168.100.1:git/vyatta-quagga into jennerStephen Hemminger2009-04-282-19/+19
|\
| * Use INET6_ADDRSTRLEN instead of BUFSIZStephen Hemminger2009-04-281-2/+2
| |
| * Use correct buffer size for inet_ntop()Stephen Hemminger2009-04-281-17/+17
| | | | | | | | | | Don't need big buffer 1024 to hold IPV4 (INET_ADDRSTRLEN) or IPV6 (INET6_ADDRSTRLEN) message.
* | Merge branch 'jenner' of 192.168.100.1:git/vyatta-quagga into jennerStephen Hemminger2009-04-281-47/+20
|\|
| * Rearrange code to print out more info from netlink messagesStephen Hemminger2009-04-281-47/+20
| | | | | | | | | | Want to see the route being added/deleted before deciding to ignore.
* | Merge branch 'jenner' of 192.168.100.1:git/vyatta-quagga into jennerStephen Hemminger2009-04-283-18/+23
|\|
| * Rename rib_system_route to interface_manage_modeStephen Hemminger2009-04-283-18/+23
| | | | | | | | More descriptive name which matches usage.
* | 0.99.11-12debian/0.99.11-12Stephen Hemminger2009-04-131-0/+8
|/
* Keep quagga away from kernel routesStephen Hemminger2009-04-132-18/+7
| | | | | | | Any route created via 'ip route' etc, is a kernel route, and Quagga needs to not be trying to add/remove it from FIB on link events. It is probably something like openvpn, dhcp, etc, which can take care of it's own route events.
* Ignore non-running interfaces in rip statusStephen Hemminger2009-04-131-0/+3
| | | | Bug 3999
* Fix compiler warningsStephen Hemminger2009-04-132-5/+5
| | | | Resolve gcc warnings about signed/unsigned and missing parens
* debian/0.99.11-11debian/0.99.11-11Stephen Hemminger2009-04-071-0/+6
|
* Zebra: remember metric of kernel routeStephen Hemminger2009-04-071-4/+10
| | | | | When kernel notifies zebra about route, zebra needs to remember and use that metric.
* 0.99.11-10debian/0.99.11-10Stephen Hemminger2009-04-061-0/+10
|
* Cancel thread in work_queue_freeStephen Hemminger2009-04-061-0/+3
| | | | | If shutting down, thread may still be pending, so cancel it. Fixes one possible OOPS in BGP
* copy config for renamed interfaces.Joakim Tjernlund2009-03-301-0/+1
| | | | | When renameing an interface to a preconfigured name, make sure that the preconfigured config is preserved.
* 0.99.11-9debian/0.99.11-9Stephen Hemminger2009-03-111-0/+6
|
* Provide debug symbols packageStephen Hemminger2009-03-113-1/+10
| | | | | Make an extra package with debug symbols that can be used if needed for debugging.
* 0.99.11-8debian/0.99.11-8Stephen Hemminger2009-03-091-0/+10
|
* Strip the codeStephen Hemminger2009-03-091-1/+1
| | | | Okay, to strip only removes debug symbols
* fix LSB warningStephen Hemminger2009-03-091-1/+0
|
* Merge branch 'jenner' of 192.168.100.1:git/vyatta-quagga into jennerStephen Hemminger2009-03-092-7/+16
|\
| * Put symbolic backtrace on system logStephen Hemminger2009-03-091-6/+15
| | | | | | | | When BGP crashes, sometimes all we get to see is syslog.
| * Only print message on shutdown if daemon is runningStephen Hemminger2009-02-241-1/+1
| | | | | | | | | | Check for pid file, and only print if daemon is running. But always call start-stop anyway as backup
* | fix email in changelogStephen Hemminger2009-03-091-2/+2
| |
* | 0.99.11-7debian/0.99.11-7Stephen Hemminger2009-02-241-0/+7
|/
* Change to only start zebra and watchquaggaStephen Hemminger2009-02-241-9/+8
| | | | Other daemons started as need by config anyway.