From owner-freebsd-ipfw@freebsd.org Wed Mar 9 07:58:34 2016 Return-Path: Delivered-To: freebsd-ipfw@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 57647AC79E7; Wed, 9 Mar 2016 07:58:34 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from gw.catspoiler.org (unknown [IPv6:2602:304:b010:ef20::f2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gw.catspoiler.org", Issuer "gw.catspoiler.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3D7A8647; Wed, 9 Mar 2016 07:58:34 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.15.2/8.15.2) with ESMTP id u297wOvK009237; Tue, 8 Mar 2016 23:58:28 -0800 (PST) (envelope-from truckman@FreeBSD.org) Message-Id: <201603090758.u297wOvK009237@gw.catspoiler.org> Date: Tue, 8 Mar 2016 23:58:23 -0800 (PST) From: Don Lewis Subject: Re: Dummynet AQM v0.1- CoDel and FQ-CoDel for FreeBSD's ipfw/dummynet To: ralsaadi@swin.edu.au cc: freebsd-net@freebsd.org, freebsd-ipfw@freebsd.org, garmitage@swin.edu.au In-Reply-To: <6545444AE21C2749939E637E56594CEA3C187192@gsp-ex02.ds.swin.edu.au> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2016 07:58:34 -0000 On 26 Feb, Rasool Al-Saadi wrote: > Dear all, > > I would like to announce that we (myself and Grenville Armitage) released Dummynet AQM v0.1, which is an independent implementation of CoDel and FQ-CoDel for FreeBSD's ipfw/dummynet framework, based on the IETF CoDel [1] and FQ-CoDel [2] Internet-Drafts. > We prepared patches for FreeBSD11-CURRENT-r295345 and FreeBSD 10.x-RELEASE (10.0, 10.1, 10.2), and a technical report of our implementation. > > Patches and documentation can be found in: > http://caia.swin.edu.au/freebsd/aqm Without the patch below, the dummynet module fails to load # kldload dummynet.ko kldload: can't load dummynet.ko: No such file or directory and the following is printed to /var/log/messages: link_elf: symbol sysctl__net_inet_ip_dummynet_children undefined I believe this patch is needed for FreeBSD 11 and all FreeBSD 10 releases. --- sys/netpfil/ipfw/ip_dn_io.c.prev 2016-03-06 00:51:38.012058648 -0800 +++ sys/netpfil/ipfw/ip_dn_io.c 2016-03-08 21:54:47.036921030 -0800 @@ -154,7 +154,7 @@ SYSCTL_DECL(_net_inet); SYSCTL_DECL(_net_inet_ip); -static SYSCTL_NODE(_net_inet_ip, OID_AUTO, dummynet, CTLFLAG_RW, 0, "Dummynet"); +SYSCTL_NODE(_net_inet_ip, OID_AUTO, dummynet, CTLFLAG_RW, 0, "Dummynet"); /* wrapper to pass dn_cfg fields to SYSCTL_* */ //#define DC(x) (&(VNET_NAME(_base_dn_cfg).x))