netdev
[Top] [All Lists]

SNAT help

To: net dev <netdev@xxxxxxxxxxx>
Subject: SNAT help
From: cranium2003 <cranium2003@xxxxxxxxx>
Date: Mon, 9 May 2005 01:31:13 -0700 (PDT)
Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=kEa/JnfywPmXcFrx6/NuSgqs7PZVAvvA7/SAwuLzCY27HvHlTst7eNbSysjJfTDyLxz+vWKAa1ZABG/Sn1ZNwz/NUCG634IrClPV2Ys/UNJ+ciRbTQp4t5ytoz3hyxUxNAfgq05vhwEkXI3XZ1465jNmXfG9513bC9H+2CcDcQg= ;
Sender: netdev-bounce@xxxxxxxxxxx
hello,
         I want to execute my code at
NF_IP_POST_ROUTING. For that First i want to know
which functions are executing at NF_IP_POST_ROUTING
Hook. Then i have enabled SNAT and I have wrriten code
at NF_IP_POST_ROUTING but i want to get outgoing
packets' IP address as new one SNAT'ed IP address not
the one that is before SNAT? How can i do that?
         I observe that my code and SNAT are executing
at same HOOK NF_IP_POST_ROUTING. But my code is
executed first and then SNAT is doen but how to
reverse that?
regards,
cranium


                
Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html


<Prev in Thread] Current Thread [Next in Thread>