[Bug 1918] match_pattern_list fails for negated failure

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Wed Oct 18 13:51:14 AEDT 2017


https://bugzilla.mindrot.org/show_bug.cgi?id=1918

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|REOPENED                    |RESOLVED

--- Comment #33 from Damien Miller <djm at mindrot.org> ---
I couldn't reach consensus with the other developers on applying this
patch, so have clarified the documentation instead:

> Note that a negated match will never produce a positive result
> by itself. For example, attempting to match "host3" against the 
> following pattern-list will fail:
>
>    from="!host1,!host2"
>
> The solution here is to include a term that will yield a 
> positive match, such as a wildcard:
>
>    from="!host1,!host2,*"

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list