Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jun 2013 13:43:30 +0200
From:      Andreas Nilsson <andrnils@gmail.com>
To:        FreeBSD Net <freebsd-net@freebsd.org>
Subject:   ipfw and tablearg formatting
Message-ID:  <CAPS9%2BSu=uQG5-s7qmgeUSgnqJscyMhRqXuApo0mkV%2BqZWU8u0g@mail.gmail.com>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPS9%2BSu=uQG5-s7qmgeUSgnqJscyMhRqXuApo0mkV%2BqZWU8u0g>