PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Welcher FTP Server läuft ?



Enterprise
05.02.07, 19:36
Hallo Forum,

Habe Suse 9.0 als Samba laufen und möchte darauf einen FTP Server laufen lassen.

Habe dann drei FTP Server versucht zu installiert.
WU-FTP,PROftp und pure-ftp waren die drei.
Habe den pure-ftp gelöscht.
Unter chkconfig -l sehe ich noch , dass der PROftp noch läuft.
Habe dann mit dem Befehl insserv -r proftpd gestoppt.
Den PC neu gestartet, und ich kann mich jetzt immer noch konnekten.
Jetzt kann es nur noch den WU-FTP geben.
Da finde ich nichts ob er läuft.

Hier den Ausdruck vom chkconfig -l



Venus:/ # chkconfig -l
SuSEfirewall2_final 0:off 1:off 2:off 3:off 4:off 5:off 6:off
SuSEfirewall2_init 0:off 1:off 2:off 3:off 4:off 5:off 6:off
SuSEfirewall2_setup 0:off 1:off 2:off 3:off 4:off 5:off 6:off
acpid 0:off 1:off 2:on 3:on 4:off 5:on 6:off
alsasound 0:off 1:off 2:on 3:on 4:off 5:on 6:off
apache 0:off 1:off 2:off 3:on 4:off 5:on 6:off
atd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
autofs 0:off 1:off 2:off 3:off 4:off 5:off 6:off
boot.clock 0:off 1:off 2:off 3:off 4:off 5:off 6:off
boot.crypto 0:off 1:off 2:off 3:off 4:off 5:off 6:off
boot.idedma 0:off 1:off 2:off 3:off 4:off 5:off 6:off
boot.ipconfig 0:off 1:off 2:off 3:off 4:off 5:off 6:off
boot.isapnp 0:off 1:off 2:off 3:off 4:off 5:off 6:off
boot.klog 0:off 1:off 2:off 3:off 4:off 5:off 6:off
boot.ldconfig 0:off 1:off 2:off 3:off 4:off 5:off 6:off
boot.loadmodules 0:off 1:off 2:off 3:off 4:off 5:off 6:off
boot.localfs 0:off 1:off 2:off 3:off 4:off 5:off 6:off
boot.localnet 0:off 1:off 2:off 3:off 4:off 5:off 6:off
boot.lvm 0:off 1:off 2:off 3:off 4:off 5:off 6:off
boot.md 0:off 1:off 2:off 3:off 4:off 5:off 6:off
boot.proc 0:off 1:off 2:off 3:off 4:off 5:off 6:off
boot.quota 0:off 1:off 2:off 3:off 4:off 5:off 6:off
boot.restore_permissions 0:off 1:off 2:off 3:off 4:off 5:off 6:off
boot.sched 0:off 1:off 2:off 3:off 4:off 5:off 6:off
boot.scpm 0:off 1:off 2:off 3:off 4:off 5:off 6:off
boot.scsidev 0:off 1:off 2:off 3:off 4:off 5:off 6:off
boot.swap 0:off 1:off 2:off 3:off 4:off 5:off 6:off
boot.sysctl 0:off 1:off 2:off 3:off 4:off 5:off 6:off
cron 0:off 1:off 2:on 3:on 4:off 5:on 6:off
cups 0:off 1:off 2:on 3:on 4:off 5:on 6:off
dhcpd 0:off 1:off 2:off 3:on 4:off 5:on 6:off
esound 0:off 1:off 2:off 3:off 4:off 5:off 6:off
fbset 0:off 1:on 2:on 3:on 4:off 5:on 6:off
gpm 0:off 1:off 2:off 3:off 4:off 5:off 6:off
hotplug 0:off 1:on 2:on 3:on 4:off 5:on 6:off
hwscan 0:off 1:off 2:on 3:on 4:off 5:on 6:off
ibmasm 0:off 1:off 2:off 3:off 4:off 5:off 6:off
inetd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
isdn 0:off 1:off 2:on 3:on 4:off 5:on 6:off
joystick 0:off 1:off 2:off 3:off 4:off 5:off 6:off
kbd 0:off 1:on 2:on 3:on 4:off 5:on 6:off
ksysguardd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
ldap 0:off 1:off 2:off 3:off 4:off 5:off 6:off
lirc 0:off 1:off 2:off 3:off 4:off 5:off 6:off
lisa 0:off 1:off 2:off 3:off 4:off 5:off 6:off
mdadmd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
microcode 0:off 1:off 2:off 3:off 4:off 5:off 6:off
mysql 0:off 1:off 2:off 3:off 4:off 5:off 6:off
network 0:off 1:off 2:on 3:on 4:off 5:on 6:off
nfs 0:off 1:off 2:off 3:on 4:off 5:on 6:off
nfslock 0:off 1:off 2:off 3:on 4:off 5:on 6:off
nfsserver 0:off 1:off 2:off 3:on 4:off 5:on 6:off
nmb 0:off 1:off 2:off 3:on 4:off 5:on 6:off
nscd 0:off 1:off 2:off 3:on 4:off 5:on 6:off
openct 0:off 1:off 2:off 3:off 4:off 5:off 6:off
pcscd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
portmap 0:off 1:off 2:off 3:on 4:off 5:on 6:off
postfix 0:off 1:off 2:off 3:on 4:off 5:on 6:off
proftpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
ptal 0:off 1:off 2:off 3:off 4:off 5:off 6:off
quota 0:off 1:off 2:off 3:off 4:off 5:off 6:off
quotad 0:off 1:off 2:off 3:off 4:off 5:off 6:off
random 0:off 1:off 2:on 3:on 4:off 5:on 6:off
raw 0:off 1:off 2:off 3:off 4:off 5:off 6:off
resmgr 0:off 1:off 2:on 3:on 4:off 5:on 6:off
rpasswdd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
rpmconfigcheck 0:off 1:off 2:off 3:off 4:off 5:off 6:off
saslauthd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
setserial 0:off 1:off 2:off 3:off 4:off 5:off 6:off
slurpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
smb 0:off 1:off 2:off 3:on 4:off 5:on 6:off
smbfs 0:off 1:off 2:off 3:on 4:off 5:on 6:off
smpppd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
snmpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
splash 0:off 1:on 2:on 3:on 4:off 5:on 6:off
splash_early 0:off 1:off 2:on 3:on 4:off 5:on 6:off
splash_late 0:off 1:off 2:on 3:on 4:off 5:on 6:off
sshd 0:off 1:off 2:off 3:on 4:off 5:on 6:off
svnserve 0:off 1:off 2:off 3:off 4:off 5:off 6:off
syslog 0:off 1:off 2:on 3:on 4:off 5:on 6:off
usermin 0:off 1:off 2:on 3:on 4:off 5:on 6:off
webmin 0:off 1:off 2:on 3:on 4:off 5:on 6:off
winbind 0:off 1:off 2:off 3:off 4:off 5:off 6:off
xdm 0:off 1:off 2:off 3:off 4:off 5:on 6:off
xfs 0:off 1:off 2:off 3:off 4:off 5:off 6:off
xinetd 0:off 1:off 2:off 3:on 4:off 5:on 6:off
xntpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
ypbind 0:off 1:off 2:off 3:off 4:off 5:off 6:off
xinetd based services:
chargen: off
chargen-udp: off
cups-lpd: off
daytime: off
daytime-udp: off
echo: off
echo-udp: off
netstat: off
samba: on
servers: off
services: off
systat: off
time: off
time-udp: off
Venus:/ #



Kann mir da jemand helfen.

cane
05.02.07, 20:11
Schau mal per "ps -aux" nach...

Ausserdem solltest du doch am Banner erkennen welcher denn läuft...

Warum installierst Du eigentlich alle nebeneinander :confused:

mfg
cane

Enterprise
05.02.07, 22:46
Hallo,

Ich habe versucht einen FTP Server zu installieren.
Daraus wurden die drei FTP Server .
Ich habe nicht bemerkt , dass einer von den aktiv ist.
Hier den Ausdruck vom ps -aux


Venus:~ # ps -aux
Warning: bad syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.1 620 256 ? S 16:59 0:03 init [3]
root 2 0.0 0.0 0 0 ? SW 16:59 0:00 [keventd]
root 3 0.0 0.0 0 0 ? SWN 16:59 0:00 [ksoftirqd_CPU0]
root 4 0.0 0.0 0 0 ? SW 16:59 0:00 [kswapd]
root 5 0.0 0.0 0 0 ? SW 16:59 0:00 [bdflush]
root 6 0.0 0.0 0 0 ? SW 16:59 0:00 [kupdated]
root 7 0.0 0.0 0 0 ? SW 16:59 0:00 [kinoded]
root 8 0.0 0.0 0 0 ? SW 16:59 0:00 [mdrecoveryd]
root 11 0.0 0.0 0 0 ? SW 16:59 0:00 [kreiserfsd]
root 155 0.0 0.0 0 0 ? SW< 16:59 0:00 [lvm-mpd]
nobody 444 0.0 0.4 2288 1148 ? S 16:59 0:00 proftpd: (accepting connections)
root 561 0.0 0.0 0 0 ? SW 16:59 0:00 [eth0]
root 602 0.0 0.2 1560 624 ? S 16:59 0:00 /sbin/syslogd -a /var/lib/dhcp/dev/log
root 605 0.0 0.5 2352 1400 ? S 16:59 0:00 /sbin/klogd -c 1 -2
root 653 0.0 0.0 0 0 ? SW 16:59 0:00 [khubd]
root 710 0.0 0.1 1524 496 ? S 17:00 0:00 /sbin/resmgrd
bin 730 0.0 0.2 1524 516 ? S 17:00 0:00 /sbin/portmap
root 738 0.0 0.6 4476 1756 ? S 17:00 0:00 /usr/lib/samba/classic/nmbd -D -s /etc/samba/sm
root 739 0.0 1.7 6036 4388 ? S 17:00 0:00 /usr/bin/perl /usr/libexec/usermin/miniserv.pl
root 741 0.0 1.9 6696 5048 ? S 17:00 0:00 /usr/bin/perl /usr/lib/webmin/miniserv.pl /etc/
root 798 0.0 0.2 1660 708 ? S 17:00 0:00 /sbin/rpc.statd
root 868 0.0 0.2 1504 580 ? S 17:00 0:00 /usr/sbin/acpid
root 878 0.0 0.6 5020 1736 ? S 17:00 0:00 /usr/sbin/sshd -o PidFile=/var/run/sshd.init.pi
lp 936 0.0 1.1 5848 2904 ? S 17:00 0:00 /usr/sbin/cupsd
root 946 0.0 0.0 0 0 ? SW 17:00 0:00 [nfsd]
root 947 0.0 0.0 0 0 ? SW 17:00 0:00 [nfsd]
root 948 0.0 0.0 0 0 ? SW 17:00 0:00 [nfsd]
root 949 0.0 0.0 0 0 ? SW 17:00 0:00 [nfsd]
root 950 0.0 0.0 0 0 ? SW 17:00 0:00 [lockd]
root 951 0.0 0.0 0 0 ? SW 17:00 0:00 [rpciod]
root 967 0.0 0.3 1800 880 ? S 17:00 0:00 /usr/sbin/rpc.mountd
root 1016 0.0 0.5 4168 1356 ? S 17:00 0:00 /usr/lib/postfix/master
root 1144 0.0 0.8 5752 2204 ? S 17:00 0:00 /usr/sbin/httpd -f /etc/httpd/httpd.conf
wwwrun 1145 0.0 0.9 5752 2336 ? S 17:00 0:00 /usr/sbin/httpd -f /etc/httpd/httpd.conf
root 1207 0.0 0.3 2176 884 ? S 17:00 0:00 /usr/sbin/xinetd
root 1217 0.0 0.2 1708 700 ? S 17:00 0:00 /usr/sbin/cron
root 1220 0.0 0.3 12272 800 ? S 17:00 0:00 /usr/sbin/nscd
root 1221 0.0 0.3 12272 800 ? S 17:00 0:00 /usr/sbin/nscd
root 1222 0.0 0.3 12272 800 ? S 17:00 0:00 /usr/sbin/nscd
root 1223 0.0 0.3 12272 800 ? S 17:00 0:00 /usr/sbin/nscd
root 1224 0.0 0.3 12272 800 ? S 17:00 0:00 /usr/sbin/nscd
root 1225 0.0 0.3 12272 800 ? S 17:00 0:00 /usr/sbin/nscd
root 1226 0.0 0.3 12272 800 ? S 17:00 0:00 /usr/sbin/nscd
root 1244 0.0 0.9 5724 2400 ? S 17:00 0:00 /usr/lib/samba/classic/smbd -D -s /etc/samba/sm
root 1293 0.0 0.2 1500 516 tty1 S 17:00 0:00 /sbin/mingetty --noclear tty1
root 1294 0.0 0.2 1500 512 tty2 S 17:00 0:00 /sbin/mingetty tty2
root 1295 0.0 0.2 1500 512 tty3 S 17:00 0:00 /sbin/mingetty tty3
root 1296 0.0 0.2 1500 512 tty4 S 17:00 0:00 /sbin/mingetty tty4
root 1297 0.0 0.2 1500 512 tty5 S 17:00 0:00 /sbin/mingetty tty5
root 1298 0.0 0.2 1500 512 tty6 S 17:00 0:00 /sbin/mingetty tty6
postfix 2104 0.0 0.5 4224 1332 ? S 17:12 0:00 qmgr -l -t fifo -u
postfix 3341 0.0 0.5 4204 1304 ? S 22:12 0:00 pickup -l -t fifo -u
root 3456 0.7 0.9 8000 2348 ? S 23:34 0:00 sshd: root@pts/0
root 3458 0.1 0.9 8000 2348 ? S 23:34 0:00 sshd: root@pts/0
root 3460 1.2 0.6 2836 1648 pts/0 S 23:34 0:00 -bash
root 3477 0.0 0.2 2668 720 pts/0 R 23:34 0:00 ps -aux

drcux
05.02.07, 23:08
nobody 444 0.0 0.4 2288 1148 ? S 16:59 0:00 proftpd: (accepting connections)

was ist an dieser Zeile nicht zu verstehen?

Enterprise
06.02.07, 00:38
Ok,

Der proftpd läuft.
Wie kann ich diesen neustarten ?

Habe dann die proftpd.conf eingerichtet.
Ich kann mich mit verschiedene User anmelden.
Ich komme immer wieder im /home/ftp/ herraus.
Was muß ich einrichten, dass ein bestimmter user ins Verzeichniss
/srv/www/htdocs kommt?

Hier meine proftpd.conf



ServerName "Venus.enzenauer.home"
ServerType standalone
# ServerType inetd

DefaultServer 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

# Note that this ONLY works in standalone mode
MaxInstances 30

# Set the user and group under which the server will run.
User nobody
Group nogroup

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

# DisplayLogin login.txt
# diesen Text beim Login anzeigen
# DisplayFirstChdir .message
# beim Wechsel in das Verzeichnis anzeigen

MaxClients 15
# maximal 15 FTP-Logins

# Normally, we want files to be overwriteable.

<Directory />
AllowOverwrite on
</Directory>


# <Global>
# RootLogin on
# DefaultRoot ~
# DefaultRoot ~
# </Global>

<Anonymous ~ftp>
# für den Zugang sind alle Dateien in ~ftp sichtbar

User ftp
Group ftp
UserAlias anonymous ftp
# Login ist als ftp und als anonymous möglich

<Limit WRITE>
DenyAll # Schreiben verboten
</Limit>

<Directory incoming>
<Limit STOR>
AllowAll
</Limit>
</Directory>
# reinschreiben ist erlaubt, aber nicht überschreiben etc.
</Anonymous>
<Global>
RootLogin on
AllowForeignAddress on
AllowRetrieveRestart on
AllowStoreRestart on
</Global>

cane
06.02.07, 10:09
Such dir eine Anleitung zu proftpd und arbeite sie durch.

mfg
cane

Enterprise
05.03.07, 16:05
Hallo zusammen,


Habe jetzt erst wieder Zeit mich um mein Problem zu kümmern.
Ich kann ändern was ich möchte, ich komme immer in den Ordner
/home/ftp/incomming/
Egal mit welchem User ich mich anmelde.

Ich meine es läuft nur proftp.
Hier ps -aux



Venus:~ # ps -aux
Warning: bad syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.1 0.1 620 256 ? S 16:00 0:03 init [3]
root 2 0.0 0.0 0 0 ? SW 16:00 0:00 [keventd]
root 3 0.0 0.0 0 0 ? SWN 16:00 0:00 [ksoftirqd_CPU0]
root 4 0.0 0.0 0 0 ? SW 16:00 0:00 [kswapd]
root 5 0.0 0.0 0 0 ? SW 16:00 0:00 [bdflush]
root 6 0.0 0.0 0 0 ? SW 16:00 0:00 [kupdated]
root 7 0.0 0.0 0 0 ? SW 16:00 0:00 [kinoded]
root 8 0.0 0.0 0 0 ? SW 16:00 0:00 [mdrecoveryd]
root 11 0.0 0.0 0 0 ? SW 16:00 0:00 [kreiserfsd]
root 155 0.0 0.0 0 0 ? SW< 16:00 0:00 [lvm-mpd]
nobody 436 0.0 0.4 2288 1148 ? S 16:00 0:00 proftpd: (accepting connections)
root 559 0.0 0.0 0 0 ? SW 16:00 0:00 [eth0]
root 600 0.0 0.2 1560 624 ? S 16:00 0:00 /sbin/syslogd -a /var/lib/dhcp/dev/log
root 603 0.0 0.5 2352 1400 ? S 16:00 0:00 /sbin/klogd -c 1 -2
root 651 0.0 0.0 0 0 ? SW 16:00 0:00 [khubd]
root 708 0.0 0.1 1524 496 ? S 16:00 0:00 /sbin/resmgrd
bin 728 0.0 0.1 1524 408 ? S 16:00 0:00 /sbin/portmap
root 736 0.0 0.6 4476 1756 ? S 16:00 0:00 /usr/lib/samba/classic/nmbd -D -s /etc/samba/smb
root 737 0.0 1.7 6036 4388 ? S 16:00 0:00 /usr/bin/perl /usr/libexec/usermin/miniserv.pl /
root 739 0.0 1.9 6700 5040 ? S 16:00 0:00 /usr/bin/perl /usr/lib/webmin/miniserv.pl /etc/w
root 782 0.0 0.2 1660 708 ? S 16:00 0:00 /sbin/rpc.statd
root 854 0.0 0.2 1504 580 ? S 16:00 0:00 /usr/sbin/acpid
root 863 0.0 0.6 5020 1736 ? S 16:00 0:00 /usr/sbin/sshd -o PidFile=/var/run/sshd.init.pid
lp 921 0.0 1.1 5848 2904 ? S 16:01 0:00 /usr/sbin/cupsd
root 923 0.0 0.0 0 0 ? SW 16:01 0:00 [nfsd]
root 924 0.0 0.0 0 0 ? SW 16:01 0:00 [nfsd]
root 925 0.0 0.0 0 0 ? SW 16:01 0:00 [nfsd]
root 926 0.0 0.0 0 0 ? SW 16:01 0:00 [nfsd]
root 928 0.0 0.0 0 0 ? SW 16:01 0:00 [lockd]
root 929 0.0 0.0 0 0 ? SW 16:01 0:00 [rpciod]
root 932 0.0 0.2 1700 672 ? S 16:01 0:00 /usr/sbin/rpc.mountd
root 1129 0.0 0.8 5752 2204 ? S 16:01 0:00 /usr/sbin/httpd -f /etc/httpd/httpd.conf
wwwrun 1130 0.0 0.8 5752 2192 ? S 16:01 0:00 /usr/sbin/httpd -f /etc/httpd/httpd.conf
root 1195 0.0 0.2 1708 700 ? S 16:01 0:00 /usr/sbin/cron
root 1197 0.0 0.3 2172 860 ? S 16:01 0:00 /usr/sbin/xinetd
root 1205 0.0 0.3 12272 800 ? S 16:01 0:00 /usr/sbin/nscd
root 1206 0.0 0.3 12272 800 ? S 16:01 0:00 /usr/sbin/nscd
root 1208 0.0 0.3 12272 800 ? S 16:01 0:00 /usr/sbin/nscd
root 1209 0.0 0.3 12272 800 ? S 16:01 0:00 /usr/sbin/nscd
root 1212 0.0 0.3 12272 800 ? S 16:01 0:00 /usr/sbin/nscd
root 1213 0.0 0.3 12272 800 ? S 16:01 0:00 /usr/sbin/nscd
root 1214 0.0 0.3 12272 800 ? S 16:01 0:00 /usr/sbin/nscd
root 1229 0.0 0.9 5724 2400 ? S 16:01 0:00 /usr/lib/samba/classic/smbd -D -s /etc/samba/smb
root 1278 0.0 0.2 1500 516 tty1 S 16:01 0:00 /sbin/mingetty --noclear tty1
root 1279 0.0 0.2 1500 512 tty2 S 16:01 0:00 /sbin/mingetty tty2
root 1280 0.0 0.2 1500 512 tty3 S 16:01 0:00 /sbin/mingetty tty3
root 1281 0.0 0.2 1500 512 tty4 S 16:01 0:00 /sbin/mingetty tty4
root 1282 0.0 0.2 1500 512 tty5 S 16:01 0:00 /sbin/mingetty tty5
root 1283 0.0 0.2 1500 512 tty6 S 16:01 0:00 /sbin/mingetty tty6
root 1323 0.0 0.9 8136 2360 ? S 16:11 0:00 sshd: root@pts/0
root 1325 0.0 0.9 8136 2360 ? S 16:11 0:00 sshd: root@pts/0
root 1327 0.0 0.6 2964 1684 pts/0 S 16:11 0:00 -bash
root 3549 0.0 0.2 2668 720 pts/0 R 17:01 0:00 ps -aux
Venus:~ #



Und hier meine proftpd.conf


# (C) www.proftpd.de
# updated 2007-05-03
# by Enterprise
ServerName "FTP Server"
ServerType standalone
DefaultServer on
PidFile /var/run/proftpd.pid
MaxInstances 30
MaxConnectionRate 4
SocketBindTight off
UseReverseDNS off
RootRevoke on
DefaultServer on
MultilineRFC2228 on
<IfModule mod_delay.c>
DelayEngine off
DelayTable var/run/proftpd/proftpd.delay
</IfModule>
<IfModule mod_tls.c>
TLSProtocol SSLv23
</IfModule>
# Log-Formate definieren
SystemLog NONE
LogFormat default "%h %l %u %t \"%r\" %s %b"
LogFormat auth "%v [%P] %h %t \"%r\" %s"
LogFormat write "%h %l %u %t \"%r\" %s %b"

# --------------------------------------------
# globale Settings
# --------------------------------------------
<Global>
User nobody
Group nogroup

# --------------------------------------------
# Login
# --------------------------------------------
ServerIdent on "FTP server ready."
DeferWelcome on
DisplayConnect /etc/proftpd.msg
IdentLookups off
UseFtpUsers off
RequireValidShell off
TimeoutLogin 60
MaxLoginAttempts 3
MaxClientsPerHost 3

# --------------------------------------------
# Authentifikation: Standard
# --------------------------------------------
<IfModule !mod_sql.c>
AuthOrder mod_auth_unix.c
<Limit LOGIN>
DenyGroup !ftpuser
</Limit>
</IfModule>

# --------------------------------------------
# Authentifikation per SQL
# --------------------------------------------
#<IfModule mod_sql.c>
#AuthOrder mod_sql.c
#SQLConnectInfo db@localhost sqluser pass
#SQLUserInfo ftp userid passwd uid gid homedir NULL
#SQLAuthTypes Plaintext
#SQLAuthenticate users
#SQLMinUserUID 1024
#SQLMinUserGID 555
#SQLNegativeCache on
#</IfModule>

# --------------------------------------------
# TLS Standards
# --------------------------------------------
<IfModule mod_tls.c>
TLSEngine off
TLSTimeoutHandshake 60
TLSRequired off
TLSVerifyClient off
TLSOptions NoCertRequest
TLSLog /var/log/proftpd/tls.log

# TLSCACertificateFile /etc/ssl/certs/CA.cert # CA-Cert optional

</IfModule>

# --------------------------------------------
# Post-Login, Timeouts
# --------------------------------------------
PassivePorts 49152 65534
DisplayLogin welcome.msg
DisplayFirstChdir .message
AllowOverride off
TimeoutIdle 600 # Inaktivitaet
TimeoutNoTransfer 3600 # keine Datenuebertragung (Listing, File, ...)
TimeoutStalled 300 # haengende Datenuebertragung
TimeoutSession 7200 # Gesamtdauer einer Session

# --------------------------------------------
# Session
# --------------------------------------------
DefaultRoot ~
DenyFilter \*.*/
ListOptions "-An +R" strict
UseGlobbing off
ShowSymlinks on
TimesGMT on

# --------------------------------------------
# Up- & Download
# --------------------------------------------
AllowOverwrite on
AllowRetrieveRestart on
HiddenStores on
DeleteAbortedStores on
AllowStoreRestart off # widerspricht sonst "DeleteAbortedStores"

# --------------------------------------------
# Datei & Verzeichnis
# --------------------------------------------
Umask 0017 0007

### hierher alle <Directory>-Bloecke

# --------------------------------------------
# Anonymous FTP
# --------------------------------------------
# <Anonymous /home/ftp>
# User ftp
# Group ftpuser
# UserAlias anonymous ftp
#
# MaxClients 5 # weniger anonymous-User als Reg.User
# MaxRetrieveFileSize 512 Mb # max. Downloadgroesse
#
# # Geschwindigkeit von Up/Downloads
# # auf 255 K/sec. beschraenken
# TransferRate APPE,RETR,STOR,STOU 255
#
# <Directory *>
# HideNoAccess on
# <Limit WRITE>
# DenyAll
# IgnoreHidden on
# </Limit>
# </Directory>
# </Anonymous>

# --------------------------------------------
# Logging
# --------------------------------------------
WtmpLog off
TransferLog /var/log/proftpd/xferlog
# Record all logins
ExtendedLog /var/log/proftpd/auth.log AUTH auth
# Logging file/dir access
ExtendedLog /var/log/proftpd/access.log WRITE,READ write
# Paranoia logging level....
ExtendedLog /var/log/proftpd/paranoid.log ALL default
# fuer Debug: alle modMySQL Kommentare (Datenmenge immens!)
#SQLLogFile /var/log/proftpd/sql.log
</Global>

# --------------------------------------------
# Standard-Server
# --------------------------------------------
DefaultAddress 192.168.1.22
ServerName meinserver.tld
ServerAdmin hostmaster@meinserver.tld
# MasqueradeAddress meinserver.dyndns.org
<IfModule mod_tls.c>
TLSEngine on
TLSRSACertificateFile /etc/ssl/certs/meinserver.tld.cert
TLSRSACertificateKeyFile /etc/ssl/certs/meinserver.tld.key
</IfModule>

# --------------------------------------------
# Virtuelle Hosts...
# --------------------------------------------
#<VirtualHost 192.168.1.101>
#ServerName server2.meinserver.tld
#ServerAdmin hostmaster@meinserver.tld
#<IfModule mod_tls.c>
#TLSEngine on
#TLSRSACertificateFile /etc/ssl/certs/server2.meinserver.tld.cert
#TLSRSACertificateKeyFile /etc/ssl/certs/server2.meinserver.tld.key
#</IfModule>
#</VirtualHost>



mfg
Enterprise