Exa-Networks / exabgp

The BGP swiss army knife of networking
Other
2.09k stars 448 forks source link

Exporting a blacklist example similar to exabgp-edgerouter #1228

Closed elico closed 3 months ago

elico commented 3 months ago

Is your feature request related to a problem? Please describe. I want to be able to use exabgp as a blackholing peer. There is an option to blackhole traffic in FRR and other routing daemons like the example with VyOS:

One old solution I have seen is:

Describe the solution you'd like I would like to write a new implementation as an example for such a function.

Describe alternatives you've considered Adding manually the routes into FRR via a FRR script based on the plain text blacklist files.

thomas-mangin commented 3 months ago

There was a PR proposed to show how to do it and it was merged.

elico commented 3 months ago

@thomas-mangin How can I find it?

I managed to make it work eventually manually but now I am facing another issue with Mikrotik RouterOS. I will investigate the RouterOS issue later on.

thomas-mangin commented 3 months ago

https://github.com/Exa-Networks/exabgp/commit/68230ef80cb01167081da7c2f9ad7a5b7b071bc2

elico commented 3 months ago

Thanks!

@thomas-mangin I managed to make this work and it seems to work as expected but now I have the issue with Mikrotik RouterOS.

I am unsure how to configure the RouterOS BGP connection/session. From A RouterOS device to RouterOS device I am able to create a BGP session but not between exabgp to a RouterOS device.

For now I will close the issue and will open another one about Mikrotik RouterOS