All pastes #942842 Raw Edit

Stuff

public text v1 · immutable
·published 2008-03-14 19:41 UTC
rendered paste body
#######################
### Master settings ###
#######################

#Port to accept Slave connections on
master.bindport=2323
master.port=45678
master.ip=localhost
master.slaveSSL=true
master.usermanager=org.drftpd.usermanager.javabeans.BeanUserManager
#loaded plugins must use in sequential numbering
#plugins.1=org.drftpd.plugins.SiteBotSSL
#plugins.2=org.drftpd.plugins.Trial
#plugins.3=org.drftpd.plugins.Archive
#plugins.4=net.drmods.plugins.irc.imdb.EventListener
#plugins.5=net.drmods.plugins.ftp.AutoFreeSpace
#plugins.6=org.drftpd.plugins.DIZPlugin
#leave slaveselection manager as is and use default configs in:
# 1. slaveselection-up.conf.dist
# 2. slaveselection-down.conf.dist
# alternate is org.drftpd.slaveselection.def.SlaveSelectionManager
slaveselection=org.drftpd.slaveselection.filter.SlaveSelectionManager
# this defines each directory under / as a section, "site sections"
# alternate is org.drftpd.sections.conf.SectionManager
sectionmanager=org.drftpd.sections.conf.SectionManager
hideips=false




END



----------------------------------------------------------------------------------------------

######################
### Slave settings ###
######################

#What you set the name as with "site addslave <slavename>" on the master
slave.name=EOS

#root to serve contents from, is automatically created
slave.root.1=site
#you can use several roots for striping files across
#several harddrives without using RAID or similair.
#slave.root.2=d:/

# Master host/ip
master.host=67.212.168.10
.#port to connect to the master
master.bindport=2323
#Set the master to use SSL for slave connections as well
slave.masterSSL=true

#pasv port range
slave.portfrom=30000
slave.portto=30100

# Enable checksums for uploads
# [ true | false ]
enableuploadchecksums=true

# Enable checksums for downloads
# [ true | false ]
enabledownloadchecksums=true

#bufferSize set at 0 lets the kernel handle the buffer sizes
bufferSize=0

# This is the maximum the slave will wait for the master
# timeout on the slave (on the master side) should be equal
# "site slave <slavename> set timeout <value>
# 60000 = one minute
slave.timeout=60000





END


-----------------------------------------------------------------------------

PERMS.CONF


# is displayed as the site tagline on first connection
#login_prompt DrFTPD 2.0rc2 http://drftpd.org

#allow 10 conections per slave if you have 10 slaves
max_users       100     0

# FUNCTION       | PATH     | GROUP
# * = only wildcard recognized
# = denotes group, - denotes user

# EXAMPLES
# upload * =siteop
# download * -user1
# makedir /usercanmakedir/* -user1 -user2 =group1

upload                  *       *
download                *       *

makedir                 *       =siteop

deleteown               *       *
delete                  *       =siteop

renameown               *       *
rename                  *       =siteop

#allows pre in /pre/* to group siteop
#pre                            /pre/*  =siteop
privpath /pre/* =siteop

#allows request in /request/ to group request
request         /request/       =request

hideinwho /pre/*        *

#Don't update files and bytes on transfers
#nostatsup      /pre/*  *
#nostatsdn      /pre/*  *

#Control credit ratio on uploads (0 = no credits)
#creditcheck <path> <ratio> <flag/=group/-user>

#Control credit ratio on downloads (0 = no credits)
#creditloss <path> <ratio> <flag/=group/-user>

#msgpath <path> <filename> <flag/=group/-user>
#msgpath /incoming/ ftp-data/incoming.txt

dirlog          *       *


#dir_names <firstletteruppercase> lower/upper XY XY ..
#dir_names true lower

#file_names <firstletteruppercase> lower/upper XY XY ..
#file_names true lower

give =give =siteop
take =take =siteop

#will allow only users of group siteop to login
#shutdown =siteop
shutdown * *

#excepts only one range of ports, if you want more...
# contribute and request :)
pasv_ports 50000-60000

#to be used if your master does not report the correct outside ip for
#PASV commands
pasv_addr 67.212.168.10

# TLS enforcements.
userrejectsecure        !*
userrejectinsecure      !*
denydiruncrypted        !*
denydatauncrypted       !*
#only allow siteop to see and set bans
ban     *       =siteop
unban   *       =siteop
bans    *       =siteop

wipe * =siteop =wipe
link * =siteop
nuke * =siteop =nuke
unnuke * =siteop =nuke
nukes * *
chown * =siteop

# commands for JobManager don't care about path, extra * is just to conform
addjob * =siteop
removejob * =siteop
listjobs * =siteop
startjobs * =siteop
stopjobs * =siteop