summaryrefslogtreecommitdiff
blob: 1e8f1f46fcc29c38719790950d66ff84e085bd81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# $Id: ipac.conf.1.30,v 1.2 2004/10/11 23:44:03 eldad Exp $

# This is the main ipac-ng configuration file.  It contains the
# configuration directives that give the ipac-ng its instructions.

## mode of operations: operate only like old ipac or not
## please note: you *should* specify YES, unless you are kaiser13 :)
## note2: you are trying to use 'ugly flawed experimental dangerous mode' 
##                             if you are using 'no', don't set it to no.

## specify access agent
# supported are: 'files', 'postgre'. 'files' works only with classic mode
# did you specify 'yes' above? Then you should set this here to 'files'.
access agent = files

## accouting agent
# supported are: 'iptables', 'ipchains'
#   (ipchains is not supported in nonclassic mode). does anybody still uses them?
account agent = iptables

## storage
# supported are: 'gdbm', 'postgre', 'files' (files is not recommended)
# postgre is the best & fastest method now.
storage = gdbm

# set the hostname, used to store\fetch\another work with database
# get from hostname() if not specified here
hostname = sibinet

## rules file for classic mode
rules file = /etc/ipac-ng/rules.conf

## login all users at startup (only those who have enough cash)
# specify *only* in nonclassic mode, otherwise forget about this
#login at start = no

## support for traffic passing to\from auth host 
# specify *only* in nonclassic mode, otherwise forget about this
#auth host = sibinet.com

# dont store lines contains only zeroes to speedup processing and to save space
drop zero lines = yes

# This parameters controls database location
# left blank 'db host', 'db port' for local database
# as now, both databasess (access and storage) configured by these parameters
db host = localhost
db name = ipac
db user = root
db port = 5432
db pass = ""