Stuart Henderson wrote:
On 2009/06/02 22:38, Daniel Ouellet wrote:
+deny from any prefix { 192.168.0.0/16, 10/8 }

deny from any prefix { 192.168/16, 10/8 }

+good="{ 192.168.0.0/16, 172.16.0.0/12, 10/8 }"
+bad="{ 224.0.0.0/4, 240/4 }"
+ugly="{ 127.0.0.1/8, 169.254/16 }"

good="{ 192.168/16, 172.16/12, 10/8 }"
bad="{ 224/4, 240/4 }"
ugly="{ 127.0.0.1/8, 169.254/16 }"

if these are changed, the sample config file should also be
changed for consistency.

That would be good too and if agreed, I sure can send the patch for that as well if needed.

I'm not sure though. I imagine it might create a bit of
confusion to people who aren't used to this notation.
What's anyone else think?

Example in pf use the short version, so it's not really new however and along the man page it does not mix as I did on the same line for sure, I thought to show both examples and keep it simple that way, witch I guess could be confusion may be, but pf.conf however does use both variations in the man page at various places. Not on the same line however, that's true. But bgpd.conf do not, however it is supported and possible.

May be just the short version would be good then? As if you can use the short version, you sure can use the long one. Not having it there did push me to asked to confirmed if it was officially supported or not.

Reply via email to