]> git.ipfire.org Git - thirdparty/bird.git/log
thirdparty/bird.git
8 years agoBGP: Update list of supported standards
Ondrej Zajicek (work) [Wed, 29 Mar 2017 11:48:23 +0000 (13:48 +0200)] 
BGP: Update list of supported standards

8 years agoNetlink: Fix device route delete
Ondrej Zajicek (work) [Tue, 28 Mar 2017 16:14:32 +0000 (18:14 +0200)] 
Netlink: Fix device route delete

8 years agoMerge branch 'int-new' of gitlab.labs.nic.cz:labs/bird into int-new
Jan Moskyto Matejka [Tue, 28 Mar 2017 15:35:57 +0000 (17:35 +0200)] 
Merge branch 'int-new' of gitlab.labs.nic.cz:labs/bird into int-new

8 years agoSimpler format of VPN RD
Jan Moskyto Matejka [Tue, 28 Mar 2017 15:35:32 +0000 (17:35 +0200)] 
Simpler format of VPN RD

8 years agoNetlink: Fix bug in RTA_PRIORITY handling
Ondrej Zajicek (work) [Tue, 28 Mar 2017 14:05:40 +0000 (16:05 +0200)] 
Netlink: Fix bug in RTA_PRIORITY handling

8 years agoBGP: Support for routes with mixed-AF next hops
Ondrej Zajicek (work) [Sun, 26 Mar 2017 17:20:15 +0000 (19:20 +0200)] 
BGP: Support for routes with mixed-AF next hops

Covers IPv4/VPNv4 routes with IPv6 next hop (RFC 5549), IPv6 routes with
IPv4 next hop (RFC 4798) and VPNv6 routes with IPv4 next hop (RFC 4659).
Unfortunately it also makes next hop hooks more messy.

Each BGP channel now could have two IGP tables, one for IPv4 next hops,
the other for IPv6 next hops.

8 years agoBGP: Bugfix in VPN NLRI encoding
Ondrej Zajicek (work) [Thu, 23 Mar 2017 13:10:42 +0000 (14:10 +0100)] 
BGP: Bugfix in VPN NLRI encoding

8 years agoBGP: Support for MPLS labels and VPN SAFI
Ondrej Zajicek (work) [Wed, 22 Mar 2017 14:00:07 +0000 (15:00 +0100)] 
BGP: Support for MPLS labels and VPN SAFI

Basic support for SAFI 4 and 128 (MPLS labeled IP and VPN) for IPv4 and
IPv6. Should work for route reflector, but does not properly handle
originating routes with next hop self.

Based on patches from Jan Matejka.

8 years agoMerge branch 'nexthop-merged' into int-new
Jan Moskyto Matejka [Wed, 22 Mar 2017 13:54:00 +0000 (14:54 +0100)] 
Merge branch 'nexthop-merged' into int-new

8 years agoFilter: Check whether IP is 4 or 6 nexthop-merged
Jan Moskyto Matejka [Wed, 22 Mar 2017 13:53:37 +0000 (14:53 +0100)] 
Filter: Check whether IP is 4 or 6

8 years agoNexthop: Fixed recursive route mpls label merging
Jan Moskyto Matejka [Fri, 17 Mar 2017 14:48:09 +0000 (15:48 +0100)] 
Nexthop: Fixed recursive route mpls label merging

8 years agoMinor cleanups
Ondrej Zajicek (work) [Tue, 14 Mar 2017 16:18:50 +0000 (17:18 +0100)] 
Minor cleanups

BTW, 'prefices' is hypercorrection, as 'prefix' is from 'praefixum' with
plural 'praefixa'.

8 years agoFilters: VPN Route Distinguishers, Prefix Type, Docs Update
Jan Moskyto Matejka [Mon, 13 Mar 2017 12:50:32 +0000 (13:50 +0100)] 
Filters: VPN Route Distinguishers, Prefix Type, Docs Update

8 years agoFilter: ROA check test and mixed prefix test
Jan Moskyto Matejka [Thu, 9 Mar 2017 14:57:54 +0000 (15:57 +0100)] 
Filter: ROA check test and mixed prefix test

8 years agoNest: Minor fixes in show route
Ondrej Zajicek (work) [Wed, 8 Mar 2017 15:27:18 +0000 (16:27 +0100)] 
Nest: Minor fixes in show route

8 years agoStatic: Minor overhaul
Ondrej Zajicek (work) [Tue, 7 Mar 2017 17:42:41 +0000 (18:42 +0100)] 
Static: Minor overhaul

The patch fixes several bugs introduced in previous changes, simplifies
the protocol by handing routes uniformly, introduces asynchronous route
processing to avoid issues with separate notifications for each next-hop
in ECMP routes, and makes reconfiguration faster by avoiding quadratic
complexity.

8 years agoNest: Allow iface-only neighbors
Ondrej Zajicek (work) [Tue, 21 Feb 2017 13:56:14 +0000 (14:56 +0100)] 
Nest: Allow iface-only neighbors

8 years agoUpdate OSPF and RIP protocol names and related documentation
Ondrej Zajicek (work) [Wed, 8 Mar 2017 16:37:11 +0000 (17:37 +0100)] 
Update OSPF and RIP protocol names and related documentation

8 years agoNexthop: Fixed hostentry
Jan Moskyto Matejka [Fri, 24 Feb 2017 13:05:11 +0000 (14:05 +0100)] 
Nexthop: Fixed hostentry

8 years agoNest: names for nhu_state values
Jan Moskyto Matejka [Wed, 22 Feb 2017 13:02:03 +0000 (14:02 +0100)] 
Nest: names for nhu_state values

It took too much time to analyze what's the meaning of nhu_state values
so I spent less than the same amount of time documenting it.

8 years agoBabel post-merge fixes
Jan Moskyto Matejka [Wed, 22 Feb 2017 11:02:28 +0000 (12:02 +0100)] 
Babel post-merge fixes

8 years agoMerge branch 'int-new' into nexthop-merged
Jan Moskyto Matejka [Wed, 22 Feb 2017 10:58:04 +0000 (11:58 +0100)] 
Merge branch 'int-new' into nexthop-merged

8 years agoBGP: Update RFC references
Ondrej Zajicek (work) [Mon, 20 Feb 2017 01:28:04 +0000 (02:28 +0100)] 
BGP: Update RFC references

8 years agoSeveral minor fixes
Ondrej Zajicek (work) [Mon, 20 Feb 2017 01:26:45 +0000 (02:26 +0100)] 
Several minor fixes

8 years agoMerge branch 'master' into int-new
Ondrej Zajicek (work) [Wed, 8 Feb 2017 13:34:48 +0000 (14:34 +0100)] 
Merge branch 'master' into int-new

8 years agoBGP: Minor cleanups
Ondrej Zajicek (work) [Tue, 7 Feb 2017 14:55:51 +0000 (15:55 +0100)] 
BGP: Minor cleanups

8 years agoFilter: Fix missing case for !~ operator
Ondrej Zajicek (work) [Tue, 24 Jan 2017 14:35:38 +0000 (15:35 +0100)] 
Filter: Fix missing case for !~ operator

Thanks to Vincent Bernat for the patch.

8 years agoBGP: Partial support for IPv4 routes with IPv6 next hop (RFC 5549)
Ondrej Zajicek (work) [Tue, 24 Jan 2017 01:00:35 +0000 (02:00 +0100)] 
BGP: Partial support for IPv4 routes with IPv6 next hop (RFC 5549)

Mostly capability signalling

8 years agoBGP: Support for AS confederations (RFC 5065)
Ondrej Zajicek (work) [Sun, 22 Jan 2017 15:32:42 +0000 (16:32 +0100)] 
BGP: Support for AS confederations (RFC 5065)

8 years agoFix IP_HDRINCL usage on FreeBSD 11
Ondrej Zajicek (work) [Tue, 17 Jan 2017 12:21:25 +0000 (13:21 +0100)] 
Fix IP_HDRINCL usage on FreeBSD 11

FreeBSD 11 changed endianity of ip_len field from host order to network
order. Also DragonFly BSD allegedly expects network order here.

Thanks to Olivier Cochard-Labbé for the patch.

8 years agoMinor cleanups
Ondrej Zajicek (work) [Fri, 23 Dec 2016 22:03:26 +0000 (23:03 +0100)] 
Minor cleanups

8 years agoVPN4 and VPN6 literals
Jan Moskyto Matejka [Tue, 9 Feb 2016 13:53:29 +0000 (14:53 +0100)] 
VPN4 and VPN6 literals

From now on, protocol static accepts VPN4 and VPN6 addressess.
With some concerns about VPN6 Route Distinguishers, I finally chose
to have the same format as for VPN4 (where it is defined by RFC 4364).

8 years agoMPLS: Label stack concatenation for recursive routes
Jan Moskyto Matejka [Tue, 9 Aug 2016 12:47:51 +0000 (14:47 +0200)] 
MPLS: Label stack concatenation for recursive routes

8 years agoNetlink: MPLS routes in kernel
Jan Moskyto Matejka [Fri, 4 Mar 2016 11:55:50 +0000 (12:55 +0100)] 
Netlink: MPLS routes in kernel

Anyway, Bird is now capable to insert both MPLS routes and MPLS encap
routes into kernel.

It was (among others) needed to define platform-specific AF_MPLS to 28
as this constant has been assigned in the linux kernel.

No support for BSD now, it may be added in the future.

8 years agoStatic: Protocol rework wrt. struct nexthop changes; MPLS label support
Jan Moskyto Matejka [Mon, 13 Jun 2016 13:49:53 +0000 (15:49 +0200)] 
Static: Protocol rework wrt. struct nexthop changes; MPLS label support

8 years agoMPLS: added net_addr_mpls variant of net_addr
Jan Moskyto Matejka [Wed, 2 Mar 2016 13:37:18 +0000 (14:37 +0100)] 
MPLS: added net_addr_mpls variant of net_addr

8 years agoNexthop: Support for label stack in nest
Jan Moskyto Matejka [Fri, 10 Jun 2016 12:34:41 +0000 (14:34 +0200)] 
Nexthop: Support for label stack in nest

8 years agoRemoving (struct rta)->cast. Never used.
Jan Moskyto Matejka [Tue, 7 Jun 2016 09:46:07 +0000 (11:46 +0200)] 
Removing (struct rta)->cast. Never used.

8 years agoMerged multipath and single-path data structures.
Jan Moskyto Matejka [Fri, 6 May 2016 13:48:35 +0000 (15:48 +0200)] 
Merged multipath and single-path data structures.

Dropped struct mpnh and mpnh_*()
Now struct nexthop exists, nexthop_*(), and also included struct nexthop
into struct rta.

Also converted RTD_DEVICE and RTD_ROUTER to RTD_UNICAST. If it is needed
to distinguish between these two cases, RTD_DEVICE is equivalent to
IPA_ZERO(a->nh.gw), RTD_ROUTER is then IPA_NONZERO(a->nh.gw).

From now on, we also explicitely want C99 compatible compiler. We assume
that this 20-year norm should be known almost everywhere.

8 years agoNEWS and version update v1.6.3
Ondrej Zajicek (work) [Wed, 21 Dec 2016 15:46:47 +0000 (16:46 +0100)] 
NEWS and version update

8 years agoNetlink: fix occasional netlink hangs on busy machines
Jan Moskyto Matejka [Tue, 20 Dec 2016 19:13:08 +0000 (20:13 +0100)] 
Netlink: fix occasional netlink hangs on busy machines

8 years agoBGP: Report capabilities in show protocols all
Ondrej Zajicek (work) [Tue, 20 Dec 2016 16:39:59 +0000 (17:39 +0100)] 
BGP: Report capabilities in show protocols all

8 years agoOSPF: Fix ECMP external merging
Ondrej Zajicek (work) [Thu, 15 Dec 2016 14:31:25 +0000 (15:31 +0100)] 
OSPF: Fix ECMP external merging

The variable nfa is not cleaned before each loop iteration and can have
a wrong value of nfa.nhs_reuse from the previous step.

Thanks to Bernardo Figueiredo for the bugreport and analysis.

8 years agoMinor cleanups
Ondrej Zajicek (work) [Tue, 13 Dec 2016 19:18:11 +0000 (20:18 +0100)] 
Minor cleanups

8 years agoOSPF: Fix net-summary origination combined with stubnet option
Ondrej Zajicek (work) [Tue, 13 Dec 2016 16:34:42 +0000 (17:34 +0100)] 
OSPF: Fix net-summary origination combined with stubnet option

Stubnet nodes in OSPF FIB were removed during rt_sync(), but the pointer
remained in top_hash_entry.nf, so net-summary LSA origination was
confused, reported 'LSA ID collision' and net-summary LSAs were not
originated properly.

Thanks to Naveen Chowdary Yerramneni for bugreport and analysis.

8 years agoBabel: Update to integrated branch
Ondrej Zajicek (work) [Fri, 9 Dec 2016 23:11:26 +0000 (00:11 +0100)] 
Babel: Update to integrated branch

8 years agoDocumentation build system fix v2.0.0-pre0
Ondrej Filip [Wed, 7 Dec 2016 19:31:12 +0000 (20:31 +0100)] 
Documentation build system fix

8 years agoNEWS and version update
Ondrej Zajicek (work) [Wed, 7 Dec 2016 18:56:42 +0000 (19:56 +0100)] 
NEWS and version update

8 years agoDoc: Add MP-BGP example config file
Ondrej Zajicek (work) [Wed, 7 Dec 2016 18:16:02 +0000 (19:16 +0100)] 
Doc: Add MP-BGP example config file

8 years agoBGP: Add support for flowspec (RFC 5575)
Ondrej Zajicek (work) [Wed, 7 Dec 2016 17:28:07 +0000 (18:28 +0100)] 
BGP: Add support for flowspec (RFC 5575)

8 years agoDoc: Example simple config
Jan Moskyto Matejka [Wed, 7 Dec 2016 16:17:04 +0000 (17:17 +0100)] 
Doc: Example simple config

8 years agoTests: Fix build
Ondrej Zajicek (work) [Wed, 7 Dec 2016 15:27:12 +0000 (16:27 +0100)] 
Tests: Fix build

8 years agoClient: No need for birdlib functions
Ondrej Zajicek (work) [Wed, 7 Dec 2016 15:20:38 +0000 (16:20 +0100)] 
Client: No need for birdlib functions

8 years agoBasic flow specification support (RFC 5575)
Ondrej Zajicek (work) [Wed, 7 Dec 2016 14:36:15 +0000 (15:36 +0100)] 
Basic flow specification support (RFC 5575)

Add flow4/flow6 network and rt-table type and operations, config grammar
and static protocol support.

Squashed flowspec branch from Pavel Tvrdik.

8 years agoRPKI: fixed some of the extended warnings
Jan Moskyto Matejka [Wed, 7 Dec 2016 14:35:35 +0000 (15:35 +0100)] 
RPKI: fixed some of the extended warnings

8 years agoMerge branch 'int-new-rpki-squashed' (early part) into int-new
Jan Moskyto Matejka [Wed, 7 Dec 2016 14:30:46 +0000 (15:30 +0100)] 
Merge branch 'int-new-rpki-squashed' (early part) into int-new

8 years agoBGP redesign
Ondrej Zajicek (work) [Wed, 7 Dec 2016 13:11:28 +0000 (14:11 +0100)] 
BGP redesign

Integrated and extensible BGP with generalized AFI handling,
support for IPv4+IPv6 AFI and unicast+multicast SAFI.

8 years agoLibSSH may be switched off together with RPKI
Jan Moskyto Matejka [Wed, 7 Dec 2016 13:15:35 +0000 (14:15 +0100)] 
LibSSH may be switched off together with RPKI

8 years agoSSH: Commented quirk based on undocumented behavior of LibSSH
Jan Moskyto Matejka [Wed, 7 Dec 2016 08:13:29 +0000 (09:13 +0100)] 
SSH: Commented quirk based on undocumented behavior of LibSSH

8 years agoMake: upgrade Babel makefiles
Jan Moskyto Matejka [Wed, 7 Dec 2016 08:12:06 +0000 (09:12 +0100)] 
Make: upgrade Babel makefiles

8 years agofilter/test.conf: add ROA check and operator tests
Pavel Tvrdik [Thu, 30 Jun 2016 12:56:09 +0000 (14:56 +0200)] 
filter/test.conf: add ROA check and operator tests

8 years agoAdd `.maxlen' operator to all ROA prefixes in filters
Pavel Tvrdik [Wed, 29 Jun 2016 10:21:43 +0000 (12:21 +0200)] 
Add `.maxlen' operator to all ROA prefixes in filters

Example:
  bird> eval (1.2.0.0/16 max 20 as 1234).maxlen
  20

Todo: Should be described in user docs

8 years agoAdd `.asn' operator to all ROA prefixes in filters
Pavel Tvrdik [Wed, 29 Jun 2016 10:08:28 +0000 (12:08 +0200)] 
Add `.asn' operator to all ROA prefixes in filters

Example:
  bird> eval (1.2.0.0/16 max 20 as 1234).asn
  1234

Todo: Should be described in user docs

8 years agoCheck table type at `show route for ...'
Pavel Tvrdik [Wed, 29 Jun 2016 07:56:33 +0000 (09:56 +0200)] 
Check table type at `show route for ...'

8 years agoRPKI protocol with one cache server per protocol
Pavel Tvrdík [Thu, 17 Sep 2015 15:15:30 +0000 (17:15 +0200)] 
RPKI protocol with one cache server per protocol

The RPKI protocol (RFC 6810) using the RTRLib
(http://rpki.realmv6.org/) that is integrated inside
the BIRD's code.

Implemeted transports are:
 - unprotected transport over TCP
 - secure transport over SSHv2

Example configuration of bird.conf:
  ...
  roa4 table r4;
  roa6 table r6;

  protocol rpki {
    debug all;

    # Import both IPv4 and IPv6 ROAs
    roa4 { table r4; };
    roa6 { table r6; };

    # Set cache server (validator) address,
    # overwrite default port 323
    remote "rpki-validator.realmv6.org" port 8282;

    # Overwrite default time intervals
    retry   10;         # Default 600 seconds
    refresh 60;         # Default 3600 seconds
    expire 600;         # Default 7200 seconds
  }

  protocol rpki {
    debug all;

    # Import only IPv4 routes
    roa4 { table r4; };

    # Set cache server address to localhost,
    # use default ports tcp => 323 or ssh => 22
    remote 127.0.0.1;

    # Use SSH transport instead of unprotected transport over TCP
    ssh encryption {
      bird private key "/home/birdgeek/.ssh/id_rsa";
      remote public key "/home/birdgeek/.ssh/known_hosts";
      user "birdgeek";
    };
  }
  ...

8 years agoClient: Includes stdlib.h for malloc()
Pavel Tvrdik [Thu, 9 Jun 2016 08:11:39 +0000 (10:11 +0200)] 
Client: Includes stdlib.h for malloc()

8 years agofilter/test.conf: Minor changes in order of calls
Pavel Tvrdik [Wed, 30 Nov 2016 09:40:57 +0000 (10:40 +0100)] 
filter/test.conf: Minor changes in order of calls

8 years agonest/a-path.c: Fix description of BS constant (block size)
Pavel Tvrdik [Wed, 30 Nov 2016 10:55:33 +0000 (11:55 +0100)] 
nest/a-path.c: Fix description of BS constant (block size)

8 years agoconf/conf.h: Fix a description of a variable in a structure
Pavel Tvrdik [Wed, 30 Nov 2016 09:21:43 +0000 (10:21 +0100)] 
conf/conf.h: Fix a description of a variable in a structure

8 years agoconf/conf.c: Revert some includes removing
Pavel Tvrdik [Wed, 30 Nov 2016 09:17:23 +0000 (10:17 +0100)] 
conf/conf.c: Revert some includes removing

8 years agoRemove filter/test_bgp_filtering.conf file
Pavel Tvrdik [Wed, 30 Nov 2016 09:11:12 +0000 (10:11 +0100)] 
Remove filter/test_bgp_filtering.conf file

It was an example filtering configuration from BIRD's wiki.

8 years agoMerge test6.conf IPv6 tests into test.conf
Pavel Tvrdik [Wed, 30 Nov 2016 09:06:37 +0000 (10:06 +0100)] 
Merge test6.conf IPv6 tests into test.conf

8 years agoBGP: Fix memory leak in graceful restart code
Ondrej Zajicek (work) [Fri, 25 Nov 2016 10:51:38 +0000 (11:51 +0100)] 
BGP: Fix memory leak in graceful restart code

Prefix and bucket tables are initialized when entering established state
but not explicitly freed when leaving it (that is handled by protocol
restart). With graceful restart, BGP may enter and leave established
state multiple times without hard protocol restart causing memory leak.

8 years agofilter/test.conf: Extend tests
Pavel Tvrdik [Wed, 16 Nov 2016 13:05:59 +0000 (14:05 +0100)] 
filter/test.conf: Extend tests

8 years agofilter/test.conf: Reorder tests
Pavel Tvrdik [Wed, 16 Nov 2016 12:46:08 +0000 (13:46 +0100)] 
filter/test.conf: Reorder tests

Tests are sorted from trivial tests to more complex tests

8 years agofilter/test.conf: Replace print func with assert and format
Pavel Tvrdik [Wed, 16 Nov 2016 11:18:06 +0000 (12:18 +0100)] 
filter/test.conf: Replace print func with assert and format

8 years agoBirdtest: Add function format in grammar for stringify expression
Pavel Tvrdik [Wed, 16 Nov 2016 11:15:43 +0000 (12:15 +0100)] 
Birdtest: Add function format in grammar for stringify expression

8 years agoAdd lp_strdup function for string duplication on linpool
Pavel Tvrdik [Wed, 16 Nov 2016 11:10:34 +0000 (12:10 +0100)] 
Add lp_strdup function for string duplication on linpool

8 years agoBirdtest: Remove bt_assert command from term
Pavel Tvrdik [Wed, 16 Nov 2016 10:09:55 +0000 (11:09 +0100)] 
Birdtest: Remove bt_assert command from term

The bt_assert function does not return any value, so it was useless to
have a option in term definition.

8 years agoLexer: Add a quotation mark back while parsing quotes
Pavel Tvrdik [Wed, 16 Nov 2016 10:03:39 +0000 (11:03 +0100)] 
Lexer: Add a quotation mark back while parsing quotes

Thanks to Ondrej Zajicek for code.

8 years agoBGP: Cluster list item should be prepended
Ondrej Zajicek (work) [Tue, 15 Nov 2016 15:24:39 +0000 (16:24 +0100)] 
BGP: Cluster list item should be prepended

Commit 3c09af41... changed behavior of int_set_add() from prepend to
append, which makes more sense for community list, but prepend must be
used for cluster list. Add int_set_prepend() and use it in cluster list
handling code.

8 years agoBirdtest: Replace BT_SUCCESS and BT_FAILURE with 1 and 0
Pavel Tvrdik [Fri, 11 Nov 2016 16:43:09 +0000 (17:43 +0100)] 
Birdtest: Replace BT_SUCCESS and BT_FAILURE with 1 and 0

8 years agoBirdtest: Put hard new lines for strict line width
Pavel Tvrdik [Fri, 11 Nov 2016 16:03:43 +0000 (17:03 +0100)] 
Birdtest: Put hard new lines for strict line width

This patch ensures width of output lines from testing framework (not
debug output). So output piped lined into file that has default width 80
cols is now correctly wrapped.

8 years agobirdtest: Fix no-forked mode in trie_test
Pavel Tvrdik [Fri, 11 Nov 2016 16:02:16 +0000 (17:02 +0100)] 
birdtest: Fix no-forked mode in trie_test

8 years agoFilter: Add long community tests
Ondrej Zajicek (work) [Wed, 9 Nov 2016 18:08:25 +0000 (19:08 +0100)] 
Filter: Add long community tests

Based on Pavel Tvrdik's int-test-lc branch.

8 years ago Unit Testing for BIRD
Ondrej Zajicek (work) [Wed, 9 Nov 2016 15:36:34 +0000 (16:36 +0100)] 
  Unit Testing for BIRD

 - Unit Testing Framework (BirdTest)
 - Integration of BirdTest into the BIRD build system
 - Tests for several BIRD modules

 Based on squashed Pavel Tvrdik's int-test branch, updated for
 current int-new branch.

8 years agoMerge branch 'master' into int-new
Ondrej Zajicek (work) [Tue, 8 Nov 2016 18:27:58 +0000 (19:27 +0100)] 
Merge branch 'master' into int-new

8 years agoMinor code cleanups
Ondrej Zajicek (work) [Tue, 8 Nov 2016 16:46:29 +0000 (17:46 +0100)] 
Minor code cleanups

8 years agoMerge tag 'v1.6.2' into int-new
Ondrej Zajicek (work) [Tue, 8 Nov 2016 16:03:31 +0000 (17:03 +0100)] 
Merge tag 'v1.6.2' into int-new

8 years agoAdd missing extern
Ondrej Zajicek (work) [Thu, 3 Nov 2016 08:53:53 +0000 (09:53 +0100)] 
Add missing extern

8 years agoBFD: Authentication
Ondrej Zajicek (work) [Sun, 30 Oct 2016 22:51:23 +0000 (23:51 +0100)] 
BFD: Authentication

Implement BFD authentication (part of RFC 5880). Supports plaintext
passwords and cryptographic MD5 / SHA-1 authentication.

Based on former commit from Pavel Tvrdik

8 years agoOSPF: Use message authentication interface
Ondrej Zajicek (work) [Thu, 27 Oct 2016 18:58:21 +0000 (20:58 +0200)] 
OSPF: Use message authentication interface

Based on former commit from Pavel Tvrdik

8 years agoRIP: Use message authentication interface
Ondrej Zajicek (work) [Wed, 26 Oct 2016 14:07:45 +0000 (16:07 +0200)] 
RIP: Use message authentication interface

Based on former commit from Pavel Tvrdik

8 years agoDOC: Password algorithm option
Pavel Tvrdík [Thu, 28 Jan 2016 16:05:15 +0000 (17:05 +0100)] 
DOC: Password algorithm option

8 years agoNest: Add support for MAC algorithms in grammar
Pavel Tvrdík [Tue, 26 Jan 2016 15:45:13 +0000 (16:45 +0100)] 
Nest: Add support for MAC algorithms in grammar

8 years agoAdd generic message authentication interface
Ondrej Zajicek (work) [Tue, 25 Oct 2016 15:04:17 +0000 (17:04 +0200)] 
Add generic message authentication interface

Add generic interface for generating and verifying MACs (message
authentication codes). Replace multiple HMAC implementation with
a generic one.

8 years agoBSD: Fix build on OpenBSD broken by previous commit
Ondrej Zajicek (work) [Tue, 1 Nov 2016 15:18:27 +0000 (16:18 +0100)] 
BSD: Fix build on OpenBSD broken by previous commit

8 years agoBuild: switch on -Wextra, get rid of most of the warnings
Jan Moskyto Matejka [Fri, 14 Oct 2016 13:37:04 +0000 (15:37 +0200)] 
Build: switch on -Wextra, get rid of most of the warnings

There are several unresolved -Wmissing-field-initializers on older
versions of GCC than 5.1, all of them false positive.

8 years agoLog: Fix broken syslog name
Ondrej Zajicek (work) [Tue, 1 Nov 2016 10:37:49 +0000 (11:37 +0100)] 
Log: Fix broken syslog name

BIRD passed string from configuration to openlog(), which kept it
internally. After reconfiguration the old string was freed, therefore
openlog had invalid copy.

Thanks to Chris Caputo for the original patch.

8 years agoIANA assigned a different number to large BGP communities - changed.
Ondrej Filip [Thu, 27 Oct 2016 09:08:28 +0000 (11:08 +0200)] 
IANA assigned a different number to large BGP communities - changed.