-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I am running pmacct (latest version from the site) with libpcap and I am
trying to get some port aggregates etc .... My pmacctd.conf file looks like:

interface: eth0
daemonize: false
post_tag: 1
aggregate: src_host,dst_host
aggregate: src_port,dst_port
aggregate[in]: src_host
aggregate[out]: dst_host
aggregate[in]: src_port
aggregate[out]: dst_port
plugins: mysql, mysql[in], mysql[out]
sql_db: pmacct
sql_table: acct_v2
sql_table_version: 2
sql_passwd: Jsk5sTw
sql_user: pmacct
sql_refresh_time: 90
sql_optimize_clauses: true
sql_history: 10m
sql_history_roundoff: mh
! sql_preprocess: qnum=1000, minp=5
!
networks_file: ./networks.def
ports_file: ./ports.lst
sampling_rate: 10

My ports.lst file:

!
! Ports list that we are interested in
!
20
21
22
23
25
53
110
137
139
! ...
6881

When I start pmacctd -f pmacctd.conf I get:

# pmacctd -f /usr/local/etc/pmacctd.conf
OK: link type is: 1
WARN: invalid port at ./ports.lst:3
WARN: invalid port at ./ports.lst:4
WARN: invalid port at ./ports.lst:5
WARN: invalid port at ./ports.lst:6
WARN: invalid port at ./ports.lst:7
WARN: invalid port at ./ports.lst:3
WARN: invalid port at ./ports.lst:4
WARN: invalid port at ./ports.lst:5
WARN: invalid port at ./ports.lst:6
WARN: invalid port at ./ports.lst:7
WARN: invalid port at ./ports.lst:3
WARN: invalid port at ./ports.lst:4
WARN: invalid port at ./ports.lst:5
WARN: invalid port at ./ports.lst:6
WARN: invalid port at ./ports.lst:7

I am not sure what's going on here, can someone give me a hint on what I
am doing wrong? It still seems to be storing information on MySQL though ...

Cheers

/B

- --
Bruno Mattarollo <[EMAIL PROTECTED]>
Systems Administrator - Sydney
GnuPG: 65A6 C94A 1978 9B42 6ED2 FBCE 1BD2 756B 3A80 D8FC
- ---------------------------------------------------------------
Rising Sun Pictures - [ http://www.rsp.com.au/ ]
redefining visual effects delivery
- ---------------------------------------------------------------
syd - ph +61 2 9338 6400 - fx +61 2 9338 6401
adl - ph +61 8 7421 6400 - fx +61 8 7421 6401
- ---------------------------------------------------------------
rising sun research - http://research.rsp.com.au
cineSpace color management solutions for film
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFCVIfxG9J1azqA2PwRAj5BAKCua5sAkWiQtHAuJ0+0yVe2/NOhDACfZvWO
PxVvJLIwB+gdEWv2nPClE34=
=hy/d
-----END PGP SIGNATURE-----

Reply via email to