Cze!!!
Chodzi mi o dopuszczanie do ftp tylko wybranych =
komputerów.Poniżej jest mój
proftp.conf który częsciowo działa =
poprawnie.Komputer 192.168.0.101 ma
dostęp do ftp , jeśli go wychaszuje =
#192.168.0.101 -traci dostep do
ftp -czyli działa prawidłowo. Problem =
zaczynasię jakchce dopuscić drugi
komputer do ftp
np: Allow =
from 192.168.0.101
&nbs=
p; Allow from 192.168.0.117
Wtedy ftp wogule niedopuszcza żadnego kompa. Czy =
ktos wie dlaczegosie tak
dzieje????Może mam gdzies bład w =
Aha - w logach wtedy =
wypisuje Connection from bobo =
[192.168.0.101]
denied .
Proszę o pomoc.Dzięki z góry!!!pozdrawiam =
wszystkich!! Mirek.
# 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>
----------------------------------------------------------------=
------
KLIKAJ!!! Nie pytaj dlaczego... >>> http://link.interia.pl/f16e2