privsep patch, Please test

Ben Lindstrom mouring at etoh.eviladmin.org
Thu May 30 11:52:22 EST 2002


This was talked about a few posts ago.  Go to where the mmap() call is for
the alternation version and change MAP_PRIVATE to MAP_SHARED

- Ben


On Thu, 30 May 2002, Mathias Koerber wrote:

> Tim,
>
> thanks, it gets further, but now I get a problem with
> 	buffer_uncompress: inflate returned -3
> This only happens when I use privsep.
>
> regards
>
> # sshd -d
> debug1: sshd version OpenSSH_3.2.3p1
> debug1: private host key: #0 type 0 RSA1
> debug1: read PEM private key done: type RSA
> debug1: private host key: #1 type 1 RSA
> debug1: read PEM private key done: type DSA
> debug1: private host key: #2 type 2 DSA
> debug1: Bind to port 22 on 0.0.0.0.
> Server listening on 0.0.0.0 port 22.
> Generating 768 bit RSA key.
> RSA key generation complete.
> debug1: Server will not fork when running in debugging mode.
> Connection from 202.42.176.138 port 4718
> debug1: Client protocol version 2.0; client software version 3.3.1 SecureCRT
> debug1: no match: 3.3.1 SecureCRT
> Enabling compatibility mode for protocol 2.0
> debug1: Local version string SSH-1.99-OpenSSH_3.2.3p1
> debug1: list_hostkey_types: ssh-rsa,ssh-dss
> debug1: SSH2_MSG_KEXINIT sent
> debug1: SSH2_MSG_KEXINIT received
> debug1: kex: client->server aes128-cbc hmac-md5 zlib
> debug1: kex: server->client aes128-cbc hmac-md5 zlib
> debug1: SSH2_MSG_KEX_DH_GEX_REQUEST_OLD received
> debug1: SSH2_MSG_KEX_DH_GEX_GROUP sent
> debug1: dh_gen_key: priv key bits set: 127/256
> debug1: bits set: 548/1024
> debug1: expecting SSH2_MSG_KEX_DH_GEX_INIT
> debug1: bits set: 510/1024
> debug1: SSH2_MSG_KEX_DH_GEX_REPLY sent
> debug1: kex_derive_keys
> debug1: newkeys: mode 1
> debug1: Enabling compression at level 6.
> debug1: SSH2_MSG_NEWKEYS sent
> debug1: waiting for SSH2_MSG_NEWKEYS
> debug1: newkeys: mode 0
> debug1: SSH2_MSG_NEWKEYS received
> debug1: KEX done
> debug1: userauth-request for user mathias service ssh-connection method none
> debug1: attempt 0 failures 0
> Failed none for mathias from 202.42.176.138 port 4718 ssh2
> Failed none for mathias from 202.42.176.138 port 4718 ssh2
> debug1: userauth-request for user mathias service ssh-connection method
> password
> debug1: attempt 1 failures 1
> Accepted password for mathias from 202.42.176.138 port 4718 ssh2
> debug1: monitor_child_preauth: mathias has been authenticated by privileged
> process
> Accepted password for mathias from 202.42.176.138 port 4718 ssh2
> debug1: newkeys: mode 0
> debug1: newkeys: mode 1
> debug1: Entering interactive session for SSH2.
> debug1: fd 11 setting O_NONBLOCK
> debug1: fd 12 setting O_NONBLOCK
> debug1: server_init_dispatch_20
> buffer_uncompress: inflate returned -3
> debug1: Calling cleanup 0x806a490(0x0)
> debug1: Calling cleanup 0x806a490(0x0)
>
> _______________________________________________
> openssh-unix-dev at mindrot.org mailing list
> http://www.mindrot.org/mailman/listinfo/openssh-unix-dev
>




More information about the openssh-unix-dev mailing list