From owner-freebsd-net@FreeBSD.ORG Mon Sep 5 18:31:08 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 A49AE106566B for ; Mon, 5 Sep 2011 18:31:08 +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 84A028FC17 for ; Mon, 5 Sep 2011 18:31:08 +0000 (UTC) Received: by pzk33 with SMTP id 33so15081413pzk.18 for ; Mon, 05 Sep 2011 11:31:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=5bGUlyT/7ea8uhefrUrDQf90a8qBOCiPl/jyLc6T3Ic=; b=eRix2KA2WGovbkmbfRzPqr49c17Cwtfl1d/ro4BfyTs6X99U+++myci5rz3RPjy209 spxS7NAegxCN4Y55ptFIeGnbi6IcXXrnSUIFbE/oNjsQu3x8fdgpa1UM7sSvO2LWMJ2i l8ietqC2vc7yHt+Y6yw2ac5fQp3zv14bPxeTE= MIME-Version: 1.0 Received: by 10.68.13.169 with SMTP id i9mr8278834pbc.195.1315247468022; Mon, 05 Sep 2011 11:31:08 -0700 (PDT) Received: by 10.142.131.15 with HTTP; Mon, 5 Sep 2011 11:31:08 -0700 (PDT) Date: Mon, 5 Sep 2011 14:31:08 -0400 Message-ID: From: Arnaud Lacombe To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: 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 18:31:08 -0000 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 8.2-STABLE FreeBSD 8.2-STABLE #0: Mon Sep 5 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 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 any # ipfw show 65535 85659197118611457 16196106284901072896 altq ?<301> ip from any to any # ipfw show 65535 86531998897668097 17160025365645623296 ** unrecognized action 64 len 19 ip from any to any # ipfw show 65535 127737816351244289 7272335601653776384 ** unrecognized action 158 len 19 ip from any to any However as the 8-STABLE kernel have COMPAT_FREEBSD7 enabled, I would not expect this to happen... Thanks, - Arnaud