Skip to content

net/frr register_sas script/setkey add SAD entries for both IPv6 and IPv4#3345

Merged
AdSchellevis merged 1 commit intoopnsense:masterfrom
as8net:patch-1
Mar 12, 2023
Merged

net/frr register_sas script/setkey add SAD entries for both IPv6 and IPv4#3345
AdSchellevis merged 1 commit intoopnsense:masterfrom
as8net:patch-1

Conversation

@as8net
Copy link
Copy Markdown
Contributor

@as8net as8net commented Mar 11, 2023

OPNsense supports BGP on both IPv4 and IPv6, but the current frr/setkey script implementation only adds SAD entries for IPv4. Changing -4 to -n keeps filtering on numeric addresses, but adds SAD entries for both IPv4 and IPv6 instead of only IPv4.

Tested working on a Vultr VM with BGP enabled and MD5 password on the Vultr side.

OPNsense supports BGP on both IPv4 and IPv6, but the current frr/setkey script implementation only adds SAD entries for IPv4.
Changing -4 to -n keeps filtering on numeric addresses, but adds SAD entries for both IPv4 and IPv6 instead of only IPv4.

Tested working on a Vultr VM with BGP enabled and MD5 password on the Vultr side.
@as8net as8net changed the title Allow both IPv6 and IPv4 instead of just IPv4 Let FRR script add SAD entries for both IPv6 and IPv4 Mar 11, 2023
@as8net as8net changed the title Let FRR script add SAD entries for both IPv6 and IPv4 net/frr register_sas script/setkey add SAD entries for both IPv6 and IPv4 Mar 11, 2023
Copy link
Copy Markdown
Member

@mimugmail mimugmail left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thx. Its @AdSchellevis Code, maybe he wants to have a look too

@AdSchellevis
Copy link
Copy Markdown
Member

@as8net looks good indeed, thanks!

@AdSchellevis AdSchellevis merged commit 79f64d7 into opnsense:master Mar 12, 2023
@as8net as8net deleted the patch-1 branch March 12, 2023 11:18
AdSchellevis pushed a commit that referenced this pull request May 9, 2023
OPNsense supports BGP on both IPv4 and IPv6, but the current frr/setkey script implementation only adds SAD entries for IPv4.
Changing -4 to -n keeps filtering on numeric addresses, but adds SAD entries for both IPv4 and IPv6 instead of only IPv4.

Tested working on a Vultr VM with BGP enabled and MD5 password on the Vultr side.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants