Re: A processing unit of IP packet

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

 



On Sun, 7 Jan 2001, bo li wrote:

>  I know Linux has implemented the tunnel, with
>ifconfig you can control it, but my boss ask me to
>encapsulate the packet according to the port, I can't
>handle it with ifconfig.

you can implement your own tunnel using a module. if you are
using kernel 2.4.x, your can also use netfilter to deal with
IP packet. have a look at VTun - Virtual Tunnels over TCP/IP
network at
	http://vtun.saol.com/

it might be helpful..

>  And I have a question: how do the packets flow over
>the IP layer? Can I get and modify it in ipip tunnel?
have a look at net/ipv4/ipip.c and ip_gre.c. I think
modify packet in ipip tunnel will require you change
ipip.c.

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[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