Overview | Index by: file name |
procedure name |
procedure call |
annotation
defines.tcl
(annotations | original source)
#
# Copyright (C) 2010 Alexandros Stergiakis <alsterg@gmail.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#//#
# A repository of configuration parameters that are too low-level to be defined in server.conf.
# They are also better protected here from modifications, as these are not intented to be
# modified by the user. They are loaded very early in the MikroConf Server initialization process.
#
#//#
# MikroConf's version.
tsv::set conf VERSION 0.1
tsv::set conf MCINFO_1LINER "MikroConf Server, Version [tsv::get conf VERSION]"
tsv::set conf MCINFO "
[tsv::get conf MCINFO_1LINER]
Copyright 2010 Alexandros Stergiakis <alsterg@gmail.com>
Licensed under GPLv3. See source distribution for full notice."
# Build-in location for the main configuration file if it is not provided on the command line.
tsv::set conf INIT_CONFIG_FILE "/etc/mikroconf/server.conf"
# The path to the entry point of MikroConf.
tsv::set conf SERVER_BIN $argv0
# The "nice" range supported by the platform. See getpriority(2)
tsv::set conf RENICE_MIN -20
tsv::set conf RENICE_MAX 19
# Reasonable maximum allowed range for screen size.
tsv::set conf ROWS_MAX 1000
tsv::set conf ROWS_MIN 4
tsv::set conf COLS_MAX 1000
tsv::set conf COLS_MIN 8
# Timeout interval (in secs) used as a default value for various timeout occasions.
tsv::set conf TIMEOUT 30
# Typical value for maximum log file size
tsv::set conf MAXLOGFILESIZE 4096
# Default terminal settings
tsv::set conf FLOW_DEF 1
tsv::set conf SYNCH_DEF 0
tsv::set conf MONITOR_DEF 1
tsv::set conf ANSI_DEF 1
# DNS Look-ups
tsv::set conf DNS_LOOKUPS 0
# When this flag is set, a file is used to record command/procedure tracing information, for debugging purposes.
# No size limit. For Sessions a separate file is used, which has as suffix the Session Id of the Session.
# These files are removed on startup.
tsv::set conf TRACING 0
# Whether to make kernel/busybox related dependency checks.
# Kernel must be compiled with: CONFIG_HAVE_DOT_CONFIG
# Busybox must be compiled with: CONFIG_HAVE_DOT_CONFIG
tsv::set conf KERNEL_CHKS 1
tsv::set conf BUSYBOX_CHKS 1
# Configured number of max concurrent vty sessions.
# By default no remote sessions are allowed. Keep it this way.
tsv::set conf SOFT_MAX_SESSIONS 0
# A limitted unix account to use for safe execution of external programs.
# This account cannot be used for logins.
tsv::set conf USER _drop
tsv::set conf USER_GROUP _drop
# This unix account corresponds to the Privileged mode in MikroConf.
# It should be a regular user account, without root privileges.
# This account cannot be used for logins.
tsv::set conf PRIV _priv
# The usernames that correspond to the user accounts used on console logins and vty logins respectively.
tsv::set conf CONSOLE_USER console
tsv::set conf VTY_USER vty
# Default User and Privilege Banners
tsv::set conf USER_BANNER ""
tsv::set conf PRIV_BANNER ""
# Default history buffer size
tsv::set conf HISTORY_DEF 10
# Default logging buffer size
tsv::set conf BUFFERSIZE_DEF 1000
Overview | Index by: file name |
procedure name |
procedure call |
annotation
File generated 2010-03-13 at 22:28.