lkml.org 
[lkml]   [1997]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [2.1.4x] Patch for IPIP/Tunnel
Hi,

> It is wrong. skb->nh.iph->daddr has nothing to do with tunnel.
> It is destination address of initial packet, that can be everywhere
> on the Internet.
> If you changed in tunnel.c dev to tdev, just delete ip_dev_find_tunnel
> and use skb->dev instead.

Another question: Is there any chance to get the current IPIP code
to act as a generic (i.e., not restricted to a particular source address)
decapsulator? I needed such setup (of course restricted by firewalling
rules) in some cases, but I wasn't able to figure out how to set it up.

Have a nice fortnight
--
Martin `MJ' Mares <mj@gts.cz> http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"God doesn't play dice." -- Albert Einstein

\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.214 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site