Re: Questions about IPIP tunnel

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

 



[ recipient list trimmed ]

On Mon Aug 28 2000 at 19:21, "Park, Hyun Seo" wrote:

> Hello All ...
> Nice to meet you ...
> Anyway,
> I am a graduate student in Korea ...
> I have a question about "new_tunnel.c" for IPIP Encapsulation tunnel on Linux ...
> I am using "new_tunnel" for Mobile IP ...
> I want to know about ~
> 
>     When a packet is tunneled by tunnel interface, e.q tunl0 ,
>     I want to process that packet ...
>     For example, I want to count the number of packets tunneled by tunl0
>     with less overhead ....

Set up a packet counting rule for one of the ends of your tunnel
(eg, tunl0) with /sbin/ipchains, then to see the traffic counts:

	/sbin/ipchains -nvL

>     I mean by "less overhead",
>         "I do not want to check all packets received by my host and
>         see through IP header of those packets for IP address of destination
>         (e.q. by SOCK_PACKET)

Let the kernel do that (with ipchains.  Or netfilter with /sbin/ip
for the 2.2.x and 2.4.x kernels).

>         And If possible, I do not want to always check tunl0 to do it
>         ...."

> --------------------------------------
> Park, Hyun Seo
> Graduate Student
> Department of Computer Engineering, Chungnam National University
> 220 Gung-dong,YuSeong-Gu, Taejon, 305764, Korea
> E-mail: hspark@ce.cnu.ac.kr
> ICQ # : 28055093
> Phone : +82-42-823-6049

Cheers
Tony
-
: 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