| 1 |
# |
| 2 |
# jnettop, network online traffic visualiser |
| 3 |
# Copyright (C) 2002-2005 Jakub Skopal |
| 4 |
# |
| 5 |
# This program is free software; you can redistribute it and/or modify |
| 6 |
# it under the terms of the GNU General Public License as published by |
| 7 |
# the Free Software Foundation; either version 2 of the License, or |
| 8 |
# (at your option) any later version. |
| 9 |
# |
| 10 |
# This program is distributed in the hope that it will be useful, |
| 11 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 |
# GNU General Public License for more details. |
| 14 |
# |
| 15 |
# You should have received a copy of the GNU General Public License |
| 16 |
# along with this program; if not, write to the Free Software |
| 17 |
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 18 |
# |
| 19 |
# $Header: /cvsroot/jnettop/jnettop/.jnettop,v 1.7 2006/04/11 15:59:59 merunka Exp $ |
| 20 |
# |
| 21 |
|
| 22 |
# interface "eth1" |
| 23 |
variable "intranet" "net 192.168.0.0/16 or 10.0.0.0/8 or 172.16.0.0/12" |
| 24 |
rule "Intranet<->Extranet" "((src ${intranet}) and not (dst ${intranet})) or ((dst ${intranet}) and not (src ${intranet}))" |
| 25 |
rule "Google" "host www.google.com" |
| 26 |
rule "IPv6" "ip6" |
| 27 |
local_aggregation none |
| 28 |
remote_aggregation none |
| 29 |
local_network "192.168.0.0" "255.255.0.0" |
| 30 |
local_network "10.0.0.0" "255.0.0.0" |
| 31 |
# select_rule "Google" |
| 32 |
# resolve_rule "192.168.0.0" "255.255.0.0" normal |
| 33 |
# resolve_rule "192.168.0.0" "255.255.0.0" external "/usr/share/jnettop/jnettop-lookup-nmb" |
| 34 |
# resolve off |
| 35 |
|