From owner-freebsd-net@FreeBSD.ORG Mon Sep 5 20:18:28 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 B4F78106566B for ; Mon, 5 Sep 2011 20:18:28 +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 8ED938FC15 for ; Mon, 5 Sep 2011 20:18:28 +0000 (UTC) Received: by pzk33 with SMTP id 33so15207096pzk.18 for ; Mon, 05 Sep 2011 13:18:28 -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=GDGZWpDkb4LtfKaEEnTCrcq+V/7p6QLJoS5/FRteZuY=; b=eCa/umDuE8pMJMLA64SMcxo0cDXN2XKdp8ouHGxqf2WC613W4wPWAVCbQgT6F8eAku /dhN+d3dp1DAcfuy9xpY5OgTf6wAbWxxYCkWPOmYEhKUwvQZoSSqUGu88UmAxz2liq1w 7J9+Jq+x07T5OmyZqRpRz1+scgWGN78JEI6T8= MIME-Version: 1.0 Received: by 10.68.13.169 with SMTP id i9mr8437708pbc.195.1315253907734; Mon, 05 Sep 2011 13:18:27 -0700 (PDT) Received: by 10.142.131.15 with HTTP; Mon, 5 Sep 2011 13:18:27 -0700 (PDT) In-Reply-To: References: Date: Mon, 5 Sep 2011 16:18:27 -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 20:18:28 -0000 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 ? Thanks, - Arnaud > On Mon, Sep 5, 2011 at 8:31 PM, Arnaud Lacombe wrote= : >> 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 2= 011 >> >> # ipfw show >> 65535 79609572473438209 9528064790723821568 count ip from any to any >> # ipfw show >> 65535 80229898894966785 10211949650127093760 skipto 20069 ip from any to= any >> # ipfw show >> 65535 81461570961408001 11566216593050435584 divert 20069 ip from any to= any >> # ipfw show >> 65535 81826462792941569 11967688918742073344 tee 20069 ip from any to an= y >> # 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" >> >