plugins icon indicating copy to clipboard operation
plugins copied to clipboard

FRR: Route-Maps: Allow matching on Peer IP

Open boomer41 opened this issue 2 years ago • 2 comments

Important notices Before you add a new report, we ask you kindly to acknowledge the following:

  • [X] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
  • [X] I have searched the existing issues, open and closed, and I'm convinced that mine is new.
  • [X] When the request is meant for an existing plugin, I've added its name to the title.

Is your feature request related to a problem? Please describe. In FRR, route maps allow matching on the BGP peer's IP address using the "match peer" family of commands. This is not supported in OPNsense and makes matching on a very specific peer very hard. See https://docs.frrouting.org/en/latest/routemap.html

Describe the solution you'd like An option to match on the peer's IPv4/v6 address

Describe alternatives you've considered In my use case, i can do a workaround. But this is an ugly hack.

boomer41 avatar Aug 28 '22 18:08 boomer41

So when we add a HostnameField below Community where you can enter a v4/v6 Address (one) this should be fine? image

mimugmail avatar Aug 29 '22 06:08 mimugmail

In theory, yes.

But I have another idea: As the Set-Command is a completely free text already, maybe we could add a free text for "match"-commands, too? This way, we could use all match commands without having explicit support for the GUI.

See #3100 - I asked over there to allow multiple set commands per entry. Maybe the same principle could be added here, too.

boomer41 avatar Aug 29 '22 07:08 boomer41

This issue has been automatically timed-out (after 180 days of inactivity).

For more information about the policies for this repository, please read https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md for further details.

If someone wants to step up and work on this issue, just let us know, so we can reopen the issue and assign an owner to it.

OPNsense-bot avatar Feb 24 '23 18:02 OPNsense-bot