Commit f30b3082 authored by Niels Möller's avatar Niels Möller

Cleanup of old ChangeLog files (spacing and ISO dates). List correct file for rzm's change.

parent 32b99c37
......@@ -861,7 +861,7 @@
untested and #if:ed out.
* src/crypto.h (hash_algorithm): Deleted class, just use the
corresponding struct nettle_hash.
corresponding struct nettle_hash.
2009-10-25 Niels Möller <nisse@lysator.liu.se>
......
1999-12-20 Niels Möller <nisse@cuckoo.localdomain>
* src/scm/compiler.scm (split-list-at): New utility function.
* src/scm/compiler.scm (split-list-at): New utility function.
Fixed spelling of make-application.
(do-let): Invoke the preprocessor on the value list.
(make-flat-application): Accept a list of arguments.
(flatten-application): Handle applications with more than one
argument.
argument.
(reduce-expr): New function to try to reduce expressions, mostly
for debugging.
......@@ -17,8 +17,8 @@
* src/spki.c (do_spki_tag_list_match): Bug fix.
(spki_sexp_to_tag_list): Bug fix.
(spki_make_verifier): Take an sexp rather than an sexp_iterator as
argument.
(do_spki_lookup): Use the right syntax for public-key-expressions.
argument.
(do_spki_lookup): Use the right syntax for public-key-expressions.
* src/sexp_streamed_parser.c (do_parse_base64): Less trace info.
(do_parse_literal_data): -"-
......@@ -28,7 +28,6 @@
(sexp_parse_advanced, sexp_parse_canonical): Don't advance buffer
pointer in the default case.
* src/sexp.c (sexp2string): Bug fix.
* src/lsh.c (do_options2identities): Bug fixes.
......@@ -66,13 +65,13 @@
* src/channels.c: Removed old code.
* src/combinators.c: Removed old code.
* src/client_userauth.c: Removed old code.
* src/client_keyexchange.c (do_init_client_dh): Removed old code.
* src/client_keyexchange.c (do_init_client_dh): Removed old code.
* src/client.c: Removed old code.
* src/channel.c: Removed old code.
* src/alist.c: Removed old code.
* configure.in (AC_OUTPUT): Generate contrib/Makefile and
contrib/lsh.spec.
contrib/lsh.spec.
* Makefile.am.in (SUBDIRS): Added contrbi directory.
......@@ -96,7 +95,7 @@
* make_am (SUBDIRS): Don't recurse on . in SUBDIRS.
* configure.in (M4): Check for m4, and m4 handling eight-bit quote
characters.
characters.
1999-12-07 Niels Möller <nisse@cuckoo.localdomain>
......@@ -110,14 +109,14 @@
* src/client_keyexchange.c (do_init_client_dh): Use EXTRA argument
as a hostkey lookup_verifier. Deleted the association
algorithm->lookup_verifier.
algorithm->lookup_verifier.
(make_dh_client): Deleted VERIFIERS argument.
* src/spki_commands.h: Added extern keyword to declarations of
commands.
commands.
* src/spki_commands.c: Use three arguments with for_sexp. Better
tracing.
tracing.
* src/spki.h (spki_context): New method add_tuple.
......@@ -136,10 +135,10 @@
argument as an alist algorithm->hostkey.
(make_dh_server): Deleted the KEYS argument.
* src/lshd.c: Adapted to new functions for reading keys and acls.
* src/lshd.c: Adapted to new functions for reading keys and acls.
* src/lsh_proxy.c: Some (possible broken) changes to get it to
compile.
compile.
* src/lsh.c: Various bugfixes. Seems to work again now.
......@@ -161,7 +160,7 @@
(handshake_command): New static command.
* src/command.c (do_catch_apply): Bugfix for the ignore_value
feature.
feature.
(do_catch_simple): Initialize the ignore_value flag properly.
(do_trace_continuation): Better tracing.
......@@ -169,7 +168,7 @@
mode #define to the declaration part of the output file.
* src/lsh_writekey.c: Adapted to new functions for reading and
converting keys.
converting keys.
* src/lsh.c: Adapted to new functions for reading keys and acls.
Not working yet.
......@@ -183,7 +182,7 @@
* src/command.h (COMMAND_SIMPLE): New macro (and renamed the old
one to COMMAND_SIMPLE_CALL).
* src/command.c (do_catch_apply): New ignore_Value option.
* src/command.c (do_catch_apply): New ignore_Value option.
Use COMMAND_SIMPLE where possible.
* src/combinators.c: Use COMMAND_SIMPLE where possible.
......@@ -198,7 +197,7 @@
* src/client_userauth.h (format_userauth_password,
make_client_userauth, make_client_password_auth,
make_client_publickey_auth): Moved from userauth.h.
make_client_publickey_auth): Moved from userauth.h.
* src/userauth.h: Moved stuff to server_userauth.h.
......@@ -210,28 +209,28 @@
(make_server_connection_service): Removed backend argument.
* src/server_password.c (do_authenticate): Added service
argument.
argument.
* src/server_publickey.c (do_authenticate): Added service
argument.
argument.
* src/connection.h (ssh_connection): Added chain attribute, needed
for proxying.
* src/lshd.c (main): Don't pass backend to
make_server_connection_service.
make_server_connection_service.
* src/lsh.c: #include client_userauth.h
* src/server_userauth.c (make_userauth_handler): New function.
* src/server_userauth.c (make_userauth_handler): New function.
(format_userauth_failure): Moved here.
(format_userauth_success): Moved here.
(do_userauth): Use make_userauth_handler().
(userauth_service): Moved to header file.
* src/server_userauth.h (userauth_service): Moved from
server_userauth.c.
(userauth): Moved from userauth.h.
server_userauth.c.
(userauth): Moved from userauth.h.
* src/client_userauth.c (format_userauth_password): Made non-static.
......@@ -239,11 +238,11 @@
src/proxy_session.h, src/proxy_userauth.h, src/proxy_userauth.c:
New files (Bazsi)
* src/lsh_proxy.c: New program (Bazsi).
* src/lsh_proxy.c: New program (Bazsi).
* src/Makefile.am.in (sbin_PROGRAMS): Added lsh_proxy.
(liblsh_a_SOURCES): Added proxy.c proxy_session.c
and proxy_userauth.c.
and proxy_userauth.c.
* configure.in: Bumped version to 0.1.17.
......@@ -251,16 +250,16 @@
* src/sexp.c (sexp_assq): Bug fix.
* src/lshd.c (main): Changed invocation of read_spki_key_file.
* src/lshd.c (main): Changed invocation of read_spki_key_file.
* src/lsh.c (do_client_lookup): Better error messages. Write
hostname properly in the ACL file.
(main_argp_parser): Added options --strict, --sloppy and
--capture-to.
--capture-to.
1999-11-28 Niels Möller <nisse@cuckoo.localdomain>
* src/dsa.c (make_dsa_signer): #if:ed out some debug output.
* src/dsa.c (make_dsa_signer): #if:ed out some debug output.
* src/server_authorization.c (do_key_lookup): Some
simplifications. Use make_ssh_dss_verifier().
......@@ -282,9 +281,9 @@
* src/connection.h: Removed forward declaration of ssh_connection;
it's now in the lsh.h.
* src/bignum.c, src/bignum.h: Fewer includes in the header file.
* src/bignum.c, src/bignum.h: Fewer includes in the header file.
* src/atoms.in: Added r and s (for spki-style dsa signatures).
* src/atoms.in: Added r and s (for spki-style dsa signatures).
* src/atoms.c: Use const tables.
......@@ -298,7 +297,7 @@
1999-11-25 Niels Möller <nisse@cuckoo.localdomain>
* src/spki.h (spki_context): Added verifier argument to
the lookup-method.
the lookup-method.
* src/spki.c (make_ssh_hostkey_tag): New function.
(dsa_to_spki_public_key): New function.
......@@ -326,13 +325,13 @@
* src/sexp.c (sexp_assq): Check length.
* src/spki.h (make_spki_subject, make_spki_context): New
functions.
functions.
* src/atoms.in: Added signature and name.
1999-11-22 Niels Möller <nisse@cuckoo.localdomain>
* src/spki.h (spki_subject): New class.
* src/spki.h (spki_subject): New class.
(spki_context): New class.
* src/spki.c (make_spki_5_tuple): New function.
......@@ -340,7 +339,7 @@
(spki_read_acls): New function.
* src/sexp_parser.c (sexp_parse_list_canonical): Use
queue_to_list_and_kill().
queue_to_list_and_kill().
* src/sexp.c (sexp_atom_eq): Bug fix.
......@@ -359,11 +358,11 @@
* src/sexp.c (sexp_atom_eq): New function.
* src/process_atoms: Handle atoms with "*" in. Quote better, and
output C symbols with sed 's/*/STAR/'.
output C symbols with sed 's/*/STAR/'.
* src/format.c (lsh_string_prefixp): New function.
* src/atoms.in: Added symbols for ACL:s and certificates.
* src/atoms.in: Added symbols for ACL:s and certificates.
1999-11-18 Niels Möller <nisse@cuckoo.localdomain>
......@@ -379,8 +378,8 @@
1999-11-16 Niels Möller <nisse@cuckoo.localdomain>
* Changed "Balazs" to "Balázs" in many files.
* src/spki.h (spki_5_tuple): New class. Not used for anything yet.
* src/spki.h (spki_5_tuple): New class. Not used for anything yet.
* src/spki.c (spki_check_type): Use sexp_check_type().
(dsa_private2public): Use sexp_assq().
......@@ -396,19 +395,19 @@
(do_cons_left): New function.
(do_vector_assoc): New function.
(do_vector_left): New function.
(make_iter_vector): Return SEXP_NIL for empty vectors.
(make_iter_vector): Return SEXP_NIL for empty vectors.
(sexp_eq): New function.
(sexp_assq): New function.
* src/sexp.h (sexp_iterator): Added methods left and assoc.
* src/sexp.h (sexp_iterator): Added methods left and assoc.
* src/lsh.c (do_sloppy_lookup): Works now (but doesn't save any
keys).
keys).
(main): Call lsh_open_tty.
* src/lookup_verifier.h (lookup_verifier): Added method-argument.
* src/lookup_verifier.h (lookup_verifier): Added method-argument.
* src/server_authorization.c (do_key_lookup): Added method
argument.
argument.
* src/server_publickey.c (do_authenticate): Pass algorithm to
lookup function.
......@@ -416,7 +415,7 @@
(write_raw): -"-
* src/format.c (lsh_string_eq, lsh_string_eq_l): Replaces
lsh_string_cmp() and lsh_string_cmp_l().
lsh_string_cmp() and lsh_string_cmp_l().
* src/Makefile.am.in (liblsh_a_SOURCES): Added interact.c
......@@ -438,9 +437,9 @@
1999-11-08 Niels Möller <nisse@cuckoo.localdomain>
* src/lsh.c (sloppy_host_db): Renamed from fake_host_db.
* src/lsh.c (sloppy_host_db): Renamed from fake_host_db.
* src/Makefile.am.in (liblsh_a_SOURCES): Added sexp_parser again.
* src/Makefile.am.in (liblsh_a_SOURCES): Added sexp_parser again.
* src/sexp_parser.c: Cleaned up, updated, and stripped down to
handle canonical syntax only.
......@@ -473,12 +472,12 @@
--raw-hash, --hash and --once. Used by the lsh-authorize script.
* src/sexp_commands.c: Renamed print_sexp to sexp_print.
(sexp_print_raw_hash): New command.
(sexp_print_raw_hash): New command.
* src/lsh-authorize: New script.
* src/lsh.c: New option --no-publickey to disable publickey user
authentication.
authentication.
* configure.in: Bumped version to 0.1.15.
......@@ -520,7 +519,7 @@
1999-11-03 Balázs Scheidler <bazsi@balabit.hu>
* src/atoms.in: removed ssh-dss-kludge atom,
* src/atoms.in: removed ssh-dss-kludge atom,
* src/spki.c: spki_parse_key command added, read_spki_key_file() added
......@@ -549,7 +548,7 @@
1999-11-03 Niels Möller <nisse@cuckoo.localdomain>
* doc/NOTES: Added some thought about the client side of user
authentication.
authentication.
* src/lshd.c (do_read_key): Moved key reading to spki.c. (Bazsi)
......@@ -568,14 +567,14 @@
* src/publickey_crypto.c (make_keypair): Added type argument. (Bazsi)
* src/publickey_crypto.h (keypair): Added type attribute. (Bazsi)
* src/publickey_crypto.h (keypair): Added type attribute. (Bazsi)
* src/lsh.c (main_options): Added identity argument. (Bazsi)
* src/keyexchange.c (do_handle_kexinit): Don't use
ATOM_SSH_DSS_KLUDGE. (Bazsi)
* src/exception.h (EXC_IO_OPEN_READ): New exception type. (Bazsi)
* src/exception.h (EXC_IO_OPEN_READ): New exception type. (Bazsi)
* src/connection_commands.c (do_line): Fixed detection of ssh2.
......@@ -592,7 +591,7 @@
1999-10-25 Niels Möller <nisse@cuckoo.localdomain>
* src/werror.c (set_error_syslog): Call openlog(). Added id
argument.
argument.
* src/lshd.c (main): Daemonization support and options.
......@@ -617,10 +616,10 @@
* src/lshd.c (main): Handle i/o exceptions.
* src/io_commands.c (listen_command_callback): Added exception
handler.
handler.
(do_listen_continue): Use the proper exception handler.
(make_listen_command_callback): Take an exception handler as
argument.
argument.
* src/io.c (io_iter): Moved assert.
(do_buffered_read): Treat unexpected EPIPE as an ordinary I/O
......@@ -639,7 +638,7 @@
make_connection_read_line picks up the right exception handler.
* src/connection.c (make_ssh_connection): Take an exception
handler argument.
handler argument.
(connection_init_io): Don't install any exception handler here;
moved to make_ssh_connection instead.
......@@ -656,7 +655,7 @@
* src/mempcpy.c, src/mempcpy.h, src/strndup.c, src/strndup.h:
Removed (definitions incorporated where needed in the files in
src/argp/)
src/argp/)
* src/server_authorization.c (do_key_lookup): Some cleanup
(Bazsi). Uses new instance variable index_name to construct the
......@@ -665,10 +664,10 @@
* src/server_publickey.c (do_authenticate): Fixed type (Bazsi).
(do_authenticate): Include session id length field in the
signature data.
signature data.
* src/lshd.c (main): Pass "keys_md5" to make_authorization_db().
(Bazsi).
(Bazsi).
* src/format.c (format_hex_string): New function (Bazsi).
(ssh_vformat_length): Added hex 'x' modifier. (Bazsi).
......@@ -679,7 +678,7 @@
* configure.in (AC_CHECK_MEMBER): New macro.
(AC_CHECK_VAR): New macro.
Check for program_invocation_name and
program_invocation_short_name.
program_invocation_short_name.
Check for thread-safe i/o functions.
* src/argp/argp.h: Don't include argp-comp.h. lsh-specific
......@@ -688,26 +687,26 @@
* src/argp/argp-help.c (strndup): Defined, if needed.
(mempcpy): -"-
* src/argp/argp-fmtstream.h: Removed inclusion of argp-comp.h.
* src/argp/argp-fmtstream.h: Removed inclusion of argp-comp.h.
Include argp.h. Use PRINTF_STYLE for prototypes.
* src/argp/Makefile.am (libargp_a_SOURCES): Added arp-pin.c.
* src/argp/Makefile.am (libargp_a_SOURCES): Added arp-pin.c.
* acconfig.h: Added HAVE_PROGRAM_INVOCATION_NAME and
HAVE_PROGRAM_INVOCATION_SHORT_NAME.
* Makefile.am.in (MAKEFILESAM): Removed src/argp/Makefile.am.
* Makefile.am.in (MAKEFILESAM): Removed src/argp/Makefile.am.
Thu Oct 14 20:35:43 1999 Niels Möller <nisse@lysator.liu.se>
1999-10-14 Niels Möller <nisse@lysator.liu.se>
* src/argp/argp-fmtstream.h: #include argp-comp.h.
* configure.in: Check for fwrite_unlocked and fputs_unlocked.
* configure.in: Check for fwrite_unlocked and fputs_unlocked.
Wed Oct 13 22:40:49 1999 Niels Möller <nisse@lysator.liu.se>
1999-10-13 Niels Möller <nisse@lysator.liu.se>
* src/argp/argp-comp.h: Added ugly hack for fwrite_unlocked and
fputs_unlocked.
fputs_unlocked.
1999-10-13 Niels Möller <nisse@cuckoo.localdomain>
......@@ -724,11 +723,11 @@ Wed Oct 13 22:40:49 1999 Niels Möller <nisse@lysator.liu.se>
* src/argp/argp-help.c (argp_doc): Use strndup() instead of
__strndup(). I couldn't get preprocessor hackery to work.
* src/Makefile.am.in (EXTRA_DIST): Added mempcpy.h and strndup.h.
* src/Makefile.am.in (EXTRA_DIST): Added mempcpy.h and strndup.h.
* configure.in (gmp_header_found): Check for mempcpy and strndup.
* configure.in (gmp_header_found): Check for mempcpy and strndup.
Wed Oct 13 17:59:24 1999 Niels Möller <nisse@lysator.liu.se>
1999-10-13 Niels Möller <nisse@lysator.liu.se>
* src/argp/argp.h: #include argp-comp.h.
......@@ -737,7 +736,7 @@ Wed Oct 13 17:59:24 1999 Niels Möller <nisse@lysator.liu.se>
* configure.in: Fix tests for --with-system-argp.
Tue Oct 12 18:08:39 1999 Niels Möller <nisse@lysator.liu.se>
1999-10-12 Niels Möller <nisse@lysator.liu.se>
* src/argp/argp-help.c (fill_in_uparams): Use unsigned char.
(canon_doc_option): Cast to unsigned char before passing
......@@ -756,12 +755,12 @@ Tue Oct 12 18:08:39 1999 Niels Möller <nisse@lysator.liu.se>
(do_read_sexp): Pass HANDLER_CONTEXT.
* src/sexp.c (lookup_sexp_format): Use strcmp rather than
strcasecmp.
strcasecmp.
(sexp_input_argp, sexp_output_argp): Split sexp_argp into two
parsers.
parsers.
* src/server_userauth.c (make_exc_userauth_handler): Added context
argument.
argument.
(do_userauth): Pass HANDLER_CONTEXT.
* src/server_session.c (do_spawn_shell): Pass HANDLER_CONTEXT.
......@@ -785,14 +784,14 @@ Tue Oct 12 18:08:39 1999 Niels Möller <nisse@lysator.liu.se>
* src/command.h: Use DEBUG_TRACE.
* src/command.c (make_trace): Define only if DEBUG_TRACE is
defined.
defined.
(make_catch_handler): Added context argument.
(do_catch_apply): Pass HANDLER_CONTEXT.
* src/client.c (do_client_io): Pass HANDLER_CONTEXT.
* src/channel.c (make_exc_finish_channel_handler): New context
argument.
argument.
(make_channel_io_exception_handler): -"-
(register_channel): Pass HANDLER_CONTEXT.
......@@ -804,7 +803,7 @@ Tue Oct 12 18:08:39 1999 Niels Möller <nisse@lysator.liu.se>
* src/lsh.c: Added argp support.
* src/lshd.c: -"-
* src/lsh_keygen.c: -"-
* src/algorithms.c (algorithms_argp): Added argp parser.
(init_algorithms_options): New function.
......@@ -819,13 +818,13 @@ Tue Oct 12 18:08:39 1999 Niels Möller <nisse@lysator.liu.se>
* src/lsh_types.h: Use HAVE_GCC_ATTRIBUTE.
(FUNCTION_NAME): New define.
* src/client.c (do_exit_status): Removed test of CHANNEL_SENT_EOF flag.
* src/client.c (do_exit_status): Removed test of CHANNEL_SENT_EOF flag.
(do_exit_signal): -"-
* src/channel.c (do_channel_eof): Removed test of
CHANNEL_SENT_CLOSE flag.
(do_channel_write): Removed test of CHANNEL_SENT_EOF flag.
(do_channel_write_extended): -"-
(do_channel_write): Removed test of CHANNEL_SENT_EOF flag.
(do_channel_write_extended): -"-
* src/Makefile.am.in: Added correct path to compiler.scm.
(SUBDIRS): Added argp sub directory.
......@@ -833,20 +832,19 @@ Tue Oct 12 18:08:39 1999 Niels Möller <nisse@lysator.liu.se>
* configure.in: Added --with-system-argp.
* acconfig.h: Renamed HAVE_ATTRIBUTE to HAVE_GCC_ATTRIBUTE. Added
HAVE_GCC_FUNCTION.
HAVE_GCC_FUNCTION.
1999-10-04 Niels Möller <nisse@cuckoo.localdomain>
* src/sexp_conv.c (main): Added argp support.
* src/sexp.c (sexp_argp): -"-
* src/sexp.c (sexp_argp): -"-
* src/werror.c (werror_argp): -"-
1999-10-02 Niels Möller <nisse@cuckoo.localdomain>
* src/Makefile.am.in (EXTRA_DIST): Removed make_class,
make_char_classes and compiler.scm (which now live in the scm
subdirectory).
subdirectory).
* src/tcpforward_commands.c (new_tcpip_channel): Register the fd
on the channel's resources list.
......@@ -890,11 +888,11 @@ Tue Oct 12 18:08:39 1999 Niels Möller <nisse@lysator.liu.se>
callback for fd:s the channel writes to, was completely bogus.
* src/channel.c (channel_close): Do nothing if we have already
sent CHANNEL_CLOSE.
sent CHANNEL_CLOSE.
(channel_eof): Do nothing if we have already sent CHANNEL_EOF, or
either sent or received CHANNEL_CLOSE.
* src/channel.h (ssh_channel): Added a resources attribute.
* src/channel.h (ssh_channel): Added a resources attribute.
* src/scm/gaba.scm: Renamed the struct-special type to
indirect-special, as it is useful for non-structs.
......@@ -928,7 +926,7 @@ Tue Oct 12 18:08:39 1999 Niels Möller <nisse@lysator.liu.se>
* configure.in: Bumped version to 0.1.11. Added --with-scheme
option to select scheme implementation. Generate src/scm/Makefile.
Wed Sep 22 00:30:47 1999 Niels Möller <nisse@lysator.liu.se>
1999-09-22 Niels Möller <nisse@lysator.liu.se>
* src/channel.c (channel_close_callback): Check the
CHANNEL_SENT_CLOSE flag before calling channel_close().
......@@ -936,14 +934,14 @@ Wed Sep 22 00:30:47 1999 Niels Möller <nisse@lysator.liu.se>
* configure.in: Bumped version to 0.1.10.
* src/server_publickey.c (do_authenticate): Initialize
signature_start.
signature_start.
* src/server.c (format_service_accept_kludge): Made function static.
* src/spki.c (keyblob2spki): Reorganized a little, and initialize
and free the dsa_public struct properly.
* src/lshd.c (do_read_key): Replaced keypair_info with keypair.
* src/lshd.c (do_read_key): Replaced keypair_info with keypair.
* src/server_keyexchange.c (do_init_server_dh): -"-
......@@ -951,19 +949,19 @@ Wed Sep 22 00:30:47 1999 Niels Möller <nisse@lysator.liu.se>
initializer.
*src/sexp_conv.c (main): -"-
* src/dsa.c (init_dsa_public): New function.
(make_dsa_signer): Use init_dsa_public.
* src/exception.c: Use STATIC_EXCEPTION_HANDLER and
STATIC_EXCEPTION.
Tue Sep 21 22:41:47 1999 Niels Möller <nisse@lysator.liu.se>
1999-09-21 Niels Möller <nisse@lysator.liu.se>
* src/keyexchange.h: removed keypair_info class.
* src/keyexchange.c: removed make_keypair_info function..
* src/publickey_crypto.h: renamed keypair_info to keypair, and
moved here.
......@@ -991,11 +989,11 @@ Tue Sep 21 22:41:47 1999 Niels Möller <nisse@lysator.liu.se>
* src/lsh_writekey.c (read_sexp): Use transport syntax.
* src/io.h (callback, callout): New classes.
* src/io.h (callback, callout): New classes.
* src/io.c (do_buffered_read): Close fd on EOF.
(do_consuming_read): On EOF, pass NULL to the consumer, and close
fd.
fd.
* src/exception.h (EXC_IO_EOF): Commented out this constant.
......@@ -1032,12 +1030,12 @@ Tue Sep 21 22:41:47 1999 Niels Möller <nisse@lysator.liu.se>
tcpforward_commands.h werror.c: Cleaned up and deleted old dead
code.
* src/Makefile.am.in (liblsh_a_SOURCES): Removed sexp_parser.c
* src/Makefile.am.in (liblsh_a_SOURCES): Removed sexp_parser.c
* configure.in: Bumbed version to 0.1.9.
* src/server_session.c (do_spawn_shell): Use better exception
handlers.
handlers.
* src/read_data.c (do_exc_read_eof_channel_handler): Bugfix: Don't
call channel_close() twice.
......@@ -1050,7 +1048,7 @@ Tue Sep 21 22:41:47 1999 Niels Möller <nisse@lysator.liu.se>
* src/exception.c (make_report_exception_handler): New function.
* src/connection.c (packet_types): Made this table public.
* src/connection.c (packet_types): Made this table public.
* src/channel_commands.c (do_channel_open_command): Raise a more
sensible exception.
......@@ -1071,14 +1069,14 @@ Tue Sep 21 22:41:47 1999 Niels Möller <nisse@lysator.liu.se>
* src/userauth.h (authenticate): Added connection argument.
* src/userauth.c (format_userauth_failure): Moved here (from
server_userauth.c).
server_userauth.c).
(format_userauth_success): -"-
(make_userauth_special_exception): New function.
* src/spki.c: Assorted bug fixes.
* src/sexp_streamed_parser.c (make_parse_transport_sexp): New
function.
function.
(make_parse_base64): New function.
* src/sexp_conv.c (main): Simplified exception handling.
......@@ -1092,7 +1090,7 @@ Tue Sep 21 22:41:47 1999 Niels Möller <nisse@lysator.liu.se>
for EXC_USERAUTH_SPECIAL.
* src/server_password.c (do_authenticate): Added connection
argument.
argument.
* src/server_keyexchange.c (do_handle_dh_init): Make sending of
debug messages conditional on the peer-flags.
......@@ -1104,7 +1102,7 @@ Tue Sep 21 22:41:47 1999 Niels Möller <nisse@lysator.liu.se>
(main): Adapted to new sexp parser.
* src/keyexchange.c (invoke_ssh2_dsa_kludge_p): Removed this
function.
function.
(do_handle_kexinit): Use the connection's peer_flags rather than
an explicit check of the version string.
......@@ -1113,10 +1111,10 @@ Tue Sep 21 22:41:47 1999 Niels Möller <nisse@lysator.liu.se>
(make_io_write_file_info): New function.
* src/io.c (do_buffered_read): Attempt to recover if the handler
disappears.
disappears.
(do_exc_io_handler): New exception handler.
(init_file): Install exception handler to close the file on i/o
errors.
errors.
(io_write_file): New function.
* src/exception.c (make_exception_handler): New function.
......@@ -1132,7 +1130,7 @@ Tue Sep 21 22:41:47 1999 Niels Möller <nisse@lysator.liu.se>
* src/connection.h (ssh_connection): Added peer_flags field.
* src/compiler.scm: Added comments describing the combinators
used.
used.
* src/command.h (PROG1): New global command.
......@@ -1143,11 +1141,11 @@ Tue Sep 21 22:41:47 1999 Niels Möller <nisse@lysator.liu.se>
1999-09-06 Niels Möller <nisse@cuckoo.localdomain>
* src/atoms.c: Bugfix: Include <string.h> rather than <strings.h>.
* src/atoms.c: Bugfix: Include <string.h> rather than <strings.h>.
* src/Makefile.am.in (liblsh_a_SOURCES): Added lookup_verifier.c,
server_authorization.c, server_publickey.c and spki.c. Removed
read_scan.c.
read_scan.c.
* src/lshd.c (main): Create an authorization_db class (Bazsi).
......@@ -1159,7 +1157,7 @@ Tue Sep 21 22:41:47 1999 Niels Möller <nisse@lysator.liu.se>
* src/connection.h: peer_flags added to ssh_connection, workarounds
and peer features have a flag here, which is then checked at
appropriate places.
appropriate places.
* src/connection_commands.c (do_line): peer_flags is set according
to the peer version,
......@@ -1167,11 +1165,11 @@ Tue Sep 21 22:41:47 1999 Niels Möller <nisse@lysator.liu.se>
* src/dsa.c (parse_dsa_public): made public, moved public key
mpz_t initialization here. [No, I didn't move the initialization.
/nisse]
/nisse]
* src/server_authorization.c: new file, some public key checking
is done
1999-07-22 Balázs Scheidler <bazsi@balabit.hu>
* src/lookup_verifier.{c,h}: new files. moved lookup_verifier
......@@ -1181,7 +1179,7 @@ Tue Sep 21 22:41:47 1999 Niels Möller <nisse@lysator.liu.se>
user's keys should be checked.
* src/dsa.c: do_dsa_verify_kludge() cleaned up
1999-07-11 Balázs Scheidler <bazsi@balabit.hu>
* src/client.c: added DataFellows workaround for
......@@ -1195,8 +1193,8 @@ Tue Sep 21 22:41:47 1999 Niels Möller <nisse@lysator.liu.se>
* src/dsa.c: ssh2 dsa kludge fixes, added dsa_kludge_algorithm
(only creates verifiers!)
* src/lsh.c: added support for alist maps of lookup verifiers
* src/lsh.c: added support for alist maps of lookup verifiers
* src/debug.c: fixed a bug in packet_debug class
......@@ -1204,7 +1202,7 @@ Tue Sep 21 22:41:47 1999 Niels Möller <nisse@lysator.liu.se>
* src/server_keyexchange.c: removed "Key exchange successful!"
[actually, made conditional. /nisse]
1999-09-05 Niels Möller <nisse@cuckoo.localdomain>
* src/exception.h: Added SPKI-related exceptions.
......@@ -1230,12 +1228,12 @@ Tue Sep 21 22:41:47 1999 Niels Möller <nisse@lysator.liu.se>
* src/Makefile.am.in: Added sexp_conv, sexp_commands.c.
* sexp_commands.c, sexp_commands.h, sexp_conv.c, sexp_conv.h: New
files.
files.
1999-09-04 Niels Möller <nisse@cuckoo.localdomain>
* src/lsh.c (do_lsh_default_handler): Improved handling of I/O
exceptions.
exceptions.
* src/io_commands.c (do_connect): Improved exception handling.
......@@ -1244,7 +1242,7 @@ Tue Sep 21 22:41:47 1999 Niels Möller <nisse@lysator.liu.se>
1999-08-30 Niels Möller <nisse@cuckoo.localdomain>
* Lots of files: Removed the exception argument from the
A_WRITE-method.
A_WRITE-method.
* src/exception.h (PROTOCOL_ERROR): New macro.
......@@ -1309,7 +1307,7 @@ Tue Sep 21 22:41:47 1999 Niels Möller <nisse@lysator.liu.se>
* src/lsh.c (main): Fixed -N flag.
* src/io_commands.c (connect_with_port): Fixed name. Was
connect_with_connection.
connect_with_connection.
* src/Makefile.am.in (liblsh_a_SOURCES): Added digits.c.
......@@ -1340,9 +1338,9 @@ Tue Sep 21 22:41:47 1999 Niels Möller <nisse@lysator.liu.se>
1999-06-28 Niels Möller <nisse@cuckoo.localdomain>
* src/tcpforward.h: Bugfix: Declare channel_open_forwarded_tcpip
extern.
extern.
* src/channel.c (do_global_request_success): New function.
* src/channel.c (do_global_request_success): New function.
(do_global_request_failure): New function.
(do_connection_service): Install handlers for
SSH_MSG_REQUEST_SUCCESS and SSH_MSG_REQUEST_FAILURE.
......@@ -1366,7 +1364,7 @@ Tue Sep 21 22:41:47 1999 Niels Möller <nisse@lysator.liu.se>
io_commands.c, tcpforward.c, tcpforward_commands.c: In collect_*
functions, don't assert that info == NULL. It's info->next that
should be NULL.
* src/channel_commands.h (STATIC_INSTALL_GLOBAL_HANDLER): Bug fix,
use STATIC_COLLECT_2_FINAL.
(STATIC_INSTALL_OPEN_HANDLER): -"-
......@@ -1374,7 +1372,7 @@ Tue Sep 21 22:41:47 1999 Niels Möller <nisse@lysator.liu.se>
* doc/TODO: Updated the section on the control language.
* src/lshd.c (lshd_connection_service): Call connection_service to
initialize the connection, before logging in.