proFTP Installation mit APT-Get
proFTP Installation mit APT-Get
Hallo!
Ich habe Confixx über Bord geworfen und will jetzt einen FTP-Server isntallieren. Leider geht das mehr schlecht als recht.
Mein Root hat Debian 3.1
Ich habe es mit apt-get versucht und konnte proFTP installieren. Aber wenn ich den Server starten will, kommt nur die fehlermeldung:
server:~# /etc/init.d/proftpd start
ProFTPd warning: cannot start neither in standalone nor in inetd/xinetd mode. Check your configuration.
Was mache ich falsch? Gibt es auch andere FTP-Server?
Die Config:
#
# /etc/proftpd.conf -- This is a basic ProFTPD configuration file.
# To really apply changes reload proftpd after modifications.
#
ServerName "Debian"
ServerType inetd
DeferWelcome off
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
DisplayLogin welcome.msg
DisplayFirstChdir .message
ListOptions "-l"
DenyFilter *.*/
# 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?pag...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>
Ich habe Confixx über Bord geworfen und will jetzt einen FTP-Server isntallieren. Leider geht das mehr schlecht als recht.
Mein Root hat Debian 3.1
Ich habe es mit apt-get versucht und konnte proFTP installieren. Aber wenn ich den Server starten will, kommt nur die fehlermeldung:
server:~# /etc/init.d/proftpd start
ProFTPd warning: cannot start neither in standalone nor in inetd/xinetd mode. Check your configuration.
Was mache ich falsch? Gibt es auch andere FTP-Server?
Die Config:
#
# /etc/proftpd.conf -- This is a basic ProFTPD configuration file.
# To really apply changes reload proftpd after modifications.
#
ServerName "Debian"
ServerType inetd
DeferWelcome off
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
DisplayLogin welcome.msg
DisplayFirstChdir .message
ListOptions "-l"
DenyFilter *.*/
# 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?pag...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>
Re: proFTP Installation mit APT-Get
hiho,
stell mal den ServerType auf standalone um ;)
ich denke, das dsa Problem bei Dir eher in der inetd config liegt als in der proftpd.conf ausserdem empfinde ich persoenliche ein standalone Server fuer sicherer
Gruesse
Cat
confixx installiert Software? SCNRbwar wrote:Hallo!
Ich habe Confixx über Bord geworfen und will jetzt einen FTP-Server isntallieren. Leider geht das mehr schlecht als recht.
nimm demnaechst aptitude, apt-get wird nicht mehr gepflegt, und durch aptitude abgeloest, das verhindert in der Zukunft Probleme mit Dependencies (nur eine Randbemerkung, hat nichts mit dem Problem zu tun)Mein Root hat Debian 3.1
Ich habe es mit apt-get versucht und konnte proFTP installieren.
jede menge...Aber wenn ich den Server starten will, kommt nur die fehlermeldung:
server:~# /etc/init.d/proftpd start
ProFTPd warning: cannot start neither in standalone nor in inetd/xinetd mode. Check your configuration.
Was mache ich falsch? Gibt es auch andere FTP-Server?
stell mal den ServerType auf standalone um ;)
ich denke, das dsa Problem bei Dir eher in der inetd config liegt als in der proftpd.conf ausserdem empfinde ich persoenliche ein standalone Server fuer sicherer
Gruesse
Cat
-
captaincrunch
- Userprojekt

- Posts: 7066
- Joined: 2002-10-09 14:30
- Location: Dorsten
- Contact:
Re: proFTP Installation mit APT-Get
Steckt da weibliche Intuition dahinter, oder gibt's da Gründe für?ausserdem empfinde ich persoenliche ein standalone Server fuer sicherer
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
Re: proFTP Installation mit APT-Get
hiho CC,
wenn ich gruende wuesste, haette ich die sicher genannt .. und Intuition, naja, ich hab ja schon gesagt
Gruesse
Cat
wenn ich gruende wuesste, haette ich die sicher genannt .. und Intuition, naja, ich hab ja schon gesagt
;)empfinde ich als ...
Gruesse
Cat
Re: proFTP Installation mit APT-Get
Sorry - aber ein FTP-Server muß nicht ständig im Speicher hängen, von Zugriffskontrollen usw. mal ganz abgesehen.
Aber vom Starten über den inetd halte ich auch nicht viel - dafür gibt es xinetd ;-)
flo.
Aber vom Starten über den inetd halte ich auch nicht viel - dafür gibt es xinetd ;-)
flo.
-
lord_pinhead
- Posts: 774
- Joined: 2004-04-26 15:57
Re: proFTP Installation mit APT-Get
Bleibt weiterhin sein Problem :) Schau mal auf Debianhowto.de dort wird die Grundstruktur erklärt. Du musst ausserdem nach der installation den Eintrag in der /etc/inetd.conf ändern:
Aus
wird
Und schon sollte der Start klappen. Wie du alles zu konfigurieren hast, ist nen anderes Thema was bei Proftpd fast unendlich sein kann :) Aso, flo hat im übrigen recht mit inet.d, du solltest wirklich über den xinet.d nachdenken.
@flo
In Zeiten wo 1 GB Ram in den Server steckt und eine Heizplatte (Intel P4) als CPU, mach ich mir wenig sorgen um die Ressourcen. Proftp wäre der einzige Eintrag den ich drin hätte, daher denke ich nicht das es sich rechnet wenn ich den über den xinet laufen lasse.
Aus
Code: Select all
#<off># ftp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/proftpd
Code: Select all
ftp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/proftpd
@flo
In Zeiten wo 1 GB Ram in den Server steckt und eine Heizplatte (Intel P4) als CPU, mach ich mir wenig sorgen um die Ressourcen. Proftp wäre der einzige Eintrag den ich drin hätte, daher denke ich nicht das es sich rechnet wenn ich den über den xinet laufen lasse.
Re: proFTP Installation mit APT-Get
oder den servertype auf standalone setzen ;) (wie gestern geschrieben ;) )
Gruesse
Cat
Gruesse
Cat
Re: proFTP Installation mit APT-Get
Ich gebs ja zu ... ja, ja, ja ... hab mal nachgeschaut und festgestellt, daß ich nur noch P4s, Xeons und noch einen Sempron habe, der wohl auch locker ausreicht. Gut, die Performance ist durch einen rumdümpelnden FTPd nciht unbedingt hart an der Grenze.Lord_Pinhead wrote:@flo
In Zeiten wo 1 GB Ram in den Server steckt und eine Heizplatte (Intel P4) als CPU, mach ich mir wenig sorgen um die Ressourcen. Proftp wäre der einzige Eintrag den ich drin hätte, daher denke ich nicht das es sich rechnet wenn ich den über den xinet laufen lasse.
Spaß beiseite - der Start über den Xinetd bring halt noch ein paar Möglichkeiten, um den FTPd noch etwas feinzutunen. Sicher ist das auch Geschmackssache, aber wenigstens habe ich Argumente, außer daß es egal ist. SCNR ;-)
flo.
-
lord_pinhead
- Posts: 774
- Joined: 2004-04-26 15:57
Re: proFTP Installation mit APT-Get
Wenn ich einen sehr frequentierten Server habe, auf dem z.b. eine Newsseite läuft bei der immer irgendwie jemand auf dem FTP rumgurkt, dann würde der (x)inetd eher mehr Speicher belasten als wenn ich den FTPd einfach nur Standalone laufen lasse :)flo wrote: Spaß beiseite - der Start über den Xinetd bring halt noch ein paar Möglichkeiten, um den FTPd noch etwas feinzutunen. Sicher ist das auch Geschmackssache, aber wenigstens habe ich Argumente, außer daß es egal ist. SCNR ;-)
flo.
Is das nen Argument? Ich denke ja :)
Btw.: Jetzt mal kein kleinkrieg von wegen Standalone oder Inetd, gibt für beides Vor und auch Nachteile.
Re: proFTP Installation mit APT-Get
;-)Lord_Pinhead wrote:Btw.: Jetzt mal kein kleinkrieg von wegen Standalone oder Inetd, gibt für beides Vor und auch Nachteile.
Stimmt - aber hängt nicht jede Konfiguration von den Gegebenheiten ab?
;-)
Für mich dann EOD - das Thema scheint ja philosophisch zu sein.
flo.
-
lord_pinhead
- Posts: 774
- Joined: 2004-04-26 15:57
Re: proFTP Installation mit APT-Get
ACKflo wrote:;-)Lord_Pinhead wrote:Btw.: Jetzt mal kein kleinkrieg von wegen Standalone oder Inetd, gibt für beides Vor und auch Nachteile.
Stimmt - aber hängt nicht jede Konfiguration von den Gegebenheiten ab?
;-)
Für mich dann EOD - das Thema scheint ja philosophisch zu sein.
flo.