Package: openssh-client
Version: 1:5.9p1-5
Severity: normal
Tags: patch
The ssh client is supposed to set the TOS IP field to 0x8 when SSH is used
for transfers (scp or rsync for example). This is currently broken because a
special case in the packet_connection_af function returns a boolean value
instead of an address family.
The following patch fixes it:
--- openssh-5.9p1.orig/packet.c
+++ openssh-5.9p1/packet.c
@@ -433,7 +433,7 @@ packet_connection_af(void)
&tolen) < 0)
return 0;
if (to.ss_family == AF_INET)
- return 1;
+ return AF_INET;
#ifdef IPV4_IN_IPV6
if (to.ss_family == AF_INET6 &&
IN6_IS_ADDR_V4MAPPED(&((struct sockaddr_in6 *)&to)->sin6_addr))
Regards,
--
Nicolas George
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable'), (50, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.39-ssecem (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages openssh-client depends on:
ii adduser 3.113+nmu1
ii debconf [debconf-2.0] 1.5.42
ii dpkg 1.16.2
ii libc6 2.13-27
ii libedit2 2.11-20080614-3
ii libgssapi-krb5-2 1.10+dfsg~beta1-2
ii libselinux1 2.1.9-2
ii libssl1.0.0 1.0.1a-3
ii passwd 1:4.1.5-1
ii zlib1g 1:1.2.6.dfsg-2
Versions of packages openssh-client recommends:
ii openssh-blacklist 0.4.1
ii openssh-blacklist-extra 0.4.1
ii xauth 1:1.0.6-1
Versions of packages openssh-client suggests:
ii keychain <none>
ii libpam-ssh <none>
ii monkeysphere <none>
ii ssh-askpass 1:1.2.4.1-9
-- Configuration Files:
/etc/ssh/ssh_config changed:
Host *
ForwardAgent yes
ForwardX11 yes
ForwardX11Trusted yes
SendEnv LANG LC_*
HashKnownHosts no
-- no debconf information
Attachment:
signature.asc
Description: Digital signature