Messages in this thread |  | | Date | Fri, 4 May 2001 23:40:37 +0200 | From | bert hubert <> | Subject | Re: Sending packets from within the kernel |
| |
On Fri, May 04, 2001 at 02:09:16PM -0700, bp@terran.org wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello, > > I am working on an kernel module which forwards TCP segments from one > interface to another (basic routing, no proxy or listener socket), but > which needs to be able to generate some segments completely independently > of the client<-->server data stream. For example, when receiving a SYN > segment from the client, I want the module to be able to respond itself > with a SYN+ACK on behalf of the server (and drop the SYN).
The iptables MIRROR target does some stuff you might be able to use.
-- http://www.PowerDNS.com Versatile DNS Services Trilab The Technology People 'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |