Hi, On Tue, May 31, 2016 at 12:22:49AM -0400, Selva Nair wrote: > filtering stops as soon as a match is found. Full regex support is > not available but partial matching is used to allow some flexibility. > Thus > > pull-filter accept "ifconfig 10.9.0." > pull-filter reject "ifconfig " > pull-filter accept "route 10." > pull-filter reject "route "
Thinking about this a bit more, without having studied the code - what
do you think about having a third category
pull-filter accept "route 10."
pull-filter reject "route 195.30."
pull-filter ignore "route "
"ignore" would be "if that option shows up, log the fact that we ignored
it, and go on", while "reject" would be "if this shows up, something bad
is happening, so complain loudly, abort the connection and try the next
alternative".
> A maximum of 64 filters are supported.
We briefly discussed this yesterday - 64 should be plenty for about
everything, but a dynamic list might be the way to cope for the *one*
user who then comes up with the 65th rule...
gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany [email protected]
fax: +49-89-35655025 [email protected]
signature.asc
Description: PGP signature
