Hi. How can I collect only "international" traffic from pmacct ? I have all the Icelandic Networks in my network file and would like to filter only 0.0.0.0 traffic into my LAN, 192.168.1.0/24 and from my LAN. e.g. incoming and outgoing international traffic
Is that possible ? My sql database includes both domestic and 0.0.0.0 data, but my domestic data collection is useless. My current config is : interface:eth1 daemonize:false promisc:false interface_wait:true plugins:mysql[in], mysql[out] plugin_pipe_size: 1024000 plugin_buffer_size: 8192 sql_host:sqlserver sql_user:username sql_passwd:password sql_db:databasename sql_table_version: 1 sql_refresh_time: 60 sql_history: 5m sql_history_roundoff: h sql_optimize_clauses: true sql_dont_try_update: false sql_recovery_logfile[in]: /opt/pmacct/recovery-in.sql sql_recovery_logfile[out]: /opt/pmacct/recovery-out.sql sql_table_schema: /opt/pmacct/schema/tables.sql networks_file: /opt/pmacct-fiton/etc/icelandic-networks.txt ports_file: /opt/pmacct-fiton/etc/ports aggregate[in]: dst_host,src_host,dst_port,src_port aggregate_filter[in]: dst net 192.168.1.0/24 sql_table[in]: acct_in_%d_%m_%Y aggregate[out]: src_host,src_port,dst_host,dst_port aggregate_filter[out]: src net 192.168.1.0/24 sql_table[out]: acct_out_%d_%m_%Y Thanks in advance. Best regards, Svavar _______________________________________________ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists