Arnaud Lacombe
2011-09-05 18:31:08 UTC
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
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