0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 17:51:53 +00:00
Commit Graph

1160 Commits

Author SHA1 Message Date
Ondrej Zajicek
121fd43d91 Merge commit '145368f5474436ad7c48fa26f5bde8108ae5ef4a' into integrated
Conflicts:

	proto/ospf/rt.c
2014-05-02 20:14:43 +02:00
Ondrej Zajicek
cd50872c3b Merge commit '4dd24f05f384ac14546d4bebbfcb0ecf9a976ec6' into integrated 2014-05-02 18:28:33 +02:00
Ondrej Zajicek
3f6bfbbf1c Merge commit '538fec7b1b7dd729eadf1c933e27f59080cd3576' into integrated 2014-05-02 18:27:40 +02:00
Ondrej Zajicek
36a16cc8b9 Merge commit 'c980f8002e0f0578d5e715d48d65d9fb9a0c5a70' into integrated
Conflicts:

	sysdep/unix/krt.h
2014-05-02 18:25:41 +02:00
Ondrej Zajicek
6c58962611 Merge commit 'd40c26594c22ad934a13061e11b373bdf81af8f9' into integrated
Conflicts:

	proto/static/static.c
2014-05-02 18:13:20 +02:00
Ondrej Zajicek
2077201920 Merge commit '5c200e0a4d26d183e04fda43de16340521002c40' into integrated
Conflicts:

	lib/ipv4.h
	lib/ipv6.h
2014-05-02 17:41:45 +02:00
Ondrej Zajicek
7b9bfcbc4a Merge commit '10c2e1e0125dfa600b1c2b6553883cccf2d025dd' into integrated 2014-05-02 17:18:36 +02:00
Ondrej Zajicek
0d272860a3 Merge commit 'cba9cbf1bdb253c7727da10ff4f835d7ffbadeed' into integrated 2014-05-02 17:15:25 +02:00
Ondrej Zajicek
c93f50635c Merge commit '48e5f32db676645640f84ab3d630cce975aa6b20' into integrated 2014-05-02 17:05:23 +02:00
Ondrej Zajicek
a485fd2909 Merge commit 'f48fa14214301382b2e6b134788a7506b61b664f' into integrated
Conflicts:

	nest/rt-table.c
	proto/bgp/attrs.c
	proto/bgp/packets.c
	proto/ospf/ospf.c
	proto/rip/rip.c
	proto/static/static.c
	sysdep/unix/krt.c
2014-04-29 17:23:38 +02:00
Ondrej Zajicek
91ea1b134b Merge commit '300e4008f02382b87409dabb52a317b8336de55b' into integrated
Conflicts:

	nest/neighbor.c
2014-04-29 16:40:23 +02:00
Ondrej Zajicek
37c2153457 Merge commit '0bb4e37db317a1290bad24fe430cac6569a9bd8c' into integrated
Conflicts:

	sysdep/linux/netlink.c
2014-04-29 16:32:08 +02:00
Ondrej Zajicek
b1c680a680 Merge commit '2b3d52aa421ae1c31e30107beefd82fddbb42854' into integrated 2014-04-29 16:25:09 +02:00
Ondrej Zajicek
f353a1b09e Merge commit '1fba34a7a1e245f08212a31a65030230da8c451d' into integrated 2014-04-29 16:24:59 +02:00
Ondrej Zajicek
f47914c8a8 Merge commit '0aeac9cb7f9887374ce0258c8653f9518529bf08' into integrated
Conflicts:

	configure.in
	lib/printf.c
	proto/ospf/config.Y
	proto/ospf/hello.c
	proto/ospf/iface.c
	proto/ospf/ospf.h
2014-04-29 16:17:09 +02:00
Ondrej Zajicek
44c8edf53e Merge commit 'a15dab76f93337b07b4b03a64ac3bac26285dfd9' into integrated 2014-04-29 15:20:18 +02:00
Ondrej Zajicek
44f9cca21d Merge commit 'a5fc59587fe864e4fcfb44eb3be57231b4ca339b' into integrated
Conflicts:

	filter/filter.c
	nest/config.Y
2014-04-29 15:15:35 +02:00
Ondrej Zajicek
8f4159a911 Merge commit 'e550a37206528be39e4751865b46720885fd64ed' into integrated 2014-04-29 13:52:01 +02:00
Ondrej Zajicek
7e2b6eaf43 Merge commit 'c404f4b968b69a2c5c1975d04abf7474891d5656' into integrated 2014-04-29 13:11:02 +02:00
Ondrej Zajicek
2187708520 Merge commit '6a8d3f1c1ffbd964e4d11b452c73e1ea70310af3' into integrated
Conflicts:

	configure.in
	lib/socket.h
	nest/protocol.h
2014-04-29 13:00:14 +02:00
Ondrej Zajicek
e1242dccaa Merge commit 'b21955e05800c3ceedfe39eef605da84285296c7' into integrated 2014-04-29 12:41:18 +02:00
Ondrej Zajicek
d7c2018e47 Temporary OSPF commit. 2014-04-29 12:18:10 +02:00
Ondrej Zajicek
145368f547 Extends multipath support for OSPF.
Fixes cases where the same network or external route are propagated by
several OSPF routes and some other corner cases in next hop construction
and ECMP. Allows to specify whether external routes should be merged.

Thanks to Peter Christensen for the original patch.
2014-04-23 13:54:28 +02:00
Ondrej Zajicek
859cbd75e1 Fixes a bug in (mainly) IPv6 BGP.
Stack variable may be used unitialized and that would lead to spurious
rta_free(), which may cause crash. The bug was introduced in 1.4.1 from
merging add-path branch.

Thanks to Peter Andreev for reporting it and Alexander V. Chernikov for
resolving it.
2014-04-14 12:50:03 +02:00
Ondrej Zajicek
2750b2484f Fixes missing line in BFD context help. 2014-04-02 20:09:37 +02:00
Ondrej Zajicek
864f52a5f4 Fixes nasty bug in BFD.
When a BFD session is removed while being scheduled for notification,
the session stays in notify list and is removed twice, which leads to
a strange crash after a while.
2014-04-02 19:58:23 +02:00
Ondrej Zajicek
d7c0628591 Check validity of interface definitions.
Thanks to Aleksey Berezin for the bugreport.
2014-03-31 01:52:28 +02:00
Ondrej Zajicek
4e7c974d22 Fixes a bug in graceful restart. 2014-03-24 19:22:19 +01:00
Ondrej Zajicek
c980f8002e Merge branch 'bgp-grace' 2014-03-24 12:41:43 +01:00
Ondrej Zajicek
227af309e5 Fixes some minor issues in graceful restart. 2014-03-24 12:32:12 +01:00
Ondrej Zajicek
6eda3f135f Documentation (and minor fixes) for BGP graceful restart. 2014-03-23 01:35:33 +01:00
Ondrej Zajicek
0c791f873a BGP graceful restart support.
Also significant core protocol state changes needed for that,
global graceful restart recovery state and kernel proto support
for recovery.
2014-03-20 14:07:12 +01:00
Ondrej Zajicek
d40c26594c Fixes issues with static protocol reconfiguration.
The old static route was not removed when the nexthop changed and the
new one was not viable (no neighbor).

Thanks to Pierluigi Rolando for the original patch.
2014-02-26 16:01:20 +01:00
Ondrej Zajicek
5c200e0a4d Merge branch 'add-path' 2014-02-06 20:15:05 +01:00
Ondrej Zajicek
10c2e1e012 Fixes crash when state of disabled OSPF protocol is queried.
Thanks to Ondrej Caletka for the bugreport.
2014-02-06 17:54:25 +01:00
Ondrej Zajicek
cba9cbf1bd Silence this annoying warning. 2014-02-06 17:51:16 +01:00
Ondrej Zajicek
48e5f32db6 Many changes in I/O and OSPF sockets and packet handling.
I/O:
 - BSD: specify src addr on IP sockets by IP_HDRINCL
 - BSD: specify src addr on UDP sockets by IP_SENDSRCADDR
 - Linux: specify src addr on IP/UDP sockets by IP_PKTINFO
 - IPv6: specify src addr on IP/UDP sockets by IPV6_PKTINFO
 - Alternative SKF_BIND flag for binding to IP address
 - Allows IP/UDP sockets without tx_hook, on these
   sockets a packet is discarded when TX queue is full
 - Use consistently SOL_ for socket layer values.

OSPF:
 - Packet src addr is always explicitly set
 - Support for secondary addresses in BSD
 - Dynamic RX/TX buffers
 - Fixes some minor buffer overruns
 - Interface option 'tx length'
 - Names for vlink pseudoifaces (vlinkX)
 - Vlinks use separate socket for TX
 - Vlinks do not use fixed associated iface
 - Fixes TTL for direct unicast packets
 - Fixes DONTROUTE for OSPF sockets
 - Use ifa->ifname instead of ifa->iface->name
2014-02-06 17:46:01 +01:00
Ondrej Zajicek
6601a14831 Merge branch 'add-path' 2013-12-10 22:30:46 +01:00
Ondrej Zajicek
2d0b7e24a5 Fixes problem with source address selection in BGP and BFD. 2013-12-02 11:54:32 +01:00
Ondrej Zajicek
e7d2ac4401 Finishes add-path.
Fixes some bugs and uses generic hash implementation.
2013-12-01 13:49:42 +01:00
Ondrej Zajicek
283c7dfada Merge branch 'master' into add-path 2013-11-25 18:42:47 +01:00
Ondrej Zajicek
0c95f85ec5 Fixes a reply code. 2013-11-25 11:06:00 +01:00
Ondrej Zajicek
c72aca41e5 OSPF ifaces on loopback should be stub. 2013-11-24 22:12:51 +01:00
Ondrej Zajicek
f3e5917850 Enables multihop mode for IBGP by default.
This is more consistent with common usage and also with the behavior of
other implementations (Cisco, Juniper).

Also changes the default for gw mode to be based solely on
direct/multihop.
2013-11-24 12:37:24 +01:00
Ondrej Zajicek
736e143fa5 Merge branch 'master' into add-path
Conflicts:

	filter/filter.c
	nest/proto.c
	nest/rt-table.c
	proto/bgp/bgp.h
	proto/bgp/config.Y
2013-11-23 11:50:34 +01:00
Ondrej Zajicek
77e43c8b72 Minor fixes. 2013-11-22 22:49:04 +01:00
Ondrej Zajicek
41f8bf57c4 Changes identifiers to avoid use of reserved ones. 2013-11-22 21:59:43 +01:00
Ondrej Zajicek
1fba34a7a1 Adds check for buffer size in OSPF LSA flood. 2013-11-22 18:45:57 +01:00
Ondrej Zajicek
0aeac9cb7f Merge commit 'origin/bfd' 2013-11-22 02:48:44 +01:00
Ondrej Zajicek
1ec522538f BFD protocol, ready for release.
Supports OSPF and BGP and also statically configured sessions.
2013-11-19 22:33:48 +01:00