vititmani at yahoo.com
Tue Apr 12 12:47:53 CEST 2005
i am doing a project on TCP connection passing.
where the socket is migrated from one server to
the work was actually done by MR. Werner Almesberger.
here tcp connection details of a socket at server 1 is
dumped into file and,
the socket created at second server is set with these
now the packets destined to the first server has to be
redirected to second server. so i thought of using
NAT and studied LVS and found that it is not helping
so i went for iptables.
i need to change the source and destination address of
a packet. so that the packets from the client are
re-routed to second server from first server. at the
first server i want to change src address as first
server and dest address as second server of the packet
with iptables i was able to change the address from
start of the connection. ie only for the connection as
whole. but i want to change address of the packet
sometime after the connection is established.is it
possible to do it and how to do it.
In documentation i found that address translation
can only done for the first packet of the connection
and the following packets of that connection
my question is whether it is possible to do address
translation in the intermediate state of connection.
i added the rule at the middle of the connection but
the address translation did not take place.
please can anyone help me in this
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
More information about the netfilter-devel