Package: flow-tools
Version: 1:0.68-4

The file /etc/flow-tools/cfg/filter.cfg supplied with the package
contain filter definitions with variable binding such as:

filter-primitive VAR_ADDR
  type ip-address
  permit @{ADDR:-0.0.0.0}

and

filter-definition ip-dst-addr
  match ip-destination-address VAR_ADDR

They don't work because the primitive is named VAR_ADDR but the permit
line uses only ADDR.

Additionally, if one tries to change the permit line to
permit @{VAR_ADDR:-0.0.0.0}
a syntax error happens ("missing :" or something). This error is caused
by the underline in the VAR_ADDR name. This might be considered a bug
in the program but the man page doesn't precisely define how a
variable name is constructed so it could also be considered a
documentation bug.

Finally, the "-" after the ":" in the default specification is
necessary to avoid a syntax error but it's not mentioned in the man
page.

I made everything work in my installation by removing the VAR_ prefix
of the variable bindings but this might be considered fixing the
symptom and not the cause.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to