Re: git: f9a0147ee56e - main - protocols: remove IPPROTO_DIVERT
Date: Mon, 29 Jun 2026 22:51:43 UTC
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