Bug 1855 - set traffic class on IPv6 packets
Summary: set traffic class on IPv6 packets
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: 5.8p1
Hardware: All Linux
: P2 enhancement
Assignee: Assigned to nobody
URL: http://bugs.debian.org/cgi-bin/bugrep...
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-09 01:53 AEDT by Colin Watson
Modified: 2011-09-06 15:33 AEST (History)
1 user (show)

See Also:


Attachments
set IPV6_TCLASS for IPv6 connections (1.75 KB, patch)
2011-02-09 01:53 AEDT, Colin Watson
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Colin Watson 2011-02-09 01:53:21 AEDT
Created attachment 1994 [details]
set IPV6_TCLASS for IPv6 connections

Lionel Elie Mamane <lionel@mamane.lu> 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.
Comment 1 Damien Miller 2011-05-15 14:04:16 AEST
This has been committed and will be in OpenSSH 5.9. Thanks
Comment 2 Damien Miller 2011-09-06 15:33:06 AEST
close resolved bugs now that openssh-5.9 has been released