#11  
Old 11th September 2006, 14:58
djkoelkast djkoelkast is offline
Member
 
Join Date: Sep 2006
Posts: 63
Thanks: 1
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by falko
Did you do this on your router? You can also try to open port 20.
Do active transfers work?
Opened up 20 as well:

with pasv:

Code:
FTP Voyager - Version 11.0.0.0

STATUS:>  Connecting to "ftp.********" on port 21.
          220 ProFTPD 1.2.10 Server (Debian) [192.168.1.75]
STATUS:>  Connected.  Logging into the server
COMMAND:> USER ********
          331 Password required for ********.
COMMAND:> PASS *****
          230 User ********** logged in.
STATUS:>  Login successful
COMMAND:> FEAT
          211-Features:
          211-MDTM
          211-REST STREAM
          211-SIZE
          211 End
STATUS:>  Server supports resume
COMMAND:> PWD
          257 "/" is current directory.
COMMAND:> CWD /
          250 CWD command successful
COMMAND:> TYPE A
          200 Type set to A
COMMAND:> PASV
          227 Entering Passive Mode (192,168,1,75,136,125).
STATUS:>  Private IP address returned by the server in response to PASV command.
STATUS:>  Converting private IP address 192.168.1.75 to public IP address **********
COMMAND:> LIST
ERROR:>   Socket error: Unknown socket error (0)
ERROR:>   Socket error: Unknown socket error (0)
STATUS:>  Error sending command "LIST".  Reconnecting (send attempt 2)...
after LIST nothing happens...

without PASV:

Code:
FTP Voyager - Version 11.0.0.0

STATUS:>  Connecting to "ftp.*********" on port 21.
          220 ProFTPD 1.2.10 Server (Debian) [192.168.1.75]
STATUS:>  Connected.  Logging into the server
COMMAND:> USER ********
          331 Password required for ************.
COMMAND:> PASS **********
          230 User ******** logged in.
STATUS:>  Login successful
COMMAND:> FEAT
          211-Features:
          211-MDTM
          211-REST STREAM
          211-SIZE
          211 End
STATUS:>  Server supports resume
COMMAND:> PWD
          257 "/" is current directory.
COMMAND:> CWD /
          250 CWD command successful
COMMAND:> TYPE A
          200 Type set to A
COMMAND:> PORT 192,168,1,100,14,94
          500 Illegal PORT command
Reply With Quote
Sponsored Links
  #12  
Old 12th September 2006, 16:44
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

So you're trying to connect to your FTP server from within the same local network? Then it's not a router problem... What's in /etc/proftpd.conf?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #13  
Old 12th September 2006, 16:49
djkoelkast djkoelkast is offline
Member
 
Join Date: Sep 2006
Posts: 63
Thanks: 1
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by falko
So you're trying to connect to your FTP server from within the same local network? Then it's not a router problem... What's in /etc/proftpd.conf?
Inside or outside gives the same result. Protfpd.conf:

Code:
#
# /etc/proftpd.conf -- This is a basic ProFTPD configuration file.
# To really apply changes reload proftpd after modifications.
# 

ServerName			"Debian"
ServerType			standalone
DeferWelcome			off

MultilineRFC2228		on
DefaultServer			on
ShowSymlinks			on

TimeoutNoTransfer		600
TimeoutStalled			600
TimeoutIdle			1200

DisplayLogin                    welcome.msg
DisplayFirstChdir               .message
ListOptions                	"-l"

DenyFilter			\*.*/

DefaultRoot ~
IdentLookups off
ServerIdent on "FTP Server ready."

# Uncomment this if you are using NIS or LDAP to retrieve passwords:
#PersistentPasswd		off

# Uncomment this if you would use TLS module:
#TLSEngine 			on

# Uncomment this if you would use quota module:
#Quotas				on

# Uncomment this if you would use ratio module:
#Ratios				on

# Port 21 is the standard FTP port.
Port				21

# To prevent DoS attacks, set the maximum number of child processes
# to 30.  If you need to allow more than 30 concurrent connections
# at once, simply increase this value.  Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances			30

# Set the user and group that the server normally runs at.
User				nobody
Group				nogroup

# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
Umask				022  022
# Normally, we want files to be overwriteable.
AllowOverwrite			on

# Delay engine reduces impact of the so-called Timing Attack described in
# http://security.lss.hr/index.php?page=details&ID=LSS-2004-10-02
# It is on by default. 
#DelayEngine 			off

# A basic anonymous configuration, no upload directories.

# <Anonymous ~ftp>
#   User				ftp
#   Group				nogroup
#   # We want clients to be able to login with "anonymous" as well as "ftp"
#   UserAlias			anonymous ftp
#   # Cosmetic changes, all files belongs to ftp user
#   DirFakeUser	on ftp
#   DirFakeGroup on ftp
# 
#   RequireValidShell		off
# 
#   # Limit the maximum number of anonymous logins
#   MaxClients			10
# 
#   # We want 'welcome.msg' displayed at login, and '.message' displayed
#   # in each newly chdired directory.
#   DisplayLogin			welcome.msg
#   DisplayFirstChdir		.message
# 
#   # Limit WRITE everywhere in the anonymous chroot
#   <Directory *>
#     <Limit WRITE>
#       DenyAll
#     </Limit>
#   </Directory>
# 
#   # Uncomment this if you're brave.
#   # <Directory incoming>
#   #   # Umask 022 is a good standard umask to prevent new files and dirs
#   #   # (second parm) from being group and world writable.
#   #   Umask				022  022
#   #            <Limit READ WRITE>
#   #            DenyAll
#   #            </Limit>
#   #            <Limit STOR>
#   #            AllowAll
#   #            </Limit>
#   # </Directory>
# 
# </Anonymous>


Include /etc/proftpd_ispconfig.conf
I now notice servername is Debian, but my servername is not Debian but just: server (and hostname is .mydomain.com, but then with my real domain, so my server is: server.mydomain.com)
Reply With Quote
  #14  
Old 12th September 2006, 18:30
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

You can try to put
Code:
ReverseDNS off
into proftpd.conf and restart it.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #15  
Old 12th September 2006, 18:40
djkoelkast djkoelkast is offline
Member
 
Join Date: Sep 2006
Posts: 63
Thanks: 1
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by falko
You can try to put
Code:
ReverseDNS off
into proftpd.conf and restart it.
Code:
Restarting ProFTPD ftp daemon.proftpd.
.. - Fatal: unknown configuration directive 'ReverseDNS' on line 21 of '/etc/proftpd.conf'.
.
 done.
When I start without that line:

Code:
Restarting ProFTPD ftp daemon..
.. - setting default address to 127.0.0.1
proftpd.
 done.
Does this give any clue?
Reply With Quote
  #16  
Old 14th September 2006, 19:17
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

I'm sorry. The correct line is
Code:
UseReverseDNS off
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #17  
Old 5th September 2008, 12:06
scenic2 scenic2 is offline
Junior Member
 
Join Date: Nov 2007
Posts: 18
Thanks: 8
Thanked 2 Times in 2 Posts
Default I have the Same Problem "500 Illegal PORT command"

I have openSuse 11 with ISPConfig. (http://www.howtoforge.com/perfect-server-opensuse11)
I already tried all of the suggestions you post and the problem is the same.

I try to connect with Total Commander.
I have another 2 servers with ISPConfig but with Suse 9.3 and everything works fine on it. But... in openSuse 11 don't. Can you help me?

PS: With WebFTP from ISPConfig everything works fine; with Joomla works fine too.

Please, help me!

Thank You!
Reply With Quote
  #18  
Old 6th September 2008, 12:29
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Did you switch off AppArmor?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #19  
Old 13th September 2008, 14:45
scenic2 scenic2 is offline
Junior Member
 
Join Date: Nov 2007
Posts: 18
Thanks: 8
Thanked 2 Times in 2 Posts
Default Sorry for my delay

I was in vacantion.
Yes, The AppArmor is down.
Now, i can connect from my home LAN but from office LAN still can't connect.
Thank You for your advice and for all you do for as.
Thank You again.

Last edited by scenic2; 13th September 2008 at 14:47.
Reply With Quote
  #20  
Old 14th September 2008, 14:09
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,022
Thanks: 840
Thanked 5,655 Times in 4,464 Posts
 
Default

Please check your router settings and make sure that you forwarded theports from your router to your server.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FC4 Setup DNS and ISPCONFIG issues The General Installation/Configuration 7 15th May 2006 10:45
ISPConfig + Turck MMCache + Hardened-PHP - Any Issues? BobbyQ General 8 3rd May 2006 23:52
DNS issues jaffaizal Installation/Configuration 6 24th February 2006 13:24
Install issues with PHP Part cksrealm Installation/Configuration 7 29th November 2005 19:55
Several minor issues dahljh Installation/Configuration 2 30th October 2005 23:22


All times are GMT +2. The time now is 01:31.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.