Displaying 20 results from an estimated 500 matches similar to: "unconitionally use socketpair?"
2011 Jun 02
2
preauth privsep logging via monitor
Hi,
This diff (for portable) makes the chrooted preauth privsep process
log via the monitor using a shared socketpair. It removes the need
for /dev/log inside /var/empty and makes mandatory sandboxing of the
privsep child easier down the road (no more socket() syscall required).
Please test.
-d
Index: log.c
===================================================================
RCS file:
2006 Jan 08
3
Allow --without-privsep build.
I've been trying to cut down the size of openssh so I can run it on my
Nokia 770. One thing which helps a fair amount (and will help even more
when I get '-ffunction-sections -fdata-sections --gc-sections' working)
is to have the option of compiling out privilege separation...
Is it worth me tidying this up and trying to make it apply properly to
the OpenBSD version? Does the openbsd
2003 Oct 28
2
Privilege separation
Hello!
Please consider including the attached patch in the next release. It
allows one to drop privilege separation code while building openssh by using
'--disable-privsep' switch of configure script. If one doesn't use privilege
separation at all, why don't simply allow him to drop privilege separation
support completely?
--
Sincerely Your, Dan.
-------------- next part
2003 Jul 24
1
patch to use pipe if socketpair fails
Hi,
if socketpair support has been compiled in but the host where rsync is run
doesn't support it, you get error
pipe failed in do_recv
This patch makes rsync use pipe if socketpair fails.
Yours,
Harri J?rvi
CC me if you reply to this thread since I'm not on the mailing list
-------------- next part --------------
--- rsync-2.5.5/util.c Wed Mar 20 03:09:49 2002
+++ util.c Thu Jul 24
2002 Feb 28
1
Solaris, socketpair and chroot
When using rsync 2.5.2 as daemon on a Solaris 2.5.1 box, I cannot
copy data to rsync volumes with option 'use chroot'; I get the
following messages on the client:
pipe failed in do_recv
rsync error: error in socket IO (code 10) at main.c(375)
rsync: connection unexpectedly closed (69 bytes read so far)
What seems to occur on the server is that socketpair(3)
(not pipe(2)) is called,
2003 Jan 25
1
Build failures: nanosleep on Solaris and AIX 4.2.x
Hi All.
The recent changes to scp caused build failures on Solaris and AIX 4.2
which showed up on the tinderbox[1]. I mentioned the first to djm in
email yesterday but I'm posting after finding the second, in case anyone
else has seen similar problems.
Solaris' nanosleep is in librt (or libposix4 in older versions) which
is not linked. Adding them to configure works fine, however ldd
2011 Aug 06
3
[Bug 8356] New: cygwin socketpair "The parameter is incorrect"
https://bugzilla.samba.org/show_bug.cgi?id=8356
Summary: cygwin socketpair "The parameter is incorrect"
Product: rsync
Version: 3.0.8
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: core
AssignedTo: wayned at samba.org
ReportedBy: roland at
2017 Aug 23
0
socketpair failed: Too many open files on Debian 9
You probably need to increase ulimit -n
Aki
On 23.08.2017 14:10, Patrick Westenberg wrote:
> Hi @all,
>
> after re-installing one of my two frontends/proxy-servers I get the
> following error messages after some time (sometimes after 1h, sometimes
> after 24h):
>
>
> 11:23:55 imap-login: Error: socketpair() failed: Too many open files
> 11:23:55 imap-login: Error:
2017 Aug 23
0
socketpair failed: Too many open files on Debian 9
Hello,
are you using systemd? May be you have to edit unit-file for
dovecotservice and increase filelimit
LimitNOFILE=infinity
Hajo
Am 23.08.2017 um 14:21 schrieb Patrick Westenberg:
> I haven't done this on the old, working machine.
>
> So there must be a difference between Debian 7 and 9 how open files are
> handled?
>
> Regards
> Patrick
>
>
>
> Aki
2008 Jul 07
1
imap-login: socketpair() failed: Too many open files
Hi,
I'am trying to use heartbeat to start dovecot...
It starts but all the login connections are reject with this line on log file:
Jul 7 12:47:28 markov dovecot: imap-login: socketpair() failed: Too many open files
No username/password are asked (using Thunderbird as client).
Outside heartbeat, dovecot runs fine.
My environment:
# dovecot --version
1.1.1
# uname -a
Linux markov.impa.br
2002 Jun 25
3
3.3p1 patch for Solaris 2.6
here's a patch to 3.3p1 for Solaris 2.6 - it does not handle
mmap() with fd = -1. does it look okay?
itojun
--- work.i386/openssh-3.3p1/servconf.c- Tue Jun 25 23:43:22 2002
+++ work.i386/openssh-3.3p1/servconf.c Tue Jun 25 23:43:33 2002
@@ -257,7 +257,7 @@
if (use_privsep == -1)
use_privsep = 1;
-#if !defined(HAVE_MMAP) || !defined(MAP_ANON)
+#if !defined(HAVE_MMAP)
if
2002 Jun 26
0
IRIX 6.5 patch for Compression with UsePrivilegeSeparation
Simon Cooper already mailed in a patch to get the effects of MAP_ANON on
IRIX systems, but it was against openssh/3.3p1. I've reapplied his
patach to openssh/3.4p1 and include it as an attachment.
Here's his explanation:
> I noticed that the recent release requires the existence of MAP_ANON to get
> an anonymous memory region. In Irix the equivalent functionality can be
>
2017 Aug 23
3
socketpair failed: Too many open files on Debian 9
Hi @all,
after re-installing one of my two frontends/proxy-servers I get the
following error messages after some time (sometimes after 1h, sometimes
after 24h):
11:23:55 imap-login: Error: socketpair() failed: Too many open files
11:23:55 imap-login: Error: socketpair() failed: Too many open files
11:23:56 imap-login: Error: socketpair() failed: Too many open files
11:23:56 imap-login: Error:
2017 Aug 23
2
socketpair failed: Too many open files on Debian 9
I haven't done this on the old, working machine.
So there must be a difference between Debian 7 and 9 how open files are
handled?
Regards
Patrick
Aki Tuomi schrieb:
> You probably need to increase ulimit -n
>
> Aki
>
>
> On 23.08.2017 14:10, Patrick Westenberg wrote:
>> Hi @all,
>>
>> after re-installing one of my two frontends/proxy-servers I get
2004 Apr 20
1
improved atime patch
I posted a patch a few days ago that adds copying of atime. At that
time, it was just enabled with -t/--times. After some time, we have
figured out that that choice might not have been the best. Here's a
new version of the patch (relative to CVS) that adds -A/--copy-atime
instead. It also includes a test case.
Any feedback on this patch and/or the previous one that I posted?
2002 Jun 05
1
Trailing comma in enum for 3.2.3p1
A trailing comma in an enum generates an error with the IBM C
compiler, xlc, on AIX 4.3.2:
$ gmake
...
xlc -O2 -qmaxmem=-1 -qarch=com -I/opt/TWWfsw/tcpwrap/include -I. -I.
-I/opt/TWWfsw/libopenssl09s/include -I/opt/TWWfsw/zlib11s/include
-DSSHDIR=\"/etc/opt/TWWfsw/openssh323\"
-D_PATH_SSH_PROGRAM=\"/opt/TWWfsw/openssh323/bin/ssh\"
2002 Nov 04
0
[Bug 425] New: Integer overflow in mm_zalloc
http://bugzilla.mindrot.org/show_bug.cgi?id=425
Summary: Integer overflow in mm_zalloc
Product: Portable OpenSSH
Version: 3.5p1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Miscellaneous
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy: siw at
2010 Feb 23
2
cygwin + rsync issue under Windows 7 x64
Friends -- I am posting this to both lists since I think
it has to do with some kind of unfortunate interaction.
The latest rsync (3.0.7-1) under an up-to-date cygwin
on Windows 7 x64 gets into some kind of busy wait
situation when transferring large files over ssh.
rsync, ssh, and zip can all be consuming much cpu time.
I downloaded and built rsync 3.0.7 locally, manually
editing config.status
2001 Oct 24
2
disable features
this (uncomplete) patch makes various features compile time
options and saves up to 24K in the resulting
ssh/sshd binaries. i don't know whether this
should be added to the CVS since it makes
the code less readable.
perhaps WITH_COMPRESSION should be added, since
it removes the dependency on libz
-m
Index: Makefile.inc
===================================================================
RCS
2019 Sep 09
0
[PATCH] autoconf tweaks for C99 compilers
Strict C99 compilers do not support implicit function declarations or
implicit ints, so something like the patch below is needed.
Thanks,
Florian
diff --git a/configure.ac b/configure.ac
index 4f68e98a..b5c7a582 100644
--- a/configure.ac
+++ b/configure.ac
@@ -173,6 +173,9 @@ AC_RUN_IFELSE([AC_LANG_SOURCE([[
#include <fcntl.h>
#include <sys/types.h>
#include <sys/wait.h>