Package: linux-ftpd-ssl / 0.17.32+0.3-1
Metadata
| Package | Version | Patches format |
|---|---|---|
| linux-ftpd-ssl | 0.17.32+0.3-1 | 3.0 (quilt) |
Patch series
view the series file| Patch | File delta | Description |
|---|---|---|
| 001 from_hamm.diff | (download) |
ftpd/ftpcmd.y |
27 14 + 13 - 0 ! |
patching recovered from linux-ftpd_0.17-13.diff.gz |
| 002 from_sarge.diff | (download) |
ftpd/ftpcmd.y |
9 5 + 4 - 0 ! |
patches taken from linux-ftpd_0.17-20sarge2.diff.gz. |
| 003 from_etch.diff | (download) |
ftpd/ftpcmd.y |
17 8 + 9 - 0 ! |
patches recovered from linux-ftpd_0.17-23.diff.gz. |
| 010 ftpd_csrf.diff | (download) |
ftpd/extern.h |
2 1 + 1 - 0 ! |
fix cross-site request forgery (csrf) attacks. |
| 014 adjust_infrastruct.diff | (download) |
ftpd/Makefile |
2 1 + 1 - 0 ! |
corrections to infrastructure for builds. Insert harmless omission that eases tailored builds. |
| 016 family_independence.diff | (download) |
ftpd/ftpcmd.y |
68 54 + 14 - 0 ! |
make the tcp transport code independent of address family.
Make sure to eliminate as much outdated dependency on AF_INET,
even before migrating to true support for AF_INET6.
.
1. Rewrite dolog() and check_host().
.
2. Eliminate inet_ntoa(), gethostbyname(), gethostbyaddr().
.
3. Introduce helper functions get_port() and set_port()
in order to hide family dependency, as well as representation
in network byte order. This isolates use of ntohs() and htons()
to the above two functions, with a single exception.
.
4. Make sure that the daemon initialization depends only on
a single AF_INET used for getaddrinfo(). This will later
be replaced by AF_UNSPEC.
.
5. Make name and address lookup in main() independent of
address family.
.
6. Reconstruct passive() to inherit address family from the
controlling socket, then building the listening socket
in an address independent manner.
.
7. Let statcmd() and passive() report on IPv6 sockets
using the EPSV semantics '(|||portnum|)'.
.
8. Let the parser in ftpcmd.y use getaddrinfo() with NI_NUMERICHOST
when constructing the IP-address, instead of manipulating byte
fields. Likewise, hide port extraction in get_port().
|
| 020 support_ipv6.diff | (download) |
ftpd/extern.h |
5 4 + 1 - 0 ! |
activate support for ipv6 transport.
This patch supplies working services for:
.
1. Mixed IPv4 and IPv6 in inetd mode.
.
2. Mixed IPv4 and IPv6 in standalone daemon mode.
.
3. Selectable options '-4' and '-6' to activate a
single address family.
.
4. Registration in wtmp of the caller's address structure.
This field in 'struct utmp' was earlier ignored, as it
it an extension particular to Linux.
.
5. Implementation of ABOR for use in idle state.
.
6. Conversion of second time length in case a compatibility
layer between 32 bits and 64 bits are in effect.
.
Testing was performed using xinetd and net.ipv6.bindv6only=1,
on architectures i386 and amd64.
|
| 024 failing_va_list.diff | (download) |
ftpd/ftpd.c |
14 14 + 0 - 0 ! |
reinitialize variable argument list for vsyslog(). The use of vprintf(fmt, ap) leaves the second argument in an undefined state after execution. On a system using the amd64 architecture, this leads consistently to segmentation faults. The solution is to insert the required initialization before the call to vsyslog(). |
| 026 support_glibc_bsd_and_gnu.diff | (download) |
ftpd/extern.h |
2 1 + 1 - 0 ! |
implement changes to support gnu/hurd and gnu/kfreebsd. Several conditionals on '__linux__' are altered to react identical to '__GLIBC__' and '__GNU__'. This should produce working code also for the Debian ports GNU/kfreebsd and GNU/Hurd. . GNU/kfreebsd uses distinct options IP_PORTRANGE and IPV6_PORTRANGE depending on address family. . Use IP_TOS only for IPv4 when compiling for non-Linux. |
| 030 manpage_typos.diff | (download) |
ftpd/ftpd.8 |
4 2 + 2 - 0 ! |
--- |
| 500 ssl.diff | (download) |
ftpd/Makefile |
4 2 + 2 - 0 ! |
base ssl patch The original ssl patch, modified to apply to debian's linux-ftpd package. |
| 510 old_patches.diff | (download) |
ftpd/ftpcmd.y |
2 1 + 1 - 0 ! |
patches up to linux-ftpd-ssl 0.17.18+0.3-3 |
| 520 CVE 2005 3524.diff | (download) |
ftpd/ftpd.c |
4 2 + 2 - 0 ! |
fix cve-2005-3524 - a remotely exploitable buffer overflow. Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=339074 |
| 530 CVE 2007 6263.diff | (download) |
ftpd/ftpd.c |
7 5 + 2 - 0 ! |
fix cve-2007-6263 - remote denial of service Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=454733 |
| 540 docs.diff | (download) |
ftpd/ftpd.8 |
10 9 + 1 - 0 ! |
document ssl options in manpage, fix typo |
| 550 fix_warnings.diff | (download) |
ftpd/ftpcmd.y |
1 1 + 0 - 0 ! |
fix all warnings in source |
| 560 set_default_key_and_cert.diff | (download) |
ftpd/ftpd.c |
11 4 + 7 - 0 ! |
set default ssl key/cert file to /etc/ftpd-ssl/ftpd.pem |
