summaryrefslogtreecommitdiffstats
path: root/zebra
Commit message (Collapse)AuthorAgeFilesLines
* Fix recursive route handlingdebian/0.99.10-3.3Stephen Hemminger2008-12-221-7/+30
| | | | If route type or other index changes flag it as changed.
* Don't print message when address deletedStephen Hemminger2008-12-221-0/+3
| | | | | Gets rid of a harmless failure message in log when address is deleted after interface is deleted.
* Backport jenner fixes for interface renameStephen Hemminger2008-12-193-26/+48
| | | | | When interface is renamed, need to match with any old dead bits and notify daemons by delete/add.
* Fix typorbalocca2008-12-181-1/+1
|
* Fix typoRick Balocca2008-12-181-1/+1
|
* Revised version if interface renamingStephen Hemminger2008-12-163-27/+19
| | | | | | | | | | 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.
* Fix management of interface renamesStephen Hemminger2008-12-153-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.
* 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).
* Notify on MTU changesStephen Hemminger2008-10-081-36/+45
| | | | | Bugfix 3732 Notify routing protocols about MTU changes
* netlink message signed/unsigned cleanupStephen Hemminger2008-10-081-6/+6
| | | | | Avoid possible problems where netlink message is being formatted with unsigned 32 bit value, which was being read as int.
* fix ipv6 typo in recursive route update codeStephen Hemminger2008-09-181-1/+1
|
* remove incorrect debug messageStephen Hemminger2008-09-181-2/+0
|
* Add delete interface cleanoutStephen Hemminger2008-09-181-4/+4
| | | | | | | Quagga needs to fully cleanout state when interface is deleted from system. Bugfix: 3962, 3693
* Set metric in RIB for connected routesStephen Hemminger2008-09-171-2/+4
| | | | | | | | Set metric in RIB to keep OSPF happy, but don't set the metric in the kernel since the kernel portion of connected route has metric=0. Bugfix 3668
* Handle device renames correctlyStephen Hemminger2008-09-171-8/+13
| | | | | | Bugfix 3658 If inactive device is renamed, just do it. If active device is renamed, update RIB if needed.
* Set proper protocol for routes from command lineStephen Hemminger2008-09-171-2/+10
| | | | | | Bugzilla 3681 fix. Routes from 'ip route' default to protocol boot. Need to use this same value when deleting or udpating.
* Fix up filtering of netlink pidStephen Hemminger2008-08-181-10/+11
| | | | | | There are two distinct pid's in netlink message. The one in the receive address is the pid of the sender (ie kernel), the other in the netlink message is the originator (ie quagga or ip command).
* Revert "Filter messages so that only netlink messages from kernel are allowed."Stephen Hemminger2008-08-181-19/+27
| | | | This reverts commit e5d63369e1f3fdc1c22ae15fe477de1f97022703.
* Use XCALLOCStephen Hemminger2008-08-183-32/+13
| | | | Replace calls to XMALLOC followed by memset with XCALLOC.
* Filter messages so that only netlink messages from kernel are allowed.Stephen Hemminger2008-08-181-27/+19
| | | | | This is a refinement of the socket filter, and also closes a security hole that would allow non-kernel messages to confuse quagga.
* Manage system routes with zebraStephen Hemminger2008-08-1511-128/+139
| | | | | | This adds a new flag to the zebra daemon that causes it to add and remove system routes (ie connected and kernel routes). This causes user space (zebra) to do what the kernel was doing in hollwood.
* Cleanup meta-queue codeStephen Hemminger2008-08-111-64/+70
| | | | | | | | Do some cleanup work on recently added meta-queue code: * use table rather than switch * indent with quagga standard indentation * since meta_queue_new is only used at initialization allocation failure should be fatal.
* Make command nodes staticStephen Hemminger2008-08-112-4/+4
| | | | | The cmd_nodes used to configure vty, can mostly be static so (basic data hiding 101).
* Realign rib code with upstreamStephen Hemminger2008-08-011-33/+31
| | | | May also fix one issue with ipv6 static routes.
* Make metaqueue functions staticStephen Hemminger2008-08-011-5/+5
| | | | This stuff is only used in RIB code
* Make log message lookup function use const tablesStephen Hemminger2008-08-012-3/+3
| | | | Message tables should be unaltered.
* Fix merge problemsStephen Hemminger2008-07-311-1/+1
| | | | Get rid of some conflicts / overlaps from merge of upstream.
* Merge branch 'upstream' into islavistaStephen Hemminger2008-07-3110-59/+205
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog NEWS bgpd/ChangeLog bgpd/bgp_attr.c bgpd/bgp_network.c bgpd/bgp_packet.c bgpd/bgp_vty.c bgpd/bgpd.c bgpd/bgpd.h lib/sockopt.c lib/sockopt.h lib/zebra.h mkinstalldirs zebra/rib.h zebra/rt_netlink.c
| * [zebra] Make BSD link-state deal more gracefully with GIFMEDIA ioctl errorpaul2008-07-012-15/+31
| | | | | | | | | | | | | | | | | | | | | | 2008-07-01 Paul Jakma <paul.jakma@sun.com> * ioctl.c: (if_get_flags) Deal more gracefully with failure of the BSD link-state SIOCGIFMEDIA ioctl, as some interfaces apparently don't implement it (e.g. tun). Also, make BSD link-state checking be conditional on the 'link-detect' interface configuration flag, as it should be. Fixes bug #465.
| * + initial edition of meta-queue for RIB updates processing (bug #431)pilot2008-06-025-41/+164
| |
| * [daemons] Sanity check port number arguments before usepaul2008-05-291-1/+2
| | | | | | | | | | | | 2008-05-29 Martin Nagy <mnagy@redhat.com> * */*main.c: Sanity check port numbers before using.
| * [zebra/linux] Use BPF to filter out responses, to try avoid netlink overrunspaul2008-05-292-1/+60
| | | | | | | | | | | | | | | | 2008-05-29 Stephen Hemminger <stephen.hemminger@vyatta.com> * rt_netlink.c: (netlink_install_filter) BPF filter to catch and drop responses to zebra's own route messages. (kernel_init) add BPF filter on the netlink socket.
| * + fix bug#326 by rib_lookup_and_pushup()pilot2008-02-264-0/+64
| |
| * [link-detect] Improve BSD support.ajs2008-01-113-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | 2008-01-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu> * lib/zebra.h: Revert previous change, no need to include <net/if_media.h> here. * zebra/ioctl.c: If HAVE_BSD_LINK_DETECT is defined, include <net/if_media.h> (if_get_flags) Remove debug messages about BSD link state. * zebra/kernel_socket.c: (bsd_linkdetect_translate) If link state is unknown, we should set the IFF_RUNNING flag.
| * [link-detect] Try to get BSD link-detect to work properly.ajs2008-01-103-0/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-10 Ingo Flaschberger <if@xip.at> * configure.ac: Define HAVE_BSD_LINK_DETECT if <net/if_media.h> is present. * lib/zebra.h: If HAVE_BSD_LINK_DETECT is defined, include <net/if_media.h>. * zebra/ioctl.c: (if_get_flags) If HAVE_BSD_LINK_DETECT, use the SIOCGIFMEDIA ioctl to ascertain link state. * zebra/kernel_socket.c: (bsd_linkdetect_translate) New function to map the ifm_data.ifi_link_state value into the IFF_RUNNING flag. (ifm_read) Call bsd_linkdetect_translate to fix the IFF_RUNNING flag before calling if_flags_update.
| * [link-detect] Static interface routes should behave properly with link-detect.ajs2008-01-082-3/+9
| | | | | | | | | | | | | | | | 2008-01-08 Michael Larson <mike@vyatta.com> * zebra_rib.c: (nexthop_active_check) Replace if_is_up with if_is_operative to solve problems with static interface routes not behaving properly with link-detect.
| * + fixed bug #418 (changing address on an existing interface doesn't cause ↵pilot2007-11-122-0/+22
| | | | | | | | existing static routes to be revalidated)
| * + fix the bug reported by Milan Kocian (IPv6 route handling was broken by ↵pilot2007-10-242-0/+11
| | | | | | | | | | | | the RIB debug changeset). after
| * + rib_process() speedup for multi-nexthop route nodespilot2007-10-042-2/+8
| |
| * + Minor bugfix: IPv6 prefixes were logged incorrectly in RIB debugging ↵pilot2007-10-032-11/+17
| | | | | | | | calls. Fixed.
| * + sayonara old_pid!pilot2007-09-145-11/+6
| |
| * + fixed bug #402: now the second zebra process doesn't destroy routespilot2007-09-142-5/+20
| | | | | | | | | | | | | | of the first one before dying + we are not going to receive routing messages originated by old_pid, because rib_sweep_route() is called after damon() now. This will allow to drop old_pid completely soon.
| * Switch from LOOKUP() to lookup() for rtm_type (see bug #401 for details).pilot2007-09-144-13/+19
| |
| * * rt_socket.c: (kernel_rtm_ipv4) prefix_buf could be passedpilot2007-09-122-0/+8
| | | | | | | | to zlog_err() uninitialized with debug disabled. Fixed.
| * + fixed bug #400: adjusted rtread_sysctl.c:route_read()pilot2007-09-062-0/+8
| |
| * Looks like bug #320 is finally fixed now.pilot2007-08-212-0/+11
| |
| * Fixed ioctl_solaris.c:if_get_mtu() for IPv6'less operationpilot2007-08-212-14/+16
| |
| * Fixed bug #394 "RTF_DONE is ignored in rtm_read()"pilot2007-08-172-2/+7
| |
| * Merged own patch for bug #390 (rewrite ↵pilot2007-08-142-12/+22
| | | | | | | | zebra/zebra_rib.c:nexthop_active_update())
| * Merged own patch for the bug #391 (debugging and comments mostly).pilot2007-08-136-48/+412
| |