From owner-freebsd-net@FreeBSD.ORG Sun Feb 9 21:50:55 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 AA5C894F for ; Sun, 9 Feb 2014 21:50:55 +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 72CBC1AB5 for ; Sun, 9 Feb 2014 21:50:55 +0000 (UTC) Received: by mail-ob0-f180.google.com with SMTP id wp4so6436589obc.11 for ; Sun, 09 Feb 2014 13:50:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=UrjiwI2jPIRfVPa/LgtUavEQP4lkOyLHnR0sYLv0fN0=; b=OXCw/Ca+FwmwnCmiF0W64aMGtFpn8h7DY85bRBN/AjVJjV1gJJcJzlDwDdPghGHiWR NNZpw0gvE4lseRBIp2iWUSSE/kMVfloCP+YXC8rzfL6JkeGYALVweXQIu9LS6rw/+fUj frLOvwVA4bCxOgY00pAuwgfAVQGsvtZFmSzBD2i0yjtmXM05p/fdkqAm0v1U+x6VwMT5 S3ETlpiedOXqSHzVaA9aeVqCAkqzJ+shuE+yN0vlStXHC7F0xeoKlh/uvZJapw6OCHiX LJyZJuRSeFlYxMUmc7j6H/d11K5dMJJkp9s9FVFAgyIxnWefu4QK98PXA5BOwgmtsoIR +0HA== X-Received: by 10.60.142.10 with SMTP id rs10mr23938600oeb.8.1391982654550; Sun, 09 Feb 2014 13:50:54 -0800 (PST) MIME-Version: 1.0 Received: by 10.60.61.7 with HTTP; Sun, 9 Feb 2014 13:50:34 -0800 (PST) From: Raimundo Santos Date: Sun, 9 Feb 2014 19:50:34 -0200 Message-ID: Subject: userspace ipfw and FreeBSD 10 To: "freebsd-net@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 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 21:50:55 -0000 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