Displaying 20 results from an estimated 1000 matches similar to: "[Bug 327] monitor_fdpass.c: Expected 1 got 1075033556 - Privilege Separation"
2002 Jul 01
0
[Bug 327] New: monitor_fdpass.c: Expected 1 got 1075033556 - Privilege Separation
http://bugzilla.mindrot.org/show_bug.cgi?id=327
Summary: monitor_fdpass.c: Expected 1 got 1075033556 - Privilege
Separation
Product: Portable OpenSSH
Version: -current
Platform: ix86
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: Miscellaneous
AssignedTo:
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
2014 Jul 28
4
[Bug 2260] New: monitor_fdpass.c fails to compile on QNX 6.3.2
https://bugzilla.mindrot.org/show_bug.cgi?id=2260
Bug ID: 2260
Summary: monitor_fdpass.c fails to compile on QNX 6.3.2
Product: Portable OpenSSH
Version: 6.6p1
Hardware: ix86
OS: Other
Status: NEW
Severity: normal
Priority: P5
Component: Miscellaneous
Assignee: unassigned-bugs
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
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 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 May 29
2
OpenSSH 3.2.3p1 won't compile under IRIX 6.5.14
Previously 3.2.2 would not compile under Solaris, then 3.2.3
came out with a bug fix for the problem.
Now 3.2.3 won't compile under IRIX 6.5.14. I've tried using
both gcc 3.0.1 and the IRIX MIPSpro 7.1 compilers. I've been
compiling previous versions of OpenSSH for years using these
same compilers (we haven't updated the MIPSpro compiler for 3
years, and I've been using it on
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
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
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 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 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 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
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
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
2014 Apr 29
3
[Bug 2237] New: monitor_fdpass.c: poll.h
https://bugzilla.mindrot.org/show_bug.cgi?id=2237
Bug ID: 2237
Summary: monitor_fdpass.c: poll.h
Product: Portable OpenSSH
Version: 6.6p1
Hardware: Other
OS: Other
Status: NEW
Severity: enhancement
Priority: P5
Component: Miscellaneous
Assignee: unassigned-bugs at mindrot.org
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
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 Nov 01
0
No subject
HAVE_SENDMSG = 1
HAVE_ACCRIGHTS_IN_MSGHDR - not defined
HAVE_CONTROL_IN_MSGHDR = 1
> void
> mm_send_fd(int socket, int fd)
> {
> #if defined(HAVE_SENDMSG) && (defined(HAVE_ACCRIGHTS_IN_MSGHDR) || defined(HAVE_CONTROL_IN_MSGHDR))
> struct msghdr msg;
> struct iovec vec;
> char ch = '\0';
> int n;
> #ifndef HAVE_ACCRIGHTS_IN_MSGHDR