| Summary: | ssh -o 'IPQoS cs1' cannot overwrite IPQoS in config file | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Robin Schneider <ypid> |
| Component: | ssh | Assignee: | Assigned to nobody <unassigned-bugs> |
| Status: | CLOSED FIXED | ||
| Severity: | normal | CC: | dtucker |
| Priority: | P5 | ||
| Version: | 8.6p1 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Bug Depends on: | |||
| Bug Blocks: | 3302 | ||
Confirmed, this is because the IPQoS config code does not check if the value has already been set, which allows the values from the config file to override it in readconf.c:
if (*activep) {
options->ip_qos_interactive = value;
options->ip_qos_bulk = value2;
}
It should also check options->ip_qos_interactive == -1. A similar problem exists for TunnelDevice. A fix is in the pipeline and will be in the next release.
Thanks for the report.
Fixed in https://github.com/openssh/openssh-portable/commit/d786424986c04d1d375f231fda177c8408e05c3e and https://github.com/openssh/openssh-portable/commit/a023138957ea2becf1c7f93fcc42b0aaac6f2b03 Thanks. You are welcome. Thank you for maintaining and fixing this so quickly. closing bugs resolved before openssh-8.9 |
With a ~/.ssh/config like this: Host * IPQoS af21 cs1 -o cannot overwrite IPQoS anymore: ssh -o 'IPQoS cs1' gnu.example.net -G | grep -i ipqos ipqos af21 cs1