From owner-freebsd-isp@FreeBSD.ORG Mon Aug 28 14:41:44 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9AB1B16A4DE for ; Mon, 28 Aug 2006 14:41:44 +0000 (UTC) (envelope-from netsecuredata@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37AE543D73 for ; Mon, 28 Aug 2006 14:41:44 +0000 (GMT) (envelope-from netsecuredata@gmail.com) Received: by wr-out-0506.google.com with SMTP id 68so353103wri for ; Mon, 28 Aug 2006 07:41:43 -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:content-transfer-encoding:content-disposition; b=qi7sCDFFxmb7VG9glso1C+rGVneaBREr7CiaCmXvHuvQKSdAQYK/OLVz1ojl1iyH4Mu7z3rB6LCTwRoIthchyky6AF7j++1MKBRN3CeEkRnPSq3FzSuxypR2h1Kq/zaWnsT3n8EcFR/3rITf8kfVaQHsDCll5BNC4QfaxvjIuCM= Received: by 10.90.113.20 with SMTP id l20mr977798agc; Mon, 28 Aug 2006 07:41:43 -0700 (PDT) Received: by 10.90.55.18 with HTTP; Mon, 28 Aug 2006 07:41:43 -0700 (PDT) Message-ID: Date: Mon, 28 Aug 2006 09:41:43 -0500 From: "Jorge Evangelista" To: freebsd-isp@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: OT: Looking for Bandwidth Manager Appliance or Bandwidth Manager Softwatre X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2006 14:41:44 -0000 Hi guys, I am looking for a Bandwidth Manager, I heard solutions with PacketShaper, Alot, etc ( appliances ) also I heard about Solaris Bandwidth Manager, TC in Linux, and ipfw with Freebsd. But It requirement is for a ISP, perhaps for a best performance I should buy a appliance, also I need that it device let me reporting as MRTG by customer not by interface, because for example with Alot I can see only by interface. -- "The network is the computer" From owner-freebsd-isp@FreeBSD.ORG Mon Aug 28 15:32:13 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 084D916A4DE for ; Mon, 28 Aug 2006 15:32:13 +0000 (UTC) (envelope-from phocking@no-wire.net) Received: from mail.dryanta.com (dryanta.com [65.39.221.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD08443D46 for ; Mon, 28 Aug 2006 15:32:10 +0000 (GMT) (envelope-from phocking@no-wire.net) Received: from mail.dryanta.com (localhost [127.0.0.1]) by mail.dryanta.com (Postfix) with ESMTP id 285625C70 for ; Mon, 28 Aug 2006 08:33:25 -0700 (PDT) Received: from [192.168.1.103] (c-67-182-101-148.hsd1.ca.comcast.net [67.182.101.148]) by mail.dryanta.com (Postfix) with ESMTP id 059EA5C36 for ; Mon, 28 Aug 2006 08:33:24 -0700 (PDT) Message-ID: <44F30C88.7060804@no-wire.net> Date: Mon, 28 Aug 2006 08:32:24 -0700 From: Phill Hocking User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 To: freebsd-isp@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: OT: Looking for Bandwidth Manager Appliance or Bandwidth Manager Softwatre X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2006 15:32:13 -0000 You could use OBSD, pf, and ALTQ. Or you could use MikroTik RouterOS on a RouterBOARD if you only have a few connections to bcu, or toss it in a x86 server chassis if you need a little more horsepower. Phillip Hocking Director of Operations Network Engineer No-Wire Communications phocking@no-wire.net www.no-wire.net office: (408) 834-4687 toll-free: (866) 603-9441 Jorge Evangelista wrote: > Hi guys, I am looking for a Bandwidth Manager, I heard solutions with > PacketShaper, Alot, etc ( appliances ) also I heard about Solaris > Bandwidth Manager, TC in Linux, and ipfw with Freebsd. > But It requirement is for a ISP, perhaps for a best performance I > should buy a appliance, also I need that it device let me reporting as > MRTG by customer not by interface, because for example with Alot I can > see only by interface. > > From owner-freebsd-isp@FreeBSD.ORG Mon Aug 28 15:41:48 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC1DE16A4DA for ; Mon, 28 Aug 2006 15:41:48 +0000 (UTC) (envelope-from dwoolworth@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9582443D76 for ; Mon, 28 Aug 2006 15:41:44 +0000 (GMT) (envelope-from dwoolworth@gmail.com) Received: by nf-out-0910.google.com with SMTP id n29so1411225nfc for ; Mon, 28 Aug 2006 08:41:43 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=oXVLjtgfjqaXev3t0VOE+XXD0a2Q8QkV1c9Jw7P/lvtzeCt8ICXXq7z4ltbKzQhCqomWKed6LXyMS33wz/4go58jIfrB2g+IM2dQfZD8MJtRO/CuuZTaEFNmSF7ZY8Qys0DnOYeYu0NFyiB12dHs+CM+FysHy9jGLcOehkXt3/8= Received: by 10.49.19.18 with SMTP id w18mr9157512nfi; Mon, 28 Aug 2006 08:41:42 -0700 (PDT) Received: by 10.48.207.16 with HTTP; Mon, 28 Aug 2006 08:41:42 -0700 (PDT) Message-ID: <10fd06c60608280841r4dcc2a81j2010aac1e8f4e5bf@mail.gmail.com> Date: Mon, 28 Aug 2006 10:41:42 -0500 From: "Derrick T. Woolworth" To: "Jorge Evangelista" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-isp@freebsd.org Subject: Re: OT: Looking for Bandwidth Manager Appliance or Bandwidth Manager Softwatre X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2006 15:41:48 -0000 FreeBSD, pf and ALTQ work great, but setting up MRTG to examine bandwidth usage per customer is a trick. I have a really simple program that I wrote that logs traffic (in and out) to a MySQL database and then a web application that allows the generation of reports and graphs. Its how we bill our heavy usage hosting customers. The program uses bpf and is accurate to within one minute of bandwidth traffic. The system also does "rates", but we bill on the per gigabyte of traffic, so... bpf is simple to use - as is MySQL and php - the whole thing sits on a i386 server that cost around $800 bucks in a 2U space. The PacketShaper and other similar solutions are fairly expensive, so if you're a do-it-yourself type, consider using these tools. Would probably take a week or two to build, maybe less... Just my two cents... D On 8/28/06, Jorge Evangelista wrote: > Hi guys, I am looking for a Bandwidth Manager, I heard solutions with > PacketShaper, Alot, etc ( appliances ) also I heard about Solaris > Bandwidth Manager, TC in Linux, and ipfw with Freebsd. > But It requirement is for a ISP, perhaps for a best performance I > should buy a appliance, also I need that it device let me reporting as > MRTG by customer not by interface, because for example with Alot I can > see only by interface. > > > -- > "The network is the computer" > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" > -- Derrick T. Woolworth, President ServeTheWeb, LLC. http://www.ServeTheWeb.com From owner-freebsd-isp@FreeBSD.ORG Wed Aug 30 11:11:39 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 682F216A4DA for ; Wed, 30 Aug 2006 11:11:39 +0000 (UTC) (envelope-from jon.otterholm@ide.resurscentrum.se) Received: from mail1.cil.se (mail1.cil.se [217.197.56.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id CEAD343D5A for ; Wed, 30 Aug 2006 11:11:37 +0000 (GMT) (envelope-from jon.otterholm@ide.resurscentrum.se) Received: from [192.168.2.10] ([192.168.2.10]) by mail1.cil.se with Microsoft SMTPSVC(6.0.3790.0); Wed, 30 Aug 2006 13:11:35 +0200 Message-ID: <44F57267.2000202@ide.resurscentrum.se> Date: Wed, 30 Aug 2006 13:11:35 +0200 From: Jon Otterholm User-Agent: Thunderbird 1.5 (X11/20060204) MIME-Version: 1.0 To: freebsd-isp@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 30 Aug 2006 11:11:35.0834 (UTC) FILETIME=[0EA74FA0:01C6CC25] Subject: Router Tweaked X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2006 11:11:39 -0000 Hi. I have a problem, or maybe I should see it as a challenge. We offer broadband services and we buy the connection to our customers from another company with an infrastructure built on Cisco technology. Our customers are delivered to us on a unique VLAN/customer. In their core-net they use a technology called QinQ - a bunch of VLAN's with an extra VID to be able to scale the network easier. For example all customers from one DLSAM have a their unique VID but from that site and through the rest of the network they all belong to the same QinQ-VID. The downside to using this technology (QinQ) is that we loose some of the virtual functions of the VLAN's. For example the MAC-tables are not separated any longer - we have one table for each QinQ VLAN and not one for each VLAN. This means that we as ISP cannot use if_bridge to bridge a bunch of VLAN's together because this will mess upp FDB in the Cisco switches - one MAC-address will belong to more than one port in a switch in the same FDB. This wouldn't be a problem if they was'nt using QinQ - because then each VLAN would have their own FDB in each switch. My goal is to build a Router based on *BSD (preferably FreeBSD) with a VLAN-IF for each customer linked to a bridge so that I could use one (1) IP per customer and not waste 3 IP's on net-, Gateway- and boradcast-addresses on each customer if I would route each customer in a normal fashion. _____________________ ___________ | | Customer1; VID 100---\ | | |/em0.100--\ | |> QinQ VID 1----P1|CiscoSwitch|P2---VID 100,200----em0| FreeBSD |>-bridge0| Customer2; VID 200---/ |___________| |\em0.200--/ | |_____________________| The solution above are non-working out of the box because of the QinQ. One solutions is to put a ARP-Proxy (net.link.ether.inet.proxyall ?) that would spoof all the IP's connected to the client IF's. Or maybe PF/IPFW have some magic I could use to redirect Client-To-Client traffic via Loopback. Of course Cisco has a solution to this (since they invented the "problem" :-)) based on IP-less IF (for the customer), a local Loopback IF acting as gateway and ARP-Proxy for communications between customers. I have put this out there before with no good results. Is there anyone out there with any good thoughts on this that may help me on the way? Additionally I want to be able to trace my customers if back to their VLAN if someone give me a time and a IP-address. Any thoughts or hints are appreciated. /Jon From owner-freebsd-isp@FreeBSD.ORG Wed Aug 30 14:34:14 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E2DF816A4DE for ; Wed, 30 Aug 2006 14:34:14 +0000 (UTC) (envelope-from lakishahasan@sbcglobal.net) Received: from web82813.mail.mud.yahoo.com (web82813.mail.mud.yahoo.com [68.142.201.24]) by mx1.FreeBSD.org (Postfix) with SMTP id EA2A243D5E for ; Wed, 30 Aug 2006 14:34:13 +0000 (GMT) (envelope-from lakishahasan@sbcglobal.net) Received: (qmail 74962 invoked by uid 60001); 30 Aug 2006 14:33:45 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=hOSbml+hHgtIxIjNtdl5xS3aeDpuyisOLD64pB8Ar4rIvI53Y4Whk9f6fYrBc6j/Xdyp9a6jQ6adolNqLYM3KZQuTvoRghq0fHFvccXOatUossQpeXA4POJylxQeD63epnejU46llxqnGfy98Vo/6ElGuSjlKfJ32rxL8NVqNBU= ; Message-ID: <20060830143345.74960.qmail@web82813.mail.mud.yahoo.com> Received: from [68.255.231.243] by web82813.mail.mud.yahoo.com via HTTP; Wed, 30 Aug 2006 07:33:45 PDT Date: Wed, 30 Aug 2006 07:33:45 -0700 (PDT) From: lakisha hasan To: freebsd-isp@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: EA Game Support Message [Incident:] X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2006 14:34:15 -0000 i am having hard time getting sims to to play cumputer says that i need directx9.0 graphic adapter compatablity i have played the game on this computer before but now it wont play From owner-freebsd-isp@FreeBSD.ORG Wed Aug 30 18:04:17 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BAA7416A4DD for ; Wed, 30 Aug 2006 18:04:17 +0000 (UTC) (envelope-from john@essenz.com) Received: from beck.quonix.net (beck.quonix.net [146.145.66.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CAF343D5F for ; Wed, 30 Aug 2006 18:04:11 +0000 (GMT) (envelope-from john@essenz.com) Received: from beck.quonix.net (localhost [127.0.0.1]) by beck.quonix.net (8.13.7/8.13.7) with ESMTP id k7UI4AKI095990 for ; Wed, 30 Aug 2006 14:04:10 -0400 (EDT) Received: from localhost (essenz@localhost) by beck.quonix.net (8.13.7/8.13.7/Submit) with ESMTP id k7UI4AQm095987 for ; Wed, 30 Aug 2006 14:04:10 -0400 (EDT) X-Authentication-Warning: beck.quonix.net: essenz owned process doing -bs Date: Wed, 30 Aug 2006 14:04:10 -0400 (EDT) From: John Von Essen X-X-Sender: essenz@beck.quonix.net To: freebsd-isp@freebsd.org In-Reply-To: Message-ID: <20060830135428.U95055@beck.quonix.net> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spamassassin-Score: -1.442/6 ALL_TRUSTED,SPF_HELO_PASS,SPF_PASS X-Mimedefang: beck.quonix.net X-Scanned-By: MIMEDefang 2.57 on 146.145.66.90 Subject: Question about a high load BIND server setup... X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2006 18:04:17 -0000 I currently have a FreeBSD 6-STABLE (a few months old) machine running bind 9.3.2. It is a caching only name server for a large base of internet T1 customers (like 5000 customers). I just upgraded to 9.3.2 today. I have been having memory issues. For starter, when the named pid grows res mem to around 500m it craps out and stops resolving. The tentative fix was to restart bind every night at 2am. However, today, the res mem grow from 25m at startup to 500m in about 4 hours. Quicker then usually, so I thought maybe there was a memory leak, and thats why I upgraded to the latest version of bind. I need some pointers. I know alot of people dont recommend bind for large caching environments, but right now we can't easily change the setup. So I am trying to stabilize things as-is. The server used to be Redhat linux, just recently did it move to FreeBSD 6. My sysctl kernel params are standard, somaxconn was bumped up to 512. I was also thinking about enabling kern.ipc.shm_use_phys. Do you think that will help? TUNING man pages says it improves memory performance for pids that use alot of memory. During peak, the server is pushing around 1.6Mbps of pure dns traffic. Here is my named.conf options: directory "/etc/namedb"; pid-file "/var/run/named/pid"; dump-file "/var/dump/named_dump.db"; statistics-file "/var/stats/named.stats"; listen-on { 127.0.0.1; 209.50.171.81; }; recursive-clients 10000; auth-nxdomain no; tcp-clients 10000; max-cache-size 400000000; Any ideas? Would something like djbdns really help? I can switch, but can't do it for at least a week while we wait for new hardware. Thanks John From owner-freebsd-isp@FreeBSD.ORG Thu Aug 31 07:09:45 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 682B716A4DD for ; Thu, 31 Aug 2006 07:09:45 +0000 (UTC) (envelope-from hbruinsma@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF32443D53 for ; Thu, 31 Aug 2006 07:09:44 +0000 (GMT) (envelope-from hbruinsma@gmail.com) Received: by wx-out-0506.google.com with SMTP id i27so513200wxd for ; Thu, 31 Aug 2006 00:09:44 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Abz+abmRCCYfIwA4DNOGS0EkBXgAkCo6NOPeGX0ZWNSTdluFkrLoQdFNjpBvh2dPkKvx2exuB0ItfK3ARKv20Q96ssQB3Turp9Oi9q/KRWsHihGObw8r8z5r8awI/j1DQIncYQhdwz12u8cVxOG0VaXupBs5fUTo0WcYyuVU7I0= Received: by 10.90.117.15 with SMTP id p15mr86922agc; Thu, 31 Aug 2006 00:07:55 -0700 (PDT) Received: by 10.90.56.15 with HTTP; Thu, 31 Aug 2006 00:07:55 -0700 (PDT) Message-ID: <48087f160608310007g3a20aab8oc13d9c2847f7222c@mail.gmail.com> Date: Thu, 31 Aug 2006 09:07:55 +0200 From: "Hendrik Bruinsma" To: freebsd-isp@freebsd.org In-Reply-To: <20060830135428.U95055@beck.quonix.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060830135428.U95055@beck.quonix.net> Subject: Re: Question about a high load BIND server setup... X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2006 07:09:45 -0000 On 8/30/06, John Von Essen wrote: > Would something like djbdns really help? I can switch, but can't do it for > at least a week while we wait for new hardware. > > Thanks > John I would realy use djbdns. Memory usage and load it much lower then Bind. We switched from Bind to djbdns in march, and now it looks like the machine almost do nothing! No high load, nor strange memory usage! If you ask my, i'dd realy switch do djbdns. But that won't help for the week to come. -- Met vriendelijke groet, Hendrik Bruinsma From owner-freebsd-isp@FreeBSD.ORG Thu Aug 31 11:15:17 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E323F16A4E7 for ; Thu, 31 Aug 2006 11:15:17 +0000 (UTC) (envelope-from bje@tsogang.networkgods.net) Received: from tsogang.networkgods.net (tsogang.networkgods.net [213.253.1.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7294943D4C for ; Thu, 31 Aug 2006 11:15:17 +0000 (GMT) (envelope-from bje@tsogang.networkgods.net) Received: from bje by tsogang.networkgods.net (localhost) with local id 1GIkTV-0008AU-NU (Exim 4.63) (return-path ); Thu, 31 Aug 2006 12:12:45 +0100 Date: Thu, 31 Aug 2006 12:12:45 +0100 From: Jaco Engelbrecht To: John Von Essen Message-ID: <20060831111244.GB21249@serendipity.org.za> References: <20060830135428.U95055@beck.quonix.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060830135428.U95055@beck.quonix.net> User-Agent: Mutt/1.4.2.2i Sender: Jaco Engelbrecht Cc: freebsd-isp@freebsd.org Subject: Re: Question about a high load BIND server setup... X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2006 11:15:18 -0000 hi John, On Wed, Aug 30, 2006 at 02:04:10PM -0400, John Von Essen wrote: > I just upgraded to 9.3.2 today. I have been having memory issues. For > starter, when the named pid grows res mem to around 500m it craps out and > stops resolving. The tentative fix was to restart bind every night at 2am. > > However, today, the res mem grow from 25m at startup to 500m in about 4 > hours. Quicker then usually, so I thought maybe there was a memory leak, > and thats why I upgraded to the latest version of bind. > > Any ideas? Build bind with its internal memory allocator. To to do this, change CONFIGURE_ARGS in /usr/ports/dns/bind9/Makefile to read like: -- CONFIGURE_ARGS= --localstatedir=/var --disable-linux-caps \ --with-randomdev=/dev/random \ STD_CDEFINES=-DISC_MEM_USE_INTERNAL_MALLOC=1 -- make clean make WITH_PORT_REPLACES_BASE_BIND9=YES make install /etc/sysctl.conf settings: net.inet.raw.recvspace=128000 net.inet.udp.recvspace=256000 net.inet.tcp.sendspace=128000 net.inet.tcp.recvspace=128000 net.inet.tcp.inflight_enable=1 kern.ipc.maxsockbuf=256000 kern.ipc.somaxconn=2048 net.inet.ip.intr_queue_maxlen=128 Jaco -- bje@serendipity.org.za the faculty of making fortuante discoveries From owner-freebsd-isp@FreeBSD.ORG Thu Aug 31 14:13:05 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DD6816A4DD for ; Thu, 31 Aug 2006 14:13:05 +0000 (UTC) (envelope-from fofo@bsdmail.org) Received: from webmail-outgoing.us4.outblaze.com (webmail-outgoing.us4.outblaze.com [205.158.62.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25FCB43D45 for ; Thu, 31 Aug 2006 14:13:03 +0000 (GMT) (envelope-from fofo@bsdmail.org) Received: from unknown (unknown [192.168.8.90]) by webmail-outgoing.us4.outblaze.com (Postfix) with QMQP id 215741800E0D for ; Thu, 31 Aug 2006 14:13:59 +0000 (GMT) X-OB-Received: from unknown (205.158.62.16) by wfilter2.us4.outblaze.com; 31 Aug 2006 14:13:49 -0000 Received: by ws5-10.us4.outblaze.com (Postfix, from userid 1001) id 6534A7AE1C; Thu, 31 Aug 2006 14:13:50 +0000 (GMT) Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 From: "tux tuxie" To: freebsd-isp@freebsd.org Date: Thu, 31 Aug 2006 22:13:50 +0800 Received: from [200.216.238.226] by ws5-10.us4.outblaze.com with http for fofo@bsdmail.org; Thu, 31 Aug 2006 22:13:50 +0800 X-Originating-Ip: 200.216.238.226 X-Originating-Server: ws5-10.us4.outblaze.com Message-Id: <20060831141350.6534A7AE1C@ws5-10.us4.outblaze.com> Subject: Limiting bandwidth by ip or group of IPs using ipfw and dummynet (I'm ok to change if required....) X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2006 14:13:05 -0000 Hi everyone :) We are starting a very small ISP for a city here that has no DSL. We bring internet from an other big city at 120Kms away.. I try to have a bandwidth limit _by_ IP or by group of IPs but so far, I have been very unlucky in the bandwidth limitation. I use ipfw/dummynet (Not used to it, I come from linux.) I want different bandwidth for outgoing and incoming traffic My config is pretty simple: The internet connection, The FreeBSd server acting as NAT A switch with customers connection In the config files I show up, I have a computer acting as "customer comput= er" that should be limited in bandwidth beeing 172.16.50.2. the server has two NICs on internet side and one customer's side. respectively for the test, 192.168.47.7 (internet side) dc0 172.16.50.1 (customers side) dc1 I enabled successfully the NAT functionnality but can't manage the bandwidt= h limitation. as for now, I don't have yet the T1 that will connect me, so my current con= nection is at 15Kb/s which explains I try to limit the bandwidth to 3Kb/s to make sure ev= erything works=20 properly. Here is my ifpw config: ipfw -f flush # for some reason, this blocks the connection #ipfw add divert natd all from 172.16.50.0/24 to any via dc0 ipfw add divert natd ip from any to any via dc0 ipfw add allow ip from any to any via lo0 ipfw add deny ip from any to 127.0.0.0/8 ipfw add deny ip from 127.0.0.0/8 to any #ipfw add allow ip from any to any ipfw pipe 1 config bw 3Kbit/s ipfw add pipe 1 all from 172.16.50.2 to any I test the bandwidth limitation with wget on an http ressource. Thanks for any help you could provide, I really need this. --=20 __________________________________________________ Now you can search for products and services http://search.mail.com From owner-freebsd-isp@FreeBSD.ORG Thu Aug 31 20:17:08 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC17716A4DA for ; Thu, 31 Aug 2006 20:17:08 +0000 (UTC) (envelope-from john@essenz.com) Received: from beck.quonix.net (beck.quonix.net [146.145.66.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1ABD43D5D for ; Thu, 31 Aug 2006 20:17:05 +0000 (GMT) (envelope-from john@essenz.com) Received: from beck.quonix.net (localhost [127.0.0.1]) by beck.quonix.net (8.13.7/8.13.7) with ESMTP id k7VKGvmK084995; Thu, 31 Aug 2006 16:16:57 -0400 (EDT) Received: from localhost (essenz@localhost) by beck.quonix.net (8.13.7/8.13.7/Submit) with ESMTP id k7VKGvVF084992; Thu, 31 Aug 2006 16:16:57 -0400 (EDT) X-Authentication-Warning: beck.quonix.net: essenz owned process doing -bs Date: Thu, 31 Aug 2006 16:16:57 -0400 (EDT) From: John Von Essen X-X-Sender: essenz@beck.quonix.net To: Jaco Engelbrecht In-Reply-To: <20060831111244.GB21249@serendipity.org.za> Message-ID: <20060831161529.R84804@beck.quonix.net> References: <20060830135428.U95055@beck.quonix.net> <20060831111244.GB21249@serendipity.org.za> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spamassassin-Score: -1.442/6 ALL_TRUSTED,SPF_HELO_PASS,SPF_PASS X-Mimedefang: beck.quonix.net X-Scanned-By: MIMEDefang 2.57 on 146.145.66.90 Cc: freebsd-isp@freebsd.org Subject: Re: Question about a high load BIND server setup... X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2006 20:17:09 -0000 Thanks. I put those changes in. I'll see how it behaves over the next day. One thing I noticed though, I can't run ifconfig now: cache01# /sbin/ifconfig -a ifconfig: socket(family 2,SOCK_DGRAM): No buffer space available Would that have anything to do with those sysctl settings. -John On Thu, 31 Aug 2006, Jaco Engelbrecht wrote: > hi John, > > On Wed, Aug 30, 2006 at 02:04:10PM -0400, John Von Essen wrote: >> I just upgraded to 9.3.2 today. I have been having memory issues. For >> starter, when the named pid grows res mem to around 500m it craps out and >> stops resolving. The tentative fix was to restart bind every night at 2am. >> >> However, today, the res mem grow from 25m at startup to 500m in about 4 >> hours. Quicker then usually, so I thought maybe there was a memory leak, >> and thats why I upgraded to the latest version of bind. >> >> Any ideas? > > Build bind with its internal memory allocator. To to do this, change > CONFIGURE_ARGS in /usr/ports/dns/bind9/Makefile to read like: > > -- > CONFIGURE_ARGS= --localstatedir=/var --disable-linux-caps \ > --with-randomdev=/dev/random \ > STD_CDEFINES=-DISC_MEM_USE_INTERNAL_MALLOC=1 > -- > > make clean > make WITH_PORT_REPLACES_BASE_BIND9=YES > make install > > > /etc/sysctl.conf settings: > > net.inet.raw.recvspace=128000 > net.inet.udp.recvspace=256000 > net.inet.tcp.sendspace=128000 > net.inet.tcp.recvspace=128000 > net.inet.tcp.inflight_enable=1 > kern.ipc.maxsockbuf=256000 > kern.ipc.somaxconn=2048 > net.inet.ip.intr_queue_maxlen=128 > > Jaco > > -- > bje@serendipity.org.za > the faculty of making fortuante discoveries > From owner-freebsd-isp@FreeBSD.ORG Thu Aug 31 21:29:57 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A418A16A4EC for ; Thu, 31 Aug 2006 21:29:57 +0000 (UTC) (envelope-from jonas@bsdswe.org) Received: from wuff.bsdswe.info (lata.st [213.136.57.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45B3243D5C for ; Thu, 31 Aug 2006 21:29:51 +0000 (GMT) (envelope-from jonas@bsdswe.org) Received: from mail.bsdswe.info (localhost [127.0.0.1]) by wuff.bsdswe.info (Postfix) with ESMTP id BCD9136FFE; Thu, 31 Aug 2006 23:29:49 +0200 (CEST) Received: from 192.165.226.68 (SquirrelMail authenticated user jonas@bsdswe.org) by mail.bsdswe.info with HTTP; Thu, 31 Aug 2006 23:29:49 +0200 (CEST) Message-ID: <2709.192.165.226.68.1157059789.squirrel@mail.bsdswe.info> In-Reply-To: <20060831161529.R84804@beck.quonix.net> References: <20060830135428.U95055@beck.quonix.net> <20060831111244.GB21249@serendipity.org.za> <20060831161529.R84804@beck.quonix.net> Date: Thu, 31 Aug 2006 23:29:49 +0200 (CEST) From: jonas@bsdswe.org To: "John Von Essen" User-Agent: SquirrelMail/1.4.6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-isp@freebsd.org Subject: Re: Question about a high load BIND server setup... X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2006 21:29:57 -0000 You should tune kern.ipc.nmbclusters using /boot/loader.conf or your kernelconfig aswell. You can read more about it in tuning(7) //Jonas > Thanks. > > I put those changes in. I'll see how it behaves over the next day. > > One thing I noticed though, I can't run ifconfig now: > > cache01# /sbin/ifconfig -a > ifconfig: socket(family 2,SOCK_DGRAM): No buffer space available > > Would that have anything to do with those sysctl settings. > > -John > > On Thu, 31 Aug 2006, Jaco Engelbrecht wrote: > >> hi John, >> >> On Wed, Aug 30, 2006 at 02:04:10PM -0400, John Von Essen wrote: >>> I just upgraded to 9.3.2 today. I have been having memory issues. For >>> starter, when the named pid grows res mem to around 500m it craps out >>> and >>> stops resolving. The tentative fix was to restart bind every night at >>> 2am. >>> >>> However, today, the res mem grow from 25m at startup to 500m in about 4 >>> hours. Quicker then usually, so I thought maybe there was a memory >>> leak, >>> and thats why I upgraded to the latest version of bind. >>> >>> Any ideas? >> >> Build bind with its internal memory allocator. To to do this, change >> CONFIGURE_ARGS in /usr/ports/dns/bind9/Makefile to read like: >> >> -- >> CONFIGURE_ARGS= --localstatedir=/var --disable-linux-caps \ >> --with-randomdev=/dev/random \ >> STD_CDEFINES=-DISC_MEM_USE_INTERNAL_MALLOC=1 >> -- >> >> make clean >> make WITH_PORT_REPLACES_BASE_BIND9=YES >> make install >> >> >> /etc/sysctl.conf settings: >> >> net.inet.raw.recvspace=128000 >> net.inet.udp.recvspace=256000 >> net.inet.tcp.sendspace=128000 >> net.inet.tcp.recvspace=128000 >> net.inet.tcp.inflight_enable=1 >> kern.ipc.maxsockbuf=256000 >> kern.ipc.somaxconn=2048 >> net.inet.ip.intr_queue_maxlen=128 >> >> Jaco >> >> -- >> bje@serendipity.org.za >> the faculty of making fortuante discoveries >> > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" > From owner-freebsd-isp@FreeBSD.ORG Fri Sep 1 04:08:03 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FAB116A4DD for ; Fri, 1 Sep 2006 04:08:03 +0000 (UTC) (envelope-from john@essenz.com) Received: from beck.quonix.net (beck.quonix.net [146.145.66.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B7F543D45 for ; Fri, 1 Sep 2006 04:08:02 +0000 (GMT) (envelope-from john@essenz.com) Received: from [192.168.1.100] (pool-71-255-96-102.phlapa.east.verizon.net [71.255.96.102]) by beck.quonix.net (8.13.7/8.13.7) with ESMTP id k8148283003941 for ; Fri, 1 Sep 2006 00:08:03 -0400 (EDT) In-Reply-To: <2709.192.165.226.68.1157059789.squirrel@mail.bsdswe.info> References: <20060830135428.U95055@beck.quonix.net> <20060831111244.GB21249@serendipity.org.za> <20060831161529.R84804@beck.quonix.net> <2709.192.165.226.68.1157059789.squirrel@mail.bsdswe.info> Mime-Version: 1.0 (Apple Message framework v752.2) X-Priority: 3 (Normal) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <8E9E84CF-C5DA-4F33-8F1A-C082FBFE6232@essenz.com> Content-Transfer-Encoding: 7bit From: John Von Essen Date: Fri, 1 Sep 2006 00:08:00 -0400 To: freebsd-isp@freebsd.org X-Mailer: Apple Mail (2.752.2) X-Spamassassin-Score: -1.53/6 RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL, SPF_SOFTFAIL, QUONIX_FRIENDLY X-Mimedefang: beck.quonix.net X-Scanned-By: MIMEDefang 2.57 on 146.145.66.90 Subject: Re: Question about a high load BIND server setup... X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2006 04:08:03 -0000 Okay, so this is where I am at. sysctl tunables are standard, but somaxconn was bumped up to 512. I edit /boot/loader.conf and added: kern.dfldsiz=900000000 kern.dflssiz=700000000 kern.maxdsiz=900000000 kern.maxssiz=700000000 kern.maxusers=512 And I recompiled Bind 9.3.2 and enabled the internal memory allocator. One thing I still get, which I dont understand why, is whenever I stop named, I get the following console error: Aug 31 23:47:57 cache01 kernel: Limiting icmp unreach response from 213 to 200 packets/sec Aug 31 23:47:58 cache01 kernel: Limiting icmp unreach response from 242 to 200 packets/sec Aug 31 23:47:59 cache01 kernel: Limiting icmp unreach response from 208 to 200 packets/sec Aug 31 23:48:00 cache01 kernel: Limiting icmp unreach response from 224 to 200 packets/sec As soon as I start named, it goes away. Any idea what this can be? -John From owner-freebsd-isp@FreeBSD.ORG Fri Sep 1 05:38:56 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E964116D815 for ; Fri, 1 Sep 2006 05:35:28 +0000 (UTC) (envelope-from blake@ekalb.net) Received: from rupert.ekalb.net (rupert.ekalb.net [208.47.103.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EFEC43D5C for ; Fri, 1 Sep 2006 05:35:27 +0000 (GMT) (envelope-from blake@ekalb.net) Received: from [192.168.15.3] (c-24-1-102-121.hsd1.tx.comcast.net [24.1.102.121]) by rupert.ekalb.net (Postfix) with ESMTP id 29A6568D1F; Thu, 31 Aug 2006 22:34:49 -0700 (MST) In-Reply-To: <8E9E84CF-C5DA-4F33-8F1A-C082FBFE6232@essenz.com> References: <20060830135428.U95055@beck.quonix.net> <20060831111244.GB21249@serendipity.org.za> <20060831161529.R84804@beck.quonix.net> <2709.192.165.226.68.1157059789.squirrel@mail.bsdswe.info> <8E9E84CF-C5DA-4F33-8F1A-C082FBFE6232@essenz.com> Mime-Version: 1.0 (Apple Message framework v752.2) X-Priority: 3 (Normal) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <47C345F6-9B2E-418A-9582-33F857E0142D@ekalb.net> Content-Transfer-Encoding: 7bit From: Blake Covarrubias Date: Fri, 1 Sep 2006 00:35:24 -0500 To: John Von Essen X-Mailer: Apple Mail (2.752.2) Cc: freebsd-isp@freebsd.org Subject: Re: Question about a high load BIND server setup... X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2006 05:38:56 -0000 Those messages are being sent by your server in response to failed connections to port 53. Because named is no longer listening on that port (service is stopped) your server is informing machines which are attempting to make connections to port 53 that the port is closed. -- Blake Covarrubias On Aug 31, 2006, at 11:08 PM, John Von Essen wrote: > Okay, so this is where I am at. > > sysctl tunables are standard, but somaxconn was bumped up to 512. > > I edit /boot/loader.conf and added: > > kern.dfldsiz=900000000 > kern.dflssiz=700000000 > kern.maxdsiz=900000000 > kern.maxssiz=700000000 > kern.maxusers=512 > > And I recompiled Bind 9.3.2 and enabled the internal memory allocator. > > One thing I still get, which I dont understand why, is whenever I > stop named, I get the following console error: > > Aug 31 23:47:57 cache01 kernel: Limiting icmp unreach response from > 213 to 200 packets/sec > Aug 31 23:47:58 cache01 kernel: Limiting icmp unreach response from > 242 to 200 packets/sec > Aug 31 23:47:59 cache01 kernel: Limiting icmp unreach response from > 208 to 200 packets/sec > Aug 31 23:48:00 cache01 kernel: Limiting icmp unreach response from > 224 to 200 packets/sec > > As soon as I start named, it goes away. Any idea what this can be? > > -John > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" > From owner-freebsd-isp@FreeBSD.ORG Sat Sep 2 02:07:10 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0EC716A4DA for ; Sat, 2 Sep 2006 02:07:10 +0000 (UTC) (envelope-from abhi151285@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38AB743D45 for ; Sat, 2 Sep 2006 02:07:09 +0000 (GMT) (envelope-from abhi151285@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so1171253uge for ; Fri, 01 Sep 2006 19:07:08 -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=Xp/Ghi5/h3usuQ2bk+wPqa49yQJiHV8SA9pp/NOHWrI99SbKC7lLRLAqr2KDE92yInDP97P7/fWTzJuhIIz37Ipe2dPnMwxN6J276VHUqjagc3M8c35pfjTd/gIOJom7nOMOAASmk0+fv5ZvCsoH/5bCkBQfrkBABowh8HFY+W4= Received: by 10.67.105.19 with SMTP id h19mr1537073ugm; Fri, 01 Sep 2006 19:07:08 -0700 (PDT) Received: by 10.67.19.1 with HTTP; Fri, 1 Sep 2006 19:07:07 -0700 (PDT) Message-ID: <444ac1550609011907w7c80662av272a1c9fc6421b3f@mail.gmail.com> Date: Sat, 2 Sep 2006 07:37:08 +0530 From: "Abimanyu Gottumukkala" To: freebsd-isp@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Port Based Bandwidth Controlling X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Sep 2006 02:07:10 -0000 Hi Friend i am designing bandwidth management software i what your help. I want to know how to do port based bandwidth controlling. Each Users should get 512Kbits on port 80 and 128Kbits on all other ports. Can any one help me out? From owner-freebsd-isp@FreeBSD.ORG Sat Sep 2 02:10:37 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4312216A4DA for ; Sat, 2 Sep 2006 02:10:37 +0000 (UTC) (envelope-from ormandj@corenode.com) Received: from zone2.corenode.com (zone2.corenode.com [66.91.129.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1BB543D46 for ; Sat, 2 Sep 2006 02:10:36 +0000 (GMT) (envelope-from ormandj@corenode.com) Received: from corenode.com ([127.0.0.1]) by zone2.corenode.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J4Y000980R44Y00@zone2.corenode.com> for freebsd-isp@freebsd.org; Fri, 01 Sep 2006 16:11:28 -1000 (HST) Received: from [132.160.192.10] by zone2.corenode.com (mshttpd); Fri, 01 Sep 2006 16:11:28 -1000 Date: Fri, 01 Sep 2006 16:11:28 -1000 From: "David J. Orman" In-reply-to: <444ac1550609011907w7c80662av272a1c9fc6421b3f@mail.gmail.com> To: Abimanyu Gottumukkala Message-id: MIME-version: 1.0 X-Mailer: Sun Java(tm) System Messenger Express 6.2-6.01 (built Apr 3 2006) Content-type: text/plain; charset=us-ascii Content-language: en Content-transfer-encoding: 7BIT Content-disposition: inline X-Accept-Language: en Priority: normal References: <444ac1550609011907w7c80662av272a1c9fc6421b3f@mail.gmail.com> Cc: freebsd-isp@freebsd.org Subject: Re: Port Based Bandwidth Controlling X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Sep 2006 02:10:37 -0000 It depends on what you're using to do the traffic shaping. Are you using ipf/ipfw + dummynet, or pf + altq. I highly suggest pf/altq. Google for ALTQ, there is a TON of documentation. Yes, you can apply the openbsd based docs to the pf/altq version in current releases of freebsd. :) Cheers, David ----- Original Message ----- From: Abimanyu Gottumukkala Date: Friday, September 1, 2006 4:08 pm Subject: Port Based Bandwidth Controlling To: freebsd-isp@freebsd.org > Hi Friend i am designing bandwidth management software i what your > help. I > want to know how to do port based bandwidth controlling. > > Each Users should get 512Kbits on port 80 and 128Kbits on all other > ports. > Can any one help me out? > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" > From owner-freebsd-isp@FreeBSD.ORG Sat Sep 2 02:24:12 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7F7316A4DA for ; Sat, 2 Sep 2006 02:24:12 +0000 (UTC) (envelope-from abhi151285@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D93743D46 for ; Sat, 2 Sep 2006 02:24:11 +0000 (GMT) (envelope-from abhi151285@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so1173861uge for ; Fri, 01 Sep 2006 19:24:11 -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=MHEjwNQMwmnBq63VvCBmY+qgxKLbWwknTRMohDigFOw/j0wV/oUDgzfkTy1wGnTQOqAbV/kRzxhiIJxoQXA7Hg2aTwK+KjABN71Tp1KpI6VKJgPURmJRvfUDOWSU4zpNOkSHgS44mgFIzoQXgK8sarGALjStuh5dZe/aCqWaby8= Received: by 10.66.244.11 with SMTP id r11mr1536786ugh; Fri, 01 Sep 2006 19:24:10 -0700 (PDT) Received: by 10.67.19.1 with HTTP; Fri, 1 Sep 2006 19:24:10 -0700 (PDT) Message-ID: <444ac1550609011924k44a3100w93724c8bd3f543f1@mail.gmail.com> Date: Sat, 2 Sep 2006 07:54:10 +0530 From: "Abimanyu Gottumukkala" To: freebsd-isp@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: FreeBSD Router X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Sep 2006 02:24:12 -0000 Friend i have very strange problem. I am running a freebsd router (Just Forwarding Packages Not nating) and i have 6Mbits Bandwidth but when i download any files then iam getting only 128Kbits if i use download accelerator then iam getting nice speed because it implement multiple connection. Iam using Fiber Optical Line. how to solve this problem?