No IPFW binary compat across versions ?

Arnaud Lacombe lacombar at gmail.com
Mon Sep 5 20:18:28 UTC 2011


Hi,

On Mon, Sep 5, 2011 at 3:14 PM, K. Macy <kmacy at freebsd.org> 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 <lacombar at gmail.com> 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  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
>> _______________________________________________
>> freebsd-net at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-net
>> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>>
>


More information about the freebsd-net mailing list