Re: Defines for mixed IPv6/IPv4

2024-01-23 Thread Luiz Amaral
Hello Nico, I make separate defines per family (like you did) and then in my filters I just use:     if (net.type = NET_IP4 && ! (net ~ ASxxx_IPV4)) then reject;     if (net.type = NET_IP6 && ! (net ~ ASxxx_IPV6)) then reject; Best, Luiz On 23/01/2024 14:13, Nico Schottelius via Bird-users wr

Re: [PATCH] IPv4 over IPv6 nexthop support on FreeBSD

2023-06-14 Thread Luiz Amaral
Hello, I did not find any other patch (for Netlink) in that thread, but i could try to hack it myself. Here is the patch as an attachment. Luizdiff --git a/sysdep/linux/netlink.c b/sysdep/linux/netlink.c index 7f0d4736..e3298a0f 100644 --- a/sysdep/linux/netlink.c +++ b/sysdep/linux/netlink.c @

Re: [PATCH] IPv4 over IPv6 nexthop support on FreeBSD

2023-04-20 Thread Luiz Amaral
ote: On Mon, Apr 17, 2023 at 04:46:13PM +0200, Luiz Amaral wrote: Hello Ondrej, Did you have a chance to check out the patch? I am happy to adjust it if needed. Hello Thanks for a notice, i just merged that (with minor modification): https://gitlab.nic.cz/labs/bird/-/commit/d61505b039bf0aa6697e28b

Re: [PATCH] IPv4 over IPv6 nexthop support on FreeBSD

2023-04-20 Thread Luiz Amaral
On 17/04/2023 17.12, Marek Zarychta wrote: Hello Luiz, have you tried netlink flavour of BIRD ? It requires FreeBSD 13.2, but should work out of the box in such a setup, I have not tested though. Hello Marek, I tried the netlink version and while the export of routes to the kernel worked fi

Re: [PATCH] IPv4 over IPv6 nexthop support on FreeBSD

2023-04-17 Thread Luiz Amaral
Hello Ondrej, Did you have a chance to check out the patch? I am happy to adjust it if needed. Luiz On 20/02/2023 04.33, Ondrej Zajicek wrote: On Sat, Feb 18, 2023 at 03:41:31PM +0100, Luiz Amaral wrote: Hello, While experimenting in FreeBSD 13.1 with IPv4 over IPv6 nexthop routes, I

[PATCH] IPv4 over IPv6 nexthop support on FreeBSD

2023-02-18 Thread Luiz Amaral
Hello, While experimenting in FreeBSD 13.1 with IPv4 over IPv6 nexthop routes, I realized that BIRD was unable to read routes from the kernel as well as export routes to the kernel. The support for it was implemented in FreeBSD 13.1 [1]. I have attached a patch that made it work for me on Fr

[PATCH] RPKI: Display cache server port on show protocol

2022-05-09 Thread Luiz Amaral
uiz commit b441e62811e64703f0846693795e09075e26010f Author: Luiz Amaral Date: Mon May 9 20:06:30 2022 +0200 RPKI: Display cache server port on show protocol diff --git a/proto/rpki/rpki.c b/proto/rpki/rpki.c index ab0837f3..338877e7 100644 --- a/proto/rpki/rpki.c +++ b/proto/rpki/rpki.c @@ -83

[PATCH] RPKI: Implement VRF support

2022-05-09 Thread Luiz Amaral
Hello, I made a small patch that adds VRF support to the RPKI protocol. I did some basic testing with and without VRF and it worked as expected. Please let me know if I missed anything. Thanks, Luiz commit 62b52fe465896991a70ea267db3b4b36faed8f28 Author: Luiz Amaral Date: Mon May 9 20:06:08

Route export problem with FreeBSD 13.0

2021-08-28 Thread Luiz Amaral
Hello guys, After upgrading one of my hosts from FreeBSD 12.2 to FreeBSD 13.0, I started noticing a problem when exporting routes to the KRT. My logs were getting flooded with "kernel: gw sdl_len too small". This message comes from cleanup_xaddrs_gateway() in sys/net/rtsock.c of releng/13.0, so I