Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jun 2026 15:51:43 -0700
From:      Gleb Smirnoff <glebius@freebsd.org>
To:        Shawn Webb <shawn.webb@hardenedbsd.org>
Cc:        src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org
Subject:   Re: git: f9a0147ee56e - main - protocols: remove IPPROTO_DIVERT
Message-ID:  <akL2_8ZnhCSqyko3@cell.glebi.us>
In-Reply-To: <tv76zceus3czqthkqrc5nys4urt5i4ljvdrh6wpuaupxp2baiy@ze2b2o54xo2y>
References:  <6a42d38c.276c8.7748f48e@gitrepo.freebsd.org> <tv76zceus3czqthkqrc5nys4urt5i4ljvdrh6wpuaupxp2baiy@ze2b2o54xo2y>

index | next in thread | previous in thread | raw e-mail

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.

-- 
Gleb Smirnoff


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?akL2_8ZnhCSqyko3>