みよし です。 Nst <nst...@gmail.com> writes: > syslogを見たところ以下のようなエラーが発生しています > --- syslog --- > Apr 22 18:20:29 host1 routed[554]: write(rt_sock) RTM_ADD 10.0.0.0 > (mask 0xffff0000)-->192.168.0.XXX metric=1 flags=0x2: Invalid argument > Apr 22 18:20:29 host1 kernel: mask sin_len too small > --- > > 少し検索したところ以下を見つけました > https://lists.freebsd.org/pipermail/dev-commits-src-branches/2021-March/001341.html > これの影響なのでしょうか?
Bug 255273 辺りで報告があって、main ブランチ (current) では ====================================================================== commit b31fbebeb3d59af359a3417cddfbcf666b2c56c9 Author: Alexander V. Chernikov <melif...@freebsd.org> Date: Mon Apr 19 20:49:18 2021 +0000 Relax rtsock message restrictions. Address multiple issues with strict rtsock message validation. D28668 "normalisation" approach was based on the assumption that we always have at least "standard" sockaddr len. It turned out to be false - certain older applications like quagga or routed abuse sin[6]_len field and set it to the offset to the first fully-zero bit in the mask. It is impossible to normalise such sockaddrs without reallocation. With that in mind, change the approach to use a distinct memory buffer for the altered sockaddrs. This allows supporting the older software while maintaining the guarantee on the "standard" sockaddrs. PR: 255273,255089 Differential Revision: https://reviews.freebsd.org/D29826 MFC after: 3 days ====================================================================== で既に修正が入っているようです。これがマージされれば直りそうな気がします。 -- 三好勝幸 (Katsuyuki Miyoshi) _______________________________________________ freebsd-users-jp@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-users-jp To unsubscribe, send any mail to "freebsd-users-jp-unsubscr...@freebsd.org"