From owner-freebsd-questions Mon Mar 31 20:30:04 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA08042 for questions-outgoing; Mon, 31 Mar 1997 20:30:04 -0800 (PST) Received: from lister.bogon.net (0@gw.bogon.net [204.137.132.49]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA08005 for ; Mon, 31 Mar 1997 20:29:59 -0800 (PST) Received: from kryten.bogon.net (500@kryten.bogon.net [204.137.132.58]) by lister.bogon.net (8.8.5/8.8.3) with ESMTP id UAA10786 for ; Mon, 31 Mar 1997 20:29:54 -0800 (PST) From: Wes Santee Received: (from wes@localhost) by kryten.bogon.net (8.8.5/8.8.3) id UAA02319 for questions@freebsd.org; Mon, 31 Mar 1997 20:29:52 -0800 (PST) Message-Id: <199704010429.UAA02319@kryten.bogon.net> Subject: Uses for divert sockets? To: questions@freebsd.org Date: Mon, 31 Mar 1997 20:29:51 -0800 (PST) X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 'Lo all. The new ipdivert sockets in 2.2 sound great, but I'm not quite sure just what I can accomplish with them outside of address translation. Is it just for packet altering, or can entire connections be redirected? For example, let's say I want some incomming connections to port 25 to be diverted to another "special" MTA running on another port (to deal with known spam sites "properly", for instance). Is it possible using divert and ipfw to do this? Or is divert pretty much only for dealing with raw IP packets that get injected back into the stream to end up at their intended destination? If divert sockets aren't capable of doing this, is there any other mechanism available to perform these kinds of tasks? Cheers, -- ( Wes Santee PGP: e-mail w/Subject: "Send PGP Key" ) ( mailto:wes@bogon.net )