From owner-freebsd-questions@freebsd.org Mon Jan 4 17:13:42 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 6823EA61266 for ; Mon, 4 Jan 2016 17:13:42 +0000 (UTC) (envelope-from freebsd@ravexdata.com) Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0F1121F7B for ; Mon, 4 Jan 2016 17:13:41 +0000 (UTC) (envelope-from freebsd@ravexdata.com) Received: by mail-wm0-f65.google.com with SMTP id b14so25359084wmb.1 for ; Mon, 04 Jan 2016 09:13:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=3O8j3rbdCEkaTvGleA97MUyk4+RlHl+wuxsUxGbVilY=; b=S+LVz9P+9G+aDKdSWrMm17ZgCjcYsvNULGn9ocLeJC8yaeztRyEV95UP8Pwws7v82b lDQC6Njt4n4sftE9DYHC7yak5j1BYj1ObN7gZWLase7V8V/1ilRCp8PHV14b9KI3N8/u gfX4LpaK4exNeJqtj2NC9B2qcG+fuzuDbu0QIF9ymdlNhVk7WQ8kiogfp1ZHCBhf1wY0 lgOhqLB72XNxZ7WOabE/khDdcAN9YJIQC5eGWmJrXW9yZfDPQpXTr4k8MXQ9erJifmEW NtJmgaXQFuCkHyoD2dVWgAOJIB7DW7dSidM1sV0ZCsXG3PmDNEBbdADk0WvGPLniYYLT /grA== X-Gm-Message-State: ALoCoQk8otKX1yd+/Hrsk0FerIdFmnzp5Ca+jNq7ehXtq59Q9bUWAP97z5Wi1MJw1yMzN0yghx9EazD+7lRt2+vm/1f2+KsWIQ== X-Received: by 10.28.4.145 with SMTP id 139mr75654426wme.56.1451919847117; Mon, 04 Jan 2016 07:04:07 -0800 (PST) Received: from [10.0.20.14] (cust43-dsl56.idnet.net. [212.69.56.43]) by smtp.gmail.com with ESMTPSA id m16sm78758566wmb.13.2016.01.04.07.04.05 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 04 Jan 2016 07:04:05 -0800 (PST) Subject: Re: Software for bandwidth management To: freebsd-questions@freebsd.org References: From: Paul Stuffins Message-ID: <568A89EF.6020601@ravexdata.com> Date: Mon, 4 Jan 2016 15:04:15 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; 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-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 17:13:42 -0000 On 04/01/2016 14:57, Trond Endrestøl wrote: > 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. > I was thinking of adding a second NIC, and positioning it between my modem and the rest of my network. Paul