From owner-freebsd-questions@FreeBSD.ORG Fri Oct 14 18:08:56 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4BE7C16A41F for ; Fri, 14 Oct 2005 18:08:56 +0000 (GMT) (envelope-from z.zorro.z@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCC9C43D64 for ; Fri, 14 Oct 2005 18:08:52 +0000 (GMT) (envelope-from z.zorro.z@gmail.com) Received: by wproxy.gmail.com with SMTP id 55so18116wri for ; Fri, 14 Oct 2005 11:08:52 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=g8/gMVf5aHsExw5ZDBYiUbvAYhWCtqlzqe6dd80P9ur/ecwzJLAxhSqubM7lGaojzXcQI0ME/ts8U/vmGoN7NGjwzHrptsXVCuMljX7THL50D0HCP9DQyl5U/Y6EtmzA+kI0mNNgyR2No1GtiPEWgLZW6LEX85ts4Uu8RstArzA= Received: by 10.54.136.11 with SMTP id j11mr1072466wrd; Fri, 14 Oct 2005 11:08:52 -0700 (PDT) Received: by 10.54.119.14 with HTTP; Fri, 14 Oct 2005 11:08:52 -0700 (PDT) Message-ID: Date: Fri, 14 Oct 2005 18:08:52 +0000 From: ZorroBSD To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Natmonitor on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Oct 2005 18:08:56 -0000 Hi There. There is any one who using Natmonitor ? the only Nat Monitor that i find on the net is https://sourceforge.net/projects/natmonitor/ The only one that show me bandwidth usage on any PC that you have. i have a FreeBSD 5.3 Gateway on 486 PC with 64 Ram. a small Hub and 4 PC's 1. FreeBSD 5.4 for Desktop on PIII 450 with 128 Ram. 2. Win2K on PIII 1000 with 384 Ram. 3. RedHat 9.0 on PII with 128 Ram (he has a Desktop KDE but i never use it, its only for SSH Server, to get in from my work). I never touch it and I'm going to format it and put FreeBSD 5.4. 4. Win XP Pro on P-IV with 512 Ram (its for my father, not my PC). my wish is to find a good Nat Monitoring that give me all the information abut the bandwidth usage traffic. I see the only program that do it is "natmonitor" from: https://sourceforge.net/projects/natmonitor/ I see that its can work on BSD but its for windows/Linux . I get the file and open it. I Read the README file and i create a Dir /var/natmonitord i give chmod 777 to the folder /var/natmonitord. and then i "make natmonitord", then i get the error. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ emanuel@Zorro$ sudo make natmonitord Password: gcc -c natmonitord.c -pipe -Wall In file included from /usr/include/netinet/if_ether.h:37, from natmonitord.c:24: /usr/include/net/if_arp.h:88: error: field `arp_pa' has incomplete type /usr/include/net/if_arp.h:89: error: field `arp_ha' has incomplete type *** Error code 1 Stop in /usr/home/emanuel/natmonitor-2.4. emanuel@Zorro$ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I try to open the file /usr/include/net/if_arp.h , and i see in line 88 & 89, (the 2 lines like in the error code). but I don't know what to do with them. I try to find help on google.com and google.com/bsdand nothing...... its look like no one use it :-( (its need to be a good program). then i see the "REQUIREMENTS: IT MUST BE RUN ON ROUTER MACHINE." (I run all this on my Desktop FreeBSD 5.4) so i "cp" the file to my FreeBSD 5.3 Gateway. I have an IPFW and NATD on it. He is also make a PPP conection (pppoe) to an old Alcatel Home. and the option "router_enable=3D'NO'" on my "rc.conf" but i get the same Error. (Its also if the option is "router_enale=3D'YES'" ). i try to find a port on the net and on freebsd.org/ports. But no luck. any idea ? There is a screenshots on : http://www.linuxsoft.cz/screenshot_img/4157-a.jpg its Beautiful. It's show you all the bandwidth That using on a local LAN. If some one can help me, I'll be more then happy. thank you. -- Emanuel T.