From owner-freebsd-net@FreeBSD.ORG Sun Feb 9 23:47:32 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B55AD733 for ; Sun, 9 Feb 2014 23:47:32 +0000 (UTC) Received: from mail-ob0-x234.google.com (mail-ob0-x234.google.com [IPv6:2607:f8b0:4003:c01::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 778A414A1 for ; Sun, 9 Feb 2014 23:47:32 +0000 (UTC) Received: by mail-ob0-f180.google.com with SMTP id wp4so6507094obc.11 for ; Sun, 09 Feb 2014 15:47:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=XKjppIBd73hZrKwNE6cIDxsbfnRJNSjNSeILeDlR+gk=; b=k3r9hBWxeiDPmC6LoE/79gJaaxhVELm4NPlDkBK9BvWw0rhhxxbeQ7un9xYmWNSGTG 7XDxZNMTskZ9TBd5TynO/KCFEDOC3ir6ax5y9jq3mrjSFOKghqY17Jb8TClYVt0F7Qij +iDgkp4AjywhCoxsbDW34B0FAXtTsLJcmDVBzGnJbdxM3EysIVFQDrOorkSTP57aw2P1 woezwPvZZaXYvciIRYdxXcE9ZwvyP2iqDBJkZj1U1u4hTvtaSiOxSlXLpCAWh5DGbmuI OLdE+10GrMKdxJZopiYOgJnDp5nT8DZmq+zHe+SY1XI9OJfeG1bmY5diNnk3rG6QpnVG i9Lw== X-Received: by 10.182.81.197 with SMTP id c5mr3952510oby.40.1391989651822; Sun, 09 Feb 2014 15:47:31 -0800 (PST) MIME-Version: 1.0 Received: by 10.60.61.7 with HTTP; Sun, 9 Feb 2014 15:47:11 -0800 (PST) In-Reply-To: References: From: Raimundo Santos Date: Sun, 9 Feb 2014 21:47:11 -0200 Message-ID: Subject: Re: userspace ipfw and FreeBSD 10 To: Luigi Rizzo Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-net@freebsd.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Feb 2014 23:47:32 -0000 Hi Luigi! Thank you for the quick reply. I will be patiently waiting. cheers, Raimundo On 9 February 2014 20:20, Luigi Rizzo wrote: > just be patient for a few days, we are about to release a newer version > of netmap and matching userspace ipfw code that can use the new > features such as zerocopy and 'transparent' mode > (all this is meant to work on HEAD, 10 and 9) > > cheers > luigi > > > > On Sun, Feb 9, 2014 at 1:50 PM, Raimundo Santos wrote: > >> Hello list! >> >> There is a way to compile and use the userspace, netmap based, ipfw on top >> of FreeBSD 10? I mean, to compile it without great dependencies (gmake is >> one, may be GCC another). >> >> Here is the output of a tentative, with netmap and VIMAGE inkernel: >> >> root@fbsdserver:~/ipfw-user # gmake >> Building userspace ... >> gmake[1]: Entering directory `/root/ipfw-user/ipfw' >> (cd ../objs; gmake -f ../Makefile.kipfw include_e) >> gmake[2]: Entering directory `/root/ipfw-user/objs' >> Building /root/ipfw-user/objs/../objs/include_e ... >> gmake[2]: Leaving directory `/root/ipfw-user/objs' >> CC ipfw2.c >> CC dummynet.c >> CC main.c >> CC ipv6.c >> CC altq.c >> CC ../extra/glue.c >> >> ../extra/glue.c:181:36: error: comparison of unsigned expression < 0 is >> always false [-Werror,-Wtautological-compare] >> if((oldlenp != NULL) && (*oldlenp < 0)) >> ~~~~~~~~ ^ ~ >> 1 error generated. >> gmake[1]: *** [glue.o] Error 1 >> gmake[1]: Leaving directory `/root/ipfw-user/ipfw' >> gmake: *** [ipfw] Error 2 >> >> Thank you all, >> Raimundo >> _______________________________________________ >> freebsd-net@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >> > > > > -- > -----------------------------------------+------------------------------- > Prof. Luigi RIZZO, rizzo@iet.unipi.it . Dip. di Ing. dell'Informazione > http://www.iet.unipi.it/~luigi/ . Universita` di Pisa > TEL +39-050-2211611 . via Diotisalvi 2 > Mobile +39-338-6809875 . 56122 PISA (Italy) > -----------------------------------------+------------------------------- >