From owner-freebsd-questions@freebsd.org Mon Jan 4 14:58:06 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 69134A607A9 for ; Mon, 4 Jan 2016 14:58:06 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DDB3715FB for ; Mon, 4 Jan 2016 14:58:05 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.15.2/8.15.2) with ESMTPS id u04EvsV4098633 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 4 Jan 2016 15:57:54 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.15.2/8.15.2/Submit) with ESMTP id u04Evr6h098630; Mon, 4 Jan 2016 15:57:53 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Mon, 4 Jan 2016 15:57:53 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: Paul Stuffins cc: freebsd-questions@freebsd.org Subject: Re: Software for bandwidth management In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED, AWL autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.fig.ol.no Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jan 2016 14:58:06 -0000 On Mon, 4 Jan 2016 14:39-0000, Paul Stuffins wrote: > Afternoon Everyone, > > I have a spare desktop lying around here that I want to turn into a basic > bandwidth monitor, along with various other things including website > filtering. > > I have seen https://www.untangle.com, which I believe is based on FreeBSD, > but I am not keen on paying the $50 a month for a license, is there any > software that anyone can recommend to me? > > My needs, to start with, are basically to monitor what devices are > connected, and how much each device transfers on a hourly/daily/monthly > basis, and potentially apply limits to each device. A partial solution could be your spare desktop acting as a bridge(4) using two NICs, and sysutils/darkstat as the monitoring software. If you can't or don't want to pass traffic back and forth through the spare desktop, try port mirroring (Cisco SPAN port/monitor session), "ifconfig em1 up monitor", and sysutils/darkstat. -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From owner-freebsd-questions@freebsd.org Mon Jan 4 16:11:56 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 504EBA61A66 for ; Mon, 4 Jan 2016 16:11:56 +0000 (UTC) (envelope-from juan@inti.gob.ar) Received: from sbg-out.inti.gob.ar (sbg-out.inti.gob.ar [200.10.161.69]) by mx1.freebsd.org (Postfix) with ESMTP id E59D51C0C for ; Mon, 4 Jan 2016 16:11:55 +0000 (UTC) (envelope-from juan@inti.gob.ar) X-AuditID: c80aa145-f79586d000001bfa-3a-568a963d7c2c Received: from [200.10.161.55] (jb.inti.gob.ar [200.10.161.55]) (using TLS with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by sbg-out.inti.gob.ar (SMTP_INTI) with SMTP id C4.05.07162.D369A865; Mon, 4 Jan 2016 12:56:45 -0300 (ART) Subject: Re: Software for bandwidth management To: freebsd-questions@freebsd.org References: From: Juan Bernhard Message-ID: <568A9658.9010508@inti.gob.ar> Date: Mon, 4 Jan 2016 12:57:12 -0300 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupjluLIzCtJLcpLzFFi42I5wbXQXNd2WleYwcsbYhYvv25icWD0mPFp PksAYxSXTUpqTmZZapG+XQJXxscpEgUb+Cq2NuxnbmA8xt3FyMkhIWAi8e/NYRYIW0ziwr31 bF2MXBxCApOYJDa0zWIGSQgL6Elcb/vPBGKLCChKnDnTyApiCwkESHx908EGYrMJqEl8PXMK LM4roCUxd18DO4jNIqAi8fD0D6AaDg5RgRiJpoPMECWCEidnPgHbyykQKDF741ew8cwCthJ3 5u5mhrDlJZq3zmaewMg3C0nLLCRls5CULWBkXsUoXJyUrptfWqIHDKFMvfT8JL3Eok2MkFBy 3cG4d536IUYBDkYlHt4NfR1hQqyJZcWVuYcYJTiYlUR4C4q6woR4UxIrq1KL8uOLSnNSiw8x SnOwKInzfv4uFCokkJ5YkpqdmlqQWgSTZeLglGpgnHojRKDZN03bLf9T57l5NpzbOG5d+nNA SGl7Y/WtrU+jV95oNGNeYHXqwmk3YQ/d5YejzvmvYmf4Z3FBJTbnzY5fHvYRhVJ7V7bZnbjC /fLObl1X7+tJvziX3NRae2n70xy+a6lsG9S6POec+cVke0E31GlF2IMbIbff/xWMzVlakbFE dufan0osxRmJhlrMRcWJALAYvhohAgAA X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jan 2016 16:11:56 -0000 El 04/01/2016 a las 11:39 a.m., Paul Stuffins escribió: > Afternoon Everyone, > > I have a spare desktop lying around here that I want to turn into a basic > bandwidth monitor, along with various other things including website > filtering. If you mean to filter http and https by url, you will have to use a proxy, and acl filtering. I would recommend use an old desktop to do this. This will became the bottleneck of your network. > > I have seen https://www.untangle.com, which I believe is based on FreeBSD, > but I am not keen on paying the $50 a month for a license, is there any > software that anyone can recommend to me? > > My needs, to start with, are basically to monitor what devices are > connected, and how much each device transfers on a hourly/daily/monthly > basis, and potentially apply limits to each device. If you just want to know bandwith usage for each IP address on your network, you cold do 2 things: 1) Use a port mirror in your router switch port and redirect this traffic to a dedicated interface in your freebsd server and log all using net-mgmt/ipfm 2) Configure your router to log traffic to your freebsd server using netflow, then configure net-mgmt/nfdump to save and show statistics onf the server side. If you decide to use a port mirror and collect all traffic, you can also use net/httpry to log all http urls accesed from your network, but it will not work with https, you cant see the encrypted url unless you have a non transparent proxy. I hope this helps you. Saludos, Juan > > Many Thanks > Paul > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >