search for: buffer_append_space

Displaying 20 results from an estimated 35 matches for "buffer_append_space".

2008 Sep 15
0
No subject
...fore fill_default_server_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_a...
2008 Sep 18
2
SSHD_PROBLEM
...fore fill_default_server_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_a...
2008 Jan 01
3
[Bug 1425] New: buffer_append_space with rsync
https://bugzilla.mindrot.org/show_bug.cgi?id=1425 Summary: buffer_append_space with rsync Classification: Unclassified Product: Portable OpenSSH Version: 4.7p1 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: sshd AssignedTo: bitbucket at mindrot....
2005 Mar 22
1
Segmentation fault in buffer_append_space for AIX 5.3 for openssh-4.0p1
For AIX 53 ML01 I'm getting a "Segmentation fault in buffer_append_space at line 85 in file buffer.c" in sshd after typing my password for a new connection to the AIX 5.3 host. Line 85 is "if (buffer->offset == buffer->end) {". Is this caused by an old bug in buffer_append_space? Regards Rob v.d. Wal
2002 Jul 01
3
3.4p1: 'buffer_append_space: alloc 10506240 not supported'
...e been trying to install 3.4p1 on a number of machines. Servers on ia64 Linux, i386 Linux and SPARC Solaris are all working like charms. On the other hand, I am having trouble at least with HPUX 11, DEC OSF 5.1 and Unixware: on all those systems, sshd bails out after authentication with an error in buffer_append_space. Here is the output of sshd -d on the UnixWare machine (uname -a: "UnixWare sofia 5 7.1.0 i386 x86at SCO UNIX_SVR5") debug1: sshd version OpenSSH_3.4p1 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: Bi...
2005 Dec 07
4
[Bug 1131] buffer_append_space: alloc not supported Error with V 4.2p1
http://bugzilla.mindrot.org/show_bug.cgi?id=1131 Summary: buffer_append_space: alloc not supported Error with V 4.2p1 Product: Portable OpenSSH Version: 4.2p1 Platform: Sparc OS/Version: Solaris Status: NEW Keywords: help-wanted Severity: normal Priority: P3 Compo...
2003 Sep 18
5
[Bug 679] fatal: buffer_append_space with compression enabled in putty
http://bugzilla.mindrot.org/show_bug.cgi?id=679 Summary: fatal: buffer_append_space with compression enabled in putty Product: Portable OpenSSH Version: 3.7.1p1 Platform: Sparc OS/Version: Solaris Status: NEW Severity: normal Priority: P3 Component: sshd AssignedTo: openssh...
2003 Oct 28
3
[Bug 750] "buffer_append_space: alloc 10506240 not supported" on AIX5 when attempting to use compression
http://bugzilla.mindrot.org/show_bug.cgi?id=750 Summary: "buffer_append_space: alloc 10506240 not supported" on AIX5 when attempting to use compression Product: Portable OpenSSH Version: -current Platform: All OS/Version: AIX Status: NEW Severity: major Priority: P2 Comp...
2006 Jan 11
0
[Bug 1131] buffer_append_space: alloc not supported Error with V 4.2p1
http://bugzilla.mindrot.org/show_bug.cgi?id=1131 ------- Comment #4 from dtucker at zip.com.au 2006-01-11 23:07 ------- It sounds like either the client is sending a 10MB(!) packet, or there's some bug some other place. Does disabling compression (either by turning it off in the client or setting Compression no in sshd_config) prevent the error? ------- You are receiving this mail
2006 Mar 16
11
[Bug 1131] buffer_append_space: alloc not supported Error with V 4.2p1
...49 euse 1 debug2: channel 0: sent ext data 49 debug2: channel 0: read 13 from efd 11 debug2: channel 0: rwin 2147483487 elen 13 euse 1 debug2: channel 0: sent ext data 13 debug2: channel 0: read 295 from efd 11 debug2: channel 0: rwin 2147483474 elen 295 euse 1 debug2: channel 0: sent ext data 295 buffer_append_space: alloc 10522112 not supported zsh: 8776 abort (core dumped) `pwd`/sshd -p 2200 -ddder Heres the stack trace: #0 0x008337a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 (gdb) bt #0 0x008337a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x008737d5 in raise () from /lib/tls/libc.so.6 #...
2003 Sep 16
1
OpenSSH Security Advisory: buffer.adv
...=================================================================== RCS file: /cvs/src/usr.bin/ssh/buffer.c,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- buffer.c 26 Jun 2002 08:54:18 -0000 1.16 +++ buffer.c 16 Sep 2003 03:03:47 -0000 1.17 @@ -69,6 +69,7 @@ void * buffer_append_space(Buffer *buffer, u_int len) { + u_int newlen; void *p; if (len > 0x100000) @@ -98,11 +99,13 @@ goto restart; } /* Increase the size of the buffer and retry. */ - buffer->alloc += len + 32768; - if (buffer->alloc > 0xa00000) + + newlen = buffer->alloc + len + 32768; + if...
2003 Sep 16
5
OpenSSH Security Advisory: buffer.adv
...=================================================================== RCS file: /cvs/src/usr.bin/ssh/buffer.c,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- buffer.c 26 Jun 2002 08:54:18 -0000 1.16 +++ buffer.c 16 Sep 2003 03:03:47 -0000 1.17 @@ -69,6 +69,7 @@ void * buffer_append_space(Buffer *buffer, u_int len) { + u_int newlen; void *p; if (len > 0x100000) @@ -98,11 +99,13 @@ goto restart; } /* Increase the size of the buffer and retry. */ - buffer->alloc += len + 32768; - if (buffer->alloc > 0xa00000) + + newlen = buffer->alloc + len + 32768; + if...
2004 Jul 07
3
DynamicWindow Patch
...@@ buffer->alloc = len; buffer->offset = 0; buffer->end = 0; + buffer->unlimited = 0; } /* Frees any memory used for the buffer. */ @@ -78,7 +87,7 @@ u_int newlen; void *p; - if (len > 0x100000) + if (!buffer->unlimited && len > 0x100000) fatal("buffer_append_space: len %u not supported", len); /* If the buffer is empty, start using it from the beginning. */ @@ -107,7 +116,7 @@ /* Increase the size of the buffer and retry. */ newlen = buffer->alloc + len + 32768; - if (newlen > 0xa00000) + if (!buffer->unlimited && newlen >...
2005 Feb 11
0
[Bug 896] Inproper Input buffer handleing
...n debug mode and hit CTRL-C as soon as the transfer starts: $ ssh yourserver dd if=/dev/zero >/dev/null [hit ctrl-c] The server will eventually die with something like: debug2: channel 0: read 328 from efd 12 debug2: channel 0: rwin 13107200 elen 328 euse 1 debug2: channel 0: sent ext data 328 buffer_append_space: alloc 10522624 not supported The limit it hits is the maximum allocated size in buffer_append_space (0xa00000) not the maximum buffer increment (0x100000). It will never hit the increment limit because the amount that will be added in any one increment is limited by the read buffers (16k). The...
2003 Jan 20
1
Possible bug: Putty's psftp doesn't work when priv-sep is turned on
...39;ve tested aix433 and linux) the sshd reports the following (sshd -D -d -d -d) Jan 20 14:41:59 dhu1_boot sshd[9580]: Server listening on 0.0.0.0 port 22. Jan 20 14:42:11 dhu1_boot sshd[15502]: Accepted password for maniac from 10.x.y.z port 2972 ssh2 Jan 20 14:42:12 dhu1_boot sshd[16546]: fatal: buffer_append_space: alloc 10506240 not supported On the putty side I get the following message after entering the password or passphrase when connecting to a server with priv-sep turned on: Fatal: unable to initialise SFTP: could not connect -- Mark Janssen <maniac at maniac.nl> Saiko Internet Technologies
2007 Sep 06
1
openssh 4.6p1 closing connection with strange packet length
server is running openssh 4.6p1 on linux x86 (32bit) client is running openssh 4.6p1 on linux x86_64 (64bit) Just connecting from the client to the server and running "top" long enough results in: Disconnecting: Bad packet length 3690378913. This seems like a 32/64 bit problem to me. -- Andreas Steinmetz SPAMmers use robotrap at domdv.de
2007 Jul 26
1
Channel Handling Patch
...follows. Standard: samples cum. samples % cum. % symbol name 15360 15360 11.4140 11.4140 client_loop 13277 28637 9.8661 21.2801 packet_send2_wrapped 11017 39654 8.1867 29.4668 channel_output_poll 8070 47724 5.9968 35.4635 buffer_append_space 7914 55638 5.8809 41.3444 channel_handler 5970 61608 4.4363 45.7807 arc4random 5346 66954 3.9726 49.7533 channel_pre_open 5159 72113 3.8336 53.5869 packet_read_poll_seqnr 4253 76366 3.1604 56.7473 channel_post_open...
2011 Feb 06
3
OpenSSH could be faster...then why don't they path it??
https://www.psc.edu/networking/projects/hpn-ssh/hpn-v-ssh-tput.jpg "SCP and the underlying SSH2 protocol implementation in OpenSSH is network performance limited by statically defined internal flow control buffers. These buffers often end up acting as a bottleneck for network throughput of SCP, especially on long and high bandwith network links. Modifying the ssh code to allow the buffers
2003 Feb 24
1
[Bug 502] New: sshd fails when "Compression yes" set on HPUX
...et "Compression yes" in /usr/local/etc/sshd_config on an HPUX 10.20. OpenSSH version is OpenSSH_3.5p1 zlib version is 1.1.4 OpenSSL version is OpenSSL 0.9.6g 9 Aug 2002 The compiler is the HP C/ANSI C B.10.20.03 syslog on the sshd systems reports: Feb 24 12:46:32 als3 sshd[15645]: fatal: buffer_append_space: alloc 10506240 not supported I've tried recompiling zlib and openssh with different options to no effect. sshd -ddd shows: debug3: Seeding PRNG from /usr/local/libexec/ssh-rand-helper debug1: sshd version OpenSSH_3.5p1 debug1: private host key: #0 type 0 RSA1 debug3: Not a RSA1 key file /usr/...
2004 Jul 14
1
New dynamic window patch (with limits)
...>end = 0; + buffer->unlimited = 0; } /* Frees any memory used for the buffer. */ @@ -78,7 +85,8 @@ u_int newlen; void *p; - if (len > 0x100000) + if ((buffer->unlimited && len > MAXBUFSZ) || + (!buffer->unlimited && len > 0x100000)) fatal("buffer_append_space: len %u not supported", len); /* If the buffer is empty, start using it from the beginning. */ @@ -107,7 +115,8 @@ /* Increase the size of the buffer and retry. */ newlen = buffer->alloc + len + 32768; - if (newlen > 0xa00000) + if ((buffer->unlimited && newlen >...