* Iptables issue with EPSV FTP
@ 2003-11-03 22:45 Matt Kotich
2003-11-03 22:57 ` Jörg Schütter
0 siblings, 1 reply; 5+ messages in thread
From: Matt Kotich @ 2003-11-03 22:45 UTC (permalink / raw)
To: netfilter
Hello,
I'm running into some problems with FTP when I fire up my iptables on
RedHat 7.3.. basically, here's what happens:
220 server.yourhost.com FTP server ready
Name (server.yourhost.com:matt): matt
331 Password required for matt.
Password:
230 User matt logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
500 EPSV not understood
227 Entering Passive Mode (xxx,xxx,xxx,xxx,xxx,xx).
-------System hangs here until I Ctrl+C
This is using the CLI FTP in OS X 10.3 (it was happening since 10.2
also) and we've received reports of it breaking Dreamweaver, also.
Here's the rules that we've set up for this server:
[root@srv08 root]# iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere state
RELATED,ESTABLISHED
ACCEPT tcp -- dns-server1 anywhere tcp dpt:domain
ACCEPT tcp -- dns-server2 anywhere tcp dpt:domain
ACCEPT all -- VLAN1 anywhere
ACCEPT all -- VLAN2 anywhere
ACCEPT tcp -- anywhere anywhere tcp dpt:ftp
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere tcp dpt:http
ACCEPT tcp -- anywhere anywhere tcp
dpt:https
I can't figure out why these would break for just OS X, my only guess
is that it doesn't like the EPSV, however, I thought the "sate
RELATED,ESTABLISHED" would fix that.. i'd even tried adding a rule for
allowing "! --syn" but that didn't help either... Any idea what I could
be doing wrong here?
--
Matt Kotich
Yourhost.com CTO
email: (matt)(at)(yourhost).(com)
phone: 714.842.8511x125
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Iptables issue with EPSV FTP
2003-11-03 22:45 Iptables issue with EPSV FTP Matt Kotich
@ 2003-11-03 22:57 ` Jörg Schütter
2003-11-03 23:10 ` Matt Kotich
0 siblings, 1 reply; 5+ messages in thread
From: Jörg Schütter @ 2003-11-03 22:57 UTC (permalink / raw)
To: netfilter
Hallo Matt,
On Mon, 3 Nov 2003 14:45:17 -0800
Matt Kotich <matt@yourhost.com> wrote:
> Hello,
>
> I'm running into some problems with FTP when I fire up my iptables on
> RedHat 7.3.. basically, here's what happens:
>
> 220 server.yourhost.com FTP server ready
> Name (server.yourhost.com:matt): matt
> 331 Password required for matt.
> Password:
> 230 User matt logged in.
> Remote system type is UNIX.
> Using binary mode to transfer files.
> ftp> ls
> 500 EPSV not understood
> 227 Entering Passive Mode (xxx,xxx,xxx,xxx,xxx,xx).
> -------System hangs here until I Ctrl+C
>
[...]
>
> I can't figure out why these would break for just OS X, my only guess
> is that it doesn't like the EPSV, however, I thought the "sate
> RELATED,ESTABLISHED" would fix that.. i'd even tried adding a rule for
> allowing "! --syn" but that didn't help either... Any idea what I could
> be doing wrong here?
modprobe ip_conntrack_ftp
Jörg
--
Jörg Schütter http://www.lug-untermain.de/
joerg@schuetter.org http://www.schuetter.org/joerg/
ICQ: 298982789 http://mypenguin.bei.t-online.de/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Iptables issue with EPSV FTP
2003-11-03 22:57 ` Jörg Schütter
@ 2003-11-03 23:10 ` Matt Kotich
[not found] ` <3FA6E36C.1020606@Loudoun-Fairfax.com>
2003-11-04 2:23 ` Ted Kaczmarek
0 siblings, 2 replies; 5+ messages in thread
From: Matt Kotich @ 2003-11-03 23:10 UTC (permalink / raw)
To: Jörg Schütter; +Cc: netfilter
[root@server root]# modprobe ip_conntrack_ftp
[root@server root]#
Got nothin'
What should I do now?
PS: This is IPTables 1.2.8-8.72.3 on Linux 2.4.20-20.7smp
--
Matt Kotich
Yourhost.com CTO
email: matt@yourhost.com
phone: 714.842.8511x125
On Nov 3, 2003, at 2:57 PM, Jörg Schütter wrote:
> Hallo Matt,
>
> On Mon, 3 Nov 2003 14:45:17 -0800
> Matt Kotich <matt@yourhost.com> wrote:
>
>> Hello,
>>
>> I'm running into some problems with FTP when I fire up my iptables on
>> RedHat 7.3.. basically, here's what happens:
>>
>> 220 server.yourhost.com FTP server ready
>> Name (server.yourhost.com:matt): matt
>> 331 Password required for matt.
>> Password:
>> 230 User matt logged in.
>> Remote system type is UNIX.
>> Using binary mode to transfer files.
>> ftp> ls
>> 500 EPSV not understood
>> 227 Entering Passive Mode (xxx,xxx,xxx,xxx,xxx,xx).
>> -------System hangs here until I Ctrl+C
>>
> [...]
>>
>> I can't figure out why these would break for just OS X, my only guess
>> is that it doesn't like the EPSV, however, I thought the "sate
>> RELATED,ESTABLISHED" would fix that.. i'd even tried adding a rule for
>> allowing "! --syn" but that didn't help either... Any idea what I
>> could
>> be doing wrong here?
>
> modprobe ip_conntrack_ftp
>
>
> Jörg
>
> --
> Jörg Schütter http://www.lug-untermain.de/
> joerg@schuetter.org http://www.schuetter.org/joerg/
> ICQ: 298982789 http://mypenguin.bei.t-online.de/
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Iptables issue with EPSV FTP
[not found] ` <6D5119D8-0E55-11D8-9512-0050E425B26F@yourhost.com>
@ 2003-11-03 23:41 ` Jeffrey Laramie
0 siblings, 0 replies; 5+ messages in thread
From: Jeffrey Laramie @ 2003-11-03 23:41 UTC (permalink / raw)
To: Matt Kotich, Netfilter Mail List
[-- Attachment #1: Type: text/html, Size: 853 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Iptables issue with EPSV FTP
2003-11-03 23:10 ` Matt Kotich
[not found] ` <3FA6E36C.1020606@Loudoun-Fairfax.com>
@ 2003-11-04 2:23 ` Ted Kaczmarek
1 sibling, 0 replies; 5+ messages in thread
From: Ted Kaczmarek @ 2003-11-04 2:23 UTC (permalink / raw)
To: Matt Kotich; +Cc: Jörg Schütter, netfilter
[-- Attachment #1: Type: text/plain, Size: 291 bytes --]
su -
modprobe ip_conntrack_ftp
lsmod grep fto
Ted
On Mon, 2003-11-03 at 18:10, Matt Kotich wrote:
> [root@server root]# modprobe ip_conntrack_ftp
> [root@server root]#
>
> Got nothin'
>
> What should I do now?
>
> PS: This is IPTables 1.2.8-8.72.3 on Linux 2.4.20-20.7smp
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-11-04 2:23 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-03 22:45 Iptables issue with EPSV FTP Matt Kotich
2003-11-03 22:57 ` Jörg Schütter
2003-11-03 23:10 ` Matt Kotich
[not found] ` <3FA6E36C.1020606@Loudoun-Fairfax.com>
[not found] ` <6D5119D8-0E55-11D8-9512-0050E425B26F@yourhost.com>
2003-11-03 23:41 ` Jeffrey Laramie
2003-11-04 2:23 ` Ted Kaczmarek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox