Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Sep 2011 14:31:08 -0400
From:      Arnaud Lacombe <lacombar@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   No IPFW binary compat across versions ?
Message-ID:  <CACqU3MXVLjJvF6RGqpC-hvnbTgb-uNC7V0AP0ofXDRs4n7Nmtg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACqU3MXVLjJvF6RGqpC-hvnbTgb-uNC7V0AP0ofXDRs4n7Nmtg>