From owner-freebsd-net@FreeBSD.ORG Tue Sep 6 10:54:06 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 E67AF106566B for ; Tue, 6 Sep 2011 10:54:06 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id A3D6A8FC08 for ; Tue, 6 Sep 2011 10:54:06 +0000 (UTC) Received: by vxh11 with SMTP id 11so5744872vxh.13 for ; Tue, 06 Sep 2011 03:54:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=Qm7Eh3VZww3FwEU/xwy7NIm/TRs133G4bz1jETMo9FI=; b=vOq3Mbcsm0EQ2EQD3YDKd+ygqVtrCNY4meuNGdKYxaQXChbOiblgDEN32JQ87oQVLG 16l8PB7L1gGX8Malr/mp4URSD90BvoDgG/WHXsk4h44Hl7b54YJeXJpOifWhjS67J06t kkVp6TSpNDYgr6s2AaG0UUx1Cc+GyknQZvNJc= MIME-Version: 1.0 Received: by 10.52.184.10 with SMTP id eq10mr1708975vdc.96.1315306445998; Tue, 06 Sep 2011 03:54:05 -0700 (PDT) Sender: kmacybsd@gmail.com Received: by 10.52.113.169 with HTTP; Tue, 6 Sep 2011 03:54:05 -0700 (PDT) In-Reply-To: References: Date: Tue, 6 Sep 2011 12:54:05 +0200 X-Google-Sender-Auth: seRnzMmCHWFPu49ukPkyaToGBKQ Message-ID: From: "K. Macy" To: Arnaud Lacombe Content-Type: text/plain; charset=ISO-8859-1 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: Tue, 06 Sep 2011 10:54:07 -0000 On Mon, Sep 5, 2011 at 11:44 PM, Arnaud Lacombe wrote: > 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 depends on specific structures in kernel memory, ipfw depends on specific ioctls whose arguments may vary. Netstat in particular breaks on head on a quasi daily basis because of changes to networking structures. STABLE implies STABLE for things that depend on libc and are not dependent on obscure kernel interfaces. There is some work going on (off and on) to decouple netstat from kvm which would fix that. N-1 compatibility for ipfw is probably possible, anything more than that is probably infeasible from an interface tracking standpoint.