[Bug 2957] New: servconf.c: parse_multistate: does not allow override?

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Wed Jan 23 04:01:22 AEDT 2019


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

            Bug ID: 2957
           Summary: servconf.c: parse_multistate: does not allow override?
           Product: Portable OpenSSH
           Version: 7.9p1
          Hardware: Other
                OS: All
            Status: NEW
          Severity: trivial
          Priority: P5
         Component: Miscellaneous
          Assignee: unassigned-bugs at mindrot.org
          Reporter: steffen at sdaoden.eu

I tried to use JumpHost via my server running AlpineLinux -- these guys
set "AllowTcpForwarding no" and i only append all changes in order to
make merging after updates (much) easier.

After hours of failed attempts and google-sponsored searches on the
boys toilet walls i finally realized that it was the
"AllowTcpForwarding yes" that i appended, it will will be recognized
only when placed in a "Match User " block, but not at the toplevel.

Looking at servconf.c it seems as if that happens because at
parse_mulistate: *intptr is only overridden if it is (still) set to -1,
could that be (i have not verified this claim).
If so, then i would hope for either that this restriction is removed (i
do not understand it, i think use cases are thinkable), or that at
least with -vvvvvvv there would be a warning on "rejecting overwrite of
configuration value XY".

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list