From owner-freebsd-net@FreeBSD.ORG Thu Mar 30 21:58:22 2006 Return-Path: X-Original-To: net@freebsd.org Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A274116A41F for ; Thu, 30 Mar 2006 21:58:22 +0000 (UTC) (envelope-from mi+mx@aldan.algebra.com) Received: from zig.murex.com (mail.murex.com [194.98.239.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A28943D77 for ; Thu, 30 Mar 2006 21:58:19 +0000 (GMT) (envelope-from mi+mx@aldan.algebra.com) Received: from interscan.fr.murex.com (interscan.fr.murex.com [172.21.17.207] (may be forged)) by zig.murex.com with ESMTP id k2UM0HTg027221; Fri, 31 Mar 2006 00:00:18 +0200 (CEST) Received: from mxmail.murex.com (interscan.murex.fr [127.0.0.1]) by interscan.fr.murex.com (8.11.6/8.11.6) with ESMTP id k2UMTnD11411; Fri, 31 Mar 2006 00:29:49 +0200 Received: from [172.21.130.86] ([172.21.130.86]) by mxmail.murex.com with Microsoft SMTPSVC(6.0.3790.0); Thu, 30 Mar 2006 23:57:44 +0200 From: Mikhail Teterin Organization: Virtual Estates, Inc. To: rizzo@icir.org, archie@dellroad.org, ugen@worldbank.org, ugen@netvision.net.il Date: Thu, 30 Mar 2006 16:57:42 -0500 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603301657.43218.mi+mx@aldan.algebra.com> X-OriginalArrivalTime: 30 Mar 2006 21:57:44.0812 (UTC) FILETIME=[F99022C0:01C65444] Cc: net@freebsd.org Subject: Is there an API for ipfw? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Mar 2006 21:58:22 -0000 Hi! I'm writing an application that, needs to be able to quickly alter the bandwidth between another machine and the host. The only way I can do that -- without another machine's cooperation -- is by using the firewall, such as the dummynet functionality of ipfw. Is there any way to create/alter such a pipe from a C-program without using system("ipfw ....")? If not ipfw, perhaps, other firewall modules in FreeBSD-6.x? Thanks a lot! -mi