| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
When interface addresses are deleted, the kernel will flush all
routes. Quagga needs to follow this correctly.
Relates to DHCP bugs 4314, 4315, ...
|
|
|
|
| |
Don't need whole 1K buffer for IPV6 address
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Don't need big buffer 1024 to hold IPV4 (INET_ADDRSTRLEN)
or IPV6 (INET6_ADDRSTRLEN) message.
|
|
|
|
|
| |
Want to see the route being added/deleted before deciding to
ignore.
|
|
|
|
| |
More descriptive name which matches usage.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Resolve gcc warnings about signed/unsigned and missing parens
|
|
|
|
|
| |
When kernel notifies zebra about route, zebra needs to remember and
use that metric.
|
|
|
|
|
| |
When renameing an interface to a preconfigured name, make
sure that the preconfigured config is preserved.
|
| |
|
|
|
|
|
| |
Some changes are allowed when link is down but interface is up.
Others (like delete) should not be possible when only link is down.
|
| |
|
|
|
|
| |
Simple conversion of XMALLOC/memset to XCALLOC
|
|
|
|
|
| |
There is a possiblity of some hostile netlink user getting
bogus responses in the conversation between zebra and kernel.
|
|
|
|
|
| |
When interface is renamed notify daemons of addresses that are
now available.
|
|
|
|
| |
More diagnostic messages in case of updating existing route.
|
|
|
|
| |
More messages in case of netlink errors, and debugging
|
|
|
|
| |
If route type or other index changes flag it as changed.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
This reverts commit 3b1779981cd67679dd4cddd70160859ca3d862d7.
Conflicts:
zebra/rt_netlink.c
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|/
|
|
|
| |
Kernel can sometimes send delete address messages after
device has been deleted.
|
|
|
|
|
|
|
| |
This addresses potential issues with link management when
multiple routing protocols are in use.
Also fix non-linux build issues
|
| |
|
|\
| |
| |
| | |
Merge in current upstream version of quagga.
|
| |\
| | |
| | |
| | | |
Resolve all conflicts by using upstream version.
|
| | |\ \
| | | | |
| | | | |
| | | | | |
'remotes/jocke/snmp_crosscompile'
|
| | | |/
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
--without-crypto
Autoconfig work by me, the rest was done by
"Kirill K. Smirnov" <lich@math.spbu.ru>
|
| | |/ |
|
| | |
| | |
| | |
| | | |
- Add more stuff, archive libraries, etc..
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
2008-08-17 Stephen Hemminger <stephen.hemminger@vyatta.com>
* zebra_rib.c: (process_subq) mark static
(rib_meta_queue_add) ditto
(meta_queue_new) ditt
Signed-off-by: Paul Jakma <paul@quagga.net>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
2008-06-17 Stephen Hemminger <stephen.hemminger@vyatta.com>
* zebra_rib.c: static qualifier on local data
Signed-off-by: Paul Jakma <paul@quagga.net>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
2008-08-17 Stephen Hemminger <stephen.hemminger@vyatta.com>
* zebra_rib.c: When doing a RIB update, routes in process of removal
should be ignored. This fixes bugs where a route is removed but a
recursive route is not changed.
Signed-off-by: Paul Jakma <paul@quagga.net>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
2008-06-17 Stephen Hemminger <stephen.hemminger@vyatta.com>
* rt_netlink.c: (netlink_parse_info) Linux doesn't check privledges
on receive, so avoid the overhead of lowering and raising the
priviledges on each received message
Signed-off-by: Paul Jakma <paul@quagga.net>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
2008-06-17 Stephen Hemminger <stephen.hemminger@vyatta.com>
* rt_netlink.c: (netlink_parse_info) There can be harmless races
such as adding an existing route, or deleting an already deleted
route. Don't bother logging these unless debugging is turned on.
Signed-off-by: Paul Jakma <paul@quagga.net>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
2008-08-16 Stephen Hemminger <stephen.hemminger@vyatta.com>
* rt_netlink.c: (netlink_recvbuf) consolidate recvbuf setting
(netlink_socket) no need to set receive buffer on netlink sockets
generally
(kernel_init) set recvbuffer on the listen socket
Signed-off-by: Paul Jakma <paul@quagga.net>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
2008-08-16 Stephen Hemminger <stephen.hemminger@vyatta.com>
* zebra/rt_netlink.c: This change removes the overhead of twiddling
the socket twice on every route change. The netlink support has
two sockets, one is used for request/response and should always
block. The other is used for asynchronous notification and should
always be non-blocking.
Signed-off-by: Paul Jakma <paul@quagga.net>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
2008-08-16 Stephen Hemminger <stephen.hemminger@vyatta.com>
* zebra/rt_netlink.c: Update the netlink socket BPF to cancel out
unwanted ACKs on the listen socket by matching on the PID.
Signed-off-by: Paul Jakma <paul@quagga.net>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
2008-08-15 Paul Jakma <paul.jakma@sun.com>
* */*: Fix various problems flagged by Sun Studio compiler.
- '<qualifier> <storage>' obsolescent in declarations
- empty statements (';' after ALIAS definitions)
- implicit declarations (e.g printstack in lib/log.c)
- "\%" in printf string instead of "%%"
- loops that return on the first iteration (legitimately, but
compiler can't really know), e.g. bgp_routemap.c
- internal declarations which mask prototypes.
|