FTP-Server antwortet nicht, Port 21 erreichbar

Backup, Restore und Transfer von Daten
Post Reply
pitbeer
Posts: 4
Joined: 2005-11-12 13:48
 

FTP-Server antwortet nicht, Port 21 erreichbar

Post by pitbeer »

Guten Tag,
habe folgendes Problem:
besitzte eine 1und1-root-server mit aktivierter 1und1-firewall. wenn ich nun von einem entfernten rechner auf port 21 kontaktiere, dann bekomme ich eine verbindung, der ftp-server meldet sich jedoch nicht. wenn ich auf dem server auf port 21 lausche sehe ich keine verbindung. was kann hier das problem sein? nimmt die 1und1 firewall verbindungen an?

wäre dankbar für baldige hilfe

mfg
peter
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: FTP-Server antwortet nicht, Port 21 erreichbar

Post by Joe User »

Hint: passive FTP
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
pitbeer
Posts: 4
Joined: 2005-11-12 13:48
 

Re: FTP-Server antwortet nicht, Port 21 erreichbar

Post by pitbeer »

der server ist eigentlich auf aktives ftp eingestellt. aber du hast recht, passives ftp wäre einen versuch wert.
pitbeer
Posts: 4
Joined: 2005-11-12 13:48
 

Re: FTP-Server antwortet nicht, Port 21 erreichbar

Post by pitbeer »

nachtrag:
@Joe User:
müsste ich dann nicht zumindest mit netcat einen connect auf port 21 auf dem server angezeigt bekommen? bzw. ich bekomme auch eine verbindung auf port 21 sofern der ftp-server gar nicht läuft. ein anderes prog läuft aber bestimmt nicht auf port 21.
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: FTP-Server antwortet nicht, Port 21 erreichbar

Post by Joe User »

Welcher FTPd (Version)? Config des FTPd? Config der "Firewall"? Config des FTP-Client?
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
flo
Posts: 2223
Joined: 2002-07-28 13:02
Location: Berlin
 

Re: FTP-Server antwortet nicht, Port 21 erreichbar

Post by flo »

hört sich eher nach den Symptomen an, daß ein (x)inetd die Verbindung annimmt, aber der Daemon nicht startet.

Aber Joe hat recht ... zuwenig Info!

flo.
pitbeer
Posts: 4
Joined: 2005-11-12 13:48
 

Re: FTP-Server antwortet nicht, Port 21 erreichbar

Post by pitbeer »

die 1und1 firewall in der standardeinstellung + freigegebenem port 21 ftp client ist win-standard ftp, habe auch schon mit total commander in passiv und aktiv modus versucht. telnet auf port 21, wenn ftp-server aus ist, gibt auch keine ausgabe auf netcat. lokal vom server kann ich verbindung zum ftp-server aufbauen und es funktioniert alles.

also hier die proftpd config:

Code: Select all

#
# To have more informations about Proftpd configuration
# look at : http://www.proftpd.org/
#

# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use.  It establishes a single server
# and a single anonymous login.  It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName                      "ProFTPD"
ServerType  inetd
ServerType  inetd
DefaultServer                   on
<Global>
DefaultRoot     blablubb
AllowOverwrite          on
</Global>
DefaultTransferMode     binary
UseFtpUsers                     on

# Port 21 is the standard FTP port.
Port                            21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask                           022

# 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

#Following part of this config file were generate by PSA automatically
#Any changes in this part will be overwritten by next manipulation
#with Anonymous FTP feature in PSA control panel.

#Include directive should point to place where FTP Virtual Hosts configurations
#preserved

ScoreboardFile /var/run/proftpd/scoreboard

# Primary log file mest be outside of system logrotate province

TransferLog /usr/local/psa/var/log/xferlog

#Change default group for new files and directories in vhosts dir to psacln

<Directory /var/www/vhosts>
        GroupOwner      blablubb
</Directory>

# Disable PAM authentication
AuthPAM off

# delay on login off
IdentLookups off
UseReverseDNS off

Include /etc/proftpd.include
Post Reply