Package: ipac-ng Version: 1.31-1 Severity: important The configuration files supplied with the package are wrong. At the startup and every 10 minutes there is the following message:
admin:~# /etc/init.d/ipac-ng start Starting IP Accounting: Error in config file near line 8: syntax error admin:~# /usr/bin/nice /usr/sbin/fetchipac Error in config file near line 8: syntax error The directive "classic mode =" is now obsolete and should not be in the ipac.conf file because version 1.31 only supports classic mode. The syntax of rules.conf file also is changed and now there is a called field "extension". The attachments are the sample configuration files from source with storage changed from PostgreSQL to Files (that is not recommended !!!). -- System Information: Debian Release: testing/unstable APT prefers testing-proposed-updates APT policy: (500, 'testing-proposed-updates'), (500, 'proposed-updates'), (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.11-1-686 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages ipac-ng depends on: ii cron 3.0pl1-91 management of regular background p ii iptables 1.2.11-10 Linux kernel 2.4+ iptables adminis ii libc6 2.3.5-6 GNU C Library: Shared libraries an ii libgdbm3 1.8.3-2 GNU dbm database routines (runtime ii netbase 4.21 Basic TCP/IP networking system ii perl 5.8.7-3 Larry Wall's Practical Extraction Versions of packages ipac-ng recommends: ii libgd-perl 1.41-13 Perl module wrapper for libgd -- no debconf information
# This is the main ipac-ng configuration file. It contains the # configuration directives that give the ipac-ng its instructions. # Install as /etc/ipac-ng/ipac.conf ## accouting agent. iptables and ipchains available now. account agent = iptables ## storage. gdbm, postgre and files supported. (files is not recommended) #=20050909 <[EMAIL PROTECTED]> storage = postgre #=20050909 <[EMAIL PROTECTED]> storage = gdbm storage = plain-file ## rules file rules file = /etc/ipac-ng/rules.conf # dont store lines contains only zeroes to speedup processing and to save space drop zero lines = yes ## This parameters controls database location ## 'db host', 'db port' can be left blank for a local database ## as now, both databasess (access and storage) configured by these parameters #db host = localhost #db port = 5432 ## ATTENTION: no underscore '_' in the following parameters allowed! db name = ipac db user = ipac db pass = "XXXXXXXX"
# Example config file with accounting rules for iptables # Install as /etc/ipac-ng/rules.conf # # Format: # Name of rule|direction|interface|protocol|source|destination|extension| # WARNING!!!! spaces are not allowed before and after '|'. # # where # Name of rule Any string to identify this rule # direction ipac~fi - forward in # ipac~fo - forward out # ipac~i - outgoing from machine with ipac-ng to other host(/net) # (or incoming to otherhost) # ipac~o - incoming to machine with ipac-ng # (or outgoing from otherhost) # # interface interface name, '+' means all interfaces (dont try to use ip numbers here!) # protocol tcp | udp | icmp | all # source \ # destination both as described in ipfwadm(8), or empty # # # W A R N I N G ! ! ! # # Don't use symbols other than '0-9A-z[space]' in rules names. You may encounter # some strange troubles. Incoming Total System|ipac~o|eth0|all|||| Incoming Total System|ipac~fi|eth0|all|||| Outgoing Total System|ipac~i|eth0|all|||| Outgoing Total System|ipac~fo|eth0|all||||