Bug 1965 - IPQoS option ignored for AF_INET since 5.9p1-1
Summary: IPQoS option ignored for AF_INET since 5.9p1-1
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: 5.9p1
Hardware: All Linux
: P2 normal
Assignee: Assigned to nobody
URL: http://bugs.debian.org/643312
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-18 22:13 AEDT by martin ➬
Modified: 2015-08-11 23:03 AEST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description martin ➬ 2011-12-18 22:13:31 AEDT
Since version 1:5.9p1-1 the IPQoS option is ignored for AF_INET sockets.
Running ssh -F /dev/null -vvv -o IPQoS=lowdelay somehost true gives
this.

debug2: client_session2_setup: id 0
debug2: fd 3 setting TCP_NODELAY
debug1: Sending command: true

Downgrading just openssh-client to 1:5.8p1-7 gives this.

debug2: client_session2_setup: id 0
debug2: fd 3 setting TCP_NODELAY
debug3: packet_set_tos: set IP_TOS 0x10
debug1: Sending command: true

Unfortunately I cannot tell you precisely what broke. Looking at the
binary I can see that the relevant log message is contained, so the
relevant code is still present in the binary.

Curiously, exactly the opposite behaviour exists for AF_INET6:

With 1:5.8p1-7:

  % ssh -vvvo 'IPQoS ef' -6 -Snone vera true 2>&1 >/dev/null | egrep tos || echo no match
  no match

With 1:5.9p1-2:

  % ssh -vvvo 'IPQoS ef' -6 -Snone vera true 2>&1 >/dev/null | egrep tos || echo no match
  debug3: packet_set_tos: set IPV6_TCLASS 0x08
Comment 1 Damien Miller 2012-02-24 11:25:22 AEDT
I think this is the same problem as bug #1963

*** This bug has been marked as a duplicate of bug 1963 ***
Comment 2 Damien Miller 2015-08-11 23:03:33 AEST
Set all RESOLVED bugs to CLOSED with release of OpenSSH 7.1