| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
If route type or other index changes flag it as changed.
|
|
|
|
|
| |
Gets rid of a harmless failure message in log when address is deleted
after interface is deleted.
|
|
|
|
|
| |
When interface is renamed, need to match with any old dead bits
and notify daemons by delete/add.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Need to delete then add since zebra has no clean way to pass around
rename, and the configuration is based on name not ifindex.
|
|
|
|
|
| |
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).
|
|
|
|
|
| |
Bugfix 3732
Notify routing protocols about MTU changes
|
|
|
|
|
| |
Avoid possible problems where netlink message is being formatted
with unsigned 32 bit value, which was being read as int.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Quagga needs to fully cleanout state when interface is deleted from
system.
Bugfix: 3962, 3693
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Bugfix 3658
If inactive device is renamed, just do it.
If active device is renamed, update RIB if needed.
|
|
|
|
|
|
| |
Bugzilla 3681 fix.
Routes from 'ip route' default to protocol boot. Need to use this
same value when deleting or udpating.
|
|
|
|
|
|
| |
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).
|
|
|
|
| |
This reverts commit e5d63369e1f3fdc1c22ae15fe477de1f97022703.
|
|
|
|
| |
Replace calls to XMALLOC followed by memset with XCALLOC.
|
|
|
|
|
| |
This is a refinement of the socket filter, and also closes a security
hole that would allow non-kernel messages to confuse quagga.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
The cmd_nodes used to configure vty, can mostly be static so
(basic data hiding 101).
|
|
|
|
| |
May also fix one issue with ipv6 static routes.
|
|
|
|
| |
This stuff is only used in RIB code
|
|
|
|
| |
Message tables should be unaltered.
|
|
|
|
| |
Get rid of some conflicts / overlaps from merge of upstream.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| |
| |
| | |
2008-05-29 Martin Nagy <mnagy@redhat.com>
* */*main.c: Sanity check port numbers before using.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
existing static routes to be revalidated)
|
| |
| |
| |
| |
| |
| | |
the RIB debug changeset).
after
|
| | |
|
| |
| |
| |
| | |
calls. Fixed.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| | |
to zlog_err() uninitialized with debug disabled. Fixed.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
zebra/zebra_rib.c:nexthop_active_update())
|
| | |
|