Writing filters that change output depending on peer
Alexander Zubkov
green at qrator.net
Sat Sep 13 09:14:33 CEST 2025
Hi Nico,
I remembered some related question around a year ago:
https://trubka.network.cz/pipermail/bird-users/2024-September/017839.html
AFAIK such feature hasn't been implemented yet.
Regards,
Alexander
On Sat, Sep 13, 2025, 00:44 Nico Schottelius via Bird-users <
bird-users at network.cz> wrote:
>
> ... to follow up, from the documentation of bird 2:
>
> string proto
>
> The name of the protocol which the route has been imported
> from. Read-only.
>
> What I am looking for is the opposite:
>
> string proto_to_or_destination_or_better_name
>
> The name of the protocol in which the filter or function is being
> called in. Allows to match on the destination.
>
> Example:
>
> if(proto_to_or_destination_or_better_name = "asn_1" and net ...)
> then accept;
>
> (obviously I made up the above description, but that's exactly what I'm
> looking for).
>
> Still curious on what others think about this.
>
> --
> Sustainable and modern Infrastructures by ungleich.ch
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20250913/4475bd19/attachment.htm>
More information about the Bird-users
mailing list