openssh: Please set traffic class on IPv6 packets

Bug #407173 reported by Malcolm Scott
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
portable OpenSSH
Fix Released
Wishlist
openssh (Debian)
Fix Released
Unknown
openssh (Ubuntu)
Triaged
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

Tags: ipv6
Changed in openssh (Debian):
status: Unknown → New
Andreas Olsson (andol)
Changed in openssh (Ubuntu):
importance: Undecided → Wishlist
Artur Rona (ari-tczew)
description: updated
tags: added: patch
Chuck Short (zulcss)
tags: removed: patch
Changed in openssh (Ubuntu):
status: New → Confirmed
Emmet Hikory (persia)
tags: added: ipv6
Revision history for this message
In , Colin Watson (cjwatson) wrote :

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
Revision history for this message
In , Damien Miller (djm) wrote :

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

Revision history for this message
In , Damien Miller (djm) wrote :

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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