From owner-freebsd-ipfw@FreeBSD.ORG Sun Apr 27 17:15:35 2003 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BC7237B401 for ; Sun, 27 Apr 2003 17:15:35 -0700 (PDT) Received: from norton.palomine.net (norton.palomine.net [66.93.48.52]) by mx1.FreeBSD.org (Postfix) with SMTP id 50A4A43F93 for ; Sun, 27 Apr 2003 17:15:34 -0700 (PDT) (envelope-from sullrich@palomine.net) Received: (qmail 20178 invoked by uid 1004); 28 Apr 2003 00:15:33 -0000 Date: Sun, 27 Apr 2003 20:15:33 -0400 From: SKU To: ipfw@freebsd.org Message-ID: <20030428001533.GA20138@palomine.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: Traffic Shaper Question X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2003 00:15:35 -0000 Greetings, I am trying to use the following script to shape my incoming/outgoing traffic but keep running into some issues. Can anyone hit with me a clue bat to show me what I am doing wrong??? net.inet.ip.fw.one_pass: 1 -> 1 /sbin/ipfw pipe 1 config bw 250Kbits/s /sbin/ipfw pipe 2 config bw 155Kbytes/s /sbin/ipfw queue 1 config pipe 2 weight 1 ipfw: setsockopt(IP_DUMMYNET_CONFIGURE): Invalid argument /sbin/ipfw queue 2 config pipe 2 weight 1 /sbin/ipfw queue 3 config pipe 1 weight 1 /sbin/ipfw queue 4 config pipe 1 weight 1 ipfw: setsockopt(IP_DUMMYNET_CONFIGURE): Invalid argument /sbin/ipfw queue 5 config pipe 1 weight 10 /sbin/ipfw queue 6 config pipe 2 weight 10 /sbin/ipfw queue 7 config pipe 2 weight 1 ipfw: setsockopt(IP_DUMMYNET_CONFIGURE): Invalid argument /sbin/ipfw queue 8 config pipe 1 weight 1 /sbin/ipfw queue 9 config pipe 1 weight 10 ipfw: setsockopt(IP_DUMMYNET_CONFIGURE): Invalid argument /sbin/ipfw queue 10 config pipe 2 weight 10 ipfw: setsockopt(IP_DUMMYNET_CONFIGURE): Invalid argument /sbin/ipfw add 105 queue 7 tcp from any 6800-6900 to any in /sbin/ipfw add 105 queue 7 udp from any 6800-6900 to any in /sbin/ipfw add 105 queue 8 tcp from any to any 6800-6900 out /sbin/ipfw add 105 queue 8 udp from any to any 6800-6900 out /sbin/ipfw add 105 queue 9 tcp from any to any 80 out /sbin/ipfw add 105 queue 10 tcp from any 80 to any in /sbin/ipfw add 105 queue 7 tcp from any to any 22 out /sbin/ipfw add 105 queue 8 tcp from any 22 to any in /sbin/ipfw add 105 queue 9 tcp from any to any 3389 out /sbin/ipfw add 105 queue 10 tcp from any 3389 to any in TIA, SKU