Re: Kernel Modification needed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@freenet.de>
To: <linux-net@vger.kernel.org>
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
>
>
> -
> : send the line "unsubscribe linux-net" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux