bgp_next_hop check?

Maria Jan Matějka jan.matejka at
Tue May 29 21:56:38 CEST 2018

On May 29, 2018 8:42:22 PM GMT+02:00, Job Snijders <job at> wrote:
>Dear BIRD devs,
>On I see the
>following curious snippet:
>    function xx()
>    {
>        ...
>        if bgp_next_hop != from then return false;
>        ...
>    }
>What in the above example does "from" mean? Is "from" some kind of
>keyword that expands into something?

Yes. It expands to the author of the route (IP of its sender). Therefore this check is to filter out routes with other next hop than the sender herself as this is probably some scam or misconfiguration.


More information about the Bird-users mailing list