blob: e7d7c591a7a054058f9a7e3211c425e6cfa0cf11 (
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
|
# 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.
classic mode = yes
## specify access agent. supported are: files, postgre. files works with classic mode only
# did you specify 'no' above? ok, here should be 'files' for you.
access agent = files
## accouting agent. iptables and ipchains available now.
# (ipchains is not supported in nonclassic mode). does anybody still uses them?
account agent = iptables
## storage. gdbm, postgre and files supported. (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 (specific only for nonclassic mode) (only those who has enough cash)
# note: forget about this.
#login at start = no
## support for traffic passing to\from auth host (specific only for nonclassic mode)
## name or ip of the auth host
## disable support if not specified,
# forget about this, too
#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 = ""
|