Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Apr 1997 10:20:26 -0800 (PST)
From:      Wes Santee <wes@bogon.net>
To:        hackers@freebsd.org
Subject:   Uses for divert sockets?
Message-ID:  <199704041820.KAA19125@lister.bogon.net>

next in thread | raw e-mail | index | archive | help
'Lo all.  I asked this on questions but never received an answer.
Perhaps folks here would know?  If so, please include me in replies as
I'm not quite sophisticated enough with the source to follow this
list (but I'm working on it!). :)  My apologies if this falls under
the 'abuse' category.

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                                                )



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