Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Oct 2002 10:01:55 -0500
From:      Don Bowman <don@sandvine.com>
To:        'sepehr sohrabi' <sepehr_soh@hotmail.com>, freebsd-net@freebsd.org
Subject:   RE: spoofing source code in kernel
Message-ID:  <FE045D4D9F7AED4CBFF1B3B813C8533701022DA4@mail.sandvine.com>

next in thread | raw e-mail | index | archive | help
From: sepehr sohrabi [mailto:sepehr_soh@hotmail.com]
> 
> Hi list
> Anyone has source code for spoofing (in kernel) for all input 
> Tcp/IP packets 
> .For any TCP/IP packet recieve it creates an ACK for it .
> someThing like spoofing GW
> CLIENT <-----> GW <-------> server
>         connections are spoofed
> THANX

ipfw with a 'fwd' rule will let you do something like this.
Run a user-mode application on port X, then do
ipfw fwd localhost,X tcp from any to any recv myinterface

and any inbound TCP connection will be terminated locally.

--don (don@sandvine.com www.sandvine.com p2p)

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?FE045D4D9F7AED4CBFF1B3B813C8533701022DA4>