summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * [lib] Fix timer precision.Joakim Tjernlund2008-11-291-1/+1
| | | | | | | | | | | | | | | | Whenever a thread adds an timer funcname_thread_add_timer_timeval() gets called to add the timer. Before adding the timer a quagga_gettimeofday() call is made to do some time house keeping. However quagga_gettimeofday() only updates recent_time, not relative_time that is used to calculate the alarm_time. Replace with quagga_get_relative (NULL)
| * [lib] Move type cast in Fletcher checksumJoakim Tjernlund2008-11-291-1/+1
| | | | | | | | | | | | | | | | The int type cast should be on the whole expression passed to the mod operator. Otherwise it won't work when/if c0/c1 is unsigned. Making c0/c1 unsigned makes it possible to use 5802 as MODX value.
| * [rpm] some defaults for Fedora are way out of datePaul Jakma2008-11-291-4/+4
| | | | | | | | | | * quagga.spec.in: No need to default to accomodate now ancient versions of Fedora
* | Set TOS on RIP packetsStephen Hemminger2009-02-081-0/+3
| | | | | | | | Set TOS correctly on RIP packets.
* | 0.99.11-3debian/0.99.11-3Stephen Hemminger2009-02-051-0/+6
| |
* | Merge branch 'jenner' of 192.168.100.1:git/vyatta-quagga into jennerStephen Hemminger2009-02-051-2/+14
|\ \
| * | stop all daemons on shutdownStephen Hemminger2009-02-041-2/+14
| | | | | | | | | | | | Explicitly shutdown any running routing daemons when zebra is shutdown
* | | 0.99.11-2debian/0.99.11-2Stephen Hemminger2009-02-041-0/+7
|/ /
* | Don't start daemons till neededStephen Hemminger2009-02-041-67/+17
| | | | | | | | The protocols will be started by protocols template.
* | Merge branch 'jenner' of suva.vyatta.com:/git/vyatta-quagga into jennerStephen Hemminger2009-01-281-1/+3
|\ \
| * | 0.99.11-1debian/0.99.11-1An-Cheng Huang2009-01-071-1/+3
| | |
* | | Move pid check back to original locationStephen Hemminger2009-01-081-7/+7
|/ / | | | | | | | | There is a possiblity of some hostile netlink user getting bogus responses in the conversation between zebra and kernel.
* | Add more to interface rename updatesStephen Hemminger2008-12-231-23/+36
| | | | | | | | | | When interface is renamed notify daemons of addresses that are now available.
* | Add diagnostic messagesStephen Hemminger2008-12-231-2/+3
| | | | | | | | More diagnostic messages in case of updating existing route.
* | Add diagnostic messagesStephen Hemminger2008-12-231-2/+8
| | | | | | | | More messages in case of netlink errors, and debugging
* | Fix recursive route handlingStephen Hemminger2008-12-221-7/+30
| | | | | | | | If route type or other index changes flag it as changed.
* | Handle rename to existing deviceStephen Hemminger2008-12-192-16/+24
| | | | | | | | | | | | In the case of rename, delete_retain would be called twice. Once when the interface is removed from the system, and again when interface is being replaced during rename.
* | Change compile and linking to not stripStephen Hemminger2008-12-191-2/+2
| | | | | | | | | | | | | | | | | | If a routing daemon crashes, the quagga code sets up a signal handler and catches the exception and produces a backtrace. If the code is not stripped then the backtrace can include symbolic information that can be useful for debugging. Save space by not including full debug symbols.
* | Update version and changelogStephen Hemminger2008-12-191-0/+30
| |
* | ignore derived filesStephen Hemminger2008-12-191-1/+1
| | | | | | | | these files are created by build
* | Interface rename changesStephen Hemminger2008-12-192-18/+25
| | | | | | | | | | | | When interface is created, associate it with any pre-existing configuration. When interface is renamed, notify protocols that is deleted/added but keep existing address information.
* | Merge branch 'jenner' of suva.vyatta.com:/git/vyatta-quagga into jennerStephen Hemminger2008-12-18183-24305/+2608
|\ \
| * | Revert "Revised version if interface renaming"Stephen Hemminger2008-12-173-18/+26
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 3b1779981cd67679dd4cddd70160859ca3d862d7. Conflicts: zebra/rt_netlink.c
| * | fix typoStephen Hemminger2008-12-161-1/+1
| | |
| * | Revised version if interface renamingStephen Hemminger2008-12-163-26/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This resolves issue with static routes of multilink. In the multilink case, route is created before device exists. Later device is created as ppp0 and gets renamed to ml0. Zebra needed to orphan the old interface structure and create a new one to correctly match up the interface with the inactive route.
| * | Merge branch 'jenner' of suva.vyatta.com:/git/vyatta-quagga into jennerStephen Hemminger2008-12-157-44/+48
| |\ \
| | * \ Merge branch 'jenner' of suva.vyatta.com:/git/vyatta-quagga into jennerStephen Hemminger2008-12-152-1/+2
| | |\ \
| | | * | "files" file should be removed before package buildAn-Cheng Huang2008-12-121-0/+1
| | | | |
| | | * | update maintainer informationAn-Cheng Huang2008-12-121-1/+1
| | | | |
| | * | | Fix management of interface renamesStephen Hemminger2008-12-123-3/+19
| | | | | | | | | | | | | | | | | | | | | | | | | Need to delete then add since zebra has no clean way to pass around rename, and the configuration is based on name not ifindex.
| | * | | Handle interfaces coming back from deadStephen Hemminger2008-12-121-15/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Need to handle the case where interface comes back after being deleted. After deletion state is retained but ifindex is set to IFINDEX_INTERNAL. When new interface arrives with same name, then update index
| | * | | Don't delete interface completely when kernel notifies of loss of linkStephen Hemminger2008-12-121-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | The name has to continue to exist after delete in order to prevent crashes of daemon (BZ 3990) and restart of multilink interfaces (BZ 3987).
| | * | | Merge branch 'jenner' of suva.vyatta.com:/git/vyatta-quagga into jennerStephen Hemminger2008-12-051-0/+54
| | |\| |
| | * | | Use start-stop-daemon to retryStephen Hemminger2008-12-051-23/+8
| | | | | | | | | | | | | | | | | | | | | | | | | Speed up shutdown by using the existing pid file, and having start-stop-daemon do the retry.
| | * | | Turn on block rearranging.Stephen Hemminger2008-12-051-1/+1
| | | | | | | | | | | | | | | | | | | | This optimization is by default off with -Os
| * | | | Ignore delete address message interface is goneStephen Hemminger2008-12-151-0/+3
| | |/ / | |/| | | | | | | | | | | | | | Kernel can sometimes send delete address messages after device has been deleted.
| * | | Merge branch 'islavista' into jennerRick Balocca2008-12-031-0/+54
| |\ \ \ | | |/ / | |/| |
| * | | Remember protocol as well as scope in RIBStephen Hemminger2008-12-027-37/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This addresses potential issues with link management when multiple routing protocols are in use. Also fix non-linux build issues
| * | | Fix inversion of likely/unlikely in assertStephen Hemminger2008-12-021-11/+3
| | | |
| * | | Minor whitespaceStephen Hemminger2008-12-012-2/+1
| | | | | | | | | | | | | | | | | | | | Make the quagga upstream and vyatta where only difference was white space.
| * | | Revert "Add compiler directive to mark code paths that log as cold"Stephen Hemminger2008-12-012-26/+18
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit ebc04ce20a871c99dbb116a4fbada967dd750c43. Don't really need this and it would be too hard to convince upstream to take it.
| * | | Make command nodes static (again)Stephen Hemminger2008-12-011-4/+4
| | | | | | | | | | | | | | | | Change lost in merge.
| * | | Make command nodes static (again)Stephen Hemminger2008-12-011-6/+6
| | | | | | | | | | | | | | | | Change lost in merge.
| * | | Use XCALLOC instead of XMALLOC/memsetStephen Hemminger2008-12-011-6/+2
| | | | | | | | | | | | | | | | A couple more trivial optimization.
| * | | Merge branch 'master' of /home/shemminger/src/quagga into jennerStephen Hemminger2008-12-016-55/+578
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | Conflicts: lib/checksum.c
| | * | [lib] fix missing sockunion_normalise_mappedPaul Jakma2008-11-241-0/+1
| | | | | | | | | | | | | | | | | | | | * lib/sockunion.c: (sockunion_accept) sockunion needs to be normalised here, as it used to before this was moved to a dedicated function..
| | * | [bgpd] Add 'show bgp views' commandMichael Lambert2008-11-161-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bgp_vty.c: (show_bgp_views_cmd) new command to list all defined views. (with small edits by Paul Jakma) Signed-off-by: Paul Jakma <paul@quagga.net>
| | * | [lib] Switch Fletcher checksum back to old ospfd versionPaul Jakma2008-11-164-34/+523
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lib/checksum.c: (fletcher_checksum) Switch the second phase of the checksum back to the old ospfd logic. The isisd-derived version: a) is very hard to follow b) had some kind of subtle bug that caused it be wrong when c0=0 and c1=254 (potentially fixable by doing the mods before adjusting x and y) Additionally: - explicitely cast expressions using non-internal variables to int, to ensure the result is signed. - defensively change the length argument to 'size_t', to ensure the code works with that argument being unsigned.. Thanks to Joakim Tjernlund for the investigative work into this bug. * tests/test-checksum.c: new file to exercise the checksum code.
| * | | Remove unnecessary modprobeStephen Hemminger2008-11-241-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | Capabilities are always built into the vyatta kernel (don't think they can even be a module anymore). So avoid overhead of unneeeded modprobe on boot.
| * | | add support for development buildAn-Cheng Huang2008-11-191-1/+5
| | | |