#
#    jnettop, network online traffic visualiser
#    Copyright (C) 2002-2005 Jakub Skopal
#
#    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
#
#    $Header: /cvsroot/jnettop/jnettop/.jnettop,v 1.7 2006/04/11 15:59:59 merunka Exp $
#

interface	"eth0"
variable	"intranet"	"net 192.168.0.0/16 or 10.0.0.0/8 or 172.16.0.0/12"
variable	"me"		"net 10.16.238.53"
variable	"vda"		"net 10.152.152.11"
variable	"lo"		"net 127.0.0.1/32"
variable	"virbr1"	"net 10.0.2.2"
variable	"whonix"	"net 10.0.2.0/24"
rule		"Intranet<->Extranet"	"((src ${intranet}) and not (dst ${intranet})) or ((dst ${intranet}) and not (src ${intranet}))"
rule		"Me<->Whonix"	"((src ${me}) and ((dst ${whonix}) or (dst ${lo}))) or (((dst ${me}) or (dst ${lo})) and (src ${whonix}))"
rule		"Vda<->Intranet"	"((src ${vda}) and not (dst ${vda})) or ((dst ${vda}) and not (src ${vda}))"
rule		"Google"	"host www.google.com"
rule		"IPv6"		"ip6"
local_aggregation	none
remote_aggregation	none
local_network	"192.168.0.0" "255.255.0.0"
local_network	"10.0.0.0" "255.0.0.0"
select_rule	"Vda<->Intranet"
# resolve_rule "192.168.0.0" "255.255.0.0" normal
# resolve_rule "192.168.0.0" "255.255.0.0" external "/usr/share/jnettop/jnettop-lookup-nmb"
resolve off

