fix a bunch of svn props (no functional changes):
- add svn:eol-style native where needed, seems that we forgot some files last time - nuke svn:keywords from some files where it is not used
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
#
|
||||
# Set PATH, otherwise restart-scripts won't find start-stop-daemon
|
||||
#
|
||||
PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
||||
#
|
||||
# Regular cron jobs for the froxlor package
|
||||
#
|
||||
# Please check that all following paths are correct
|
||||
#
|
||||
*/5 * * * * root /usr/lib/php5/bin/php -q /var/www/froxlor/scripts/froxlor_master_cronjob.php
|
||||
#
|
||||
# Set PATH, otherwise restart-scripts won't find start-stop-daemon
|
||||
#
|
||||
PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
||||
#
|
||||
# Regular cron jobs for the froxlor package
|
||||
#
|
||||
# Please check that all following paths are correct
|
||||
#
|
||||
*/5 * * * * root /usr/lib/php5/bin/php -q /var/www/froxlor/scripts/froxlor_master_cronjob.php
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
#
|
||||
# !!! DO NOT REPLACE THE ORIGINAL CONFIG WITH THIS FILE !!!
|
||||
#
|
||||
# Instead, just set the shown values in the file to the
|
||||
# given values ;-)
|
||||
#
|
||||
|
||||
Syslog yes
|
||||
Domain /etc/postfix/dkim/domains
|
||||
KeyList /etc/postfix/dkim/dkim-keys.conf
|
||||
#
|
||||
# !!! DO NOT REPLACE THE ORIGINAL CONFIG WITH THIS FILE !!!
|
||||
#
|
||||
# Instead, just set the shown values in the file to the
|
||||
# given values ;-)
|
||||
#
|
||||
|
||||
Syslog yes
|
||||
Domain /etc/postfix/dkim/domains
|
||||
KeyList /etc/postfix/dkim/dkim-keys.conf
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
username <SQL_UNPRIVILEGED_USER>
|
||||
password <SQL_UNPRIVILEGED_PASSWORD>
|
||||
username <SQL_UNPRIVILEGED_USER>
|
||||
password <SQL_UNPRIVILEGED_PASSWORD>
|
||||
|
||||
@@ -1,38 +1,38 @@
|
||||
getpwnam SELECT username,'x',uid,gid,'MySQL User',homedir,shell \
|
||||
FROM ftp_users \
|
||||
WHERE username='%1$s' \
|
||||
LIMIT 1
|
||||
getpwuid SELECT username,'x',uid,gid,'MySQL User',homedir,shell \
|
||||
FROM ftp_users \
|
||||
WHERE uid='%1$u' \
|
||||
LIMIT 1
|
||||
getspnam SELECT username,password,UNIX_TIMESTAMP()-10,'1','2','7','-1','-1','0' \
|
||||
FROM ftp_users \
|
||||
WHERE username='%1$s' \
|
||||
LIMIT 1
|
||||
getpwent SELECT username,'x',uid,gid,'MySQL User',homedir,shell \
|
||||
FROM ftp_users
|
||||
getspent SELECT username,password,UNIX_TIMESTAMP()-10,'1','2','7','-1','-1','0' \
|
||||
FROM ftp_users
|
||||
getgrnam SELECT groupname,'x',gid \
|
||||
FROM ftp_groups \
|
||||
WHERE groupname='%1$s' \
|
||||
LIMIT 1
|
||||
getgrgid SELECT groupname,'x',gid \
|
||||
FROM ftp_groups \
|
||||
WHERE gid='%1$u' \
|
||||
LIMIT 1
|
||||
getgrent SELECT groupname,'x',gid \
|
||||
FROM ftp_groups
|
||||
memsbygid SELECT username \
|
||||
FROM ftp_users \
|
||||
WHERE gid='%1$u'
|
||||
gidsbymem SELECT gid \
|
||||
FROM ftp_users \
|
||||
WHERE username='%1$s'
|
||||
|
||||
host <SQL_HOST>
|
||||
database <SQL_DB>
|
||||
username <SQL_UNPRIVILEGED_USER>
|
||||
password <SQL_UNPRIVILEGED_PASSWORD>
|
||||
socket /var/run/mysqld/mysqld.sock
|
||||
getpwnam SELECT username,'x',uid,gid,'MySQL User',homedir,shell \
|
||||
FROM ftp_users \
|
||||
WHERE username='%1$s' \
|
||||
LIMIT 1
|
||||
getpwuid SELECT username,'x',uid,gid,'MySQL User',homedir,shell \
|
||||
FROM ftp_users \
|
||||
WHERE uid='%1$u' \
|
||||
LIMIT 1
|
||||
getspnam SELECT username,password,UNIX_TIMESTAMP()-10,'1','2','7','-1','-1','0' \
|
||||
FROM ftp_users \
|
||||
WHERE username='%1$s' \
|
||||
LIMIT 1
|
||||
getpwent SELECT username,'x',uid,gid,'MySQL User',homedir,shell \
|
||||
FROM ftp_users
|
||||
getspent SELECT username,password,UNIX_TIMESTAMP()-10,'1','2','7','-1','-1','0' \
|
||||
FROM ftp_users
|
||||
getgrnam SELECT groupname,'x',gid \
|
||||
FROM ftp_groups \
|
||||
WHERE groupname='%1$s' \
|
||||
LIMIT 1
|
||||
getgrgid SELECT groupname,'x',gid \
|
||||
FROM ftp_groups \
|
||||
WHERE gid='%1$u' \
|
||||
LIMIT 1
|
||||
getgrent SELECT groupname,'x',gid \
|
||||
FROM ftp_groups
|
||||
memsbygid SELECT username \
|
||||
FROM ftp_users \
|
||||
WHERE gid='%1$u'
|
||||
gidsbymem SELECT gid \
|
||||
FROM ftp_users \
|
||||
WHERE username='%1$s'
|
||||
|
||||
host <SQL_HOST>
|
||||
database <SQL_DB>
|
||||
username <SQL_UNPRIVILEGED_USER>
|
||||
password <SQL_UNPRIVILEGED_PASSWORD>
|
||||
socket /var/run/mysqld/mysqld.sock
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
# Make sure that `passwd`, `group` and `shadow` have mysql in their lines
|
||||
# You should place mysql at the end, so that it is queried after the other mechanisams
|
||||
#
|
||||
passwd: compat mysql
|
||||
group: compat mysql
|
||||
shadow: compat mysql
|
||||
|
||||
hosts: files dns
|
||||
networks: files dns
|
||||
|
||||
services: db files
|
||||
protocols: db files
|
||||
rpc: db files
|
||||
ethers: db files
|
||||
netmasks: files
|
||||
netgroup: files
|
||||
bootparams: files
|
||||
|
||||
automount: files
|
||||
# Make sure that `passwd`, `group` and `shadow` have mysql in their lines
|
||||
# You should place mysql at the end, so that it is queried after the other mechanisams
|
||||
#
|
||||
passwd: compat mysql
|
||||
group: compat mysql
|
||||
shadow: compat mysql
|
||||
|
||||
hosts: files dns
|
||||
networks: files dns
|
||||
|
||||
services: db files
|
||||
protocols: db files
|
||||
rpc: db files
|
||||
ethers: db files
|
||||
netmasks: files
|
||||
netgroup: files
|
||||
bootparams: files
|
||||
|
||||
automount: files
|
||||
aliases: files
|
||||
@@ -1,54 +1,54 @@
|
||||
###############################################################################
|
||||
# Default lighttpd.conf for Froxlor.
|
||||
###############################################################################
|
||||
var.basedir = "/var/www"
|
||||
var.logdir = "/var/log/lighttpd"
|
||||
var.statedir = "/var/lib/lighttpd"
|
||||
|
||||
server.modules = (
|
||||
"mod_rewrite",
|
||||
"mod_redirect",
|
||||
"mod_alias",
|
||||
"mod_access",
|
||||
"mod_auth",
|
||||
"mod_fastcgi",
|
||||
"mod_accesslog"
|
||||
)
|
||||
|
||||
server.username = "lighttpd"
|
||||
server.groupname = "lighttpd"
|
||||
server.document-root = var.basedir
|
||||
server.pid-file = "/var/run/lighttpd.pid"
|
||||
accesslog.filename = var.logdir + "/access.log"
|
||||
server.errorlog = var.logdir + "/error.log"
|
||||
|
||||
server.indexfiles = ("index.php", "index.html",
|
||||
"index.htm", "default.htm")
|
||||
|
||||
server.name = "<SERVERNAME>"
|
||||
server.port = 80
|
||||
server.bind = "<SERVERIP>"
|
||||
url.access-deny = ("~", ".inc")
|
||||
|
||||
include "mime-types.conf"
|
||||
|
||||
fastcgi.server = (
|
||||
".php" => (
|
||||
"localhost" => (
|
||||
"socket" => "<CUSTOMER_TMP>lighttpd-fcgi-sock-lighttpd",
|
||||
"broken-scriptfilename" => "enable",
|
||||
"bin-path" => "/usr/bin/php-cgi",
|
||||
"min-procs" => 1,
|
||||
"max-procs" => 1,
|
||||
"max-load-per-proc" => 4,
|
||||
"idle-timeout" => 60,
|
||||
"bin-environment" => (
|
||||
"UID" => "lighttpd",
|
||||
"GID" => "lighttpd",
|
||||
"PHP_FCGI_CHILDREN" => "0",
|
||||
"PHP_FCGI_MAX_REQUESTS" => "10000"
|
||||
),
|
||||
"bin-copy-environment" => ( "" )
|
||||
)
|
||||
)
|
||||
)
|
||||
###############################################################################
|
||||
# Default lighttpd.conf for Froxlor.
|
||||
###############################################################################
|
||||
var.basedir = "/var/www"
|
||||
var.logdir = "/var/log/lighttpd"
|
||||
var.statedir = "/var/lib/lighttpd"
|
||||
|
||||
server.modules = (
|
||||
"mod_rewrite",
|
||||
"mod_redirect",
|
||||
"mod_alias",
|
||||
"mod_access",
|
||||
"mod_auth",
|
||||
"mod_fastcgi",
|
||||
"mod_accesslog"
|
||||
)
|
||||
|
||||
server.username = "lighttpd"
|
||||
server.groupname = "lighttpd"
|
||||
server.document-root = var.basedir
|
||||
server.pid-file = "/var/run/lighttpd.pid"
|
||||
accesslog.filename = var.logdir + "/access.log"
|
||||
server.errorlog = var.logdir + "/error.log"
|
||||
|
||||
server.indexfiles = ("index.php", "index.html",
|
||||
"index.htm", "default.htm")
|
||||
|
||||
server.name = "<SERVERNAME>"
|
||||
server.port = 80
|
||||
server.bind = "<SERVERIP>"
|
||||
url.access-deny = ("~", ".inc")
|
||||
|
||||
include "mime-types.conf"
|
||||
|
||||
fastcgi.server = (
|
||||
".php" => (
|
||||
"localhost" => (
|
||||
"socket" => "<CUSTOMER_TMP>lighttpd-fcgi-sock-lighttpd",
|
||||
"broken-scriptfilename" => "enable",
|
||||
"bin-path" => "/usr/bin/php-cgi",
|
||||
"min-procs" => 1,
|
||||
"max-procs" => 1,
|
||||
"max-load-per-proc" => 4,
|
||||
"idle-timeout" => 60,
|
||||
"bin-environment" => (
|
||||
"UID" => "lighttpd",
|
||||
"GID" => "lighttpd",
|
||||
"PHP_FCGI_CHILDREN" => "0",
|
||||
"PHP_FCGI_MAX_REQUESTS" => "10000"
|
||||
),
|
||||
"bin-copy-environment" => ( "" )
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
@@ -1,112 +1,112 @@
|
||||
# Postfix programs paths settings
|
||||
command_directory = /usr/sbin
|
||||
daemon_directory = /usr/lib/postfix
|
||||
program_directory = /usr/lib/postfix
|
||||
sendmail_path = /usr/sbin/sendmail
|
||||
|
||||
## General Postfix configuration
|
||||
# should be the default domain from your provider eg. "server100.provider.tld"
|
||||
mydomain = <SERVERNAME>
|
||||
|
||||
# should be different from $mydomain eg. "mail.$mydomain"
|
||||
myhostname = <SERVERNAME>
|
||||
|
||||
mydestination = $myhostname,
|
||||
$mydomain,
|
||||
localhost.$myhostname,
|
||||
localhost.$mydomain,
|
||||
localhost
|
||||
mynetworks = 127.0.0.0/8
|
||||
inet_interfaces = all
|
||||
append_dot_mydomain = no
|
||||
biff = no
|
||||
|
||||
# Postfix performance settings
|
||||
default_destination_concurrency_limit = 20
|
||||
local_destination_concurrency_limit = 2
|
||||
|
||||
# SMTPD Settings
|
||||
smtpd_banner = $myhostname ESMTP $mail_name (Gentoo/GNU)
|
||||
smtpd_helo_required = yes
|
||||
smtpd_recipient_restrictions = permit_mynetworks,
|
||||
permit_sasl_authenticated,
|
||||
reject_unauth_destination,
|
||||
reject_unauth_pipelining,
|
||||
reject_non_fqdn_recipient
|
||||
smtpd_sender_restrictions = permit_mynetworks,
|
||||
permit_sasl_authenticated,
|
||||
reject_unknown_hostname,
|
||||
reject_unknown_recipient_domain,
|
||||
reject_unknown_sender_domain
|
||||
smtpd_client_restrictions = permit_mynetworks,
|
||||
permit_sasl_authenticated,
|
||||
reject_unknown_client
|
||||
# Maximum size of Message in bytes (50MB)
|
||||
message_size_limit = 52428800
|
||||
|
||||
## SASL Auth Settings
|
||||
smtpd_sasl_auth_enable = yes
|
||||
smtpd_sasl_local_domain = $myhostname
|
||||
smtpd_sasl_security_options = noanonymous
|
||||
broken_sasl_auth_clients = yes
|
||||
## Dovecot Settings for deliver, SASL Auth and virtual transport
|
||||
## uncomment those line to use Dovecot
|
||||
#mailbox_command = /usr/libexec/dovecot/deliver
|
||||
#smtpd_sasl_type = dovecot
|
||||
#smtpd_sasl_path = private/auth
|
||||
#virtual_transport = dovecot
|
||||
#dovecot_destination_recipient_limit = 1
|
||||
|
||||
# Virtual delivery settings
|
||||
virtual_mailbox_base = <VIRTUAL_MAILBOX_BASE>
|
||||
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailbox_maps.cf
|
||||
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_mailbox_domains.cf
|
||||
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_alias_maps.cf
|
||||
virtual_uid_maps = static:<VIRTUAL_UID_MAPS>
|
||||
virtual_gid_maps = static:<VIRTUAL_GID_MAPS>
|
||||
|
||||
# Local delivery settings
|
||||
local_transport = local
|
||||
alias_database = hash:/etc/mail/aliases
|
||||
alias_maps = $alias_database
|
||||
|
||||
# Default Mailbox size, is set to 0 which means unlimited!
|
||||
mailbox_size_limit = 0
|
||||
virtual_mailbox_limit = 0
|
||||
|
||||
### TLS settings
|
||||
###
|
||||
## TLS for outgoing mails from the server to another server
|
||||
#smtp_use_tls = yes
|
||||
#smtp_tls_note_starttls_offer = yes
|
||||
## TLS for email client
|
||||
#smtpd_tls_cert_file = /etc/ssl/server/<SERVERNAME>.pem
|
||||
#smtpd_tls_key_file = /etc/ssl/server/<SERVERNAME>.pem
|
||||
#smtpd_tls_CAfile = /etc/ssl/cacert.class3.crt # Just an example for CACert.org
|
||||
#smtpd_tls_auth_only = no
|
||||
#smtpd_tls_loglevel = 1
|
||||
#smtpd_tls_received_header = yes
|
||||
#smtpd_tls_session_cache_timeout = 3600s
|
||||
#tls_random_source = dev:/dev/urandom
|
||||
|
||||
### Quota Settings with vda useflag
|
||||
## I use only virtual as localdelivery... This permit me to have full
|
||||
## virtual domain hosting without using a lots of maps
|
||||
#virtual_transport = virtual
|
||||
## Generate maildirsize files or not
|
||||
#virtual_create_maildirsize = yes
|
||||
## I use Courier IMAP compatibles files.
|
||||
#virtual_mailbox_extended = yes
|
||||
## Limits only INBOX part (usefull when
|
||||
## using when you have IMAP users)
|
||||
#virtual_mailbox_limit_inbox = yes
|
||||
## maps of soft disk quotas
|
||||
#virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
|
||||
#virtual_mailbox_limit_override = yes
|
||||
#virtual_maildir_limit_message = Sorry, this user has overdrawn their diskspace quota. Please try again later.
|
||||
#virtual_overquota_bounce = yes
|
||||
|
||||
debugger_command =
|
||||
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
|
||||
ddd $daemon_directory/$process_name $process_id & sleep 5
|
||||
|
||||
# Postfix programs paths settings
|
||||
command_directory = /usr/sbin
|
||||
daemon_directory = /usr/lib/postfix
|
||||
program_directory = /usr/lib/postfix
|
||||
sendmail_path = /usr/sbin/sendmail
|
||||
|
||||
## General Postfix configuration
|
||||
# should be the default domain from your provider eg. "server100.provider.tld"
|
||||
mydomain = <SERVERNAME>
|
||||
|
||||
# should be different from $mydomain eg. "mail.$mydomain"
|
||||
myhostname = <SERVERNAME>
|
||||
|
||||
mydestination = $myhostname,
|
||||
$mydomain,
|
||||
localhost.$myhostname,
|
||||
localhost.$mydomain,
|
||||
localhost
|
||||
mynetworks = 127.0.0.0/8
|
||||
inet_interfaces = all
|
||||
append_dot_mydomain = no
|
||||
biff = no
|
||||
|
||||
# Postfix performance settings
|
||||
default_destination_concurrency_limit = 20
|
||||
local_destination_concurrency_limit = 2
|
||||
|
||||
# SMTPD Settings
|
||||
smtpd_banner = $myhostname ESMTP $mail_name (Gentoo/GNU)
|
||||
smtpd_helo_required = yes
|
||||
smtpd_recipient_restrictions = permit_mynetworks,
|
||||
permit_sasl_authenticated,
|
||||
reject_unauth_destination,
|
||||
reject_unauth_pipelining,
|
||||
reject_non_fqdn_recipient
|
||||
smtpd_sender_restrictions = permit_mynetworks,
|
||||
permit_sasl_authenticated,
|
||||
reject_unknown_hostname,
|
||||
reject_unknown_recipient_domain,
|
||||
reject_unknown_sender_domain
|
||||
smtpd_client_restrictions = permit_mynetworks,
|
||||
permit_sasl_authenticated,
|
||||
reject_unknown_client
|
||||
# Maximum size of Message in bytes (50MB)
|
||||
message_size_limit = 52428800
|
||||
|
||||
## SASL Auth Settings
|
||||
smtpd_sasl_auth_enable = yes
|
||||
smtpd_sasl_local_domain = $myhostname
|
||||
smtpd_sasl_security_options = noanonymous
|
||||
broken_sasl_auth_clients = yes
|
||||
## Dovecot Settings for deliver, SASL Auth and virtual transport
|
||||
## uncomment those line to use Dovecot
|
||||
#mailbox_command = /usr/libexec/dovecot/deliver
|
||||
#smtpd_sasl_type = dovecot
|
||||
#smtpd_sasl_path = private/auth
|
||||
#virtual_transport = dovecot
|
||||
#dovecot_destination_recipient_limit = 1
|
||||
|
||||
# Virtual delivery settings
|
||||
virtual_mailbox_base = <VIRTUAL_MAILBOX_BASE>
|
||||
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailbox_maps.cf
|
||||
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_mailbox_domains.cf
|
||||
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_alias_maps.cf
|
||||
virtual_uid_maps = static:<VIRTUAL_UID_MAPS>
|
||||
virtual_gid_maps = static:<VIRTUAL_GID_MAPS>
|
||||
|
||||
# Local delivery settings
|
||||
local_transport = local
|
||||
alias_database = hash:/etc/mail/aliases
|
||||
alias_maps = $alias_database
|
||||
|
||||
# Default Mailbox size, is set to 0 which means unlimited!
|
||||
mailbox_size_limit = 0
|
||||
virtual_mailbox_limit = 0
|
||||
|
||||
### TLS settings
|
||||
###
|
||||
## TLS for outgoing mails from the server to another server
|
||||
#smtp_use_tls = yes
|
||||
#smtp_tls_note_starttls_offer = yes
|
||||
## TLS for email client
|
||||
#smtpd_tls_cert_file = /etc/ssl/server/<SERVERNAME>.pem
|
||||
#smtpd_tls_key_file = /etc/ssl/server/<SERVERNAME>.pem
|
||||
#smtpd_tls_CAfile = /etc/ssl/cacert.class3.crt # Just an example for CACert.org
|
||||
#smtpd_tls_auth_only = no
|
||||
#smtpd_tls_loglevel = 1
|
||||
#smtpd_tls_received_header = yes
|
||||
#smtpd_tls_session_cache_timeout = 3600s
|
||||
#tls_random_source = dev:/dev/urandom
|
||||
|
||||
### Quota Settings with vda useflag
|
||||
## I use only virtual as localdelivery... This permit me to have full
|
||||
## virtual domain hosting without using a lots of maps
|
||||
#virtual_transport = virtual
|
||||
## Generate maildirsize files or not
|
||||
#virtual_create_maildirsize = yes
|
||||
## I use Courier IMAP compatibles files.
|
||||
#virtual_mailbox_extended = yes
|
||||
## Limits only INBOX part (usefull when
|
||||
## using when you have IMAP users)
|
||||
#virtual_mailbox_limit_inbox = yes
|
||||
## maps of soft disk quotas
|
||||
#virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
|
||||
#virtual_mailbox_limit_override = yes
|
||||
#virtual_maildir_limit_message = Sorry, this user has overdrawn their diskspace quota. Please try again later.
|
||||
#virtual_overquota_bounce = yes
|
||||
|
||||
debugger_command =
|
||||
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
|
||||
ddd $daemon_directory/$process_name $process_id & sleep 5
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
user = <SQL_UNPRIVILEGED_USER>
|
||||
password = <SQL_UNPRIVILEGED_PASSWORD>
|
||||
dbname = <SQL_DB>
|
||||
table = mail_virtual
|
||||
select_field = destination
|
||||
where_field = email
|
||||
additional_conditions = and TRIM(destination) <> ''
|
||||
hosts = <SQL_HOST>
|
||||
user = <SQL_UNPRIVILEGED_USER>
|
||||
password = <SQL_UNPRIVILEGED_PASSWORD>
|
||||
dbname = <SQL_DB>
|
||||
table = mail_virtual
|
||||
select_field = destination
|
||||
where_field = email
|
||||
additional_conditions = and TRIM(destination) <> ''
|
||||
hosts = <SQL_HOST>
|
||||
|
||||
@@ -1,92 +1,92 @@
|
||||
# Server settings
|
||||
ServerName "<SERVERNAME> FTP Server"
|
||||
ServerType standalone
|
||||
ServerIdent off
|
||||
DefaultServer on
|
||||
Port 21
|
||||
MaxInstances 50
|
||||
|
||||
# General settings
|
||||
DeferWelcome on
|
||||
MultilineRFC2228 on
|
||||
ShowSymlinks on
|
||||
AllowOverwrite on
|
||||
AllowStoreRestart on
|
||||
AllowRetrieveRestart on
|
||||
UseReverseDNS off
|
||||
ListOptions "-al"
|
||||
DisplayChdir .message
|
||||
UseIPv6 off
|
||||
|
||||
# Modules settings
|
||||
#DelayEngine off
|
||||
|
||||
# Timeout settings
|
||||
TimeoutLogin 120
|
||||
TimeoutNoTransfer 600
|
||||
TimeoutStalled 600
|
||||
TimeoutIdle 600
|
||||
|
||||
# Security settings
|
||||
RootLogin off
|
||||
RequireValidShell off
|
||||
User froxlorftpd
|
||||
Group froxlorftpd
|
||||
Umask 133 022
|
||||
DefaultRoot ~
|
||||
DenyFilter \*.*/
|
||||
|
||||
# Per-Directory settings
|
||||
<Directory /*>
|
||||
Umask 133 022
|
||||
AllowOverwrite on
|
||||
</Directory>
|
||||
|
||||
# SQL settings
|
||||
SQLAuthTypes Crypt
|
||||
SQLAuthenticate users* groups*
|
||||
SQLConnectInfo <SQL_DB>@<SQL_HOST> <SQL_UNPRIVILEGED_USER> <SQL_UNPRIVILEGED_PASSWORD>
|
||||
SQLUserInfo ftp_users username password uid gid homedir shell
|
||||
SQLGroupInfo ftp_groups groupname gid members
|
||||
SQLUserWhereClause "login_enabled = 'y'"
|
||||
|
||||
SQLLog PASS login
|
||||
SQLNamedQuery login UPDATE "last_login=now(), login_count=login_count+1 WHERE username='%u'" ftp_users
|
||||
|
||||
SQLLog RETR download
|
||||
SQLNamedQuery download UPDATE "down_count=down_count+1, down_bytes=down_bytes+%b WHERE username='%u'" ftp_users
|
||||
|
||||
SQLLog STOR upload
|
||||
SQLNamedQuery upload UPDATE "up_count=up_count+1, up_bytes=up_bytes+%b WHERE username='%u'" ftp_users
|
||||
|
||||
# TLS settings
|
||||
#<IfModule mod_tls.c>
|
||||
#TLSEngine on
|
||||
#TLSLog /var/log/proftpd-tls.log
|
||||
#TLSProtocol SSLv23
|
||||
#TLSTimeoutHandshake 120
|
||||
# Really important for WinClients
|
||||
#TLSOptions NoCertRequest
|
||||
#TLSRSACertificateFile /etc/ssl/server/<SERVERNAME>.crt
|
||||
#TLSRSACertificateKeyFile /etc/ssl/server/<SERVERNAME>.key
|
||||
# Authenticate client that want to use FTP over TLS?
|
||||
#TLSVerifyClient off
|
||||
# Uncomment the following line to force tls login
|
||||
#TLSRequired off
|
||||
#</IfModule>
|
||||
|
||||
# LOG settings
|
||||
# Logging Formats
|
||||
LogFormat default "%h %1 %u %t \"%r\" %s %b"
|
||||
LogFormat auth "%v [%P] %h %t \"%r\" %s"
|
||||
LogFormat write "%h %l %u %t \"%r\" %s %b"
|
||||
# Activate Logging
|
||||
# all logins
|
||||
ExtendedLog /var/log/proftpd-auth.log AUTH auth
|
||||
# file/dir access
|
||||
ExtendedLog /var/log/proftpd-access.log WRITE,READ write
|
||||
# everything (be careful, generates_ very_ big logfiles)
|
||||
#ExtendedLog /var/log/proftpd-all.log ALL default
|
||||
|
||||
# make proftpd faster / do not perform ident and reverse dns lookup
|
||||
UseReverseDNS off
|
||||
# Server settings
|
||||
ServerName "<SERVERNAME> FTP Server"
|
||||
ServerType standalone
|
||||
ServerIdent off
|
||||
DefaultServer on
|
||||
Port 21
|
||||
MaxInstances 50
|
||||
|
||||
# General settings
|
||||
DeferWelcome on
|
||||
MultilineRFC2228 on
|
||||
ShowSymlinks on
|
||||
AllowOverwrite on
|
||||
AllowStoreRestart on
|
||||
AllowRetrieveRestart on
|
||||
UseReverseDNS off
|
||||
ListOptions "-al"
|
||||
DisplayChdir .message
|
||||
UseIPv6 off
|
||||
|
||||
# Modules settings
|
||||
#DelayEngine off
|
||||
|
||||
# Timeout settings
|
||||
TimeoutLogin 120
|
||||
TimeoutNoTransfer 600
|
||||
TimeoutStalled 600
|
||||
TimeoutIdle 600
|
||||
|
||||
# Security settings
|
||||
RootLogin off
|
||||
RequireValidShell off
|
||||
User froxlorftpd
|
||||
Group froxlorftpd
|
||||
Umask 133 022
|
||||
DefaultRoot ~
|
||||
DenyFilter \*.*/
|
||||
|
||||
# Per-Directory settings
|
||||
<Directory /*>
|
||||
Umask 133 022
|
||||
AllowOverwrite on
|
||||
</Directory>
|
||||
|
||||
# SQL settings
|
||||
SQLAuthTypes Crypt
|
||||
SQLAuthenticate users* groups*
|
||||
SQLConnectInfo <SQL_DB>@<SQL_HOST> <SQL_UNPRIVILEGED_USER> <SQL_UNPRIVILEGED_PASSWORD>
|
||||
SQLUserInfo ftp_users username password uid gid homedir shell
|
||||
SQLGroupInfo ftp_groups groupname gid members
|
||||
SQLUserWhereClause "login_enabled = 'y'"
|
||||
|
||||
SQLLog PASS login
|
||||
SQLNamedQuery login UPDATE "last_login=now(), login_count=login_count+1 WHERE username='%u'" ftp_users
|
||||
|
||||
SQLLog RETR download
|
||||
SQLNamedQuery download UPDATE "down_count=down_count+1, down_bytes=down_bytes+%b WHERE username='%u'" ftp_users
|
||||
|
||||
SQLLog STOR upload
|
||||
SQLNamedQuery upload UPDATE "up_count=up_count+1, up_bytes=up_bytes+%b WHERE username='%u'" ftp_users
|
||||
|
||||
# TLS settings
|
||||
#<IfModule mod_tls.c>
|
||||
#TLSEngine on
|
||||
#TLSLog /var/log/proftpd-tls.log
|
||||
#TLSProtocol SSLv23
|
||||
#TLSTimeoutHandshake 120
|
||||
# Really important for WinClients
|
||||
#TLSOptions NoCertRequest
|
||||
#TLSRSACertificateFile /etc/ssl/server/<SERVERNAME>.crt
|
||||
#TLSRSACertificateKeyFile /etc/ssl/server/<SERVERNAME>.key
|
||||
# Authenticate client that want to use FTP over TLS?
|
||||
#TLSVerifyClient off
|
||||
# Uncomment the following line to force tls login
|
||||
#TLSRequired off
|
||||
#</IfModule>
|
||||
|
||||
# LOG settings
|
||||
# Logging Formats
|
||||
LogFormat default "%h %1 %u %t \"%r\" %s %b"
|
||||
LogFormat auth "%v [%P] %h %t \"%r\" %s"
|
||||
LogFormat write "%h %l %u %t \"%r\" %s %b"
|
||||
# Activate Logging
|
||||
# all logins
|
||||
ExtendedLog /var/log/proftpd-auth.log AUTH auth
|
||||
# file/dir access
|
||||
ExtendedLog /var/log/proftpd-access.log WRITE,READ write
|
||||
# everything (be careful, generates_ very_ big logfiles)
|
||||
#ExtendedLog /var/log/proftpd-all.log ALL default
|
||||
|
||||
# make proftpd faster / do not perform ident and reverse dns lookup
|
||||
UseReverseDNS off
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
service froxlor
|
||||
{
|
||||
id = froxlor
|
||||
socket_type = stream
|
||||
protocol = tcp
|
||||
wait = no
|
||||
|
||||
user = root
|
||||
server = /usr/bin/php
|
||||
server_args = -q /var/www/froxlor/scripts/froxlor_master_cronjob.php
|
||||
|
||||
bind = 127.0.0.1
|
||||
only_from = 127.0.0.1
|
||||
|
||||
type = UNLISTED
|
||||
port = <REALTIME_PORT>
|
||||
disable = no
|
||||
|
||||
log_type = SYSLOG daemon info
|
||||
log_on_success = HOST DURATION
|
||||
log_on_failure = HOST ATTEMPT
|
||||
}
|
||||
|
||||
service froxlor
|
||||
{
|
||||
id = froxlor
|
||||
socket_type = stream
|
||||
protocol = tcp
|
||||
wait = no
|
||||
|
||||
user = root
|
||||
server = /usr/bin/php
|
||||
server_args = -q /var/www/froxlor/scripts/froxlor_master_cronjob.php
|
||||
|
||||
bind = 127.0.0.1
|
||||
only_from = 127.0.0.1
|
||||
|
||||
type = UNLISTED
|
||||
port = <REALTIME_PORT>
|
||||
disable = no
|
||||
|
||||
log_type = SYSLOG daemon info
|
||||
log_on_success = HOST DURATION
|
||||
log_on_failure = HOST ATTEMPT
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user