rpms/openssh/devel openssh-4.7p1-sshd-v6only.patch,NONE,1.1
Tomas Mraz (tmraz)
fedora-extras-commits at redhat.com
Fri Feb 29 16:34:15 UTC 2008
- Previous message (by thread): rpms/qt4/devel qt-x11-opensource-src-4.3.4-aliasing.patch, NONE, 1.1 qt4.spec, 1.89, 1.90 qt-x11-opensource-src-4.3.3-aliasing.patch, 1.1, NONE
- Next message (by thread): rpms/pulseaudio/devel pulseaudio-0.9.8-multilib.patch, 1.1, 1.2 pulseaudio.spec, 1.31, 1.32
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: tmraz
Update of /cvs/pkgs/rpms/openssh/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26350
Added Files:
openssh-4.7p1-sshd-v6only.patch
Log Message:
* Fri Feb 29 2008 Tomas Mraz <tmraz at redhat.com> - 4.7p1-8
- set FD_CLOEXEC on client socket
- apply real fix for window size problem (#286181) from upstream
- apply fix for the spurious failed bind from upstream
- apply open handle leak in sftp fix from upstream
openssh-4.7p1-sshd-v6only.patch:
--- NEW FILE openssh-4.7p1-sshd-v6only.patch ---
--- sshd.c 2007-06-05 01:22:32.000000000 -0700
+++ sshd.c.new 2007-11-17 00:07:08.000000000 -0800
@@ -971,12 +971,27 @@
}
/*
* Set socket options.
+ */
+
+ /*
* Allow local port reuse in TIME_WAIT.
*/
if (setsockopt(listen_sock, SOL_SOCKET, SO_REUSEADDR,
&on, sizeof(on)) == -1)
error("setsockopt SO_REUSEADDR: %s", strerror(errno));
+#ifdef IPV6_V6ONLY
+ if (ai->ai_family == AF_INET6) {
+ /*
+ * Only communicate in IPv6 over AF_INET6 sockets.
+ */
+ if (setsockopt(listen_sock, IPPROTO_IPV6, IPV6_V6ONLY,
+ &on, sizeof(on)) == -1)
+ error("setsockopt IPV6_V6ONLY: %s",
+ strerror(errno));
+ }
+#endif
+
debug("Bind to port %s on %s.", strport, ntop);
/* Bind the socket to the desired port. */
- Previous message (by thread): rpms/qt4/devel qt-x11-opensource-src-4.3.4-aliasing.patch, NONE, 1.1 qt4.spec, 1.89, 1.90 qt-x11-opensource-src-4.3.3-aliasing.patch, 1.1, NONE
- Next message (by thread): rpms/pulseaudio/devel pulseaudio-0.9.8-multilib.patch, 1.1, 1.2 pulseaudio.spec, 1.31, 1.32
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list