Restart OpenBGPD on Firewalll reload?
-
Is any way to have OpenBGPD restart automatically after the firewall rules are reloaded?
I have a alias/table of blocked IPs that contains addresses sent from an OpenBGPD neighbor.
Whenever I make changes to firewall rules and the firewall is reloaded, the table is cleared and I have to manually restart OpenBGPD to re-populate it from the neighbor.
I know this kind of table maintenance is not the core function of OpenBGPD but thought I'd ask.
-
The afterfilterchangeshellcmd option of shellcmd package was the way to do it.
Many thanks to "Kill Bill".