Changeset 1059

Show
Ignore:
Timestamp:
03/14/08 22:49:36 (6 months ago)
Author:
rats
Message:

Small fix,
Updated all Distros

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/CHANGELOG

    r1057 r1059  
    1111                * Fixed #1107: (FreeBSD) fix minor configuration in dist FreeBSD and setup patch 
    1212                * Fixed #1108: (FreeBSD) fix minor configuration in dist FreeBSD and setup patch #2 
     13                * Updated all Distros 
     14        - RELEASE ispCP ω Omega 1.0.0 RC4 
    1315 
    14162008-03-12 Christian Hernmarck 
  • trunk/Makefile

    r1050 r1059  
    4949SYSTEM_MAIL_VIRTUAL=$(INST_PREF)/var/mail/virtual 
    5050SYSTEM_MAKE_DIRS=/bin/mkdir -p 
     51SYSTEM_MAKE_FILE=/bin/touch 
    5152 
    5253export 
  • trunk/configs/Makefile

    r1050 r1059  
    2828#    http://isp-control.net 
    2929# 
     30 
     31export 
    3032 
    3133install: 
  • trunk/configs/dists/centos/Makefile

    r994 r1059  
     1# ispCP ω (OMEGA) a Virtual Hosting Control Panel 
     2# Copyright (c) 2001-2006 by moleSoftware GmbH 
     3# http://www.molesoftware.com 
     4# Copyright (c) 2006-2008 by isp Control Panel 
     5# http://isp-control.net 
     6# 
     7# 
     8# License: 
     9#    This program is free software; you can redistribute it and/or 
     10#    modify it under the terms of the MPL Mozilla Public License 
     11#    as published by the Free Software Foundation; either version 1.1 
     12#    of the License, or (at your option) any later version. 
     13# 
     14#    This program is distributed in the hope that it will be useful, 
     15#    but WITHOUT ANY WARRANTY; without even the implied warranty of 
     16#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     17#    MPL Mozilla Public License for more details. 
     18# 
     19#    You may have received a copy of the MPL Mozilla Public License 
     20#    along with this program. 
     21# 
     22#    An on-line copy of the MPL Mozilla Public License can be found 
     23#    http://www.mozilla.org/MPL/MPL-1.1.html 
     24# 
     25# 
     26# The ispCP ω Home Page is at: 
     27# 
     28#    http://isp-control.net 
     29# 
    130 
    231export 
  • trunk/configs/dists/centos/apache/00_master.conf

    r1026 r1059  
    1  
     1
     2# ispCP ω (OMEGA) a Virtual Hosting Control System 
     3
     4# @copyright    2001-2006 by moleSoftware GmbH 
     5# @copyright    2006-2008 by ispCP | http://isp-control.net 
     6# @version              SVN: $ID$ 
     7# @link                 http://isp-control.net 
     8# @author               ispCP Team 
     9
     10# @license 
     11#   This program is free software; you can redistribute it and/or modify it under 
     12#   the terms of the MPL General Public License as published by the Free Software 
     13#   Foundation; either version 1.1 of the License, or (at your option) any later 
     14#   version. 
     15#   You should have received a copy of the MPL Mozilla Public License along with 
     16#   this program; if not, write to the Open Source Initiative (OSI) 
     17#   http://opensource.org | osi@opensource.org 
     18
     19################################################################################ 
    220# 
    321# Master Begin 
  • trunk/configs/dists/centos/apache/01_awstats.conf

    r994 r1059  
    1  
     1
     2# ispCP ω (OMEGA) a Virtual Hosting Control System 
     3
     4# @copyright    2006-2008 by ispCP | http://isp-control.net 
     5# @version              SVN: $ID$ 
     6# @link                 http://isp-control.net 
     7# @author               ispCP Team 
     8
     9# @license 
     10#   This program is free software; you can redistribute it and/or modify it under 
     11#   the terms of the MPL General Public License as published by the Free Software 
     12#   Foundation; either version 1.1 of the License, or (at your option) any later 
     13#   version. 
     14#   You should have received a copy of the MPL Mozilla Public License along with 
     15#   this program; if not, write to the Open Source Initiative (OSI) 
     16#   http://opensource.org | osi@opensource.org 
     17
     18################################################################################ 
    219# 
    320# AWStats Begin 
  • trunk/configs/dists/centos/apache/fastcgi.conf

    r994 r1059  
    1 # ISPCP ω (OMEGA) a Virtual Hosting Control System 
    2 # Copyright (c) 2006-2007 by ispCP | http://isp-control.net 
    31# 
     2# ispCP ω (OMEGA) a Virtual Hosting Control System 
    43# 
    5 # License: 
    6 #    This program is free software; you can redistribute it and/or 
    7 #    modify it under the terms of the GPL General Public License 
    8 #    as published by the Free Software Foundation; either version 2.0 
    9 #    of the License, or (at your option) any later version. 
     4# @copyright    2006-2008 by ispCP | http://isp-control.net 
     5# @version              SVN: $ID$ 
     6# @link                 http://isp-control.net 
     7# @author               ispCP Team 
    108# 
    11 #    This program is distributed in the hope that it will be useful, 
    12 #    but WITHOUT ANY WARRANTY; without even the implied warranty of 
    13 #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    14 #    GPL General Public License for more details. 
     9# @license 
     10#   This program is free software; you can redistribute it and/or modify it under 
     11#   the terms of the MPL General Public License as published by the Free Software 
     12#   Foundation; either version 1.1 of the License, or (at your option) any later 
     13#   version. 
     14#   You should have received a copy of the MPL Mozilla Public License along with 
     15#   this program; if not, write to the Open Source Initiative (OSI) 
     16#   http://opensource.org | osi@opensource.org 
    1517# 
    16 #    You may have received a copy of the GPL General Public License 
    17 #    along with this program. 
    18 
    19 #    An on-line copy of the GPL General Public License can be found 
    20 #    http://www.fsf.org/licensing/licenses/gpl.txt 
    21 
    22 ######################################################################## 
    23 
    24 # @TODO : 
    25 # - Finish config Fastcgi 
     18################################################################################ 
    2619 
    2720<IfModule mod_fastcgi.c> 
  • trunk/configs/dists/centos/apache/fastcgi2.conf

    r994 r1059  
    1 # ISPCP ω (OMEGA) a Virtual Hosting Control System 
    2 # Copyright (c) 2006-2007 by ispCP | http://isp-control.net 
    31# 
     2# ispCP ω (OMEGA) a Virtual Hosting Control System 
    43# 
    5 # License: 
    6 #    This program is free software; you can redistribute it and/or 
    7 #    modify it under the terms of the GPL General Public License 
    8 #    as published by the Free Software Foundation; either version 2.0 
    9 #    of the License, or (at your option) any later version. 
     4# @copyright    2006-2008 by ispCP | http://isp-control.net 
     5# @version              SVN: $ID$ 
     6# @link                 http://isp-control.net 
     7# @author               ispCP Team 
    108# 
    11 #    This program is distributed in the hope that it will be useful, 
    12 #    but WITHOUT ANY WARRANTY; without even the implied warranty of 
    13 #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    14 #    GPL General Public License for more details. 
     9# @license 
     10#   This program is free software; you can redistribute it and/or modify it under 
     11#   the terms of the MPL General Public License as published by the Free Software 
     12#   Foundation; either version 1.1 of the License, or (at your option) any later 
     13#   version. 
     14#   You should have received a copy of the MPL Mozilla Public License along with 
     15#   this program; if not, write to the Open Source Initiative (OSI) 
     16#   http://opensource.org | osi@opensource.org 
    1517# 
    16 #    You may have received a copy of the GPL General Public License 
    17 #    along with this program. 
    18 
    19 #    An on-line copy of the GPL General Public License can be found 
    20 #    http://www.fsf.org/licensing/licenses/gpl.txt 
    21 
    22 ######################################################################## 
    23 
    24 # @TODO : 
    25 # - Finish config Fastcgi 
     18################################################################################ 
    2619 
    2720<IfModule mod_fastcgi.c> 
  • trunk/configs/dists/centos/init.d/ispcp_daemon

    r994 r1059  
    11#!/bin/sh 
     2 
    23# ispCP ω (OMEGA) a Virtual Hosting Control System 
    34# Copyright (c) 2007 by ispCP 
     
    2627# 
    2728#    http://www.isp-control.net 
     29# 
     30### BEGIN INIT INFO 
     31# Provides:             ispcp_daemon 
     32# Required-Start:       $network $local_fs $remote_fs 
     33# Required-Stop: 
     34# Should-Stop:          $local_fs 
     35# Default-Start:        2 3 4 5 
     36# Default-Stop:         0 1 6 
     37# Short-Description:    ispCP GUI-Backend communication Daemon 
     38### END INIT INFO 
     39# Note: do not modify any of these vars here, use /etc/default/$NAME instead 
    2840 
    2941 
  • trunk/configs/dists/centos/init.d/ispcp_network

    r994 r1059  
    2727# 
    2828#    http://www.isp-control.net 
    29  
     29### BEGIN INIT INFO 
     30# Provides:             ispcp_network 
     31# Required-Start:       $network $local_fs $remote_fs 
     32# Required-Stop: 
     33# Should-Stop:          $local_fs 
     34# Default-Start:        2 3 4 5 
     35# Default-Stop:         0 1 6 
     36# Short-Description:    ispCP Network Traffic Logger 
     37### END INIT INFO 
    3038# Note: do not modify any of these vars here, use /etc/default/$NAME instead 
    3139 
  • trunk/configs/dists/centos/ispcp.conf

    r1037 r1059  
    350350USER_INITIAL_THEME = omega_original 
    351351 
    352 ISPCP_LICENSE = ispCP 1.0rc4 OMEGA<br />build: 2008-02-07<br />Priamos 
    353  
    354352FTP_USERNAME_SEPARATOR = @ 
    355353 
  • trunk/configs/dists/centos/postfix/main.cf

    r1026 r1059  
     1# 
     2# ispCP ω (OMEGA) a Virtual Hosting Control System 
     3# 
     4# @copyright    2001-2006 by moleSoftware GmbH 
     5# @copyright    2006-2008 by ispCP | http://isp-control.net 
     6# @version              SVN: $ID$ 
     7# @link                 http://isp-control.net 
     8# @author               ispCP Team 
     9# 
     10# @license 
     11#   This program is free software; you can redistribute it and/or modify it under 
     12#   the terms of the MPL General Public License as published by the Free Software 
     13#   Foundation; either version 1.1 of the License, or (at your option) any later 
     14#   version. 
     15#   You should have received a copy of the MPL Mozilla Public License along with 
     16#   this program; if not, write to the Open Source Initiative (OSI) 
     17#   http://opensource.org | osi@opensource.org 
     18# 
     19################################################################################ 
    120 
    2 
    3 # Postfix MTA Manager Main Configuration File; 
    4 
    5 # Please do NOT edit this file manually; 
    6 
     21# Postfix directory settings; These are critical for normal Postfix MTA functionallity 
     22command_directory            = /usr/sbin 
     23daemon_directory             = /usr/lib/postfix 
     24program_directory            = /usr/lib/postfix 
    725 
    8 # 
    9 # Postfix directory settings; These are critical for normal Postfix MTA functionallity; 
    10 
     26# Some common configuration parameters 
     27inet_interfaces              = all 
     28mynetworks_style             = host 
    1129 
    12 command_directory = /usr/sbin 
    13 daemon_directory  = /usr/lib/postfix 
    14 program_directory = /usr/lib/postfix 
     30myhostname                   = {MTA_HOSTNAME} 
     31mydomain                     = {MTA_LOCAL_DOMAIN} 
     32myorigin                     = $myhostname 
    1533 
    16 
    17 # Some common configuration parameters; 
    18 
     34smtpd_banner                 = $myhostname ESMTP ispCP {MTA_VERSION} Managed 
     35setgid_group                 = postdrop 
    1936 
    20 inet_interfaces  = all 
    21 mynetworks_style = host 
     37# Receiving messages parameters 
     38mydestination                = $myhostname, $mydomain 
     39append_dot_mydomain          = no 
     40append_at_myorigin           = yes 
     41local_transport              = local 
     42virtual_transport            = virtual 
     43transport_maps               = hash:{MTA_TRANSPORT_HASH} 
     44alias_maps                   = hash:{MTA_LOCAL_ALIAS_HASH} 
     45alias_database               = hash:{MTA_LOCAL_ALIAS_HASH} 
    2246 
    23 myhostname = {MTA_HOSTNAME} 
    24 mydomain   = {MTA_LOCAL_DOMAIN} 
    25 myorigin   = $myhostname 
    26  
    27 smtpd_banner = $myhostname ESMTP ispCP {MTA_VERSION} Managed 
    28 setgid_group = postdrop 
    29  
    30 
    31 # Receiving messages parameters; 
    32 
    33  
    34 mydestination       = $myhostname, $mydomain 
    35 append_dot_mydomain = no 
    36 append_at_myorigin  = yes 
    37 local_transport     = local 
    38 virtual_transport   = virtual 
    39 transport_maps      = hash:{MTA_TRANSPORT_HASH} 
    40 alias_maps                      = hash:{MTA_LOCAL_ALIAS_HASH} 
    41  
    42 
    43 # Delivering local messages parameters; 
    44 
    45  
    46 mail_spool_directory = {MTA_LOCAL_MAIL_DIR} 
     47# Delivering local messages parameters 
     48mail_spool_directory         = {MTA_LOCAL_MAIL_DIR} 
    4749 
    4850# Mailboxquota 
    4951# => 0 for unlimited 
    5052# => 104857600 for 100 MB 
    51 mailbox_size_limit = 0 
    52 mailbox_command    = procmail -a "$EXTENSION" 
     53mailbox_size_limit           = 0 
     54mailbox_command              = procmail -a "$EXTENSION" 
    5355 
    54 biff = no 
    55  
    56 alias_database                    = hash:{MTA_LOCAL_ALIAS_HASH} 
     56biff                         = no 
     57recipient_delimiter          = + 
    5758 
    5859local_destination_recipient_limit = 1 
    59 local_recipient_maps              = unix:passwd.byname $alias_database 
     60local_recipient_maps         = unix:passwd.byname $alias_database 
    6061 
    61 
    62 # ISPCP Autoresponder parameters; 
    63 
    64  
     62# ispCP Autoresponder parameters 
    6563ispcp-arpl_destination_recipient_limit = 1 
    6664 
    67 # 
    68 # Delivering virtual messages parameters; 
    69 
     65# Delivering virtual messages parameters 
     66virtual_mailbox_base         = {MTA_VIRTUAL_MAIL_DIR} 
     67virtual_mailbox_limit        = 0 
    7068 
    71 virtual_mailbox_base    = {MTA_VIRTUAL_MAIL_DIR
    72 virtual_mailbox_limit   = 0 
     69virtual_mailbox_domains      = hash:{MTA_VIRTUAL_DMN_HASH
     70virtual_mailbox_maps         = hash:{MTA_VIRTUAL_MAILBOX_HASH} 
    7371 
    74 virtual_mailbox_domains = hash:{MTA_VIRTUAL_DMN_HASH} 
    75 virtual_mailbox_maps    = hash:{MTA_VIRTUAL_MAILBOX_HASH} 
     72virtual_alias_maps           = hash:{MTA_VIRTUAL_ALIAS_HASH} 
    7673 
    77 virtual_alias_maps      = hash:{MTA_VIRTUAL_ALIAS_HASH} 
     74virtual_minimum_uid          = {MTA_MAILBOX_MIN_UID} 
     75virtual_uid_maps             = static:{MTA_MAILBOX_UID} 
     76virtual_gid_maps             = static:{MTA_MAILBOX_GID} 
    7877 
    79 virtual_minimum_uid     = {MTA_MAILBOX_MIN_UID} 
    80 virtual_uid_maps        = static:{MTA_MAILBOX_UID} 
    81 virtual_gid_maps        = static:{MTA_MAILBOX_GID} 
    82  
    83 
    84 # SASL paramters; 
    85 
    86  
     78# SASL paramters 
    8779smtpd_sasl_auth_enable       = yes 
    8880smtpd_sasl2_auth_enable      = yes 
     
    9183broken_sasl_auth_clients     = yes 
    9284 
    93 smtpd_helo_required = yes 
     85smtpd_helo_required          = yes 
    9486 
    9587smtpd_helo_restrictions      = permit_mynetworks, 
     
    116108                               reject_unauth_pipelining 
    117109 
     110# TLS parameters; activate, if avaible/used 
     111#smtpd_use_tls               = yes 
     112#smtpd_tls_loglevel          = 2 
     113#smtpd_tls_cert_file         = /etc/postfix/cert.pem 
     114#smtpd_tls_key_file          = /etc/postfix/privkey.pem 
     115#smtpd_tls_auth_only         = no 
     116#smtpd_tls_received_header   = yes 
    118117 
    119 
    120 # TLS parameters; activate, if avaible/used 
    121 
     118# AMaViS parameters; activate, if available/used 
     119#content_filter               = amavis:[127.0.0.1]:10024 
    122120 
    123 #smtpd_tls_loglevel        = 2 
    124 #smtpd_tls_cert_file       = /etc/postfix/cert.pem 
    125 #smtpd_tls_key_file        = /etc/postfix/privkey.pem 
    126 #smtpd_use_tls             = yes 
    127 #smtpd_tls_auth_only       = no 
    128 #smtpd_tls_received_header = yes 
    129  
    130  
    131 # 
    132 # AMaViS parameters; activate, if available/used 
    133 # 
    134  
    135 #content_filter = amavis:[127.0.0.1]:10024 
    136  
    137 # 
    138121# Quota support; activate, if available/used 
    139 # 
    140  
    141122#virtual_create_maildirsize     = yes 
    142123#virtual_mailbox_extended       = yes 
  • trunk/configs/dists/centos/postfix/master.cf

    r994 r1059  
    1818# For AOL-Accounts 
    1919587       inet  n       -       -       -       -       smtpd 
    20    -o smtpd_client_restrictions=permit_sasl_authenticated,reject_unauth_destination 
     20       -o smtpd_client_restrictions=permit_sasl_authenticated,reject_unauth_destination 
    2121#628      inet  n       -       -       -       -       qmqpd 
    2222pickup    fifo  n       -       -       60      1       pickup 
    2323cleanup   unix  n       -       -       -       0       cleanup 
    24 qmgr      fifo  n       -       -       300     1       qmgr 
     24qmgr      fifo  n       -       n       300     1       qmgr 
    2525#qmgr     fifo  n       -       -       300     1       oqmgr 
    2626tlsmgr    unix  -       -       -       1000?   1       tlsmgr 
     
    3636relay     unix  -       -       -       -       -       smtp 
    3737        -o fallback_relay= 
    38 #   -o smtp_helo_timeout=5 -o smtp_connect_timeout=5 
     38#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5 
    3939showq     unix  n       -       -       -       -       showq 
    4040error     unix  -       -       -       -       -       error 
     
    4444lmtp      unix  -       -       -       -       -       lmtp 
    4545anvil     unix  -       -       -       -       1       anvil 
    46 scache    unix  -       -       -       -       1       scache 
     46scache   unix  -       -       -       -       1       scache 
    4747# ==================================================================== 
    48 # ISPCP ω OMEGA configuration 
     48# ispCP ω (OMEGA) a Virtual Hosting Control System 
     49
     50# @copyright    2001-2006 by moleSoftware GmbH 
     51# @copyright    2006-2008 by ispCP | http://isp-control.net 
     52# @version              SVN: $ID$ 
     53# @link                 http://isp-control.net 
     54# @author               ispCP Team 
    4955# ==================================================================== 
    5056# AMaViS => Antivir / Antispam 
     
    6773   -o strict_rfc821_envelopes=yes 
    6874 
    69 # ISPCP autoresponder 
     75# ispCP autoresponder 
    7076ispcp-arpl unix  -      n       n       -       -       pipe 
    7177  flags=O user=vmail argv=/var/www/ispcp/engine/messager/ispcp-arpl-msgr 
     
    9096# 
    9197maildrop  unix  -       n       n       -       -       pipe 
    92   flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient} 
    93 
    94 # The Cyrus deliver program has changed incompatibly, multiple times. 
    95 
    96 old-cyrus unix  -       n       n       -       -       pipe 
    97   flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user} 
    98 # Cyrus 2.1.5 (Amos Gouaux) 
    99 # Also specify in main.cf: cyrus_destination_recipient_limit=1 
    100 cyrus     unix  -       n       n       -       -       pipe 
    101   user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user} 
     98  flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient} 
    10299# 
    103100# See the Postfix UUCP_README file for configuration details. 
     
    111108  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) 
    112109bsmtp     unix  -       n       n       -       -       pipe 
    113   flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient 
     110  flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient 
     111scalemail-backend unix  -       n       n       -       2       pipe 
     112  flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension} 
     113mailman   unix  -       n       n       -       -       pipe 
     114  flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py 
     115  ${nexthop} ${user} 
  • trunk/configs/dists/centos/proftpd/proftpd.conf

    r994 r1059  
    11# 
    2 #       ispCP OMEGA ProFTPd config file 
    3 
    4 
    5 
    6 # Includes required DSO modules. This is mandatory in proftpd 1.3 
    7 
     2# ispCP ω (OMEGA) a Virtual Hosting Control System 
     3
     4# @copyright    2001-2006 by moleSoftware GmbH 
     5# @copyright    2006-2008 by ispCP | http://isp-control.net 
     6# @version              SVN: $ID$ 
     7# @link                 http://isp-control.net 
     8# @author               ispCP Team 
     9
     10# @license 
     11#   This program is free software; you can redistribute it and/or modify it under 
     12#   the terms of the MPL General Public License as published by the Free Software 
     13#   Foundation; either version 1.1 of the License, or (at your option) any later 
     14#   version. 
     15#   You should have received a copy of the MPL Mozilla Public License along with 
     16#   this program; if not, write to the Open Source Initiative (OSI) 
     17#   http://opensource.org | osi@opensource.org 
     18
     19################################################################################ 
     20# Includes DSO modules (this is mandatory in proftpd 1.3) 
    821#Include /etc/proftpd/modules.conf 
    922 
    10 ServerName                              "{HOST_NAME}" 
    11 ServerType                              standalone 
    12 DeferWelcome                    off 
    13  
    14 ShowSymlinks                    on 
    15 MultilineRFC2228                on 
    16 DefaultServer                   on 
    17 ShowSymlinks                    on 
    18 AllowOverwrite                  on 
    19 UseReverseDNS                   off 
    20 IdentLookups                    off 
    21 AllowStoreRestart               on 
    22 AllowForeignAddress             on 
    23  
    24 LogFormat                               traff "%b %u" 
    25  
    26 TimeoutNoTransfer               600 
    27 TimeoutStalled                  600 
    28 TimeoutIdle                             1200 
    29  
    30 DisplayLogin                    welcome.msg 
    31 DisplayFirstChdir               message 
    32  
    33 #LsDefaultOptions               "-l" 
    34  
    35 DenyFilter                              \*.*/ 
    36  
    37 DefaultRoot                             ~ 
     23# Set off to disable IPv6 support which is annoying on IPv4 only boxes. 
     24UseIPv6                    off 
     25 
     26ServerName                 "{HOST_NAME}" 
     27ServerType                 standalone 
     28DeferWelcome               off 
     29 
     30MultilineRFC2228           on 
     31DefaultServer              on 
     32ShowSymlinks               on 
     33 
     34AllowOverwrite             on 
     35UseReverseDNS              off 
     36IdentLookups               off 
     37AllowStoreRestart          on 
     38AllowForeignAddress        on 
     39 
     40LogFormat                  traff "%b %u" 
     41 
     42TimeoutLogin               120 
     43TimeoutNoTransfer          600 
     44TimeoutStalled             600 
     45TimeoutIdle                1200 
     46 
     47DisplayLogin               welcome.msg 
     48DisplayFirstChdir          message 
     49 
     50ListOptions                "-l" 
     51#LsDefaultOptions           "-l" 
     52 
     53DenyFilter                 \*.*/ 
     54 
     55DefaultRoot                ~ 
    3856 
    3957# Uncomment this if you are using NIS or LDAP to retrieve passwords: 
    40 #PersistentPasswd              off 
     58# PersistentPasswd         off 
    4159 
    4260# Port 21 is the standard FTP port. 
    43  
    44 Port                                    21 
     61Port                       21 
     62 
     63# In some cases you have to specify passive ports range to by-pass 
     64# firewall limitations. Ephemeral ports can be used for that, but 
     65# feel free to use a more narrow range. 
     66#PassivePorts               49152 65534 
    4567 
    4668# To prevent DoS attacks, set the maximum number of child processes 
     
    5072# that allows you to limit maximum number of processes per service 
    5173# (such as xinetd) 
    52  
    53 MaxInstances                    30 
     74MaxInstances               30 
    5475 
    5576# Set the user and group that the server normally runs at. 
    56  
    57 User                                    nobody 
    58 Group                                   nogroup 
     77User                       nobody 
     78Group                      nogroup 
    5979 
    6080# Normally, we want files to be overwriteable. 
     
    6383  # Umask 022 is a good standard umask to prevent new files and dirs 
    6484  # (second parm) from being group and world writable. 
    65   Umask                         022  022 
    66  
    67   AllowOverwrite                on 
    68   HideNoAccess                  on 
    69  
     85  Umask                    022  022 
     86  # Normally, we want files to be overwriteable. 
     87  AllowOverwrite           on 
     88  HideNoAccess             on 
    7089</Directory> 
    7190 
    7291<Limit ALL> 
    73   IgnoreHidden                         on 
     92  IgnoreHidden             on 
    7493</Limit> 
    7594 
     95# Be warned: use of this directive impacts CPU average load! 
     96# 
     97# Uncomment this if you like to see progress and transfer rate with ftpwho 
     98# in downloads. That is not needed for uploads rates. 
     99# UseSendFile               off 
     100 
    76101<Global> 
    77   RootLogin                            off 
    78   TransferLog                  /var/log/proftpd/xferlog 
    79   ExtendedLog                  /var/log/proftpd/ftp_traff.log read,write traff 
    80   PathDenyFilter               "\.quota$" 
     102  RootLogin                off 
     103  TransferLog              /var/log/proftpd/xferlog 
     104  ExtendedLog              /var/log/proftpd/ftp_traff.log read,write traff 
     105  PathDenyFilter           "\.quota$" 
    81106</Global> 
    82107 
     108# 
     109# SSL via TLS 
     110# 
     111#<IfModule mod_tls.c> 
     112#  TLSEngine                off                           # on for use of TLS 
     113#  TLSLog                   /var/log/proftpd/ftp_ssl.log  # where to log to 
     114#  TLSProtocol              SSLv23                        # SSLv23 or TLSv1 
     115#  TLSOptions               NoCertRequest                 # either to request the certificate or not 
     116#  TLSRSACertificateFile    /etc/proftpd/ssl.crt          # SSL certfile 
     117#  TLSRSACertificateKeyFile /etc/proftpd/ssl.key          # SSL keyfile 
     118#  TLSVerifyClient          off                           # client verification 
     119#</IfModule> 
     120 
     121# 
     122# ISPCP Quota management; 
     123# 
     124<IfModule mod_quota.c> 
     125  QuotaEngine              on 
     126  QuotaShowQuotas          on 
     127  QuotaDisplayUnits        Mb 
     128 
     129  SQLNamedQuery            get-quota-limit SELECT "name, quota_type, per_session, limit_type, bytes_in_avail, bytes_out_avail, bytes_xfer_avail, files_in_avail, files_out_avail, files_xfer_avail FROM quotalimits WHERE name = '%{0}' AND quota_type = '%{1}'" 
     130  SQLNamedQuery            get-quota-tally SELECT "name, quota_type, bytes_in_used, bytes_out_used, bytes_xfer_used, files_in_used, files_out_used, files_xfer_used FROM quotatallies WHERE name = '%{0}' AND quota_type = '%{1}'" 
     131  SQLNamedQuery            update-quota-tally UPDATE "bytes_in_used = bytes_in_used + %{0}, bytes_out_used = bytes_out_used + %{1}, bytes_xfer_used = bytes_xfer_used + %{2}, files_in_used = files_in_used + %{3}, files_out_used = files_out_used + %{4}, files_xfer_used = files_xfer_used + %{5} WHERE name = '%{6}' AND quota_type = '%{7}'" quotatallies 
     132  SQLNamedQuery            insert-quota-tally INSERT "%{0}, %{1}, %{2}, %{3}, %{4}, %{5}, %{6}, %{7}" quotatallies 
     133 
     134  QuotaLock                /var/run/proftpd/tally.lock 
     135  QuotaLimitTable          sql:/get-quota-limit 
     136  QuotaTallyTable          sql:/get-quota-tally/update-quota-tally/insert-quota-tally 
     137</IfModule> 
     138 
     139<IfModule mod_ratio.c> 
     140  Ratios                   on 
     141</IfModule> 
     142 
     143# Delay engine reduces impact of the so-called Timing Attack described in 
     144# http://security.lss.hr/index.php?page=details&ID=LSS-2004-10-02 
     145# It is on by default. 
    83146<IfModule mod_delay.c> 
    84         DelayEngine                     off 
    85 </IfModule> 
    86  
    87 
    88 # ISPCP Managment; 
    89 
    90 #SQLBackend                             mysql           # enable for proFTPd >= 1.3 
    91 SQLAuthTypes                    Crypt 
    92 SQLAuthenticate                 on 
    93 SQLConnectInfo                  {DATABASE_NAME}@{DATABASE_HOST} {DATABASE_USER} {DATABASE_PASS} 
    94 SQLUserInfo                             ftp_users userid passwd uid gid homedir shell 
    95 SQLGroupInfo                    ftp_group groupname gid members 
    96 SQLMinID                                2000 
    97  
    98 
    99 # ISPCP Quota management; 
    100 
    101  
    102 QuotaEngine                     on 
    103 QuotaShowQuotas                 on 
    104 QuotaDisplayUnits               Mb 
    105  
    106 SQLNamedQuery                   get-quota-limit SELECT "name, quota_type, per_session, limit_type, bytes_in_avail, bytes_out_avail, bytes_xfer_avail, files_in_avail, files_out_avail, files_xfer_avail FROM quotalimits WHERE name = '%{0}' AND quota_type = '%{1}'" 
    107 SQLNamedQuery                   get-quota-tally SELECT "name, quota_type, bytes_in_used, bytes_out_used, bytes_xfer_used, files_in_used, files_out_used, files_xfer_used FROM quotatallies WHERE name = '%{0}' AND quota_type = '%{1}'" 
    108 SQLNamedQuery                   update-quota-tally UPDATE "bytes_in_used = bytes_in_used + %{0}, bytes_out_used = bytes_out_used + %{1}, bytes_xfer_used = bytes_xfer_used + %{2}, files_in_used = files_in_used + %{3}, files_out_used = files_out_used + %{4}, files_xfer_used = files_xfer_used + %{5} WHERE name = '%{6}' AND quota_type = '%{7}'" quotatallies 
    109 SQLNamedQuery                   insert-quota-tally INSERT "%{0}, %{1}, %{2}, %{3}, %{4}, %{5}, %{6}, %{7}" quotatallies 
    110  
    111 QuotaLock                               /var/run/proftpd/tally.lock 
    112 QuotaLimitTable                 sql:/get-quota-limit 
    113 QuotaTallyTable                 sql:/get-quota-tally/update-quota-tally/insert-quota-tally 
    114  
    115 
    116 # SSL via TLS 
    117 
    118 #<IfModule mod_tls.c> 
    119 #  TLSEngine                            off                                                                     # on for use of TLS 
    120 #  TLSLog                                       /var/log/proftpd/ftp_ssl.log            # where to log to 
    121 #  TLSProtocol                          SSLv23                                                          # SSLv23 or TLSv1 
    122 #  TLSOptions                           NoCertRequest                      &n