29 Oct
2003
29 Oct
'03
1:41 p.m.
Hi, KOVACS Krisztian wrote:
I then call the IP_TPROXY_FLAGS socket option using the ITP_CONNECT flag. Finally, I connect this socket with the original remote machine (same IP and same port as in the incoming packet).
Oh, one possible problem: you _have_to_ connect() the socket to the original remote end _before_ setting the tproxy flags.
And you have to specify ITP_ESTABLISHED instead of ITP_CONNECT... -- Regards, Krisztian KOVACS