Re: git: f9a0147ee56e - main - protocols: remove IPPROTO_DIVERT
- Reply: Gleb Smirnoff : "Re: git: f9a0147ee56e - main - protocols: remove IPPROTO_DIVERT"
- Reply: Gleb Smirnoff : "Re: git: f9a0147ee56e - main - protocols: remove IPPROTO_DIVERT"
- In reply to: Gleb Smirnoff : "git: f9a0147ee56e - main - protocols: remove IPPROTO_DIVERT"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 11 Oct 2026 16:03:30 UTC
On Mon, Jun 29, 2026 at 08:20:28PM +0000, Gleb Smirnoff wrote: > The branch main has been updated by glebius: > > URL: https://cgit.FreeBSD.org/src/commit/?id=f9a0147ee56e002fe31f155dcb2a7042f5b20a7e > > commit f9a0147ee56e002fe31f155dcb2a7042f5b20a7e > Author: Gleb Smirnoff <glebius@FreeBSD.org> > AuthorDate: 2026-06-29 20:14:00 +0000 > Commit: Gleb Smirnoff <glebius@FreeBSD.org> > CommitDate: 2026-06-29 20:20:02 +0000 > > protocols: remove IPPROTO_DIVERT > --- > lib/libc/net/protocols | 1 - > sys/netinet/in.h | 3 --- > 2 files changed, 4 deletions(-) > > diff --git a/lib/libc/net/protocols b/lib/libc/net/protocols > index 6fa47a5e3590..52a0dfe31a17 100644 > --- a/lib/libc/net/protocols > +++ b/lib/libc/net/protocols > @@ -156,4 +156,3 @@ bit-emu 147 BIT-EMU # Bit-stream Emulation (RFC9801) > pfsync 240 PFSYNC # PF Synchronization [non IANA] > # 253-254 # Use for experimentation and testing (RFC3692) > # 255 # Reserved > -divert 258 DIVERT # Divert pseudo-protocol [non IANA] > diff --git a/sys/netinet/in.h b/sys/netinet/in.h > index fc30228422f3..94f4bb682489 100644 > --- a/sys/netinet/in.h > +++ b/sys/netinet/in.h > @@ -248,15 +248,12 @@ __END_DECLS > #define IPPROTO_RESERVED_253 253 /* Reserved */ > #define IPPROTO_RESERVED_254 254 /* Reserved */ > /* 255: Reserved */ > -/* BSD Private, local use, namespace incursion, no longer used */ > -#define IPPROTO_OLD_DIVERT 254 /* OLD divert pseudo-proto */ > #define IPPROTO_MAX 256 > > /* last return value of *_input(), meaning "all job for this pkt is done". */ > #define IPPROTO_DONE 257 > > /* Only used internally, so can be outside the range of valid IP protocols. */ > -#define IPPROTO_DIVERT 258 /* divert pseudo-protocol */ Hey Gleb, This breaks net/norm: https://hbsd-pkg-current-01.hardenedbsd.org/data/current-default/2026-10-10_13h14m43s/logs/errors/norm-1.5.9.log Breaking net/norm means that over 100 ports, including libzmq4, are skipped. Thanks, -- Shawn Webb Cofounder / Security Engineer HardenedBSD Signal Username: shawn_webb.74 Tor-ified Signal: +1 (719) 756-1197 / activist_opsec.27 https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc