0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-23 18:21:54 +00:00
Commit Graph

2525 Commits

Author SHA1 Message Date
Ondrej Filip
50b71c1b96 Fixed small error in documantation (thanks engels@openit.de). 2013-07-28 18:50:40 +02:00
Ondrej Zajicek
643228bc1c NEWS and version update. 2013-07-27 00:47:58 +02:00
Ondrej Zajicek
f4830d8cb8 Documentation update. 2013-07-27 00:38:29 +02:00
Ondrej Zajicek
4ee39ff2ff Fixes initial random values for function arguments.
Thanks to Javor Kliachev for the bugreport.
2013-07-26 11:08:59 +02:00
Ondrej Zajicek
1103b32e83 Allows to define constants of all filter types. 2013-07-25 22:33:57 +02:00
Ondrej Zajicek
ac57451348 Implements RFC 6608 Subcodes for BGP FSM Error. 2013-07-25 13:55:24 +02:00
Ondrej Zajicek
508d936078 Implements eval command and minor CLI cleanups.
Implemented eval command can be used to evaluate expressions.

The patch also documents echo command and allows to use log classes
instead of integer as a mask for echo.
2013-07-25 13:15:32 +02:00
Ondrej Zajicek
a0b176e3b2 Fixes header file name.
Thanks to Fritz Grimpen for the patch.
2013-07-24 14:20:46 +02:00
Ondrej Zajicek
e1afee2799 Fixes socket error hook for radv protocol. 2013-07-24 14:19:37 +02:00
Ondrej Zajicek
9135c1f0ca Fixes bug in protocol flushing and rtable pruning.
When route was propagated to another rtable through a pipe and then the
pipe was reconfigured softly in such a way that any subsequent route
updates are filtered, then the source protocol shutdown didn't clean up
the route in the second rtable which caused stale routes and potential
crashes.
2013-07-24 14:11:12 +02:00
Ondrej Zajicek
48b15ef10f Fixes stuck connection during BGP session shutdown.
If TX buffers were full during BGP session shutdown
then a protocol waited indefinitely to be able to
send notification packet to close the session.
2013-07-13 01:39:41 +02:00
Ondrej Zajicek
354496ace8 Some fixes for TTL security. 2013-07-11 13:50:44 +02:00
Ondrej Zajicek
cc31b75a8f Implements 'bgppath ~ int set' filter op. 2013-07-09 23:27:10 +02:00
Ondrej Zajicek
c01a94663c Implements multiple routing table support for FreeBSD and OpenBSD.
Inspired by the patch from Alexander V. Chernikov.
2013-07-07 12:11:42 +02:00
Ondrej Zajicek
c6964c305b Makes krt.c much more readable. 2013-07-04 18:02:22 +02:00
Ondrej Zajicek
6d49faddeb Temporary OSPF commit. 2013-06-28 01:01:21 +02:00
Ondrej Zajicek
3de342dae1 Adapts BSD sysdep code for integrated branch.
Thanks to Alexander V. Chernikov for the original patch.
2013-06-28 00:57:22 +02:00
Ondrej Zajicek
3da07ce1f0 Minor updates to lib/ip.h . 2013-06-27 14:46:57 +02:00
Ondrej Zajicek
6ac4f87a2d Documentation for TTL security. 2013-06-26 14:35:39 +02:00
Ondrej Zajicek
70e212f913 Implements TTL security for OSPF and RIP.
Interfaces for OSPF and RIP could be configured to use (and request)
TTL 255 for traffic to direct neighbors.

Thanks to Simon Dickhoven for the original patch for RIPng.
2013-06-25 15:39:44 +02:00
Ondrej Zajicek
ef4a50be10 Better packet priority and traffic class handling.
Implements support for IPv6 traffic class, sets higher priority for OSPF
and RIP outgoing packets by default and allows to configure ToS/DS/TClass
IP header field and the local priority of outgoing packets.
2013-06-24 16:37:30 +02:00
Ondrej Zajicek
fad04c750c Fixes problems with kernel routes multiple routing tables.
Temporary dummy routes created by a kernel protocol during routing table
scan get mixed with real routes propagated from another kernel protocol
through a pipe.
2013-06-13 11:27:14 +02:00
Ondrej Zajicek
f623ab9875 Implements OSPF stub router option (RFC 3137).
Also fixes OSPFv3 routing table calculcation w.r.t.
errata 2078 to RFC 5340.
2013-06-11 12:12:11 +02:00
Ondrej Zajicek
924868543c Fixes crash with vlinks. 2013-05-28 10:48:14 +02:00
Ondrej Zajicek
9810d05562 Fixes problems with routing table scans on some platforms.
Negative bit shifts are definitely undefined oprations.
2013-05-28 10:44:44 +02:00
Ondrej Zajicek
ab5dbd5bfc Merge commit 'a2017200c71293d0a28a39d1f250ba38d57f6289' into integrated 2013-05-23 00:24:28 +02:00
Ondrej Zajicek
34b8d496d9 Merge commit 'efd6d12b975441c7e1875a59dd9e0f3db7e958cb' into integrated 2013-05-23 00:24:18 +02:00
Ondrej Zajicek
34b735e63c Merge commit 'a5e9f3d26f887deb451a3ea086e52266c117aa0a' into integrated 2013-05-23 00:16:39 +02:00
Ondrej Zajicek
1c91df9480 Merge commit '8df02847e8af29863c325b7297e3a2b2ed5f961c' into integrated
Conflicts:

	proto/ospf/config.Y
	proto/ospf/hello.c
	proto/ospf/iface.c
	proto/ospf/ospf.h
2013-05-23 00:16:19 +02:00
Ondrej Zajicek
6679f15ef3 Merge commit 'cd3b02d198093abbbe671f647e4deb2470eb9cf1' into integrated 2013-05-23 00:05:28 +02:00
Ondrej Zajicek
048146e90c Merge commit '8bd9b930c320f09d3b3792b5f991cf702e9d55be' into integrated 2013-05-23 00:00:26 +02:00
Ondrej Zajicek
bae021db1d Merge commit '48bc232f08141d26691237c3d79db587ce16932b' into integrated 2013-05-23 00:00:14 +02:00
Ondrej Zajicek
c02ed79eb4 Merge commit '9ff5257357d9975654279db17bbc8525583ba1cc' into integrated
Conflicts:

	proto/ospf/config.Y
2013-05-22 23:59:54 +02:00
Ondrej Zajicek
8ad9bb820f Merge commit '568d9c9faeab70951d8e9bfea521e1b38a9a3d1c' into integrated
Conflicts:

	tools/Makefile.in
2013-05-22 15:58:31 +02:00
Ondrej Zajicek
92fd1fc02f Merge commit 'a9fc659b840e13323aa43e92eb8f39ceb19b5ed6' into integrated
Conflicts:

	proto/rip/rip.c
2013-05-22 15:56:00 +02:00
Ondrej Zajicek
a32a4aaa0a Merge commit 'a9c38203bdcad92f7ac0a8a912241d2acb483f2c' into integrated 2013-05-22 15:46:55 +02:00
Ondrej Zajicek
65e13d8ea8 Merge commit '4c2abee74e64f64fba61aad6e2b66e3895820003' into integrated 2013-05-22 15:46:29 +02:00
Ondrej Zajicek
1a114a63a8 Merge commit '36da2857bc911924a250a234f38cf58c3b21f1bc' into integrated 2013-05-22 15:45:23 +02:00
Ondrej Zajicek
9c99d753fd Fixes a problem with BGP neighbors, link-local addresses and locking.
Thanks to Fritz Grimpen for the bugfix.
2013-05-09 11:11:06 +02:00
Ondrej Zajicek
a2017200c7 NEWS and version update. 2013-04-29 22:33:50 +02:00
Ondrej Zajicek
572c644043 Fixes a crash when mrtdump is enabled and interface goes away.
Thanks to Peter Christensen for the bugfix.
2013-04-29 22:08:05 +02:00
Ondrej Zajicek
32622d0ea3 Merge branch 'birdcl' 2013-04-23 02:54:13 +02:00
Ondrej Zajicek
a5e9f3d26f Restructures birdc and birdcl to merge duplicated code.
The BIRD client code is restructured that most of the code (including
main function) is shared in client.c, while birdc.c and birdcl.c contain
just I/O-specific callbacks. This removes all duplicated code from
variant-specific files.
2013-04-23 02:42:35 +02:00
Ondrej Zajicek
d2c392d448 Removes unnecessary client subdirectories and updates buildsystem.
Renames some files:
birdc/client.c -> birdc.c
birdcl/client.c -> birdcl.c
client_common.c -> common.c
2013-04-19 13:59:08 +02:00
Ondrej Zajicek
efd6d12b97 Adds two new default GCC options.
Adds two new default GCC options related to optimizations
(-fno-strict-aliasing and -fno-strict-overflow). This
should fix some hyperaggressive GCC optimizations.

Also updates autoconf option detection.
2013-04-17 15:09:50 +02:00
Ondrej Zajicek
8df02847e8 Fixes a compatibility issue in OSPFv2 PtP links.
BIRD used zero netmask in hello packets on all PtP links, not just on
unnumbered ones. This patch fixes it and adds option 'ptp netmask'
for overriding the default behavior.

Thanks to Alexander V. Chernikov for the original patch.
2013-04-17 13:06:40 +02:00
Ondrej Zajicek
cd3b02d198 Allows IP of loopback to be used in automatic router ID selection.
Thanks to Alexander V. Chernikov for the patch.
2013-04-16 17:53:22 +02:00
Ondrej Zajicek
8bd9b930c3 Fixes a bug in IPv6 BGP next hop processing.
BGP next hop attributes with empty link-local IPv6 addresses were not
handled properly.

Thanks to Sergey Popovich for the bugfix.
2013-04-16 17:40:44 +02:00
Ondrej Zajicek
48bc232f08 Implements 'next hop keep' option for BGP.
This option allows to keep the received next hop even in cases when
the route is sent to an interface with a different subnet.
2013-04-16 17:27:34 +02:00
Ondrej Zajicek
9ff5257357 Better handling of global addresses as configured NBMA neighbors in OSPFv3.
Configured NBMA neighbors in OSPFv3 should be link-local addresses, old
behavior was to silently ignore global ones. The patch allows BIRD to
accept global ones, but adds a warning and a documentation notice.

Thanks to Wilco Baan Hofman for the bugreport.
2013-04-16 16:22:31 +02:00