[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#650512: IPQoS not honoured



Package: openssh-client
Version: 1:5.8p1-4
Severity: normal

While openssh-client seems to properly switch between the
lowdelay/throughput QoS classes depending on whether the session is
interactive or not, the new IPQoS option seems to have absolutely no
effect:

  % ssh -vvvo 'IPQoS ef' -4 -Snone vera 2>&1 >/dev/null | egrep tos || echo no match
  debug3: packet_set_tos: set IP_TOS 0x10
  ^D
  % ssh -vvvo 'IPQoS ef' -4 -Snone vera true 2>&1 >/dev/null | egrep tos || echo no match
  debug3: packet_set_tos: set IP_TOS 0x08

In both cases, the TOS value should be 0x2e (class ef). Using the
hex number does not work either:

  % ssh -vvvo 'IPQoS 0x2e' -4 -Snone vera 2>&1 >/dev/null | egrep tos || echo no match
  debug3: packet_set_tos: set IP_TOS 0x10
  ^D
  % ssh -vvvo 'IPQoS 0x2e' -4 -Snone vera true 2>&1 >/dev/null | egrep tos || echo no match
  debug3: packet_set_tos: set IP_TOS 0x08

I have also verified the actual packets emitted using tcpdump on the
next hop.

Exactly the same behaviour can be observed with IPv6 after upgrading to
1:5.9p1-7 (see #643312).

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages openssh-client depends on:
ii  adduser                3.113              
ii  debconf [debconf-2.0]  1.5.41             
ii  dpkg                   1.16.1.1           
ii  libc6                  2.13-21            
ii  libedit2               2.11-20080614-3    
ii  libgssapi-krb5-2       1.9.1+dfsg-3       
ii  libselinux1            2.1.0-4            
ii  libssl1.0.0            1.0.0e-2.1         
ii  passwd                 1:4.1.4.2+svn3283-3
ii  zlib1g                 1:1.2.3.4.dfsg-3   

Versions of packages openssh-client recommends:
ii  openssh-blacklist        0.4.1    
ii  openssh-blacklist-extra  <none>   
ii  xauth                    1:1.0.6-1

Versions of packages openssh-client suggests:
ii  gtk-led-askpass [ssh-askpass]  0.11-1
ii  keychain                       <none>
ii  libpam-ssh                     <none>
ii  monkeysphere                   0.35-2

-- Configuration Files:
/etc/ssh/ssh_config changed [not included]

-- no debconf information


-- 
 .''`.   martin f. krafft <madduck@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)


Reply to: