Package: krb5-ftpd
Version: 1.6.dfsg.4~beta1-5lenny6
Severity: normal
Tags: patch
As subject says, krb5-ftpd uses IPTOS_MINDELAY instead of IPTOS_THROUGHPUT
on its data connections, messing up the quality of service.
The fix is very simple, of course:
diff -Nurp krb5-1.6.dfsg.4~beta1/src/appl/gssftp/ftpd/ftpd.c
krb5-1.6.dfsg.4~beta1-new/src/appl/gssftp/ftpd/ftpd.c
--- krb5-1.6.dfsg.4~beta1/src/appl/gssftp/ftpd/ftpd.c 2011-02-08
02:22:16.000000000 +0100
+++ krb5-1.6.dfsg.4~beta1-new/src/appl/gssftp/ftpd/ftpd.c 2011-02-08
02:22:35.922835766 +0100
@@ -1424,8 +1424,8 @@ dataconn(name, size, fmode)
(void) close(pdata);
pdata = s;
#ifdef IP_TOS
-#ifdef IPTOS_LOWDELAY
- tos = IPTOS_LOWDELAY;
+#ifdef IPTOS_THROUGHPUT
+ tos = IPTOS_THROUGHPUT;
(void) setsockopt(s, IPPROTO_IP, IP_TOS, (char *)&tos,
sizeof(int));
#endif
-- System Information:
Debian Release: 5.0.8
APT prefers oldstable
APT policy: (500, 'oldstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages krb5-ftpd depends on:
ii krb5-config 1.22 Configuration files for Kerberos V
ii libc6 2.7-18lenny7 GNU C Library: Shared libraries
ii libcomerr2 1.41.3-1 common error description library
ii libkeyutils1 1.2-9 Linux Key Management Utilities (li
ii libkrb53 1.6.dfsg.4~beta1-5lenny6 MIT Kerberos runtime libraries
ii openbsd-inetd [ 0.20080125-2 The OpenBSD Internet Superserver
krb5-ftpd recommends no packages.
krb5-ftpd suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]