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

528 Commits

Author SHA1 Message Date
Ondrej Zajicek
abffa9d421 Update socket code to be synced with master branch. 2014-05-18 11:51:15 +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
c0821881fe Merge commit '3216eb03ddddc057bb18fa4dd02b7935a604f71f' into integrated
Conflicts:

	sysdep/linux/netlink.c
2014-05-02 18:05:57 +02:00
Ondrej Zajicek
9dd29a1337 Merge commit 'd776540811cdf672dc113f29feef2415465589c6' into integrated 2014-05-02 17:42:20 +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
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
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
51e37fbb40 Merge commit '8931425d02dd8656b48142f608d3119ab6f4a96f' into integrated
Conflicts:

	nest/rt-table.c
2014-04-29 16:05:47 +02:00
Ondrej Zajicek
054bc43a5c Merge commit '64534ea2f4361c247d7a0d1b6b14a02e8e3d6d33' into integrated
Conflicts:

	sysdep/bsd/krt-sock.c
2014-04-29 15:31:46 +02:00
Ondrej Zajicek
1a74af87ef Merge commit 'f8cc7396cf25328b002394bbd7af679188b03370' into integrated 2014-04-29 15:19:05 +02:00
Ondrej Zajicek
455539ba1b Merge commit 'e7c2380260f20a4a3587b47df97879ef91c69774' into integrated 2014-04-29 15:16:32 +02:00
Ondrej Zajicek
6310da3509 Merge commit 'f83ce94d5e410d5e5b921121867321c19451896b' into integrated 2014-04-29 15:10:51 +02:00
Ondrej Zajicek
7b8adb3cb7 Merge commit 'f515e22924591542a909db0deb8545386aaa576e' into integrated
Conflicts:

	sysdep/bsd/krt-sock.c
2014-04-29 15:07:08 +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
abb93d9846 Merge commit '2a0130f94d2304e316f0ffad8e52fce094559782' into integrated 2014-04-29 12:52:34 +02:00
Ondrej Zajicek
6c6ebd64c3 NEWS and version update. 2014-04-14 14:47:20 +02:00
Ondrej Zajicek
538fec7b1b NEWS and version update. 2014-04-02 23:00:10 +02:00
Ondrej Zajicek
60442b1698 NEWS and version update. 2014-03-31 18:51:51 +02:00
Ondrej Zajicek
eb5ea6bdd6 Fixes build on some old systems. 2014-03-31 13:21:13 +02:00
Ondrej Zajicek
c980f8002e Merge branch 'bgp-grace' 2014-03-24 12:41:43 +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
3216eb03dd Fixes longstanding issue with interfaces staying in IF_TMP_DOWN.
Thanks to Pierluigi Rolando and others for the bugreport.
2014-02-26 12:52:00 +01:00
Ondrej Zajicek
4e398e34bf Workaround thread-unsafeness of cli_echo(). 2014-02-07 13:09:55 +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
283c7dfada Merge branch 'master' into add-path 2013-11-25 18:42:47 +01:00
Ondrej Zajicek
e75520c455 NEWS and version update. 2013-11-25 13:46:29 +01:00
Ondrej Zajicek
90eb5e7a8b Use ISO 8601 timeformats by default. 2013-11-25 13:44:07 +01:00
Ondrej Zajicek
e237b28a4d Changes primary addr selection on BSD to respect SIOCGIFADDR ioctl() result.
Thanks to Alexander V. Chernikov for the original patch.
2013-11-25 01:21:39 +01:00
Ondrej Zajicek
65194bd1eb Removes workaround related to import of kernel device routes.
Thanks to Benjamin Cama for notification.
2013-11-23 22:48:27 +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
2b3d52aa42 NEWS and version update. 2013-11-23 01:56:16 +01:00
Ondrej Zajicek
56027b5cbd Minor fix in log_commit() w.r.t. changes in BFD branch. 2013-11-22 21:58:43 +01:00
Ondrej Zajicek
0aeac9cb7f Merge commit 'origin/bfd' 2013-11-22 02:48:44 +01:00
Ondrej Zajicek
8931425d02 Fixes problem with RIP on multiple ifaces on BSD.
RIP sockets for multiple ifaces collided, because we cannot bind to
a specific iface on BSD. Workarounded by SO_REUSEPORT.

Thanks to Eugene M. Zheganin for the bugreport.
2013-11-22 02:12:21 +01:00
Ondrej Zajicek
64534ea2f4 Fixes an issue when opposite address is mistaken for broadcast on ptp ifaces on BSDs.
Thanks to Lex van Roon for the bugreport and to Alexander V. Chernikov
for examining it and locating the problem.
2013-11-21 13:17:42 +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
Ondrej Zajicek
f8cc7396cf Forces KRT rescan on syncer startup with multi syncer config.
Thanks to  Sergey Popovich for the patch.
2013-10-15 10:57:57 +02:00
Ondrej Filip
1cd198cf52 Flag -f "run in foreground" added as requested by a package maintainter. 2013-10-05 22:45:08 +02:00
Ondrej Zajicek
0e175f9f0f Fixes some BFD bugs and makes logging thread-safe. 2013-10-05 20:12:28 +02:00
Ondrej Zajicek
e7c2380260 Implements PID file support.
Thanks to Thierry Fournier for the original patch.
2013-10-05 19:30:12 +02:00
Ondrej Zajicek
f83ce94d5e Fixes missing unregister of kernel table handling code.
And some minor fixes.

Thanks to Sergey Popovich for the patch.
2013-09-26 17:33:00 +02:00
Ondrej Zajicek
f515e22924 Allows other than IA_PEER addresses on PtP ifaces on BSD.
Also fixes a potential problem with link-local dest_addrs
for IA_PEER addresses.

Thanks to Alexander V. Chernikov for the suggestion.
2013-09-22 19:15:39 +02:00
Ondrej Zajicek
6a8d3f1c1f BFD work in progress.
Now it compiles and mostly works.
2013-09-16 23:57:40 +02:00
Ondrej Zajicek
2a0130f94d Fixes a bug in kernel extended attribute processing.
The bug caused that krt_prefsrc attribute was not processed when a route
received from a kernel protocol was exported to another kernel protocol.

Thanks to Sergey Popovich for a bugreport.
2013-09-10 13:01:22 +02:00
Ondrej Zajicek
bf139664aa Initial BFD commit, work in progress. 2013-09-10 12:09:36 +02:00
Ondrej Zajicek
4e48b4bb4c Merge commit 'f8e8fcfabeb206287065f48e800743b0aa797cc2' into integrated
Conflicts:

	conf/confbase.Y
2013-07-31 18:43:23 +02:00