From owner-freebsd-net@FreeBSD.ORG Sun Feb 9 22:20:13 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C85058BF for ; Sun, 9 Feb 2014 22:20:13 +0000 (UTC) Received: from mail-lb0-x230.google.com (mail-lb0-x230.google.com [IPv6:2a00:1450:4010:c04::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3D18A1CE1 for ; Sun, 9 Feb 2014 22:20:13 +0000 (UTC) Received: by mail-lb0-f176.google.com with SMTP id w7so4149120lbi.7 for ; Sun, 09 Feb 2014 14:20:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=IkCOgaWJOFBp1vQLnwAG8scWmR7dUC2liiLbB8CwktI=; b=wkE1vI43CMDpgjF3ZO2VDN7AMfzpypp78C7JOt7Q05PfxjWahCRIpTUvSmXUAOS6SB hlK7/x7WGUP5PPB0gwQRa5yOqn5qj8o8bTh1zQ9PeKOHGgNnHyt5jRJ5S/PoDjUTu2Ko mctqpmor6SK5doVNXtTRAl5PPL52/okDWGhuYJepmIoXkdLR1XvEvJBc3J563U3bXwzX zjJ2olzEBaTbxgaSypypmQa2DSLMIfPC0Bm2nGlNvJzLlNxR5UqbwEYTeCZYYtgK2dQH HqV0ojlJw5lCdCM1SzBMJHbN4fddX72tIOJ3l8cDUXhspe1vENZNB4XeCYJdD+p/ZyVc Wwqg== MIME-Version: 1.0 X-Received: by 10.112.125.225 with SMTP id mt1mr3093248lbb.35.1391984410628; Sun, 09 Feb 2014 14:20:10 -0800 (PST) Sender: rizzo.unipi@gmail.com Received: by 10.115.4.162 with HTTP; Sun, 9 Feb 2014 14:20:10 -0800 (PST) In-Reply-To: References: Date: Sun, 9 Feb 2014 14:20:10 -0800 X-Google-Sender-Auth: m0k8K6BxGaxg_bDQkeI1G4lxpiw Message-ID: Subject: Re: userspace ipfw and FreeBSD 10 From: Luigi Rizzo To: Raimundo Santos 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 22:20:13 -0000 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) -----------------------------------------+-------------------------------