head 1.7; access; symbols FLOW2RRD_0_9_1:1.5 FLOW2RRD_0_9_0:1.3; locks; strict; comment @# @; 1.7 date 2004.12.30.16.22.03; author rse; state Exp; branches; next 1.6; 1.6 date 2004.12.29.14.10.38; author rse; state Exp; branches; next 1.5; 1.5 date 2004.12.26.18.52.45; author rse; state Exp; branches; next 1.4; 1.4 date 2004.12.26.18.40.39; author rse; state Exp; branches; next 1.3; 1.3 date 2004.12.26.15.24.57; author rse; state Exp; branches; next 1.2; 1.2 date 2004.12.23.21.08.32; author rse; state Exp; branches; next 1.1; 1.1 date 2004.12.23.10.24.02; author rse; state Exp; branches; next ; desc @@ 1.7 log @add license also to config file @ text @## ## OSSP flow2rrd -- NetFlow to Round-Robin Database ## Copyright (c) 2004 Ralf S. Engelschall ## Copyright (c) 2004 The OSSP Project ## ## This file is part of OSSP flow2rrd, a tool for storing NetFlow data ## into an RRD which can be found at http://www.ossp.org/pkg/tool/flow2rrd/. ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. ## ## This program is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with this program; if not, write to the Free Software ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ## USA, or contact Ralf S. Engelschall . ## ## flow2rrd.cfg: run-time configuration ## # Round-Robin Database Database @@LOCALSTATEDIR@@/flow2rrd.rrd { Stepping 1m; Storage 1m:1W 2m:2W 5m:1M 15m:3M 1h:6M 2h:1Y 6h:2Y 12h:4Y; }; # Protocol Definitions Protocol icmp 1; Protocol tcp 6; Protocol udp 17; Protocol vrrp 112; # Service Definitions Service icmp icmp:*; Service vrrp vrrp:*; Service ftp tcp:20 tcp:21; Service ssh tcp:22; Service telnet tcp:23; Service smtp tcp:25; Service dns udp:53 tcp:53; Service tftp udp:69; Service http tcp:80; Service pop3 tcp:110; Service sunrpc udp:111 tcp:111; Service ident tcp:113; Service nntp tcp:119; Service ntp udp:123 tcp:123; Service imap tcp:142 tcp:143; Service snmp udp:161 udp:162; Service ldap tcp:389; Service https tcp:443; Service syslog udp:514; Service uucp tcp:540; Service nntps tcp:563; Service ldaps tcp:636; Service rsync tcp:873; Service ftps tcp:989 tcp:990; Service imaps tcp:993; Service pop3s tcp:995; Service radius udp:1645 udp:1646 udp:1812 udp:1813; Service irc tcp:194 tcp:6665 tcp:6666 tcp:6667 tcp:6668 tcp:6669; # Host Definitions Host host1.example.com { Target host1.example.com { Network 192.168.0.1/32; Service icmp vrrp dns ntp ssh smtp; }; Target service1.example.com { Network 10.0.0.1/32 10.0.0.2/32; Service dns smtp uucp; }; Target service2.example.com { Network 10.0.0.3/32; Service dns smtp; }; }; Host host2.example.com { Target host2.example.com { Network 192.168.0.2/32; Service icmp vrrp dns ntp ssh smtp; }; Target service3.example.com { Network 10.0.0.4/32 10.0.0.5/32; Service dns smtp uucp; }; Target service4.example.com { Network 10.0.0.6/32; Service dns smtp; }; }; # Color Themes Colors colorful 666699 9999cc cc3333; Colors grey f0f0f0 -101010(15); Colors red cc3333 -101010(3) 000000; Colors green ccffcc -333333(3) 000000; Colors blue ccccff -333333(3) 000000; @ 1.6 log @1. Add --verbose option and use it to show a flow/sec indication under option --store. 2. Make RRD internal setup configurable in flow2rrd.cfg with two sub-directives (Stepping and Storage) of the Database directive. @ text @d2 23 a24 1 ## flow2rrd.cfg -- flow2rrd(1) configuration @ 1.5 log @1. Adjust default configuration path. 2. Create "localstatedir" under "make install" and place default RRD into this directory. @ text @d6 4 a9 1 Database @@LOCALSTATEDIR@@/flow2rrd.rrd; @ 1.4 log @Fix syntax of default configuration @ text @d6 1 a6 1 Database /var/tmp/flow2rrd.rrd; @ 1.3 log @make sample configuration more generic @ text @d55 1 a55 1 Network 10.0.0.3/32 @ 1.2 log @flush my work of this evening: mainly the Web user interface is now functional @ text @d45 3 a47 3 Host en2.engelschall.com { Target en2.engelschall.com { Network 195.30.6.130/32; d50 2 a51 2 Target visp1.engelschall.com { Network 195.30.6.140/32 195.30.6.144/32; d54 2 a55 2 Target lotmjd1.lotterer.net { Network 195.30.6.148/32; d59 3 a61 3 Host en3.engelschall.com { Target en3.engelschall.com { Network 195.30.6.132/32; d64 2 a65 2 Target visp2.engelschall.com { Network 195.30.6.141/32 195.30.6.145/32; d68 2 a69 2 Target lotmjd2.lotterer.net { Network 195.30.6.149/32; @ 1.1 log @add current state of OSSP flow2rrd to CVS (still not finished) @ text @d6 1 a6 1 Database /tmp/flow2rrd.rrd; @