Displaying 20 results from an estimated 3000 matches similar to: "recvmsg gives unexpected type"
2002 Jun 26
2
Problem with openssh on linux 2.0.34 mips
Hi
I tried to compile openssh 3.3p1 on a linux 2.0.34 mips system. First I
was not able to compile it at all, but then I added the following line
to monitor_fdpass.c
#define SCM_RIGHTS 0x01
Then it compiled fine, but I am not able to log in. After having entered
the password I get the following message in the logfile:
Jun 25 20:25:46 raq2 sshd[16129]: fatal: mm_receive_fd: expected type 1
got
2003 Apr 19
4
[Bug 544] sshd w/privsep fails on Linux 2.0, mm_receive_fd: expected type 1 got 1074276337
http://bugzilla.mindrot.org/show_bug.cgi?id=544
Summary: sshd w/privsep fails on Linux 2.0, mm_receive_fd:
expected type 1 got 1074276337
Product: Portable OpenSSH
Version: -current
Platform: ix86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: sshd
2002 Jul 01
5
[Bug 327] monitor_fdpass.c: Expected 1 got 1075033556 - Privilege Separation
http://bugzilla.mindrot.org/show_bug.cgi?id=327
------- Additional Comments From jmknoble at pobox.com 2002-07-02 04:11 -------
Could you please check the error message again? Is it:
mm_receive_fd: recvmsg: expected received 1 got nnnnnnnn
or is it this:
mm_receive_fd: expected type 1 got nnnnnnnn
? Those are two different problems, within a few lines of each other. The
exact text
2002 Jun 25
0
make fails during linking
Hi OpenSSH developers
LINUX, i586, libc5, kernel 2.0.39, gcc 2.7.2.3, OpenSSH 3.3p1 source
First I tried just 'configure' and then 'make' but that gave the same
error message as given below.
Next I tried to explicitly tell the 'configure' process where zlib 1.1.4
and openssl 0.9.6d are installed.
configure --with-ssl-dir=/usr/local/ssl --with-zlib=/usr/local
results
2002 Jun 25
0
Privilege separation and linux kernel 2.0.x: mm_receive_fd fails
FWIW, after patching the mmap issue, openssh still doesn't work on
linux kernel 2.0.39 (+ patches):
sshd[22202]: fatal: mm_receive_fd: expected type 1 got 2355841
I didn't dig deeper into it yet, but I believe 2.0 kernel does not support
the kind of recvmsg() use privsep expects.
-- v --
v at iki.fi
2002 Jun 25
1
privsep on SCO Openserver
Has anyone got privsep to work under SCO Openserver?
I am testing openssh3.3p1. I have Compression turned off in sshd_config.
Here is the error messages that I am getting.
sshd[21469]: fatal: mm_send_fd: sendmsg(3): Bad file number
sshd[21476]: fatal: mm_receive_fd: recvmsg: expected received 1 got 0
--Sam
2019 Jun 27
2
Does ssh need sendfd in pledge() call?
Hi,
I posted this question to the OpenBSD bugs list last week, however
I have had no reply and it was suggested on IRC that I post here
instead. So I must apologise if this is not appropriate.
For a reference here is my previous post:
https://marc.info/?l=openbsd-bugs&m=156080681530337&w=2
I am running OpenBSD 6.5-stable (also tested on -current). When I
ssh somewhere I get a sig abort
2006 Oct 31
0
6262586 truss should print data written/read for sendmsg/recvmsg
Author: ja97890
Repository: /hg/zfs-crypto/gate
Revision: 4e8bdca5612d8e39ecb94db81ca5272fe9872d89
Log message:
6262586 truss should print data written/read for sendmsg/recvmsg
Files:
update: usr/src/cmd/truss/actions.c
update: usr/src/cmd/truss/expound.c
2004 Jul 18
0
HPUX and privsep
Subject: HPUX and privsep
Anyone solved or see the same connection I do with
these two issues on HPUX if Privilege Separation is
turned off ?
Logname not found (3.7.1p2, 3.8.1p1)
Login prematurely quits during session setup
(mm_send_fd: sendmsg(3): Bad file number |
mm_receive_fd: recvmsg: expected received 1 got 0)
(3.8.1p1)
Seems the mm_xxxx_() functions arent called when
PrivSep is off.
2005 Sep 07
4
[Bug 1080] 4.1p1 to 4.2p1 broke UsePrivilegeSeparation on HPUX
http://bugzilla.mindrot.org/show_bug.cgi?id=1080
Summary: 4.1p1 to 4.2p1 broke UsePrivilegeSeparation on HPUX
Product: Portable OpenSSH
Version: 4.2p1
Platform: HPPA
OS/Version: HP-UX
Status: NEW
Severity: security
Priority: P2
Component: sshd
AssignedTo: bitbucket at mindrot.org
2006 May 15
0
[PATCH 1/12] bug fix: openssh-4.3p2 memory leak
The variable cmd is xmalloc'd by buffer_get_string. It is then used in
some places but never freed. This patch places the xfree after the last
usage and within the confines of all paths. This entire set of patches
passed the regression tests on my system. Memory leak bug found by
Coverity.
Signed-off-by: Kylene Hall <kjhall at us.ibm.com>
---
clientloop.c | 2 ++
1 files changed,
2006 Aug 15
1
OpenSSH_4.3p2 fails to create a pty session
I am out of ideas about what the problem is. I am using the default
sshd_config installed by the port. I can authenticate, copy files, and
start processes, but sshd fails to create a tty session. This happens
from remote machines and creating a session from the host machine. I
find the following under messages.
Aug 8 19:32:16 mongoloid sshd[44626]: fatal: mm_send_fd: sendmsg(4):
Bad
2008 Jul 29
1
Question regarding alignment patch
Contrast
http://cvsweb.mindrot.org/index.cgi/openssh/monitor_fdpass.c?r1=1.23;r2=1.24
with
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/monitor_fdpass.c.diff?r1=1.14&r2=1.15
The original replaces cmsgbuf.tmp with cmsgbuf.buf, while the -portable
version *adds* cmsgbuf.buf but retains cmsgbuf.tmp.
I assume this was an oversight, and cmsgbuf.tmp should be removed?
DES
--
Dag-Erling
2008 Jul 06
11
OpenSSH 5.1: call for testing
Hi,
OpenSSH 5.1 is almost ready for release, so we would appreciate testing
on as many platforms and systems as possible. This release is one of
the biggest in recent years, with two hackathons' worth of improvements
and fixes for some of our most recalcitrant bugs.
Snapshot releases for portable OpenSSH are available from
http://www.mindrot.org/openssh_snap/
The OpenBSD version is
2003 Dec 22
1
(no subject)
On my system
HP-UX bbmusw1 B.11.00 A 9000/887 1485316281 two-user license
I installed the depot file
HP-UX 11.00 PA-RISC
Downloads for openssh-3.7.1p2 (Help!)
Downloads for openssh-3.7.1p2 (Help!)
I am using /usr/local/sbin/sshd -d -d -d to get the debugging info.
I get the following error after sshd accepts my password during ssh
session. This error happens when I use
both putty
2008 Feb 20
1
alignment problem in monitor_fdpass.c
Hi,
After FreeBSD changed from using -O2 to using -O on their ARM port, I
found that sshd stopped working. (gcc version 4.2.1 20070719 [FreeBSD])
I have downloaded openssh-SNAP-20080220.tar.gz and the code still look
the same.
Anyway looking into it, I found that the problem is in monitor_fdpass.c
in the functions mm_send_fd and mm_receive_fd. Using -O2 used to align
the tmp array on a 4 byte
2002 Jun 27
3
OpenSSH 3.4p1 - compilation problem on Linux
Hello openssh-unix-dev,
Some time ago I successfully compiled version 3.1 of OpenSSH.
Today I tried new OpenSSH version and I am not able to compile it.
Configuration script runned well. When running make, following error
occured:
make[1]: Entering directory `/tools/openssh-3.4p1/openbsd-compat'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
2002 Jun 14
0
[Bug 276] New: openssh-3.2.3p1 does not compile on IRIX - SCM_RIGHTS undefined
http://bugzilla.mindrot.org/show_bug.cgi?id=276
Summary: openssh-3.2.3p1 does not compile on IRIX - SCM_RIGHTS
undefined
Product: Portable OpenSSH
Version: -current
Platform: MIPS
OS/Version: IRIX
Status: NEW
Severity: major
Priority: P2
Component: Build system
AssignedTo:
2002 Jun 27
0
[Bug 311] New: Compile fails on MIPS Linux (Cobalt Raq2) - SCM_RIGHTS undeclared
http://bugzilla.mindrot.org/show_bug.cgi?id=311
Summary: Compile fails on MIPS Linux (Cobalt Raq2) - SCM_RIGHTS
undeclared
Product: Portable OpenSSH
Version: -current
Platform: MIPS
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: Build system
AssignedTo:
2002 Jul 04
0
[Bug 336] New: ssh does not compile on Linux with libc5 and 2.0 kernel
http://bugzilla.mindrot.org/show_bug.cgi?id=336
Summary: ssh does not compile on Linux with libc5 and 2.0 kernel
Product: Portable OpenSSH
Version: -current
Platform: ix86
OS/Version: Linux
Status: NEW
Severity: critical
Priority: P2
Component: Build system
AssignedTo: openssh-unix-dev at