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: [email protected]
Reporter: [email protected]
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.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs