netdev
[Top] [All Lists]

[2.4/2.6] ip_nat_ftp - manip at the right place

To: coreteam@xxxxxxxxxxxxx
Subject: [2.4/2.6] ip_nat_ftp - manip at the right place
From: Julian Anastasov <ja@xxxxxx>
Date: Sat, 17 Apr 2004 16:26:09 +0300 (EEST)
Cc: netfilter-devel@xxxxxxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
        Hello,

        The attached patch changes the way the ip_nat_ftp helper
manipulates the packets:

- no manips => no fixup
- check the direction, do manip once and at the same time when the
headers are changed

        This is needed mostly for IPVS setups and I hope we do not
create troubles for other setups or FTP software.

        I'm not sure whether proper locking for 'info' is needed,
may be not. Tested for SNAT, DNAT, passive, active.

Regards

--
Julian Anastasov <ja@xxxxxx>

Attachment: nat_ftp-1.diff
Description: ip_nat_ftp - change manip

<Prev in Thread] Current Thread [Next in Thread>
  • [2.4/2.6] ip_nat_ftp - manip at the right place, Julian Anastasov <=