openssh: Please set traffic class on IPv6 packets

Bug #407173 reported by Malcolm Scott on 2009-07-30
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
portable OpenSSH
Fix Released
Wishlist
openssh (Debian)
Fix Released
Unknown
openssh (Ubuntu)
Wishlist
Unassigned

Bug Description

OpenSSH sets the IPv4 ToS (Type of Service) byte to "low delay" or "max throughput" depending on the situation, but does not set the equivalent IPv6 Traffic Class byte. As far as I understand, these two bytes are supposed to be used the same way. Debian bug http://bugs.debian.org/498297 has a patch to correct this.

http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=openssh_set_ipv6_traffic_class.patch;att=1;bug=498297

Changed in openssh (Debian):
status: Unknown → New
Andreas Olsson (andol) on 2009-08-13
Changed in openssh (Ubuntu):
importance: Undecided → Wishlist
Artur Rona (ari-tczew) on 2009-09-20
description: updated
tags: added: patch
Chuck Short (zulcss) on 2009-10-14
tags: removed: patch
Changed in openssh (Ubuntu):
status: New → Confirmed
Emmet Hikory (persia) on 2010-03-10
tags: added: ipv6

Created attachment 1994
set IPV6_TCLASS for IPv6 connections

Lionel Elie Mamane <email address hidden> sent this report as http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=498297:

  OpenSSH sets the IPv4 ToS (Type of Service) byte to "low delay" or "max throughput" depending on the situation, but does not set the
equivalent IPv6 Traffic Class byte. As far as I understand, these two
bytes are supposed to be used the same way, so here's a patch to set
the said traffic class byte on IPv6 packets.

I've attached a version of his patch updated to current HEAD, and adding a guard against systems where IPV6_TCLASS isn't defined.

Changed in openssh (Ubuntu):
status: Confirmed → Triaged
Changed in openssh (Debian):
status: New → Confirmed

This has been committed and will be in OpenSSH 5.9. Thanks

close resolved bugs now that openssh-5.9 has been released

Changed in openssh:
importance: Unknown → Wishlist
status: Unknown → Fix Released
Changed in openssh (Debian):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.