日常茶飯事

Proftpd 셋팅 예제입니다.

제가 실제로 사용하고 있는 셋팅입니다.

운영 OS는 FreeBSD입니다.

#########################################################################
# #
# Proftpd configuration For xxcafe #
# http://www.xxcafe.net #
# #
#########################################################################
# To have more informations about Proftpd configuration
# look at : http://www.proftpd.org/
#
# 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 "ftp.xxcafe.net"
ServerType standalone
ServerAdmin xxxxx@xxcafe.net
DefaultServer on

UseReverseDNS off
IdentLookups off

# Default Message
ServerIdent on "xxcafe.net FTP Server ready... "

# Chroot()
DefaultRoot ~ !wheel

# 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

# 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 www
Group www

# Time Limite
#TimeoutIdle 300
TimeoutNoTransfer 300
TimeoutLogin 100

# Root login
RootLogin off

# User Limite
#MaxClients 10 "Sorry, Max user Connect... "
MaxClientsPerHost 3 "Sorry, %m connection allow per one host"
MaxHostsPerUser 3 "Sorry, %m hosts allow per one user"

# Bandwidth Limite (bps)
#RateReadBPS 256
#RateReadFreeBytes 5120
#RateReadHardBPS on

### We want 'welcome.msg' displayed at login, and '.message' displayed
### in each newly chdired directory.
DisplayLogin /xxx/xxx/xxx/welcome.msg
DisplayFirstChdir .message

# Server Name Display Limite
DeferWelcome off

#For FXP
AllowForeignAddress on
PassivePorts 49152 65534

# Normally, we want files to be overwriteable.
< Directory /*>
AllowOverwrite on
AllowRetrieveRestart on
AllowStoreRestart on
< /Directory>

< Global>

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022

#For PAM
# AuthPAM on
# AuthPAMAuthoritative on
# AuthPAMConfig ftpd

#For FXP
AllowForeignAddress on
PassivePorts 49152 65534

# Server Time
TimesGMT off

# 1.2.1 Bug fix
DenyFilter *.*/

< /Global>

< VirtualHost xxx.xxx.xxx.xxx>
ServerName "Ftp.xxcafe.net Server"
Port xxxx
Umask 022

# Chroot()
DefaultRoot /xxx/xxx/xxx

### We want 'welcome.msg' displayed at login, and '.message' displayed
### in each newly chdired directory.
DisplayLogin /usr/local/etc/welcome.msg
DisplayFirstChdir .message

# Server Name Display Limite
DeferWelcome off

# User Limite
MaxClients 10 "Sorry, Maxuser Connect... "
MaxLoginAttempts 1
MaxClientsPerHost 3 "Sorry, %m connection allow per one host"
MaxHostsPerUser 3 "Sorry, %m hosts allow per one user"

# Bandwidth Limite (bps)
#RateReadBPS 128000
#RateReadFreeBytes 5120
#RateReadHardBPS on

< Limit LOGIN>
AllowAll
< /Limit>

< Limit WRITE>
DenyAll
< /Limit>

< Directory /xxx/xxx/xxx>
< Limit READ>
#DenyALL
AllowALL
< /Limit>
< Limit WRITE>
AllowALL
< /Limit>
< /Directory>
< /VirtualHost>

'살아가는 이야기' 카테고리의 다른 글

GoGoGo~~  (0) 2004.05.01
자전거  (0) 2004.05.01
심각한오류(메뉴선택에 실패하다!)  (0) 2004.04.23
한국에는 없는 버스들..  (3) 2004.04.23
묵고 있는 숙소  (0) 2004.04.20
이번출장중에 첫 식사..  (1) 2004.04.20
자자 이제 출발하자구.  (4) 2004.04.18
Proftpd 셋팅 예제입니다.  (0) 2004.03.24
경산 영남대학교 기숙사옆 '온천골'  (2) 2004.03.24
경산 영남대학교 소방서앞 '하늘 담은 최고집'  (0) 2004.03.24
Mr.Children - くるみ  (0) 2004.03.22

Comment +0