if you compare /etc/protocols to the one found at: https://www.iana.org/assignments/protocol-numbers/protocol-numbers.txt some have been deprecated such as 122 (SM) the +# 138-254 # Unassigned is invalid as according to IANA 138-254 are used: 138 manet MANET Protocols [RFC5498] 139 HIP Host Identity Protocol Y [RFC7401] 140 Shim6 Shim6 Protocol Y [RFC5533] 141 WESP Wrapped Encapsulating [RFC5840] Security Payload 142 ROHC Robust Header Compression [RFC5858] 143 Ethernet Ethernet [RFC8986] 144 AGGFRAG AGGFRAG encapsulation [RFC9347] payload for ESP 145 NSH Network Service Header N [RFC9491] 146 Homa Homa N [HomaModule][John_Ousterhout] 147 BIT-EMU Bit-stream Emulation Y [RFC9801] 148-252 Unassigned [Internet_Assigned_Numbers_Authority] 253 Use for experimentation and Y [RFC3692] testing 254 Use for experimentation and Y [RFC3692] testing 255 Reserved [Internet_Assigned_Numbers_Authority] So i think this file should be updated to suite but I do not know the syntax to be used? that should be changed to 148-252 Unassigned or Not used.
I'll take.
See https://reviews.freebsd.org/D57445
Do I have to create an account ?
No, I set the differential as public, so you don't have to create an account.
Login to comment, services should be updated as well im sure a script that fetchs the file from IANA and does some sed magic would prevent this from getting back scattered.
Yes, but for now I'll just update /etc/protocols.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=e3fa020202d8e040242016bda275dde83c058549 commit e3fa020202d8e040242016bda275dde83c058549 Author: Yoshihiro Takahashi <nyan@FreeBSD.org> AuthorDate: 2026-06-05 13:14:06 +0000 Commit: Yoshihiro Takahashi <nyan@FreeBSD.org> CommitDate: 2026-06-05 13:14:06 +0000 protocols: Update with IANA list - Update /etc/protocols with IANA list updated 2026-03-09. - Document that 240 (pfsync) is not assigned by IANA. - Document deprecated protocols. PR: 295739 Reviewed by: des MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D57445 lib/libc/net/protocols | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=d661121660a0862ef8cfe2949b0177f15ca77777 commit d661121660a0862ef8cfe2949b0177f15ca77777 Author: Yoshihiro Takahashi <nyan@FreeBSD.org> AuthorDate: 2026-06-05 13:14:06 +0000 Commit: Yoshihiro Takahashi <nyan@FreeBSD.org> CommitDate: 2026-06-21 10:49:21 +0000 protocols: Update with IANA list - Update /etc/protocols with IANA list updated 2026-03-09. - Document that 240 (pfsync) is not assigned by IANA. - Document deprecated protocols. PR: 295739 Reviewed by: des MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D57445 (cherry picked from commit e3fa020202d8e040242016bda275dde83c058549) lib/libc/net/protocols | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=9f9f0d3d9e1c9c9416b12625d357dd6f80d5f9be commit 9f9f0d3d9e1c9c9416b12625d357dd6f80d5f9be Author: Yoshihiro Takahashi <nyan@FreeBSD.org> AuthorDate: 2026-06-05 13:14:06 +0000 Commit: Yoshihiro Takahashi <nyan@FreeBSD.org> CommitDate: 2026-06-21 10:51:10 +0000 protocols: Update with IANA list - Update /etc/protocols with IANA list updated 2026-03-09. - Document that 240 (pfsync) is not assigned by IANA. - Document deprecated protocols. PR: 295739 Reviewed by: des MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D57445 (cherry picked from commit e3fa020202d8e040242016bda275dde83c058549) lib/libc/net/protocols | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-)