forked from Mirror/frr

Taking over this development from https://github.com/FRRouting/frr/pull/14788 This commit addresses 4 issues found in the previous PR 1) FRR would accept messages from a spoke without authentication when FRR NHRP had auth configured. 2) The error indication was not being sent in network byte order 3) The debug print in nhrp_connection_authorized was not correctly printing the received password 4) The addresses portion of the mandatory part of the error indication was invalid on the wire (confirmed in wireshark) Signed-off-by: Dave LeRoy <dleroy@labn.net> Co-authored-by: Volodymyr Huti <volodymyr.huti@gmail.com>
12 lines
244 B
Plaintext
12 lines
244 B
Plaintext
log stdout debugging
|
|
! debug nhrp all
|
|
interface r1-gre0
|
|
ip nhrp authentication secret
|
|
ip nhrp holdtime 10
|
|
ip nhrp shortcut
|
|
ip nhrp network-id 42
|
|
ip nhrp nhs dynamic nbma 10.2.1.2
|
|
ip nhrp registration no-unique
|
|
tunnel source r1-eth0
|
|
exit
|