search for: use_pipe

Displaying 20 results from an estimated 58 matches for "use_pipe".

Did you mean: use_pipes
2011 Jun 30
4
sshd and .bashrc
The short version: There's a "#define USE_PIPES" in the middle of session.c; it would be better if it were in (e.g.) defines.h or some other .h file. (If in fact it needs to be defined at all; I'm not convinced that it does.) Here's the (much) longer version: I recently installed the latest OpenSSH on some of our servers (RHEL5,...
2001 Feb 06
2
SCO 5.0.5 (i686-pc-sco3.2v5.0.5), scp and the -n option
Ok, using openssh-SNAP-20010126.tar.gz, two versions of the server both compiled with the configure commands as below, one with USE_PIPES defined and one without. This is on SCO OpenServer 5.0.5 (using SCO dev environment, SCO make, etc.) The client is always linux, openssh 2.3.0p1. export CCFLAGS='-L/usr/local/lib -I/usr/local/include' ./configure --sysconfdir=/etc/ssh --with-rsh=/usr/bin/rcmd \ --exec-prefix=/usr --with...
2009 Feb 25
3
[Bug 1563] New: USE_PIPES unconditionally set in session.c
https://bugzilla.mindrot.org/show_bug.cgi?id=1563 Summary: USE_PIPES unconditionally set in session.c Product: Portable OpenSSH Version: 5.2p1 Platform: Other OS/Version: Other Status: NEW Severity: normal Priority: P2 Component: sshd AssignedTo: unassigned-bugs at mindrot.org...
2002 Mar 12
2
sys/queue.h
...tmp_location=/etc/utmp conf_wtmp_location=/var/adm/wtmp conf_lastlog_location=/var/adm/lastlog @@ -185,7 +182,6 @@ CPPFLAGS="$CPPFLAGS -I/usr/local/include" LDFLAGS="$LDFLAGS -L/usr/local/lib" LIBS="$LIBS -lc89" - AC_DEFINE(HAVE_BOGUS_SYS_QUEUE_H) AC_DEFINE(USE_PIPES) ;; *-sni-sysv*) @@ -195,7 +191,6 @@ IPADDR_IN_DISPLAY=yes AC_DEFINE(USE_PIPES) AC_DEFINE(IP_TOS_IS_BROKEN) - AC_DEFINE(HAVE_BOGUS_SYS_QUEUE_H) # /usr/ucblib/libucb.a no longer needed on ReliantUNIX # Attention: always take care to bind libsocket and libnsl before libc, # otherwise...
2001 May 16
1
[PATCH]: configure.in
Hi, it would be nice if somebody could apply the following patch. After some months of maintaining the Cygwin version of OpenSSH it finally turned out that USE_PIPES is the better option for Cygwin. It's working more reliable than socketpairs and it's WAY faster. Index: configure.in =================================================================== RCS file: /cvs/openssh_cvs/configure.in,v retrieving revision 1.285 diff -u -p -r1.285 configure.in ---...
2001 Feb 12
2
patches for UnixWare v2.x pty (misc.c,configure.in)
...ting with SSH2. It sets the sigaction to SA_RESTART. This fixes UnixWare v2.x, but haven't heard any feedback as to effects on other OS'. The first patch is against misc.c. The second patch adds a section "*-*-sysv4.2uw2*" to configure to set the TEST_MINUS_S_SH shell and define USE_PIPES. I suspect these same fixes apply to UnixWare 7.x, but I don't have access to that build platform, or I would include them in the config as well. Let me know whether these can be applied against the current source tree. Thank you, -Tom Rudnick ----------------/-----------------------------...
2001 Jul 03
2
2.9p?: connection hangs with agent forwarding
...). This is true with 2.9p1 (and older versions, if memory serves me right) up to the latest portable-CVS. I can fire up the debugger to help track it down, but by digging through the source I didn't find, who should close the channel (server or client). Shooting into the dark: HP-UX 10.20 needs USE_PIPES and must call close(), as shutdown() in just one direction does seem to work as on other platforms (see serverloop.c). Best regards, Lutz -- Lutz Jaenicke Lutz.Jaenicke at aet.TU-Cottbus.DE BTU Cottbus http://www.aet.TU-Cottbus.DE/personen/jaenicke/ Leh...
2000 Jul 03
1
Antwort: Re: sshd does not exit after scp (hpux 11.00 / ssh 2.1 .1p1)
...information if > needed. not really... On a non-trusted system with HP AnsiC it seems to work if changing shutdown(fdin, SHUT_WR) to shutdown(fdin, SHUT_RDWR) in serverloop.c (lines 320 & 464) On a trusted system with gcc however this does not seem to have any effect. Here I use #define USE_PIPES 1 in includes.h as workaround I think I will have to do some more checks with compilers/(non-)trusted systems... Or any other ideas? Klaus stevesk at sweden.hp.com am 03.07.2000 13:46:19 An: Klaus Engelhardt/SP/OP/IT/Advance Bank AG/DE at Advance Bank Kopie: djm at mindrot.org, ope...
2000 Jan 29
4
rsync over ssh - lockups with pipe()
...eral GB). I have now gotten to the bottom of these problems, and have written a small test program which demonstrates a deadlock in sshd when doing large bi-directional transfers. Luckily the problem is easily solved by modifying sshd to use socketpair() instead of pipe(). Just remove "#define USE_PIPES 1" from near the bottom of includes.h does the trick. The test program, along with instructions for use and an explanation of some of the pipe() bugs in various OSes that make this change necessary is available from ftp://samba.org/pub/tridge/misc/sshtest.c In past releases of rsync I added...
2003 May 26
3
Error on Reliant Unix: no controlling terminal
Hi all, just I tried to upgrade openssh from 3.5p1 to 3.6.1p2 on Reliant Unix 5.45 and run into this error: root at soltest: tail /var/adm/log/messages .... May 23 15:45:28 soltest unix: sshd[4013]: Accepted password for root from 10.128.11.72 port 2624 ssh2 May 23 15:45:28 soltest unix: sshd[4101]: error: setsid: Not owner May 23 15:45:28 soltest unix: sshd[4101]: error: open /dev/tty failed -
2009 Mar 18
1
[PATCH] Remove setting IP_TOS_IS_BROKEN for Cygwin
...================================================== RCS file: /cvs/openssh/configure.ac,v retrieving revision 1.418 diff -u -p -r1.418 configure.ac --- configure.ac 7 Mar 2009 11:22:35 -0000 1.418 +++ configure.ac 18 Mar 2009 15:03:02 -0000 @@ -434,8 +434,6 @@ int main(void) { exit(0); } AC_DEFINE(USE_PIPES, 1, [Use PIPES instead of a socketpair()]) AC_DEFINE(DISABLE_SHADOW, 1, [Define if you want to disable shadow passwords]) - AC_DEFINE(IP_TOS_IS_BROKEN, 1, - [Define if your system choked on IP TOS setting]) AC_DEFINE(NO_X11_UNIX_SOCKETS, 1, [Define if X11 doesn't support AF_UNIX soc...
2001 Jul 17
1
openssh and QNX
...o update configure and include support for this platform: * The enthropy device is normally /dev/random * INTXX and other similar types are in <stdint.h> * macro howmany, constant NFDBITS and type fd_mask need to be defined. How this can be done has been discussed earlier on this list. * USE_PIPES needs to be defined - socketpair() doesn't seem to be implemented yet. * file /usr/adm/lastlog needs to be created, if it hasn't been already - touch is sufficient. I hope someone has use for this information, making this posting more than spam. -- Vincent L??nngren
2001 Dec 11
1
Patch for ReliantUnix
...e Dec 11 17:38:26 2001 @@ -187,13 +187,12 @@ ;; *-sni-sysv*) CPPFLAGS="$CPPFLAGS -I/usr/local/include" - # /usr/ucblib MUST NOT be searched on ReliantUNIX LDFLAGS="$LDFLAGS -L/usr/local/lib" + LIBS="$LIBS /usr/ucblib/libucb.a" IPADDR_IN_DISPLAY=yes AC_DEFINE(USE_PIPES) AC_DEFINE(IP_TOS_IS_BROKEN) AC_DEFINE(HAVE_BOGUS_SYS_QUEUE_H) - # /usr/ucblib/libucb.a no longer needed on ReliantUNIX # Attention: always take care to bind libsocket and libnsl before libc, # otherwise you will find lots of "SIOCGPGRP errno 22" on syslog ;; --- configure.orig...
2002 Apr 22
0
[Bug 224] New: configure.ac changes for crays
...nfigure.ac.orig Mon Apr 22 14:31:27 2002 +++ configure.ac Mon Apr 22 14:32:48 2002 @@ -236,12 +236,29 @@ AC_CHECK_FUNCS(getluid setluid) MANTYPE=man ;; +*-*-unicosmk*) + no_libsocket=1 + no_libnsl=1 + not_sco=1 + MANTYPE=cat + AC_DEFINE(USE_PIPES) + AC_DEFINE(LOGIN_NEEDS_UTMPX) + AC_DEFINE(USE_UTMP) + AC_DEFINE(USE_WTMP) + LDFLAGS="$LDFLAGS -L/usr/local/lib" + LIBS="$LIBS -lshare -lgen -lrsc -luex -lacm" + ;; *-*-unicos*) no_libsocket=1 no_libnsl=1 + not_sco=1 +...
2002 Apr 22
0
[Bug 224] configure.ac changes for crays
...nfigure.ac.orig Mon Apr 22 14:31:27 2002 +++ configure.ac Mon Apr 22 14:32:48 2002 @@ -236,12 +236,29 @@ AC_CHECK_FUNCS(getluid setluid) MANTYPE=man ;; +*-*-unicosmk*) + no_libsocket=1 + no_libnsl=1 + not_sco=1 + MANTYPE=cat + AC_DEFINE(USE_PIPES) + AC_DEFINE(LOGIN_NEEDS_UTMPX) + AC_DEFINE(USE_UTMP) + AC_DEFINE(USE_WTMP) + LDFLAGS="$LDFLAGS" + LIBS="$LIBS -lshare -lgen -lrsc -luex -lacm" + ;; *-*-unicos*) no_libsocket=1 no_libnsl=1 + not_sco=1 + MANTYPE=ca...
2003 Jan 09
1
[PATCH] Cygwin and openssl-0.9.7
....ac --- configure.ac 9 Jan 2003 01:22:59 -0000 1.97 +++ configure.ac 9 Jan 2003 22:12:43 -0000 @@ -84,6 +84,7 @@ case "$host" in AC_DEFINE(LOGIN_NEEDS_UTMPX) ;; *-*-cygwin*) + check_for_libcrypt_later=1 LIBS="$LIBS /usr/lib/textmode.o" AC_DEFINE(HAVE_CYGWIN) AC_DEFINE(USE_PIPES) -- Corinna Vinschen Cygwin Developer Red Hat, Inc. mailto:vinschen at redhat.com
2000 Nov 22
0
fds closed after SIGCHLD bug still in newest version
...> main:~$ uname -r ; ssh faxdial uname -r > > 2.2.17 > > 2.2.17 > > > > > is it between two openssh versions? what operating systems? > > > > yes, both times the newest portable version, OpenSSH_2.3.0p1, on > > Linux-2.2.x. > > > > > is USE_PIPE defined? > > > > USE_PIPES, with an S at the end, I assume. > > After configure, no. > > I defined it manually after having a quick look at the source, in > > config.h, but it didn't make a difference. Just to check, I inserted a > > #error in a #ifdef USE_PI...
2001 Nov 22
1
[PATCH]: Fix configure.ac to allow linking against PCRE on Cygwin
...onfigure.ac 2001/11/03 19:09:33 1.4 +++ configure.ac 2001/11/22 11:57:34 @@ -65,7 +65,7 @@ case "$host" in AC_DEFINE(DISABLE_LASTLOG) ;; *-*-cygwin*) - LIBS="$LIBS -lregex /usr/lib/textmode.o" + LIBS="$LIBS /usr/lib/textmode.o" AC_DEFINE(HAVE_CYGWIN) AC_DEFINE(USE_PIPES) AC_DEFINE(DISABLE_SHADOW) @@ -367,6 +367,17 @@ if test "x$with_tcp_wrappers" != "xno" ; AC_CHECK_LIB(rpc, innetgr, LIBS="-lrpc -lyp -lrpc $LIBS" , , -lyp -lrpc) fi fi + +case "$host" in +*-*-cygwin*) + # Check if linking agains pcre is requested,...
2001 Oct 08
1
Ported OpenSSH 2.9.9p2 to Dynix
...PFLAGS="$CPPFLAGS -I/usr/local/include" + LDFLAGS="$LDFLAGS -L/usr/local/lib" + LIBS="$LIBS -lnsl -lsec" + rsh_path="/usr/bin/resh" + conf_utmpx_location="/var/adm/utmpx" + cat >> confdefs.h <<\EOF + #define USE_PIPES 1 + EOF + + cat >> confdefs.h <<\EOF + #define BROKEN_SAVED_UIDS 1 + EOF + + cat >> confdefs.h <<\EOF + #define LOGIN_NEEDS_UTMPX 1 + EOF + + MANTYPE=cat + ;; *-*-sysv4.2*) CPPFLAGS="$CPPFLAGS -I/usr/local/include" LDFLA...
2001 Jan 09
3
OpenSSH on Reliant UNIX
Hello, it's me again ! I tried to compile / install OpenSSH on our Reliant UNIX system, OS version 5.45 (and 5.44). The following problems did appear: 1. OpenSSL-0.9.5a will not compile out of the box. The problem on RU 5.45 is, that the compiler does support "long long" but NOT "unsigned long long". The latter just provokes the error message "superfluous