Skip to contentSkip to conversation

active ftp & connection tracking ?

LARTC raptor 2 participants 3 messages May 6, 2003 – May 7, 2003

lore
Share & tools
lore

raptor

author
#0 lore raw

this :
iptables -A FORWARD -i internal-interface -j ACCEPT iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A FORWARD -j DROP

doesn't seem to work for active-ftp .. i even manualy loaded ip_conntrack_ftp but as u see it is unused :

 # lsmod
Module                  Size  Used by    Not tainted
ip_conntrack_ftp        4272   0  (unused)
iptable_nat            17468   0  (autoclean) (unused)
ipt_state                568   3  (autoclean)
ip_conntrack           20616   3  (autoclean) [ip_conntrack_ftp iptable_nat ipt_state]
ipt_LOG                 3352   1  (autoclean)
ipt_limit               1016   1  (autoclean)
iptable_filter          1708   1  (autoclean)
ip_tables              12408   7  [iptable_nat ipt_state ipt_LOG ipt_limit iptable_filter]
......

any idea why it doesn work...
passive-ftp is ok.
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#2 lore raw
In reply to raptor

Hi,

Quoted 11 lines
# lsmod
Module                  Size  Used by    Not tainted
ip_conntrack_ftp        4272   0  (unused)
iptable_nat            17468   0  (autoclean) (unused)
ipt_state                568   3  (autoclean)
ip_conntrack           20616   3  (autoclean) [ip_conntrack_ftp iptable_nat ipt_state]
ipt_LOG                 3352   1  (autoclean)
ipt_limit               1016   1  (autoclean)
iptable_filter          1708   1  (autoclean)
ip_tables              12408   7  [iptable_nat ipt_state ipt_LOG ipt_limit iptable_filter]

If you use nat try to load ip_nat_ftp.

cu thomas

Quoted 11 lines

......

any idea why it doesn work...
passive-ftp is ok.
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Signature · 9 lines
Thomas Braun                  WESTEND GmbH  |  Internet-Business-Provider
Technik                       CISCO Systems Partner - Authorized Reseller
                              Lütticher Straße 10      Tel 0241/701333-17
[email protected]                D-52064 Aachen              Fax 0241/911879


_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/