[ SlackList ] [ WkikiSlack ]



proftpd

From: Mirek <Bobomir@interia.pl>
Date: Fri Feb 28 2003 - 00:25:15 CET
[slacklist] proftpd

Cze !!
Mam problem z serwerem proftpd zainstalowanym na = slackware 8.0.Chodzi mi oto
aby z ftp mogly kozystac tylko wybrane komputery. Oto = mój proftpd.conf:


# This is a basic ProFTPD configuration file.

# It establishes a single server and a single = anonymous login.

# It assumes that you have a user/group = "nobody" and "ftp"

# for normal/anonymous operation.

ServerName "FTP Awalon"

#ServerType standalone

ServerType inetd

DefaultServer on

DefaultRoot /home

# Port 21 is the standard FTP port.

Port 21

# Umask 022 is a good standard umask to prevent new =

# from being group and world writable.

Umask 022

# To prevent DoS attacks, set the maximum number of =

# to 30. If you need to allow more than 30 concurrent =

# at once, simply increase this value. Note that this = ONLY works

# in standalone mode, in inetd mode you should use an =

# 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

SystemLog /var/log/proftpd.log

TransferLog /var/log/xferlog

# Normally, we want files to be overwriteable.

<Directory /*>

AllowOverwrite on

</Directory>

# A basic anonymous FTP server configuration.

# To enable this, remove the user ftp from = /etc/ftpusers.

<Anonymous ~ftp>

RequireValidShell off

User ftp

Group ftp

# We want clients to be able to login with = "anonymous" as well as "ftp"

UserAlias anonymous ftp


# Timeoutldle 300

# TimeoutStalled 300

# TimeoufLogin 30

# TimeoutNoTransfer 300


# Limit the maximum number of anonymous logins

MaxClients 3 "-- Wiecej niz 3 uzytkownikow, = sprobuj za chwile"

MaxClientsPerHost 2 "-- Za duzo polaczen z = jednego IP --"


# 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 =

<Limit WRITE>

DenyAll

</Limit>

# An upload directory that allows storing files but = not retrieving

# or creating directories.

# <Directory incoming/*>

# <Limit READ>

# DenyAll

# </Limit>

#

# <Limit STOR>

# AllowAll

# </Limit>

# </Directory>

#</Anonymous>

#<Limit LOGIN>

#Order allow,deny

Allow from 192.168.0.101

Allow from 192.168.0.109

Allow from 192.168.0.112

Allow from 192.168.0.115

Allow from 192.168.0.117

#DenyAll

#</Limit>

#<Limit LOGIN>

#Order deny,allow

#Deny from 192.168.0.101

#AllowAll

#</Limit>



Wybrane to 192.168.0.101 ,109 ,112 ,115 ,117  = .Cos niechce mi to dzialac ,
ale niewiem dlaczego , prosze poradzcie  co mam = zle .

Zpozdrowieniami      = Bobomir@interia.pl




Received on Sat Feb 21 03:37:26 2004
This archive was generated by hypermail 2.1.8. Wyprawa Shackleton 2014