Re: git: f9a0147ee56e - main - protocols: remove IPPROTO_DIVERT

From: Shawn Webb <shawn.webb_at_hardenedbsd.org>
Date: Mon, 29 Jun 2026 22:54:17 UTC
On Mon, Jun 29, 2026 at 03:51:43PM -0700, Gleb Smirnoff wrote:
> On Mon, Jun 29, 2026 at 10:49:20PM +0000, Shawn Webb wrote:
> S> > commit f9a0147ee56e002fe31f155dcb2a7042f5b20a7e
> S> > Author:     Gleb Smirnoff <glebius@FreeBSD.org>
> S> > AuthorDate: 2026-06-29 20:14:00 +0000
> S> > Commit:     Gleb Smirnoff <glebius@FreeBSD.org>
> S> > CommitDate: 2026-06-29 20:20:02 +0000
> S> 
> S> Hey Gleb,
> S> 
> S> I'm reminded of my days in high school writing code making use of
> S> divert(4) sockets. It has been a long while since I've had that kind
> S> of fun. What do folks use today instead of divert(4) sockets? [Simple]
> S> pf rdr rules (which is what I use for transparent Tor proxying)?
> 
> The divert(4) is still there and actively used.  It is pseudo IP
> protocol that goes away.

Ah, sorry I misunderstood the commit, then. Still was a bit of fun
nostalgia. :-)

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