From owner-freebsd-net@FreeBSD.ORG Mon Sep 5 21:44:49 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 346B4106566B; Mon, 5 Sep 2011 21:44:49 +0000 (UTC) (envelope-from lacombar@gmail.com) Received: from mail-pz0-f45.google.com (mail-pz0-f45.google.com [209.85.210.45]) by mx1.freebsd.org (Postfix) with ESMTP id 0724B8FC0C; Mon, 5 Sep 2011 21:44:48 +0000 (UTC) Received: by pzk33 with SMTP id 33so15308311pzk.18 for ; Mon, 05 Sep 2011 14:44:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=rjWeUQEqqKb7EeoRBIYetGr95qwuDuoKKQ1B176HbN4=; b=PbkzhuI9FfYooeZ/lvMS49LcCx0Wt2pLXBmuOlU3nwmKAGOUPL9m9nVYEiEMgF8Zh9 7/H1SkzNAXSqigzH69CY1QIlJWnLbdFCBzvaeSznVgjht8ZWH2V/9Y8ljLapsyKr9TaA XyTng59T/ChRoymWmLrOOtt4T4JM8KElD5jaU= MIME-Version: 1.0 Received: by 10.68.46.67 with SMTP id t3mr1229258pbm.61.1315259088498; Mon, 05 Sep 2011 14:44:48 -0700 (PDT) Received: by 10.142.131.15 with HTTP; Mon, 5 Sep 2011 14:44:48 -0700 (PDT) In-Reply-To: References: Date: Mon, 5 Sep 2011 17:44:48 -0400 Message-ID: From: Arnaud Lacombe To: "K. Macy" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-net@freebsd.org Subject: Re: No IPFW binary compat across versions ? 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: Mon, 05 Sep 2011 21:44:49 -0000 Hi, On Mon, Sep 5, 2011 at 4:18 PM, Arnaud Lacombe wrote: > Hi, > > On Mon, Sep 5, 2011 at 3:14 PM, K. Macy wrote: >> -STABLE only implies that the ABI does not change during that release >> line. It makes no guarantees when moving from one branch to the next. >> > IIUC, FreeBSD does not provide binary backward compatibility between > version at all, is that it ? > I guess the answer is "NO", on the same system: # netstat -m netstat: memstat_mtl_find: zone mbuf_jumbo_pagesize not found It would seem that COMPAT_FREEBSD7 is just as useful as is eyes powder on a scare-crow... - Arnaud > Thanks, > =A0- Arnaud > >> On Mon, Sep 5, 2011 at 8:31 PM, Arnaud Lacombe wrot= e: >>> Hi, >>> >>> It would seem that the ipfw binary from a 7.4 install is not >>> compatible with the in-kernel implementation of ipfw from 8-STABLE. >>> The following command returns junk: >>> >>> # uname -a >>> FreeBSD =A08.2-STABLE FreeBSD 8.2-STABLE #0: Mon Sep =A05 13:26:22 EDT = 2011 >>> >>> # ipfw show >>> 65535 79609572473438209 9528064790723821568 count ip from any to any >>> # ipfw show >>> 65535 80229898894966785 10211949650127093760 skipto 20069 ip from any t= o any >>> # ipfw show >>> 65535 81461570961408001 11566216593050435584 divert 20069 ip from any t= o any >>> # ipfw show >>> 65535 81826462792941569 11967688918742073344 tee 20069 ip from any to a= ny >>> # ipfw show >>> 65535 85659197118611457 16196106284901072896 =A0altq ?<301> ip from any= to any >>> # ipfw show >>> 65535 86531998897668097 17160025365645623296 ** unrecognized action 64 >>> len 19 =A0ip from any to any >>> # ipfw show >>> 65535 127737816351244289 7272335601653776384 ** unrecognized action >>> 158 len 19 =A0ip from any to any >>> >>> However as the 8-STABLE kernel have COMPAT_FREEBSD7 enabled, I would >>> not expect this to happen... >>> >>> Thanks, >>> =A0- Arnaud >>> _______________________________________________ >>> 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" >>> >> >