I was wondering why interactive openssh was odd over ipv6.<br><br>Now I need not know any longer. From openssh/packet.c:<br><br>static void<br>packet_set_tos(int tos)<br>{<br>#if defined(IP_TOS) && !defined(IP_TOS_IS_BROKEN)<br>
if (!packet_connection_is_on_socket() ||<br> !packet_connection_is_ipv4())<br> return;<br> debug3("%s: set IP_TOS 0x%02x", __func__, tos);<br> if (setsockopt(active_state->connection_in, IPPROTO_IP, IP_TOS, &tos,<br>
sizeof(tos)) < 0)<br> error("setsockopt IP_TOS %d: %.100s:",<br> tos, strerror(errno));<br>#endif<br>}<br><br clear="all"><br>-- void<br>packet_set_interactive(int interactive, int qos_interactive, int qos_bulk)<br>
{<br> if (active_state->set_interactive_called)<br> return;<br> active_state->set_interactive_called = 1;<br><br> /* Record that we are in interactive mode. */<br> active_state->interactive_mode = interactive;<br>
<br> /* Only set socket options if using a socket. */<br> if (!packet_connection_is_on_socket())<br> return;<br> set_nodelay(active_state->connection_in);<br> packet_set_tos(interactive ? qos_interactive : qos_bulk);<br>
}<br><br><br>Dave Täht<br>SKYPE: davetaht<br>US Tel: 1-239-829-5608<br><a href="http://the-edge.blogspot.com" target="_blank">http://the-edge.blogspot.com</a> <br>