Re: duplicate packet using divert
- From: Stephen Clark <Stephen.Clark@xxxxxxxxxx>
- Date: Wed, 23 Jan 2008 09:52:12 -0500
Stephen Clark wrote:
Chuck Swiger wrote:Hi Chuck,On Jan 22, 2008, at 1:44 PM, Stephen Clark wrote:Thanks Chuck - I have been thinking the same thing - just thought someone may have alreadydoes anyone have a program that uses the divert socket to duplicate an incoming packet so it can be
sent to another address.
Well, I assume you could start with the ipfw "tee" directive and /usr/src/sbin/natd ...?
done this.
Steve
ipfw add 50 tee natd udp from any to 20.x.x.120 dst-port 14050 in
natd -verbose -a 20.x.x.120 -redirect_address 10.0.129.101 20.x.x.120
this seems to do the trick.
Steve
--
"They that give up essential liberty to obtain temporary safety, deserve neither liberty nor safety." (Ben Franklin)
"The course of history shows that as a government grows, liberty decreases." (Thomas Jefferson)
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"
- References:
- duplicate packet using divert
- From: Stephen Clark
- Re: duplicate packet using divert
- From: Chuck Swiger
- Re: duplicate packet using divert
- From: Stephen Clark
- duplicate packet using divert
- Prev by Date: ypxfr: call to rpc.ypxfrd failed: RPC: Timed out
- Next by Date: Re: kern/112654: [pcn] Kernel panic upon if_pcn module load on a Netfinity 5000
- Previous by thread: Re: duplicate packet using divert
- Next by thread: ypxfr: call to rpc.ypxfrd failed: RPC: Timed out
- Index(es):
Relevant Pages
|
|