[ 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
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:31 EST