Skip to content

WIP net/frr: Add BGP password support#2645

Closed
mimugmail wants to merge 15 commits intoopnsense:masterfrom
mimugmail:patch-62
Closed

WIP net/frr: Add BGP password support#2645
mimugmail wants to merge 15 commits intoopnsense:masterfrom
mimugmail:patch-62

Conversation

@mimugmail
Copy link
Copy Markdown
Member

Currently only supports v4 as it is a base for discussion first.
As discusses with @AdSchellevis we should do this right from the beginning as it interacts with setkey/SPD and IPsec.
The current approach only adds and deletes the line without any flushing. To me this looks ok so far.

Also adding @g-a-c for feedback if interested.

@AdSchellevis AdSchellevis self-assigned this Nov 12, 2021
@AdSchellevis
Copy link
Copy Markdown
Member

@mimugmail if you have the time and spirit to provide a test setup or an easy to install test config, that would be practical. As discussed I do want to dig into the setkey challenge to avoid future hard to fix disappointments in relation to IPsec.

@mimugmail
Copy link
Copy Markdown
Member Author

@AdSchellevis I finished my lab, shall we arrange a teams via IRC the next days as discussed last month (time flies ...)?

@AdSchellevis
Copy link
Copy Markdown
Member

@mimugmail sure, just ping me on irc.

@mmack
Copy link
Copy Markdown

mmack commented Jan 31, 2022

Any update on this?

AdSchellevis added a commit that referenced this pull request Feb 2, 2022
refactor security association handling.
Try to figure out which entries belong to FRR before removing them, so neighbor changes won't be left on the machine after apply.
Flush our desired configuration into /usr/local/etc/frr/sa_policies.conf for easy reading and testing.

Since we don't know if passwords have changed, we will have to drop SA's first. When this is a bit bumpy, we may also try to alter the existing SA's, this shouldn't be too hard to add later on.
@AdSchellevis
Copy link
Copy Markdown
Member

refactored setkey in #2800

AdSchellevis added a commit that referenced this pull request Feb 3, 2022
refactor security association handling.
Try to figure out which entries belong to FRR before removing them, so neighbor changes won't be left on the machine after apply.
Flush our desired configuration into /usr/local/etc/frr/sa_policies.conf for easy reading and testing.

Since we don't know if passwords have changed, we will have to drop SA's first. When this is a bit bumpy, we may also try to alter the existing SA's, this shouldn't be too hard to add later on.
AdSchellevis added a commit that referenced this pull request Feb 3, 2022
Add BGP password support [#2645]

Try to figure out which entries belong to FRR before removing them, so neighbour changes won't be left on the machine after apply.
Flush our desired configuration into /usr/local/etc/frr/sa_policies.conf for easy reading and testing.

Since we don't know if passwords have changed, we will have to drop SA's first. When this is a bit bumpy, we may also try to alter the existing SA's, this shouldn't be too hard to add later on.

Co-authored-by: Michael <m.muenz@gmail.com>
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