]> git.ipfire.org Git - thirdparty/bird.git/log
thirdparty/bird.git
4 years agoNEWS and version update
Ondrej Zajicek (work) [Wed, 31 Jul 2019 21:35:29 +0000 (23:35 +0200)] 
NEWS and version update

4 years agoChange 'graceful down' command to 'graceful restart' and update docs
Ondrej Zajicek (work) [Wed, 31 Jul 2019 17:45:29 +0000 (19:45 +0200)] 
Change 'graceful down' command to 'graceful restart' and update docs

The command initiating planned graceful restart including bird shutdown
should be called 'graceful restart' instead of 'graceful down', as the
later should be reserved for graceful shutdown in style of RFC 8326.

4 years agoDoc: Update documentation about VRFs and BFD
Ondrej Zajicek (work) [Tue, 30 Jul 2019 17:21:06 +0000 (19:21 +0200)] 
Doc: Update documentation about VRFs and BFD

4 years agoConf: Fixed symbol redefinition
Maria Matejka [Tue, 30 Jul 2019 12:28:40 +0000 (14:28 +0200)] 
Conf: Fixed symbol redefinition

4 years agoLog: Fixed race condition in reconfigure while BFD is running
Maria Matejka [Tue, 30 Jul 2019 10:11:49 +0000 (12:11 +0200)] 
Log: Fixed race condition in reconfigure while BFD is running

4 years agoRPKI: Fix allocation of hostname when using an IPv6 address
Vincent Bernat [Mon, 29 Jul 2019 13:42:30 +0000 (15:42 +0200)] 
RPKI: Fix allocation of hostname when using an IPv6 address

4 years agoBFD: Fix formatting of 'show bfd sessions'
Ondrej Zajicek (work) [Thu, 25 Jul 2019 12:24:16 +0000 (14:24 +0200)] 
BFD: Fix formatting of 'show bfd sessions'

The formatting was broken due to longer date in 'since' column.

4 years agoMerge remote-tracking branch 'origin/mq-filter-stack'
Ondrej Zajicek (work) [Wed, 24 Jul 2019 13:38:32 +0000 (15:38 +0200)] 
Merge remote-tracking branch 'origin/mq-filter-stack'

4 years agoNest: VRF of protocol can be explicitly specified as 'default'
Ondrej Zajicek (work) [Wed, 24 Jul 2019 13:08:03 +0000 (15:08 +0200)] 
Nest: VRF of protocol can be explicitly specified as 'default'

Protocol can have specified VRF, in such case it is restricted to a set
of ifaces associated with the VRF, otherwise it can use all interfaces.

The patch allows to specify VRF as 'default', in which case it is
restricted to a set of iface not associated with any VRF.

4 years agoOSPF: Fix formatting of 'show ospf neighbors'
Ondrej Zajicek (work) [Tue, 23 Jul 2019 15:02:41 +0000 (17:02 +0200)] 
OSPF: Fix formatting of 'show ospf neighbors'

The formatting was broken when too short router-id was used.

4 years agoRPKI: Fix reconfiguration when ssh parameters are undefined
Ondrej Zajicek (work) [Mon, 22 Jul 2019 23:52:18 +0000 (01:52 +0200)] 
RPKI: Fix reconfiguration when ssh parameters are undefined

4 years agoLib: Improve printf() tests
Ondrej Zajicek (work) [Thu, 18 Jul 2019 00:39:35 +0000 (02:39 +0200)] 
Lib: Improve printf() tests

Includes patch from Maximilian Eschenbacher

4 years agoLib: Fix print of 64-bit router id
Ondrej Zajicek (work) [Wed, 17 Jul 2019 23:57:26 +0000 (01:57 +0200)] 
Lib: Fix print of 64-bit router id

Mismatched types to printf(). The old code coincidentally worked on amd64
due to its calling conventions.

Thanks to Maximilian Eschenbacher for the bugreport.

4 years agoBFD: Support for VRFs
Ondrej Zajicek (work) [Wed, 17 Jul 2019 14:20:35 +0000 (16:20 +0200)] 
BFD: Support for VRFs

Allow multiple BFD instances in separate VRFs, dispatch BFD requests
according to VRFs.

Thanks to Alexander Zubkov for notice and patches.

4 years agoNetlink: Fix parsing of multipath routes with MPLS labels
Ondrej Zajicek (work) [Mon, 15 Jul 2019 16:16:55 +0000 (18:16 +0200)] 
Netlink: Fix parsing of multipath routes with MPLS labels

4 years agoNetlink: Use route replace for IPv4
Ondrej Zajicek (work) [Mon, 15 Jul 2019 14:23:18 +0000 (16:23 +0200)] 
Netlink: Use route replace for IPv4

Use route replace netlink op instead of delete+add netlink ops for kernel
IPv4 route replace. This avoids some packetloss during route replace.
Still use the old behavior for IPv6, as some kernel bugs are hidden in
IPv6 ECMP handling.

4 years agoMerge remote-tracking branch 'origin/master' into mq-filter-stack
Maria Matejka [Mon, 15 Jul 2019 14:07:16 +0000 (16:07 +0200)] 
Merge remote-tracking branch 'origin/master' into mq-filter-stack

4 years agoFilter: further split of print & die to FI_PRINT, FI_FLUSH and FI_DIE
Maria Matejka [Mon, 15 Jul 2019 13:43:47 +0000 (15:43 +0200)] 
Filter: further split of print & die to FI_PRINT, FI_FLUSH and FI_DIE

4 years agoFilter: Simpler filter context allocation
Maria Matejka [Mon, 15 Jul 2019 13:23:35 +0000 (15:23 +0200)] 
Filter: Simpler filter context allocation

4 years agoFilter: FID_MEMBER debug string is a C constant string
Maria Matejka [Mon, 15 Jul 2019 13:17:04 +0000 (15:17 +0200)] 
Filter: FID_MEMBER debug string is a C constant string

4 years agoFilter: Converted FI_PRINT and FI_PATHMASK_CONSTRUCT to VARARG
Maria Matejka [Mon, 15 Jul 2019 13:12:18 +0000 (15:12 +0200)] 
Filter: Converted FI_PRINT and FI_PATHMASK_CONSTRUCT to VARARG

4 years agoFilter: fixed excessive stack allocation in functions with args but no local vars
Maria Matejka [Mon, 15 Jul 2019 13:06:52 +0000 (15:06 +0200)] 
Filter: fixed excessive stack allocation in functions with args but no local vars

4 years agoFilter: lots of documentation
Maria Matejka [Mon, 15 Jul 2019 11:19:01 +0000 (13:19 +0200)] 
Filter: lots of documentation

4 years agoFilter: Don't write out when re-evaluating filter for internal purposes.
Maria Matejka [Mon, 15 Jul 2019 10:03:47 +0000 (12:03 +0200)] 
Filter: Don't write out when re-evaluating filter for internal purposes.

4 years agoFilter: Don't fail badly when trying to access non-existent route in config time
Maria Matejka [Mon, 15 Jul 2019 10:03:13 +0000 (12:03 +0200)] 
Filter: Don't fail badly when trying to access non-existent route in config time

4 years agoOSPF: Fix handling of NSSA option flags
Ondrej Zajicek (work) [Wed, 10 Jul 2019 16:25:36 +0000 (18:25 +0200)] 
OSPF: Fix handling of NSSA option flags

Per RFC 3101, N-bit signalling NSSA support should be used only in Hello
packets, not in DBDES packets. BIRD since 2.0.4 verifies N-bit in
neighbor structure, which is learned from DBDES packets, therefore
NSSA-LSAs are not propagated to proper implementations of RFC 3101.

This patch fixes that. Both removing the check and removing N-bit from
DBDES packet. This will fix compatibility issues with proper
implementations, but causes compatibility issues with BIRD 2.0.4.

4 years agoFilter: Minor cleanups
Ondrej Zajicek (work) [Wed, 10 Jul 2019 14:46:31 +0000 (16:46 +0200)] 
Filter: Minor cleanups

4 years agoMerge branch 'master' into mq-filter-stack
Maria Matejka [Wed, 10 Jul 2019 09:27:08 +0000 (11:27 +0200)] 
Merge branch 'master' into mq-filter-stack

4 years agoDebug: growing message format buffer
Maria Matejka [Wed, 10 Jul 2019 09:12:41 +0000 (11:12 +0200)] 
Debug: growing message format buffer

This led in corner cases to undefined buffer content
and garbage output.

4 years agoOSPF: Minor fix in graceful restart
Ondrej Zajicek (work) [Tue, 9 Jul 2019 13:57:46 +0000 (15:57 +0200)] 
OSPF: Minor fix in graceful restart

Most LSA origination is blocked in ospf_update_topology(), this fix
blocks LSA origination from ospf_rt_spf().

4 years agoDoc: Fix typo in BGP dynamic names feature description
Vincent Bernat [Tue, 9 Jul 2019 13:25:40 +0000 (15:25 +0200)] 
Doc: Fix typo in BGP dynamic names feature description

4 years agoMerge branch 'master' of gitlab.labs.nic.cz:labs/bird
Maria Matejka [Tue, 9 Jul 2019 12:53:15 +0000 (14:53 +0200)] 
Merge branch 'master' of gitlab.labs.nic.cz:labs/bird

4 years agoTest: Fixed annoying warnings (and possible obscure bugs).
Maria Matejka [Fri, 8 Feb 2019 10:19:04 +0000 (11:19 +0100)] 
Test: Fixed annoying warnings (and possible obscure bugs).

4 years agoTest: better random u64 generator
Maria Matejka [Tue, 9 Jul 2019 12:34:26 +0000 (14:34 +0200)] 
Test: better random u64 generator

4 years agoOSPF: Update DR when local priority changes
Ondrej Zajicek (work) [Tue, 9 Jul 2019 01:48:02 +0000 (03:48 +0200)] 
OSPF: Update DR when local priority changes

When priority is reconfigured locally, we need to trigger DR election.

(recommiting, was reset by the previous commit)

4 years agoOSPF: Fix handling of external routes on graceful restart
Ondrej Zajicek (work) [Tue, 9 Jul 2019 01:31:54 +0000 (03:31 +0200)] 
OSPF: Fix handling of external routes on graceful restart

We need to flush learned external LSAs a bit later than other LSAs (after
first feed after end of the graceful restart) to avoid flap of external
routes.

4 years agoNest: Uninitialized variable fix
Maria Matejka [Mon, 8 Jul 2019 11:04:50 +0000 (13:04 +0200)] 
Nest: Uninitialized variable fix

Thanks to Vincent Bernat for reporting this.

4 years agoLibdmalloc macros fixed
Maria Matejka [Mon, 8 Jul 2019 11:00:13 +0000 (13:00 +0200)] 
Libdmalloc macros fixed

4 years agoOSPF: Update DR when local priority changes
Ondrej Zajicek (work) [Thu, 4 Jul 2019 11:34:42 +0000 (13:34 +0200)] 
OSPF: Update DR when local priority changes

When priority is reconfigured locally, we need to trigger DR election.

4 years agoMerge branch 'master' into mq-filter-stack
Maria Matejka [Wed, 3 Jul 2019 09:09:52 +0000 (11:09 +0200)] 
Merge branch 'master' into mq-filter-stack

4 years agoMerge branch 'mq-filter-stack' of gitlab.labs.nic.cz:labs/bird into mq-filter-stack
Maria Matejka [Wed, 3 Jul 2019 06:44:42 +0000 (08:44 +0200)] 
Merge branch 'mq-filter-stack' of gitlab.labs.nic.cz:labs/bird into mq-filter-stack

4 years agoFilter: CLI command to dump all the linearized filters
Maria Matejka [Wed, 3 Jul 2019 06:13:07 +0000 (08:13 +0200)] 
Filter: CLI command to dump all the linearized filters

4 years agoFilter: Split printing and dying
Maria Matejka [Tue, 2 Jul 2019 23:23:49 +0000 (01:23 +0200)] 
Filter: Split printing and dying

4 years agoRemoved obsolete comment at as_path_cut()
Maria Matejka [Tue, 2 Jul 2019 22:04:24 +0000 (00:04 +0200)] 
Removed obsolete comment at as_path_cut()

4 years agoDynamic attributes definition split whether it is bitmask or not.
Maria Matejka [Tue, 2 Jul 2019 22:00:11 +0000 (00:00 +0200)] 
Dynamic attributes definition split whether it is bitmask or not.

4 years agoFilter: Dropped some more irrelevant whitespace from generated files
Maria Matejka [Tue, 2 Jul 2019 20:57:00 +0000 (22:57 +0200)] 
Filter: Dropped some more irrelevant whitespace from generated files

4 years agoNetlink: Handle alien routes with unsorted nexthops
Ondrej Zajicek (work) [Tue, 2 Jul 2019 16:23:06 +0000 (18:23 +0200)] 
Netlink: Handle alien routes with unsorted nexthops

Nest requires that nexthops are sorted, the kernel protocol have to
ensure that for alien routes.

4 years agoFilter: Nicer whitespaces in generated inst-gen.h
Maria Matejka [Tue, 2 Jul 2019 15:59:21 +0000 (17:59 +0200)] 
Filter: Nicer whitespaces in generated inst-gen.h

4 years agoFilter: documentation of the M4 preprocessor
Maria Matejka [Tue, 2 Jul 2019 15:39:56 +0000 (17:39 +0200)] 
Filter: documentation of the M4 preprocessor

4 years agoNetlink: Do unified scan for both IPv4 and IPv6
Ondrej Zajicek (work) [Tue, 2 Jul 2019 14:30:36 +0000 (16:30 +0200)] 
Netlink: Do unified scan for both IPv4 and IPv6

Instead of separate scans for IPv4, IPv6 and MPLS, do one AF_UNSPEC scan.

This also avoids kernel issue when kernel reported IPv4 and IPv6 routes
during MPLS scan if MPLS is not active.

4 years agoFilter: GCC, don't complain about indentation in generated code.
Maria Matejka [Tue, 2 Jul 2019 11:13:29 +0000 (13:13 +0200)] 
Filter: GCC, don't complain about indentation in generated code.

4 years agoFilter: Pre-evaluation of constant expressions
Maria Matejka [Tue, 2 Jul 2019 08:45:53 +0000 (10:45 +0200)] 
Filter: Pre-evaluation of constant expressions

4 years agoFilter: Resolving of defined constants in config time
Maria Matejka [Mon, 1 Jul 2019 12:12:05 +0000 (14:12 +0200)] 
Filter: Resolving of defined constants in config time

4 years agoFilter: Moved singleton member definitions to f-inst.c
Maria Matejka [Mon, 1 Jul 2019 11:13:06 +0000 (13:13 +0200)] 
Filter: Moved singleton member definitions to f-inst.c

4 years agoFilter: Moved f_inst allocation to separate function
Maria Matejka [Mon, 1 Jul 2019 10:49:02 +0000 (12:49 +0200)] 
Filter: Moved f_inst allocation to separate function

4 years agoFilter: Getting rid of RESULT_OK. Adding RESULT_VOID.
Maria Matejka [Mon, 1 Jul 2019 10:07:06 +0000 (12:07 +0200)] 
Filter: Getting rid of RESULT_OK. Adding RESULT_VOID.

This is a preparation for filter pre-evaluation.

4 years agoFilter: The interpreter code now shares its diversion with constructor
Maria Matejka [Mon, 1 Jul 2019 09:57:35 +0000 (11:57 +0200)] 
Filter: The interpreter code now shares its diversion with constructor

This is a preparation for filter pre-evaluation.

4 years agoBGP: Prefix hash is too small, increase its max size.
Maria Jan Matejka [Tue, 11 Jun 2019 13:19:21 +0000 (13:19 +0000)] 
BGP: Prefix hash is too small, increase its max size.

This doesn't make any change for you until you have
millions of updates waiting to be sent. Increasing
the max hash size from 2^20 to 2^24.

4 years agoBGP: split tx explicitly
Maria Jan Matejka [Tue, 11 Jun 2019 09:35:25 +0000 (09:35 +0000)] 
BGP: split tx explicitly

If BGP has too many data to send and BIRD is slower than the link, TX is
always possible until all data is sent. This patch limits maximum number
of generated BGP messages in one iteration of TX hook.

4 years agoAdd mock-up function for unit tests
Ondrej Zajicek (work) [Sun, 30 Jun 2019 20:30:56 +0000 (22:30 +0200)] 
Add mock-up function for unit tests

They failed without it.

4 years agoDoc: OSPF graceful restart options
Ondrej Zajicek (work) [Sun, 30 Jun 2019 20:11:11 +0000 (22:11 +0200)] 
Doc: OSPF graceful restart options

4 years agoOSPF: Support for graceful restart
Ondrej Zajicek (work) [Sun, 30 Jun 2019 18:12:59 +0000 (20:12 +0200)] 
OSPF: Support for graceful restart

Implement OSPFv2 (RFC 3623) and OSPFv3 (RFC 5187) graceful restart,
for both restarting and helper sides. Graceful restart is initiated
by 'graceful down' command.

4 years agoNest: Add command to request graceful restart
Ondrej Zajicek (work) [Tue, 18 Jun 2019 14:27:21 +0000 (16:27 +0200)] 
Nest: Add command to request graceful restart

When 'graceful down' command is entered, protocols are shut down
with regard to graceful restart. Namely Kernel protocol does
not remove routes and BGP protocol does not send notification,
just closes the connection.

4 years agoFilter: renaming pointers for consistency
Maria Matejka [Fri, 28 Jun 2019 09:08:48 +0000 (11:08 +0200)] 
Filter: renaming pointers for consistency

The struct f_inst * is now always "what"
and the union member pointer is always "whati".

4 years agoFilter: A little cleanup of M4 interpreter generator
Maria Matejka [Thu, 27 Jun 2019 13:55:48 +0000 (15:55 +0200)] 
Filter: A little cleanup of M4 interpreter generator

4 years agoMerge remote-tracking branch 'refs/remotes/origin/mq-filter-stack' into mq-filter...
Maria Matejka [Tue, 25 Jun 2019 20:40:05 +0000 (22:40 +0200)] 
Merge remote-tracking branch 'refs/remotes/origin/mq-filter-stack' into mq-filter-stack

4 years agoConf/Filters: Moved argument count to conf scope
Maria Matejka [Tue, 25 Jun 2019 14:18:06 +0000 (16:18 +0200)] 
Conf/Filters: Moved argument count to conf scope

4 years agoFilter instructions don't confuse now v1 and res.
Maria Matejka [Fri, 21 Jun 2019 09:33:28 +0000 (11:33 +0200)] 
Filter instructions don't confuse now v1 and res.

4 years agoRevert "Filter: Dropped the setter instructions in favor of direct result storage."
Maria Matejka [Wed, 19 Jun 2019 12:09:57 +0000 (14:09 +0200)] 
Revert "Filter: Dropped the setter instructions in favor of direct result storage."

This reverts commit bd91338246c1ba40358243f1bdf5a6dbd3a29f35.

4 years agoString: bstrtoul macro expanded to bstrtoul10 and 16
Maria Matejka [Thu, 13 Jun 2019 12:27:58 +0000 (14:27 +0200)] 
String: bstrtoul macro expanded to bstrtoul10 and 16

4 years agoFilter: removal of semantically insane consts in filter_commit
Maria Matejka [Thu, 13 Jun 2019 12:24:48 +0000 (14:24 +0200)] 
Filter: removal of semantically insane consts in filter_commit

4 years agoAdd mock-up function for unit tests
Ondrej Zajicek (work) [Wed, 12 Jun 2019 16:02:01 +0000 (18:02 +0200)] 
Add mock-up function for unit tests

They failed without it.

4 years agoAdd CLI command to test reconfiguration status
Ondrej Zajicek (work) [Wed, 12 Jun 2019 14:13:21 +0000 (16:13 +0200)] 
Add CLI command to test reconfiguration status

Based on patch from Kenth Eriksson <kenth.eriksson@infinera.com>.

4 years agoBIRD coding conventions
Kenth Eriksson [Wed, 12 Jun 2019 13:03:37 +0000 (15:03 +0200)] 
BIRD coding conventions

Added Emacs config file describing BIRD coding conventions, as suggested
by Kenth Eriksson based on existing practice.

4 years agoBGP: Fix bug introduced in one of last patches
Ondrej Zajicek (work) [Wed, 12 Jun 2019 14:35:42 +0000 (16:35 +0200)] 
BGP: Fix bug introduced in one of last patches

4 years agoFilter: Dropped the setter instructions in favor of direct result storage.
Maria Matejka [Fri, 31 May 2019 15:33:41 +0000 (17:33 +0200)] 
Filter: Dropped the setter instructions in favor of direct result storage.

This should help filter performance a bit.

4 years agoFilter: Just a little comments in filter structure
Maria Matejka [Thu, 30 May 2019 12:42:54 +0000 (14:42 +0200)] 
Filter: Just a little comments in filter structure

4 years agoFilter: Stacks moved to thread-local storage if available.
Maria Matejka [Wed, 29 May 2019 19:03:52 +0000 (21:03 +0200)] 
Filter: Stacks moved to thread-local storage if available.

4 years agoFilters: If somebody doesn't like _Thread_local, don't fail for now, just be a little...
Jan Maria Matejka [Thu, 23 May 2019 11:27:24 +0000 (11:27 +0000)] 
Filters: If somebody doesn't like _Thread_local, don't fail for now, just be a little slower.

When the parallel execution comes into place, we'll likely enforce this
C11 feature. It's much simpler and also faster than pthread_[sg]etspecific().

4 years agoFilter: Some people can't pronounce "postfixify" correctly. Let's try "linearize...
Jan Maria Matejka [Wed, 22 May 2019 15:16:32 +0000 (15:16 +0000)] 
Filter: Some people can't pronounce "postfixify" correctly. Let's try "linearize" instead.

This is just a naming change.

4 years agoFilter: Store variables and function arguments on stack
Jan Maria Matejka [Tue, 21 May 2019 16:33:37 +0000 (16:33 +0000)] 
Filter: Store variables and function arguments on stack

4 years agoFilter: Making the filter state thread local.
Jan Maria Matejka [Mon, 20 May 2019 17:53:10 +0000 (17:53 +0000)] 
Filter: Making the filter state thread local.

While having the filter code still reentrant if we really need,
the compiler can now do constant propagation and address the
thread local storage directly to save some computation time.

4 years agoLexer now returns known sym / unknown sym / keyword
Maria Matejka [Fri, 17 May 2019 20:18:49 +0000 (22:18 +0200)] 
Lexer now returns known sym / unknown sym / keyword

5 years agoDoc: Dynamic BGP
Ondrej Zajicek (work) [Tue, 30 Apr 2019 14:16:50 +0000 (16:16 +0200)] 
Doc: Dynamic BGP

5 years agoBGP: Compliance with RFC8203bis
Alexander Azimov [Tue, 30 Apr 2019 11:55:43 +0000 (13:55 +0200)] 
BGP: Compliance with RFC8203bis

5 years agoBGP: Output Local AS number in show protocol
Ondrej Zajicek (work) [Tue, 30 Apr 2019 11:44:11 +0000 (13:44 +0200)] 
BGP: Output Local AS number in show protocol

Useful for implementation of agents implementing the SNMP-BGP MIB, which
requires the local AS of a session to be specified.

Thanks to Jan-Philipp Litza for the patch.

5 years agoBGP: Dynamic BGP
Ondrej Zajicek (work) [Mon, 8 Apr 2019 15:05:07 +0000 (17:05 +0200)] 
BGP: Dynamic BGP

Support for dynamically spawning BGP protocols for incoming connections.
Use 'neighbor range' to specify range of valid neighbor addresses, then
incoming connections from these addresses spawn new BGP instances.

5 years agoSmall type in doc.
Ondrej Filip [Wed, 24 Apr 2019 11:49:18 +0000 (13:49 +0200)] 
Small type in doc.

5 years agoOSPFv3: Fix some overlooked cases in IPv4 mode
Ondrej Zajicek (work) [Fri, 12 Apr 2019 12:11:23 +0000 (14:11 +0200)] 
OSPFv3: Fix some overlooked cases in IPv4 mode

Prefixes with max length (/32) were not handled properly.

Thanks to bauen1 for the bugreport.

5 years agoBGP: Handle corner cases in event ordering
Ondrej Zajicek (work) [Mon, 8 Apr 2019 14:39:22 +0000 (16:39 +0200)] 
BGP: Handle corner cases in event ordering

When BGP connection is opened, it may happen that rx hook (with remote
OPEN) is called before tx hook (for local OPEN). Therefore, we need to do
internal changes (like setting local_caps) synchronously with OPENSENT
transition and we need to ensure that OPEN is sent before KEEPALIVE.

5 years agoBGP: Promiscuous ASN mode
Ondrej Zajicek (work) [Wed, 3 Apr 2019 13:54:50 +0000 (15:54 +0200)] 
BGP: Promiscuous ASN mode

Allow to specify just 'internal' or 'external' for remote neighbor
instead of specific ASN. In the second case that means BGP peers with
any non-local ASNs are accepted.

5 years agoBGP: Separate runtime and config usage of local/remote ip and as fields
Ondrej Zajicek (work) [Tue, 2 Apr 2019 15:22:31 +0000 (17:22 +0200)] 
BGP: Separate runtime and config usage of local/remote ip and as fields

5 years agoFilter: fixed error-checking bug in !~ operator
Maria Matejka [Sat, 23 Mar 2019 12:32:14 +0000 (13:32 +0100)] 
Filter: fixed error-checking bug in !~ operator

5 years agoFixed one warning and one undefined value.
Maria Matejka [Fri, 22 Mar 2019 20:40:35 +0000 (21:40 +0100)] 
Fixed one warning and one undefined value.

5 years agoFixed an undefined symbol bug in CLI introduced by filter refactoring
Maria Matejka [Wed, 20 Mar 2019 15:50:58 +0000 (16:50 +0100)] 
Fixed an undefined symbol bug in CLI introduced by filter refactoring

5 years agoDoc: Route attribute cleanups
Ondrej Zajicek (work) [Tue, 19 Mar 2019 18:38:32 +0000 (19:38 +0100)] 
Doc: Route attribute cleanups

5 years agoBGP: Mandatory option for channels
Ondrej Zajicek (work) [Tue, 19 Mar 2019 16:44:50 +0000 (17:44 +0100)] 
BGP: Mandatory option for channels

Allow to mark channel to be mandatory, and do not allow BGP sessions if
no common AFI/SAFI is established.

5 years agoBGP: Handle case where capabilites are not used
Ondrej Zajicek (work) [Fri, 15 Mar 2019 19:54:01 +0000 (20:54 +0100)] 
BGP: Handle case where capabilites are not used

If peer does not announce capabilities at all, or when we have
capabilities disabled, handle that as implicit IPv4 unicast.

5 years agoMerge branch 'master' into HEAD
Maria Matejka [Mon, 18 Mar 2019 11:54:40 +0000 (12:54 +0100)] 
Merge branch 'master' into HEAD

5 years agoBuild: Automatic dependency tracking for generated files
Maria Matejka [Fri, 15 Mar 2019 14:07:00 +0000 (15:07 +0100)] 
Build: Automatic dependency tracking for generated files