[mpls-linux-devel] About mpls-packet to ip-packet process
Status: Beta
Brought to you by:
jleu
From: 刘磊 <orp...@ms...> - 2008-04-30 03:57:03
|
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/ |