ipfw and tablearg formatting

Andreas Nilsson andrnils at gmail.com
Mon Jun 3 11:43:30 UTC 2013


Hello,

Still trying out the tablearg functionality of ipfw and found the following:

1)
# ipfw table 100 add 192.168.0.0/24 10.0.0.1
# ipfw table 100 list
192.168.0.0/24 167772161

I guess it is correct, but not user friendly. Can't the tablearg part be
printed as normal dotted decimal?


2)

# ipfw table 100 add 2a01:280:1::88/64 2a01:280:1::89
# ipfw table 100 list
2a01:280:1::/64 2

I don't really see any chance of this one working.


Another question: While using tablearg, is there a way to get statistics of
each "individual" computed  value instead of just the aggregate statistics
for all rules "generated" by the tablearg rule?

Best regards
Andreas


More information about the freebsd-net mailing list