mod_timelimit
The mod_timelimit
configured time of service starting and ending as unit of 24 hours
This module was tested against over ProFTPD 1.2.0. Installation instructions are discussed here.
The most current version of mod_timelimit
can be found at:
Original author: SeonKon Choi <bushi at mizi.com>
Current author: JoungKyun.Kim <admin at oops.org>
Please contact JoungKyun.Kim <admin at oops.org> with any questions, concerns, or suggestions regarding this module.
Syntax:UpTime [ 24H ["messages"] ]
Default: UpTime 0 "Sorry, out of operation time ( %B:00 ~ %b:00 )"
Context: server config, <VirtualHost>, <Global>, <Anonymous>
Module: mod_timelimit
Compatibility: 1.2.0 or later
The UpTime
direction is configured time of service starting as unit of
24 hours. If this direction is set by starting time, configured
equivalent account (Virtualhost, Anonymous, real) doesn't access
before starting service time.
If don't set UpTime direction, UpTime direction is set 0 o'clock.
"message" is displayed alert to user whern they attempt login before UpTime, and use magic cookie %B (Uptime) and %b (DownTime). If config DownTime message, UpTime message is overwrited with DownTime message.
Syntax:DownTime [ 24H ["messages"] ]
Default: DownTime 0 "Sorry, out of operation time ( %B:00 ~ %b:00 )"
Context: server config, <VirtualHost>, <Global>, <Anonymous>
Module: mod_timelimit
Compatibility: 1.2.0 or later
The DownTime
direction is configured time of service ending as unit of
24 hours. If this direction is set by service ending time,
configured equivalent account (Virtualhost, Anonymous, real)
doesn't access after service time end.
If don't set DownTime direction, DownTime direction is set 0 o'clock.
"message" is displayed alert to user whern they attempt login after DownTime, and use magic cookie %B (Uptime) and %b (DownTime). If config DownTime message, UpTime message is overwrited with DownTime message.
First, source download at http://mirror.oops.org/pub/oops/profptd/modules/mod_timelimit-VERSION.tar.bz2, and unpack bz2 compress. Web browser can't access this ftp site, use ftp client program.
Or, checkout SVN repository with anonymous privileges as follow:
svn export svn://svn.oops.org/data/svn/proftpd/mod_timelimit/trunk ./mod_timelimit
To install mod_timelimit
Example Configuration
By follow configuration, service is enabled from 12 o'clock to 21 o'clock.
Author: JoungKyun.Kim <admin at oops.org>
Last Updated: $Id: mod_timelimit.html 11 2014-03-14 18:22:24Z oops $
© Copyright 2014 JoungKyun.Kim
All Rights Reserved