Comment 1 for bug 407173

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.