diff options
author | Colin Watson <cjwatson@debian.org> | 2019-04-08 10:46:29 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2020-02-21 14:45:21 +0000 |
commit | 86fe78ef4686485394b464cf9d3393ce27b33979 (patch) | |
tree | fadf469c312f899b97f5a5addcae2912aa1cf67b | |
parent | 39d3bb41ec288e8ba2384c65248440603f65349c (diff) |
Revert "upstream: Update default IPQoS in ssh(1), sshd(8) to DSCP AF21 for"
This reverts commit 5ee8448ad7c306f05a9f56769f95336a8269f379.
The IPQoS default changes have some unfortunate interactions with
iptables (see https://bugs.debian.org/923880) and VMware, so I'm
temporarily reverting them until those have been fixed.
Bug-Debian: https://bugs.debian.org/923879
Bug-Debian: https://bugs.debian.org/926229
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1822370
Last-Update: 2019-04-08
Patch-Name: revert-ipqos-defaults.patch
-rw-r--r-- | readconf.c | 4 | ||||
-rw-r--r-- | servconf.c | 4 | ||||
-rw-r--r-- | ssh_config.5 | 6 | ||||
-rw-r--r-- | sshd_config.5 | 6 |
4 files changed, 8 insertions, 12 deletions
diff --git a/readconf.c b/readconf.c index e82024678..1b9494d7c 100644 --- a/readconf.c +++ b/readconf.c | |||
@@ -2230,9 +2230,9 @@ fill_default_options(Options * options) | |||
2230 | if (options->visual_host_key == -1) | 2230 | if (options->visual_host_key == -1) |
2231 | options->visual_host_key = 0; | 2231 | options->visual_host_key = 0; |
2232 | if (options->ip_qos_interactive == -1) | 2232 | if (options->ip_qos_interactive == -1) |
2233 | options->ip_qos_interactive = IPTOS_DSCP_AF21; | 2233 | options->ip_qos_interactive = IPTOS_LOWDELAY; |
2234 | if (options->ip_qos_bulk == -1) | 2234 | if (options->ip_qos_bulk == -1) |
2235 | options->ip_qos_bulk = IPTOS_DSCP_CS1; | 2235 | options->ip_qos_bulk = IPTOS_THROUGHPUT; |
2236 | if (options->request_tty == -1) | 2236 | if (options->request_tty == -1) |
2237 | options->request_tty = REQUEST_TTY_AUTO; | 2237 | options->request_tty = REQUEST_TTY_AUTO; |
2238 | if (options->proxy_use_fdpass == -1) | 2238 | if (options->proxy_use_fdpass == -1) |
diff --git a/servconf.c b/servconf.c index 7bbc25c2e..470ad3619 100644 --- a/servconf.c +++ b/servconf.c | |||
@@ -452,9 +452,9 @@ fill_default_server_options(ServerOptions *options) | |||
452 | if (options->permit_tun == -1) | 452 | if (options->permit_tun == -1) |
453 | options->permit_tun = SSH_TUNMODE_NO; | 453 | options->permit_tun = SSH_TUNMODE_NO; |
454 | if (options->ip_qos_interactive == -1) | 454 | if (options->ip_qos_interactive == -1) |
455 | options->ip_qos_interactive = IPTOS_DSCP_AF21; | 455 | options->ip_qos_interactive = IPTOS_LOWDELAY; |
456 | if (options->ip_qos_bulk == -1) | 456 | if (options->ip_qos_bulk == -1) |
457 | options->ip_qos_bulk = IPTOS_DSCP_CS1; | 457 | options->ip_qos_bulk = IPTOS_THROUGHPUT; |
458 | if (options->version_addendum == NULL) | 458 | if (options->version_addendum == NULL) |
459 | options->version_addendum = xstrdup(""); | 459 | options->version_addendum = xstrdup(""); |
460 | if (options->fwd_opts.streamlocal_bind_mask == (mode_t)-1) | 460 | if (options->fwd_opts.streamlocal_bind_mask == (mode_t)-1) |
diff --git a/ssh_config.5 b/ssh_config.5 index 34dc2d51b..91beb6f50 100644 --- a/ssh_config.5 +++ b/ssh_config.5 | |||
@@ -1140,11 +1140,9 @@ If one argument is specified, it is used as the packet class unconditionally. | |||
1140 | If two values are specified, the first is automatically selected for | 1140 | If two values are specified, the first is automatically selected for |
1141 | interactive sessions and the second for non-interactive sessions. | 1141 | interactive sessions and the second for non-interactive sessions. |
1142 | The default is | 1142 | The default is |
1143 | .Cm af21 | 1143 | .Cm lowdelay |
1144 | (Low-Latency Data) | ||
1145 | for interactive sessions and | 1144 | for interactive sessions and |
1146 | .Cm cs1 | 1145 | .Cm throughput |
1147 | (Lower Effort) | ||
1148 | for non-interactive sessions. | 1146 | for non-interactive sessions. |
1149 | .It Cm KbdInteractiveAuthentication | 1147 | .It Cm KbdInteractiveAuthentication |
1150 | Specifies whether to use keyboard-interactive authentication. | 1148 | Specifies whether to use keyboard-interactive authentication. |
diff --git a/sshd_config.5 b/sshd_config.5 index e8271be74..d25b2f3d5 100644 --- a/sshd_config.5 +++ b/sshd_config.5 | |||
@@ -914,11 +914,9 @@ If one argument is specified, it is used as the packet class unconditionally. | |||
914 | If two values are specified, the first is automatically selected for | 914 | If two values are specified, the first is automatically selected for |
915 | interactive sessions and the second for non-interactive sessions. | 915 | interactive sessions and the second for non-interactive sessions. |
916 | The default is | 916 | The default is |
917 | .Cm af21 | 917 | .Cm lowdelay |
918 | (Low-Latency Data) | ||
919 | for interactive sessions and | 918 | for interactive sessions and |
920 | .Cm cs1 | 919 | .Cm throughput |
921 | (Lower Effort) | ||
922 | for non-interactive sessions. | 920 | for non-interactive sessions. |
923 | .It Cm KbdInteractiveAuthentication | 921 | .It Cm KbdInteractiveAuthentication |
924 | Specifies whether to allow keyboard-interactive authentication. | 922 | Specifies whether to allow keyboard-interactive authentication. |