www.ProFTPD.de

ProFTPD => ProFTPD - Deutsch => Thema gestartet von: dany_fun am 30. Juli 2005, 12:26:01



Titel: problem beim pro FTP starten/stoppen
Beitrag von: dany_fun am 30. Juli 2005, 12:26:01
hi all ...

habe hier einige probleme mit proftpd

hier mal mein config file

# 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 Default Installation"
ServerType standalone
DefaultServer on

# Port 21 is the standard FTP port.
Port 2121

# 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

# Set the user and group under which the server will run.
User daniel
Group users

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~

# Normally, we want files to be overwriteable.
AllowOverwrite on

# Bar use of SITE CHMOD by default
<Limit SITE_CHMOD>
DenyAll
</Limit>



also es hauen einige dinge nicht hin..

erstens: ich kann problemlos auf höhere ebenen zugfreiffen,obwohl eigentlich lock user in homedir. gesetzt wäre..

zweitens: mir kommt es komisch vor,dass er port 2121 im clienten sofort kennt .. also ich brauch nur ip eingeben,und der client kann sofort connecten.. normal geht das nur bei port 21,da nimmt der client automatisch an (Falls nix anderes angegeben ist) dass es sich um den handelt..

drittens.. ich weiss net wie man den server stoppen kann ..
mit kill PID gehts zwar temporär,aber sobald ich versuche auf den FTP zu connecten startet proftpd wieder neu,halt unter neuer PID ...

btw.. im /etc/init.d kommt kein proftpd skript vor.. obowhls sehr verdächtig ist dass der FTP über initd gestartet wird...

auch killall proftp klappt nur temporär,bis wieder eine anfrage auf den FTP server kommt.


vielleicht kannma wer rat geben  


btw.. ubuntu 5 , proftpd 1.2.10


Titel: Re: problem beim pro FTP starten/stoppen
Beitrag von: stonki am 31. Juli 2005, 21:22:59
Zitat von: "dany_fun"

zweitens: mir kommt es komisch vor,dass er port 2121 im clienten sofort kennt .. also ich brauch nur ip eingeben,und der client kann sofort connecten.. normal geht das nur bei port 21,da nimmt der client automatisch an (Falls nix anderes angegeben ist) dass es sich um den handelt..


bist Du eigentlich sicher, dass DEIN ProFTPD und DEINE Config verwendet wird ? Also ein "ftp localhost" duerfte nicht funktionieren, denn in /etc/services ist ja ftp als port 21 definiert und nicht als 2121. Also schau mal, ob bei port 21 was anderes laeuft.

fuser -n tcp 21

oder der alte klassiker: netstat -tulpen

cu
stonki