Skip to contentSkip to conversation

Problems with un-masqueraded packets

DISCUSSION Eduard Calvo (B-teljpa) EXP JAN 03 1 participant 1 message Dec 12, 2002 netfilter

lore
Share & tools
lore
#0 lore raw

Hi gurus!

I have made a ip queue handler wich is capable to do SNAT before routing
with the forwarded packets. In POSTROUTING, I do MASQUERADING over the nat'ed addresses. Could someone tell me the way the un-masked paquets traverse the netfilter hooks and when their source addres is changed? My box is doing something strange because it does not replace the source address with the address the packet has when it was masqued ( I mean, the address I put by force ); it replace the address with the ORIGINAL address the packet has ( before I changed it). This surprise me a lot. I want to do a tracking of the packet through my box, but I do not understant the way it goes.

Do you have any idea?
Thanks in advanced.

Eduard.

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/