Re: [mpls-linux-devel] About mpls-packet to ip-packet process
Status: Beta
Brought to you by:
jleu
From: James R. L. <jl...@mi...> - 2008-05-01 02:16:31
|
Hmm. I think you are looking at the PHP code. Take a look at the 'deliver' instruction. It will show you that packets destined from IPv4 may be configured to go through 'ip_rcv' which will result in the packet travesing all of the IPv4 netfilter hooks. On Wed, Apr 30, 2008 at 03:56:51AM +0000, =?GB2312?B?wfXA2iA8b3JwaGVuX2xlaWxpdUBtc24uY29tPg==?= wrote: > > Hi all: > I found that the packet which from ip stack to mpls stack in the ip_finish_output2 had passed POSTROUTING hook in netfilter. > BUT the packet from mpls stack to ip stack just use neighbour->output, which NOT hook in PREROUTING in netfilter. > > In this way, if I do SNAT for ip packet and send into mpls stack, will NOT do Un-SNAT for the reply packet. > > Is my understand right? How to solved it? > _________________________________________________________________ > 用手机MSN聊天写邮件看空间,无限沟通,分享精彩! > http://mobile.msn.com.cn/ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > mpls-linux-devel mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-devel -- James R. Leu jl...@mi... |