Hello, I been trying to configure SuSefirewall2 and pure-ftpd to work together. When I have the firewall off I can ftp to the server and everything works as plan. When I activate SuSefirewall2 I can ftp in and authenticate but when I do any commands, say for example cd or ls, it says: Remote system type is UNIX. Using binary mode to transfer files. ftp> ls 229 Extended Passive mode OK (|||11162| At this point it freezes and I have to do a ctrl+c to exit the activity. Any thoughts on why this is happening. Thanks ahead of time. -- Bob Barish B.M.T Solutions http://www.bmtsolutions.com 4:10pm up 1 day, 1:14, 5 users, load average: 0.00, 0.01, 0.02
On Sunday 30 June 2002 01.16, bob barish wrote:
Hello, I been trying to configure SuSefirewall2 and pure-ftpd to work together. When I have the firewall off I can ftp to the server and everything works as plan. When I activate SuSefirewall2 I can ftp in and authenticate but when I do any commands, say for example cd or ls, it says: Remote system type is UNIX. Using binary mode to transfer files. ftp> ls 229 Extended Passive mode OK (|||11162| At this point it freezes and I have to do a ctrl+c to exit the activity. Any thoughts on why this is happening.
Thanks ahead of time.
It's happening because in passive mode you need to open up high ports on the server. In the firewall config file set FW_ALLOW_INCOMING_HIGHPORTS_TCP to "yes" regards Anders -- `When I use a word,' Humpty Dumpty said in rather a scornful tone, `it means just what I choose it to mean -- neither more nor less.'
On Saturday 29 June 2002 17:03, Anders Johansson wrote:
On Sunday 30 June 2002 01.16, bob barish wrote:
Hello, I been trying to configure SuSefirewall2 and pure-ftpd to work together. When I have the firewall off I can ftp to the server and everything works as plan. When I activate SuSefirewall2 I can ftp in and authenticate but when I do any commands, say for example cd or ls, it says: Remote system type is UNIX. Using binary mode to transfer files. ftp> ls 229 Extended Passive mode OK (|||11162| At this point it freezes and I have to do a ctrl+c to exit the activity. Any thoughts on why this is happening.
Thanks ahead of time.
It's happening because in passive mode you need to open up high ports on the server. In the firewall config file set FW_ALLOW_INCOMING_HIGHPORTS_TCP to "yes"
regards Anders
Thank you very much for the help guys. I manually went in and change the config file in /etc/sysconfig/SuSEfirewall2. I put FW_ALLOW_INCOMING_HIGHPORTS_TCP ="yes" as Anders suggested and it is working great. I have one question if you do not mind where can I get an explanation or how passive mode works and why it needs the high ports Thanks again! -- Bob Barish B.M.T Solutions http://www.bmtsolutions.com 5:33pm up 1 day, 2:37, 5 users, load average: 0.04, 0.01, 0.00
On Sunday 30 June 2002 02.36, bob barish wrote:
I have one question if you do not mind where can I get an explanation or how passive mode works and why it needs the high ports
This site has a brief decription. It also links to the rfc that defines the file transfer protocol. http://slacksite.com/other/ftp.html -- `When I use a word,' Humpty Dumpty said in rather a scornful tone, `it means just what I choose it to mean -- neither more nor less.'
participants (2)
-
Anders Johansson
-
bob barish