BFD: SHA1 authentication 23/4923/6
authorKlement Sekera <ksekera@cisco.com>
Mon, 9 Jan 2017 06:43:48 +0000 (07:43 +0100)
committerDamjan Marion <dmarion.lists@gmail.com>
Thu, 2 Feb 2017 12:04:30 +0000 (12:04 +0000)
commitb17dd9607ee8ecba5ae3ef69c7b4915b57de292a
treeaa8d22ac4a9ea3adc2f96c4d754273af505950d5
parent402ed3128512efc091a560729ce1e772a86e9f74
BFD: SHA1 authentication

Add authentication support to BFD feature. Out of three existing
authentication types, implement SHA1 (sole RFC requirement). Simple
password is insecure and MD5 is discouraged by the RFC, so ignore
those.
Add/change APIs to allow configuring BFD authentication keys
and their usage with BFD sessions.

Change-Id: Ifb0fb5b19c2e72196d84c1cde919bd4c074ea415
Signed-off-by: Klement Sekera <ksekera@cisco.com>
13 files changed:
src/vnet/api_errno.h
src/vnet/bfd/bfd.api
src/vnet/bfd/bfd_api.c
src/vnet/bfd/bfd_api.h
src/vnet/bfd/bfd_main.c
src/vnet/bfd/bfd_main.h
src/vnet/bfd/bfd_protocol.c
src/vnet/bfd/bfd_protocol.h
src/vnet/bfd/bfd_udp.c
test/bfd.py
test/framework.py
test/test_bfd.py
test/vpp_papi_provider.py