Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Apr 2002 22:25:55 -0600
From:      "Matthew D. Fuller" <fullermd@over-yonder.net>
To:        Nick Rogness <nick@rogness.net>
Cc:        Alex Rousskov <rousskov@measurement-factory.com>, freebsd-net@FreeBSD.ORG
Subject:   Re: Forcing packets to the wire
Message-ID:  <20020405222555.C65380@over-yonder.net>
In-Reply-To: <Pine.BSF.4.21.0204051826180.95757-100000@cody.jharris.com>; from nick@rogness.net on Fri, Apr 05, 2002 at 06:48:09PM -0600
References:  <Pine.BSF.4.10.10204051543440.54230-100000@measurement-factory.com> <Pine.BSF.4.21.0204051826180.95757-100000@cody.jharris.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 05, 2002 at 06:48:09PM -0600 I heard the voice of
Nick Rogness, and lo! it spake thus:
> On Fri, 5 Apr 2002, Alex Rousskov wrote:
> >
> > 	- Is it possible without kernel modifications? How?
> 
> 	AFAIK, No.  Your only 2 possiblities that I could think of would
> 	be to use policy routing or natd.  Both will fail in this case.

You MIGHT be able to use ipfw divert/pipe rules to somehow shove the
packets into a program on their way out, and write a program that would
use raw sockets to hand-assemble the IP datagram on the way out; I'm not
sure if the kernel would try to outsmart you on that.


-- 
Matthew Fuller     (MF4839)     |    fullermd@over-yonder.net
Unix Systems Administrator      |    fullermd@futuresouth.com
Specializing in FreeBSD         |    http://www.over-yonder.net/

"The only reason I'm burning my candle at both ends, is because I
      haven't figured out how to light the middle yet"

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




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