On Fri, Dec 11, 1998 at 14:00:13 +0100, Niels M�ller wrote:
> I just made a new snapshot available, at <URL:
> http://www.lysator.liu.se/~nisse/archive/lsh-snapshot-1998-12-11.tar.gz>.
I've tried this with patches of my own applied (I've mailed them to Niels,
and they'll hopefully be included in his next snapshot) on Linux/Intel,
Linux/Alpha and Linux/PowerPC.
Linux/Intel dies after Password check:
Client version: SSH-2.0-lsh_0.0 lsh - a free ssh
Server version: SSH-2.0-lshd_0.0 lsh - a free ssh
handle_dh_reply()
Recieved debug: Key exchange successful!
Password for ray:
Connection died, for reason 5.
Connection died.
Linux/PowerPC gets a connection, but doesn't start a shell.
Client:
tervola jdassen 17:13 ~/lsh > ./lsh -v -p 4711 localhost
Client version: SSH-2.0-lsh_0.0 lsh - a free ssh
Server version: SSH-2.0-lshd_0.0 lsh - a free ssh
handle_dh_reply()
Recieved debug: Key exchange successful!
Password for jdassen:
User authentication successful.
Garbage collecting while idle...
Objects alive: 84, garbage collected: 46
exec bash -i
ls
blaah
[break with ctrl-c; ctrl-d doesn't work]
Server:
tervola jdassen 17:09 ~/lsh > ./lshd -v -p 4711
server_initiate()
Client version: SSH-2.0-lsh_0.0 lsh - a free ssh
handle_dh_init()
Recieved debug: Key exchange successful!
Child 9134 died with exit code 0.
Connection died, for reason 1.
Linux/Alpha: both client and server dump core. The warnings I used
(-Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-Wmissing-declarations -W -Wcast-qual -Wwrite-strings -Wcast-align)
don't point to an obvious cause.
Client:
(gdb) set args -v -p 4711 localhost
(gdb) run
Starting program: /extra/home/debian/jdassen/lsh/./lsh -v -p 4711 localhost
Program received signal SIGSEGV, Segmentation fault.
0x15555923ca0 in memmove ()
(gdb) where
#0 0x15555923ca0 in memmove ()
#1 0x1200116f0 in lsh_list_alloc (class=0x1201204b8, length=0,
element_size=17179869220) at xalloc.c:171
#2 0x1200116f0 in lsh_list_alloc (class=0x1201204b8, length=0,
element_size=17179869220) at xalloc.c:171
#3 0x12000be6c in make_int_list (n=0) at list.c:42
#4 0x12000bd00 in make_test_kexinit (r=0x12011fd48) at keyexchange.c:541
#5 0x120011dfc in main (argc=5, argv=0x120120138) at lsh.c:179
[Observe the ridiculous element_size in #1 and #2]
Server:
(gdb) set args -p 4711 -v
(gdb) run
Starting program: /extra/home/debian/jdassen/lsh/./lshd -p 4711 -v
Program received signal SIGSEGV, Segmentation fault.
0x15555923ca0 in memmove ()
(gdb) where
#0 0x15555923ca0 in memmove ()
#1 0x120011bb0 in lsh_list_alloc (class=0x1201221c8, length=0,
element_size=17179869220) at xalloc.c:171
#2 0x120011bb0 in lsh_list_alloc (class=0x1201221c8, length=0,
element_size=17179869220) at xalloc.c:171
#3 0x12000c32c in make_int_list (n=0) at list.c:42
#4 0x12000c1c0 in make_test_kexinit (r=0x120121d88) at keyexchange.c:541
#5 0x120012428 in main (argc=538058120, argv=0x1201228f8) at lshd.c:193
> As for public cvs access, I have not been able to arrange that yet.
Once it is in place, you might want to announce lsh as a development project
on http://freshmeat.net .
Ray
--
Tevens ben ik van mening dat Nederland overdekt dient te worden.