Displaying 20 results from an estimated 32 matches for "buffer_get".
2008 Sep 15
0
No subject
...r_options
after fill_default_server_options
sshd version OpenSSH_3.7.1p2
before lodaing private keys
?after lodaing private keys
?after lodaing private keys
options.host_key_files[i]=/etc/ssh/ssh_host_rsa_key
?in key_load_private
?before key_load_public_rsa1
in buffer_init
in buffer_append_space
in buffer_get
leaving from buffer_get
in buffer_free
?before key_load_private_pem
?returning from key_load_private
?after key_load_private
private host key: #0 type 1 RSA
options.host_key_files[i]=/etc/ssh/ssh_host_dsa_key
?in key_load_private
?before key_load_public_rsa1
in buffer_init
in buffer_append_space
in...
2008 Sep 18
2
SSHD_PROBLEM
...r_options
after fill_default_server_options
sshd version OpenSSH_3.7.1p2
before lodaing private keys
after lodaing private keys
after lodaing private keys
options.host_key_files[i]=/etc/ssh/ssh_host_rsa_key
in key_load_private
before key_load_public_rsa1
in buffer_init
in buffer_append_space
in buffer_get
leaving from buffer_get
in buffer_free
before key_load_private_pem
returning from key_load_private
after key_load_private
private host key: #0 type 1 RSA
options.host_key_files[i]=/etc/ssh/ssh_host_dsa_key
in key_load_private
before key_load_public_rsa1
in buffer_init
in buffer_append_space
in...
2003 Sep 09
6
3.6p2 build errors on buffer_get with latest portable/SNAP
Tried the user discussion list to no avail, can't get 3.6.p2
portable running due to buffer_get errors. Does the
latest portable SNAP incorporate the latest patches?
Running Red Hat 8.0
AS SHIPPED
/usr/sbin/sshd
...
cool, listens on 22 with 3.4p1
WITH 3.6.1p2
./configure
make
make install
...
/usr/local/sbin/sshd -t -f /usr/local/etc/sshd_config
buffer_get: trying to get more bytes 1 than...
2002 May 15
0
[Bug 243] New: fatal: buffer_get
http://bugzilla.mindrot.org/show_bug.cgi?id=243
Summary: fatal: buffer_get
Product: Portable OpenSSH
Version: 3.0.1p1
Platform: Sparc
OS/Version: Solaris
Status: NEW
Severity: normal
Priority: P2
Component: sshd
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy: marco at...
2002 Aug 05
1
scp fails where ssh succeeds; buffer_get?
...strangest behavior I encountered when trying to scp from a SuSE
7.2 to RedHat 7.1 system -- I built openssl-0.9.6e on RedHat as well--
and updated a lot of stuff; but still:
ssh succeeds, and scp fails, leaving the following message in
/var/log/secure:
Aug 5 11:50:44 pdb-pc-6 sshd[4609]: fatal: buffer_get: trying to get more bytes than in buffer
I compiled --with-tcp-wrappers and the client is allowed (obviously,
as ssh succeeds). Local machines on the same subnet can scp without
any problems. Same thing happens with sftp -- both ask for password,
then hang. If the key is kept by an agent, scp s...
2012 Oct 22
1
[PATCH] Implement remote dynamic TCP forwarding
...eq);
if (have < len)
return 0;
- p = buffer_ptr(&c->input);
+ p = buffer_ptr(input);
need = 1;
/* SOCKS4A uses an invalid IP address 0.0.0.x */
@@ -1065,12 +1079,12 @@ channel_decode_socks4(Channel *c, fd_set *readset, fd_set *writeset)
}
if (found < need)
return 0;
- buffer_get(&c->input, (char *)&s4_req.version, 1);
- buffer_get(&c->input, (char *)&s4_req.command, 1);
- buffer_get(&c->input, (char *)&s4_req.dest_port, 2);
- buffer_get(&c->input, (char *)&s4_req.dest_addr, 4);
- have = buffer_len(&c->input);
- p = buffer_...
2006 Oct 07
0
[Bug 1084] provide better error message if keys in authorized_keys contain CR/LF (was " sshd[6895]: fatal: buffer_get: trying to get more bytes 129 than in buffer 34")
http://bugzilla.mindrot.org/show_bug.cgi?id=1084
dtucker at zip.com.au changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
------- Comment #2 from dtucker at zip.com.au 2006-10-07 11:42 -------
Change all RESOLVED bug to CLOSED with the exception
2002 May 15
0
[Bug 243] fatal: buffer_get
http://bugzilla.mindrot.org/show_bug.cgi?id=243
------- Additional Comments From markus at openbsd.org 2002-05-15 21:17 -------
could you please provide full debugging output from the
server and information on what authentication
methods are tried? when does this happen?
it looks like you have malformed entries
in .ssh/authorized_keys
------- You are receiving this mail because: -------
2002 Jul 18
0
[Bug 243] fatal: buffer_get
http://bugzilla.mindrot.org/show_bug.cgi?id=243
stevesk at pobox.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From stevesk at pobox.com 2002-07-18
2004 Mar 02
1
openssh 3.8p1 on Linux
Hello,
I'm having trouble with OpenSSH on Linux.
Here is attached the regression tests log - it'll explain what my
problems are. This cause sshd to die with this output:
buffer_get: trying to get more bytes 1 than in buffer 0
ssh would also dies with this message. I recreated my user keys, and it
works now. remote sshd is 3.7.1p2.
But sshd won't start even after recreating server keys. Even after
recreating moduli file as explained in man ssh-keygen.
I'm running Lu...
2003 Jun 25
1
socks5 support for -D
...+ af = -1;
+ break;
+ case SSH_SOCKS5_IPV6:
+ addrlen = 16;
+ af = AF_INET6;
+ break;
+ default:
+ debug("channel %d: bad socks5 atyp %d", c->self, s5_req.atyp);
+ return -1;
+ }
+ if (have < 4 + addrlen + 2)
+ return 0;
+ buffer_consume(&c->input, sizeof(s5_req));
+ buffer_get(&c->input, (char *)&dest_addr, addrlen);
+ buffer_get(&c->input, (char *)&dest_port, 2);
+ dest_addr[addrlen] = '\0';
+ if (s5_req.atyp == SSH_SOCKS5_DOMAIN)
+ strlcpy(c->path, dest_addr, sizeof(c->path));
+ else if (inet_ntop(af, dest_addr, c->path, sizeof(c...
2001 Oct 17
0
OpenSSH 2.9.9p2 on Solaris 8 buffer_get problem
Hi there,
I have a weird problem with OpenSSH 2.9.9p2 on Solaris 8. Whenever I try
to use ssh, scp or sftp to connect to the Solaris box, the connection is
closed by the server and the following msg logged thru syslog:
"sshd[542]: fatal: buffer_get: trying to get more bytes 129 than in
buffer 39"
I tried from an RH 7.1 client (2.9.9p2), from a Solaris 8 client
(2.9.9p2), and an OpenBSD 2.9 client (2.9.9) & the same thing happens.
OpenSSH 2.9.9p2 has been installed from source with the following
required/optional software:
openssl 0....
2003 Aug 25
2
Rsync with SSH problem
I have add the ssh key to my .ssh/authorized_files.
When I enter the command, the errors are as follow.
[root@mandrake91 .ssh]# rsync mandrake82::XXXXX /rsynctest --recursive -e
ssh
buffer_get: trying to get more bytes 129 than in buffer 46
rsync: connection unexpectedly closed (0 bytes read so far)
sync error: error in rsync protocol data stream (code 12) at io.c(165)
There is no errors when I do not use SSH
Please help
2001 Dec 18
0
ssh: limits on authorized_keys2 (fwd)
...ey is in the first X,
the connection works fine. All that I am doing in between is
shuffling the order of the pubkeys. On one machine, X=2, on the
machine I did this logging on, X=3.
There's a nice, clear error message in the server's auth.log:
Dec 19 11:10:26 cabrio sshd[23206]: fatal: buffer_get: trying to get
more bytes 128 than in buffer 91
which has to be a useful clue. Files in the attached tarball:
auth.log-cabrio - server /var/log/auth.log
log_auth2cabrio.1stposn - failed ssh login, logged via:
ssh -v -v -v -4 cabrio 2> log_auth2cabrio.1stposn
log_auth2cabrio.4th...
2008 Sep 23
1
ERROR:buffer_get_ret
hi,
I am running openssh sourec code for ssh server.It is working successfully.daemon is running,but the problem is when conncting to this server from remote system i got the following errors.
buffer_get_ret: trying to get more bytes 1 than in buffer 0
buffer_get: buffer error
plese give me suggestions on this
2008 Jul 01
1
[PATCH] SOCKS4A support
...9;\0') {
- found = 1;
- break;
+ found++;
+ if (found == need)
+ break;
}
if (i > 1024) {
/* the peer is probably sending garbage */
@@ -1056,7 +1066,7 @@ channel_decode_socks4(Channel *c, fd_set
return -1;
}
}
- if (!found)
+ if (found < need)
return 0;
buffer_get(&c->input, (char *)&s4_req.version, 1);
buffer_get(&c->input, (char *)&s4_req.command, 1);
@@ -1066,19 +1076,33 @@ channel_decode_socks4(Channel *c, fd_set
p = buffer_ptr(&c->input);
len = strlen(p);
debug2("channel %d: decode socks4: user %s/%d", c-&g...
2004 May 27
1
Solaris/PAM/AFS: can't make it work
...ng: type 51
debug3: mm_request_receive entering
debug3: monitor_read: checking request 50
debug3: mm_answer_pam_query
debug3: PAM: sshpam_query entering
debug3: ssh_msg_recv entering
debug3: PAM: do_pam_account pam_acct_mgmt = 0
debug3: ssh_msg_send: type 0
debug3: PAM: import_environments entering
buffer_get: trying to get more bytes 4 than in buffer 0
debug1: do_cleanup
debug1: PAM: cleanup
debug3: PAM: sshpam_thread_cleanup entering
debug1: do_cleanup
debug1: PAM: cleanup
debug3: PAM: sshpam_thread_cleanup entering
- I tried applying the patches that Christian Pfaffel posted. But
they did not produ...
2004 May 04
3
Error with USE_POSIX_THREADS and OpenSSH-3.8p1
...ot the following buffer error on the
server side when ssh connection is attempted. This is not the case with
OpenSSH-3.7.1p2. It works when USE_POSIX_THREADS is enabled.But, 3.8p1
closed with this error in the server side.
------
debug3: pam_password_change_required 0
debug3: PAM: num env strings 0
buffer_get: trying to get more bytes 4 than in buffer 0
debug1: do_cleanup
debug1: PAM: cleanup
debug3: PAM: sshpam_thread_cleanup entering
-------
To fix this, we have done some changes in auth-pam.c and session.c [1]. We
are not sure that this is the exact fix for this though this works for
PAM_Kerberos a...
2002 Apr 21
3
OpenSSH Security Advisory (adv.token)
...24 bufaux.c
--- bufaux.c 26 Mar 2002 15:23:40 -0000 1.24
+++ bufaux.c 19 Apr 2002 12:55:29 -0000
@@ -137,10 +137,18 @@
BN_bin2bn(bin, len, value);
xfree(bin);
}
-
/*
- * Returns an integer from the buffer (4 bytes, msb first).
+ * Returns integers from the buffer (msb first).
*/
+
+u_short
+buffer_get_short(Buffer *buffer)
+{
+ u_char buf[2];
+ buffer_get(buffer, (char *) buf, 2);
+ return GET_16BIT(buf);
+}
+
u_int
buffer_get_int(Buffer *buffer)
{
@@ -158,8 +166,16 @@
}
/*
- * Stores an integer in the buffer in 4 bytes, msb first.
+ * Stores integers in the buffer, msb first.
*/
+void
+...
2002 Apr 21
3
OpenSSH Security Advisory (adv.token)
...24 bufaux.c
--- bufaux.c 26 Mar 2002 15:23:40 -0000 1.24
+++ bufaux.c 19 Apr 2002 12:55:29 -0000
@@ -137,10 +137,18 @@
BN_bin2bn(bin, len, value);
xfree(bin);
}
-
/*
- * Returns an integer from the buffer (4 bytes, msb first).
+ * Returns integers from the buffer (msb first).
*/
+
+u_short
+buffer_get_short(Buffer *buffer)
+{
+ u_char buf[2];
+ buffer_get(buffer, (char *) buf, 2);
+ return GET_16BIT(buf);
+}
+
u_int
buffer_get_int(Buffer *buffer)
{
@@ -158,8 +166,16 @@
}
/*
- * Stores an integer in the buffer in 4 bytes, msb first.
+ * Stores integers in the buffer, msb first.
*/
+void
+...