Summary: | net/bird2: gw sdl_len too small | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | greif <greif> | ||||
Component: | Individual Port(s) | Assignee: | Olivier Cochard <olivier> | ||||
Status: | Closed Overcome By Events | ||||||
Severity: | Affects Many People | CC: | ai, benoitc, href, melifaro, peter.sopko+freebsd.org, stefan+freebsd | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(olivier) |
||||
Version: | Latest | ||||||
Hardware: | amd64 | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
greif
2021-04-15 11:03:48 UTC
Hi, this was fixed here (on -head): https://cgit.freebsd.org/src/commit/?id=7f5f3fcc32bfa553faa007579dfcaed84be3b047 But indeed it need to be MFC to 13.0-RELEASE Created attachment 224258 [details]
Workaround for stricter sockaddr_dl checks on FBSD 13
(I already wrote this in a private mail to the maintainer. Found this bug report only afterwards.)
I fixed the problem by adapting the BSD routing table code in bird. You might give the attached patch a try.
A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=de703e98e6c863874aa6012e3ce1a61eee58c846 commit de703e98e6c863874aa6012e3ce1a61eee58c846 Author: Alexander V. Chernikov <melifaro@FreeBSD.org> AuthorDate: 2021-04-10 15:25:24 +0000 Commit: Alexander V. Chernikov <melifaro@FreeBSD.org> CommitDate: 2021-04-19 18:52:57 +0000 Fix direct route installation with net/bird. Slighly relax the gateway validation rules imposed by the 2fe5a79425c7, by requiring only first 8 bytes (everyhing before sdl_data to be present in the AF_LINK gateway. Reported by: olivier PR: 255089 (cherry picked from commit 7f5f3fcc32bfa553faa007579dfcaed84be3b047) sys/net/rtsock.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) anyone has any idea when the fix that has been sitting in 13-STABLE for 3 months already is gonna make it 13-RELEASE ? 😇 agree it would be really useful... when can we expect to be merged in latest FreeBSD 13 ? Would be good to not have to patch it .. It’s in stable/13 since April last year. A bit too much changes to merge to 13.0, unfortunately. Do you confirm this problem was no more in 13.1 ? Since upgrading to FreeBSD 13.1 the problem does not occur anymore with stock bird2 (from ports/pkg). The bug can be marked as resolved. |