Re: Kernel Modification needed
From: Thomas Fleury (thomas.fleury@elsys-design.com)
Date: Wed Sep 17 2003 - 03:48:05 EST
Hi,
I think you could implement a kernel module that registers a netfilter hook.
Your hook would capture TCP packets and send those packets via the NIC.
I suggest you have a look at http://www.netfilter.org.
Thomas.
----- Original Message -----
From: "Dennis Dungs" <Dennis.Dungs@xxxxxxxxxx>
To: <linux-net@xxxxxxxxxxxxxxx>
Sent: Tuesday, September 16, 2003 7:31 PM
Subject: Kernel Modification needed
> Hi,
>
> I'm newbie in Kernel programming and this mailing list, so forgive me
asking
> and some probably stupid question or statements.
> I want to experiment with some sort of TCP Proxy, which will implement a
> kind of Snoop Protocol to empower the wireless link for some percent ;-).
> I thought, if its possible to write just a user-program to implement this
> functionality. I looked a the code of the pcap library to capture packets,
> but couldn't find any kind of counterpart to send packets via the NIC. So
I
> have to change the current TCP implementation. Am I right or have just
> something not considered/overlooked. Anyway, I think such a solution
> wouldn't be very efficient.
> Can you think perhaps of another solution?
>
> Thanks in advance,
> Dennis
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html