BLD.CONF(5) File Formats Manual BLD.CONF(5)NAME
bld.conf - Configuration file for BLD
DESCRIPTION
bld.conf consists of lines used to set various configuration options for bld. The lines are processed in order of appearance. Options set
via bld.conf are overriden by bld command line options. If two lines assign different values to the same variables, the last is used.
Blank lines and lines beginning with a `#' are ignored.
bld.conf lines have the following format:
variable = value
variable can be on of the following:
o daemon: (0 or 1) fork to background or not.
o address: IP address to bind to.
o port: port to listen to.
o min_interval: minimum time interval before blacklisting.
o max_submissions: maximum submissions in time interval.
o ip_list_size: IP list size.
o blacklist_size: blacklist size.
o blacklist_expiration: blacklist expiration (seconds).
o log_level: log level.
o user: user to run as.
o group: group to run as.
o client_timeout: client idle timeout before closing connection (seconds).
o iplist_dump: file to dump IP list to.
o blacklist_dump: file to dump blacklist to.
o pid_filename: PID filename.
o acl_filename: ACL filename.
o whitelist_filename: whitelist filename.
o notifies_to: comma separated hosts (`hostname' or `hostname:port') to notify when a new address is inserted into the blacklist
NOTES
You need to completely restart bld after any modification of this file.
FILES
/etc/bld/bld.conf
SEE ALSO bld(8)bld_acl.conf(5)bld_whitelist.conf(5)AUTHOR
Olivier Beyssac <obld@r14.freenix.org>
October 2004 BLD.CONF(5)
Check Out this Related Man Page
BLDREAD(8) System Manager's Manual BLDREAD(8)NAME
bldread - read bld dumps
SYNOPSIS
bld -h | filename
OPTIONS -h display usage
DESCRIPTION
bldread is the utility designed to read bld dump files. It outputs semicolon separated values in the following order:
o IP address (`a.b.c.d')
o Insertion time (timestamp in seconds)
o Last update (timestamp in seconds)
o Number of submissions during the interval
o Second submissions counter
o options bitfield (`1' if forced insertion, no other options yet)
o Blacklist flag (`1' if blacklisted, `0' otherwise)
o Internal pointer value for debugging purposes
o Another internal pointer value for debugging purposes
FILES
/var/run/bld/bld_iplist.dump /var/run/bld/bld_blacklist.dump
SEE ALSO bld(8)bldquery(8)bldsubmit(8)bldinsert(8)blddecr(8)AUTHOR
Olivier Beyssac <obld@r14.freenix.org>
August 2004 BLDREAD(8)
Hi All
I have a file for ex .log file which contain several lines within it.
I have to read that file contents & assing that to a variable. (2 Replies)
I have a file with a list of config files numbered on the lefthand side 1-300. I need to have bash read each lines number and assign it to a variable so it can be chosen by the user called by the script later.
Ex. 1 some data
2 something else
3 more stuff
which number do you... (1 Reply)