Presenting... Afghan Hound in Hypertext - a total waste of bandwidth production.
Home I

aqotdd.conf example

Home II
Games Quake Wibble Computers Home I Home II

Example

Go back to the AQOTDD home page.

# aqotdd - Afghan`s Quote of the day server - An RFC865 compliant server.
#
# Example config file. Built for version 0.6.2 on Oct 09 2000 at  3:25:14
# from the compile time defaults - unmodified, the server will run 
# identically with or without this file.
#
# Copyright (C) 2000 Afghan Hound Software
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA#

#
# Section I : These can only be set on start up.
#
# To change - Restart server.
#

# Protocol options:
# use_tcp : Listen for TCP connections if set.
# use_tcp : Listen for UDP connections if set.

use_udp     = 1
use_tcp     = 1

# Set the tcp/udp ports - RFC865 specifies 17, but others can be
# used for local use.

port_tcp    = qotd
port_udp    = qotd

# Logging options. Either use syslog, or a log file. Note that if syslog
# is used, the log file is automatically ignored, also, if the log file
# isn`t writable by qotdd, it will exit. NOTE - these are ignored if the
# server is started in debug mode.

syslog      = 1
log_file    = /var/log/qotdd.log

# Behaviour(?) options - If `daemon` is set and the server is not running
# in debug mode, qotdd will detatch from the terminal and background itself. 
# `user` sets the user qotdd will change to if started by root.

user        = nobody
daemon      = 1

#
# Section II - These are modifiable at run time.
#
# To change - Send server a SIGHUP.
#

# Message output options.
# log_msg 0-4 : 0 - nothing 1 - critical errors only, 4 - loads of junk
# log_con 0-3 : 0 - nothing 1 - IP address, 2 - IP/hostname
#               3 - IP/hostname/ident
# mark_time   : Time in seconds between log flushing/stat 
#               reporting. (if log_count is enabled)

mark_time   = 600
log_count   = 0
log_msg     = 1
log_con     = 1

# Security (such as it is) 
# chk_con : pass incoming requests through filter (alpha!)
# order   : 0 = allow, deny   1 = deny,allow (all tests are carried out - 
#           - connection is set to fail after passing a 'deny' 
#           test, or failing an allow
#           - connection is set to allow if it passes an 'allow' 
#           test, or failing a deny.
#           Final state of connection is used for filter result.)
# allow   : list of allowed connections.
# deny    : list of denied connections.
# max_tcp : maximum number of tcp connections per second.
# max_udp : maximum number of udp connections per second.

chk_con     = 1
order       = 1
allow       = 192.168.,127.0.0.1
deny        = all
max_tcp     = 50
max_udp     = 1000


# Quote options :
# rfc865    - impose limits as set by rfc865.
# abs_max   - maximum size of quote returned by qotdd, and maximum size
#             printed by clients.
# abs_min   - as above, specifying minimum
# offensive - If set, server will return rot13 encoded quotes (potentially
#             offensive - check local law if running a public server.) 
# directory - Directory holding the quote files for the server.

rfc865     = 1
offensive  = 0
abs_min    = 20
abs_max    = 8192
directory  = /usr/share/games/fortunes/


# end of config file.

Go back to the AQOTDD home page.

Afghan WebBug
   Also by this author: If you've enjoyed this page, you're probably insane. Why not try one of these as well?
Afghan Solitaire  Knight Game Online  Psychotherapist  Kate Bush Picture  
 
     Comments?    Links    About Last modified 03:44 pm, 29/04/03