FRRouting / frr

The FRRouting Protocol Suite

Home Page:https://frrouting.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rpki: Source address not added to rpki cache server

natali-rs1985 opened this issue · comments

Description

When trying to configure cache server with source address like in the Documentation it doesn't add like it has to

Version

FRRouting 9.1 (vyos) on Linux(6.6.29-amd64-vyos)

How to reproduce

RPKI configuration to apply

!
rpki
 rpki polling_period 300
 rpki cache 5.6.7.8 3329 vyos /run/frr/id_rpki_5.6.7.8 /run/frr/id_rpki_5.6.7.8.pub source 100.1.1.2 preference 20
 rpki cache 1.2.3.4 3328 source 100.1.1.1 preference 10
!

Expected behavior

# vtysh -c "show rpki cache-server"
host: 5.6.7.8 port: 3329 username: vyos server_hostkey_path: /run/frr/id_rpki_5.6.7.8.pub client_privkey_path: /run/frr/id_rpki_5.6.7.8, preference: 20
host: 1.2.3.4 port: 3328 preference: 10

or mayby the same but with source address

Actual behavior

# vtysh -c "show run" | grep rpki
rpki
 rpki polling_period 300
 rpki cache 5.6.7.8 3329 vyos /run/frr/id_rpki_5.6.7.8 /run/frr/id_rpki_5.6.7.8.pub source 100.1.1.2 preference 20
 rpki cache 1.2.3.4 3328 source 100.1.1.1   preference 10

'show rpki cache-server' command shows not what was expected for TCP connection

# vtysh -c "show rpki cache-server"
host: 5.6.7.8 port: 3329 username: vyos server_hostkey_path: /run/frr/id_rpki_5.6.7.8.pub client_privkey_path: /run/frr/id_rpki_5.6.7.8, preference: 20
host: 1.2.3.4 port: 3328 username: source server_hostkey_path: (null) client_privkey_path: 100.1.1.1, preference: 10

Additional context

No response

Checklist

  • I have searched the open issues for this bug.
  • I have not included sensitive information in this report.