Commit 572a2e44 authored by Pontus Freyhult's avatar Pontus Freyhult
Browse files

Check for and use setrlimit (do ulimit -n unlimited) if available.

Rev: ChangeLog:1.551
Rev: NEWS:1.103
Rev: configure.ac:1.19
Rev: src/lshd.c:1.145
parent d0cb7359
2002-10-02 Pontus Skld <Pontus.Skold@dis.uu.se>
2002-10-03 Pontus Skld <pont@soua.net>
* src/lshd.c: Include <sys/resource.h> if it exists.
(main): setrlimit to raise max number of open files
if available.
* configure.ac: Check for <sys/resource.h> and setrlimit.
2002-10-02 Pontus Skld <Pontus.Skold@dis.uu.se>
* configure.ac: Don't AC_PATH_PROG for bash, m4 and groff if
given. Made them precious.
2002-10-01 Niels Mller <niels@s3.kth.se>
2002-10-01 Niels Mller <niels@s3.kth.se>
* src/testsuite/run-tests (test_program): Use basename (fix copied
from src/nettle/examples/).
2002-09-12 Niels Mller <nisse@cuckoo.hack.org>
2002-09-12 Niels Mller <nisse@cuckoo.hack.org>
* Released lsh-1.5.0.
......@@ -23,24 +31,24 @@
* configure.ac: Deleted the ipv6 test that tried to create an ipv6
socket.
2002-09-03 Pontus Skld <pont@soua.net>
2002-09-03 Pontus Skld <pont@soua.net>
* src/server_x11.c (XAUTH_PROGRAM): Use predefined value if
available and built in default if not.
* configure.ac: Search for xauth.
2002-09-02 Pontus Skld <pont@soua.net>
2002-09-02 Pontus Skld <pont@soua.net>
* src/testsuite/lsh-8-test: New test. Check whatever unencrypted
sessions work.
2002-08-30 Pontus Skld <pont@soua.net>
2002-08-30 Pontus Skld <pont@soua.net>
* src/testsuite/functions.sh: Defaults need to be quoted if they
contain spaces.
2002-08-29 Niels Mller <nisse@cuckoo.hack.org>
2002-08-29 Niels Mller <nisse@cuckoo.hack.org>
* src/testsuite/x11-1-test: Renamed, was lshd-x11-1-test.
......@@ -55,14 +63,14 @@
* src/lsh.c (main_options, main_argp_parser): Handle X11 options
only if WITH_X11_FORWARD is defined.
2002-08-28 Niels Mller <nisse@cuckoo.hack.org>
2002-08-28 Niels Mller <nisse@cuckoo.hack.org>
* doc/lsh.texinfo (Top): Use @ififo around the @top directive, to
get rid of the empty menu item inthe html output.
* configure.ac: Bumped version to 1.5.
2002-08-28 Niels Mller <niels@s3.kth.se>
2002-08-28 Niels Mller <niels@s3.kth.se>
* doc/index.html: New file.
......@@ -85,12 +93,12 @@
* src/server_x11.c (SUN_LEN): #define SUN_LEN if needed.
2002-08-27 Niels Mller <nisse@cuckoo.hack.org>
2002-08-27 Niels Mller <nisse@cuckoo.hack.org>
* src/server_x11.c (new_x11_channel): We don't have any ip-address
of the client, so send <"unix-domain", 0> as the peer address.
2002-08-27 Niels Mller <niels@s3.kth.se>
2002-08-27 Niels Mller <niels@s3.kth.se>
* src/server_pty.c (pty_open_slave): Removed call to setsid(),
moved to...
......@@ -121,12 +129,12 @@
* src/server_x11.c (do_xauth_exit): Fixed format strings for error
messages.
2002-08-27 Niels Mller <nisse@cuckoo.hack.org>
2002-08-27 Niels Mller <nisse@cuckoo.hack.org>
* src/server_x11.c (server_x11_setup): Bugfix, really call
server_x11_listen.
2002-08-26 Niels Mller <nisse@cuckoo.hack.org>
2002-08-26 Niels Mller <nisse@cuckoo.hack.org>
* src/server_x11.c (OPEN_FORWARDED_X11): Added forward
declaration.
......@@ -164,7 +172,7 @@
(fatal): Compile time flag to display pid and hang, instead of
aborting. Useful for debugging.
2002-08-25 Niels Mller <nisse@cuckoo.hack.org>
2002-08-25 Niels Mller <nisse@cuckoo.hack.org>
* src/server_x11.c (new_x11_channel): New function.
(open_forwarded_x11): New command.
......@@ -190,7 +198,7 @@
* src/lsh_proxy.c (lsh_proxy_listen): Replaced listen_callback
with new bind and listen commands.
2002-08-24 Niels Mller <nisse@cuckoo.hack.org>
2002-08-24 Niels Mller <nisse@cuckoo.hack.org>
* src/io_commands.c (do_listen): Deleted function.
(listen_with_callback): Deleted command.
......@@ -217,7 +225,7 @@
(io_bind_local): New function replacing io_listen_local. Updated
callers.
2002-08-11 Niels Mller <nisse@cuckoo.hack.org>
2002-08-11 Niels Mller <nisse@cuckoo.hack.org>
* src/unix_user.c (do_read_file): Use seteuid, not setuid.
......@@ -238,19 +246,19 @@
arguments result and secret. Updated all callers.
2002-07-18 Niels Mller <niels@s3.kth.se>
2002-07-18 Niels Mller <niels@s3.kth.se>
* configure.ac: Use -ggdb3 for gcc, except for gcc-2.96.
* src/argp/configure.ac: Don't use -ggdb3 with gcc-2.96.
2002-07-05 Niels Mller <nisse@cuckoo.hack.org>
2002-07-05 Niels Mller <nisse@cuckoo.hack.org>
* src/lshd.c: Disabled incomplete x11 forwarding for now.
* src/server_session.c: Likewise.
* src/server_x11.c: Likewise.
2002-07-03 Pontus Skld <pont@soua.net>
2002-07-03 Pontus Skld <pont@soua.net>
* src/lshg.c: Include <unistd.h> to get execvp declaration, define
LSH_FILENAME if not defined.
......@@ -270,7 +278,7 @@
* src/io_commands.c (connect_local_command): Check if the
connection was successfull and raise an exception otherwise.
2002-07-02 Niels Mller <nisse@cuckoo.hack.org>
2002-07-02 Niels Mller <nisse@cuckoo.hack.org>
* src/unix_user.c (do_spawn): Allow err[1] and out[1] to be the
same fd.
......@@ -288,7 +296,7 @@
* src/Makefile.am.in (liblsh_a_SOURCES): Added server_x11.c.
2002-06-28 Niels Mller <niels@s3.kth.se>
2002-06-28 Niels Mller <niels@s3.kth.se>
* src/lshd.c (main_options): New options, --tcpip-forward,
--no-tcpip-forward (earlier there was no option for disabling
......@@ -300,7 +308,7 @@
* src/server_session.c (do_x11_req): Fixed error message.
2002-06-27 Niels Mller <niels@s3.kth.se>
2002-06-27 Niels Mller <niels@s3.kth.se>
* src/lsh_proxy.c (main) [WITH_X11_FORWARD]: Fixed type warning.
......@@ -326,18 +334,18 @@
* src/command.c (make_catch_report_apply): Likewise.
2002-06-27 Pontus Skld <pont@soua.net>
2002-06-27 Pontus Skld <pont@soua.net>
* src/testsuite/string-test.c (test_main): Added extra bubble
babble check for a typo Richard Kettlewell discovered.
2002-06-26 Pontus Skld <pont@soua.net>
2002-06-26 Pontus Skld <pont@soua.net>
* src/format.c (lsh_string_bubblebabble): Fixed stupid typo making
w occur in bubble babble fingerprint where it should be z. Also
fixed the size of the cons array.
2002-06-26 Niels Mller <niels@s3.kth.se>
2002-06-26 Niels Mller <niels@s3.kth.se>
* src/unix_user.c (do_lookup_user): Don't treat accounts with a
single "*" in the paswd-field as disabled.
......@@ -373,14 +381,14 @@
* src/lsh.c (read_user_keys): Support aes for encrypted private
keys.
2002-06-26 Niels Mller <nisse@cuckoo.hack.org>
2002-06-26 Niels Mller <nisse@cuckoo.hack.org>
* src/lsh-make-seed.c (get_dev_random): Bugfix: Actually try both
/dev/random and /dev/urandom.
* doc/lsh.texinfo (lshd basics): Changed invokation of lsh-keygen.
2002-06-25 Niels Mller <niels@s3.kth.se>
2002-06-25 Niels Mller <niels@s3.kth.se>
* src/server_x11.c, src/server_x11.h: New files.
(make_xauth_exit_callback): New function.
......@@ -389,19 +397,19 @@
* src/server_session.c (server_session): New attribute x11.
(do_x11_req): New function.
2002-06-23 Pontus Skld <pont@soua.net>
2002-06-23 Pontus Skld <pont@soua.net>
* configure.ac: Cosmetic changes of message shown when libwrap
detection fails.
2002-06-18 Niels Mller <nisse@cuckoo.hack.org>
2002-06-18 Niels Mller <nisse@cuckoo.hack.org>
* src/server_session.c (spawn_process): Call io_set_type, if stdin
is a pty.
(do_eof): Removed the pty ^D hack,a s it's now taken care of by
close_fd_write.
2002-06-17 Niels Mller <nisse@cuckoo.hack.org>
2002-06-17 Niels Mller <nisse@cuckoo.hack.org>
* src/io.c (io_set_type): New function.
(close_fd_nicely): Call close_fd_write, for handling the
......@@ -410,12 +418,12 @@
* src/io.h (lsh_fd): New attribute TYPE.
2002-06-05 Niels Mller <nisse@cuckoo.hack.org>
2002-06-05 Niels Mller <nisse@cuckoo.hack.org>
* configure.ac: Bumped version to 1.4.1. New option
--enable-initgroups-workaround, copied from the 1.2 branch.
2002-06-04 Niels Mller <nisse@cuckoo.hack.org>
2002-06-04 Niels Mller <nisse@cuckoo.hack.org>
* Released lsh-1.4.
......@@ -424,7 +432,7 @@
* src/testsuite/conv-2-test, src/testsuite/conv-3-test: Updated
testcases.
2002-05-30 Pontus Skld <pont@soua.net>
2002-05-30 Pontus Skld <pont@soua.net>
* src/server_session.c (init_spawn_info): Require more entries
available for environment variables. Set SSH_TTY if appropiate as
......@@ -457,14 +465,14 @@
* src/connection.c (make_ssh_connection): dito.
2002-05-24 Pontus Skld <pont@soua.net>
2002-05-24 Pontus Skld <pont@soua.net>
* src/io.c (io_final): Set stdin, stdout and stderr to blocking mode.
* src/io_commands.c (do_tcp_wrapper): Send a copy of self->msg to
A_WRITE instead of the string itself.
2002-05-15 Pontus Skld <pont@soua.net>
2002-05-15 Pontus Skld <pont@soua.net>
* configure.ac: Added things neccessarry for tcp wrappers to work.
......@@ -480,13 +488,13 @@
* src/io_commands.h (make_tcp_wrapper): Definition of new
function.
2002-05-14 Pontus Skld <pont@soua.net>
2002-05-14 Pontus Skld <pont@soua.net>
* src/algorithms.c (list_algorithms): Added missing newline after
the list of algorithms.
(list_hostkey_algorithms): dito.
2002-05-13 Pontus Skld <pont@soua.net>
2002-05-13 Pontus Skld <pont@soua.net>
* src/lsh.c (make_options): Don't fail totally if we can't create
a randomness source.
......@@ -502,14 +510,14 @@
(main_argp_parser): Do argp_failure unless we have a valid
randomness object.
2002-05-06 Niels Mller <nisse@cuckoo.hack.org>
2002-05-06 Niels Mller <nisse@cuckoo.hack.org>
* README: Document requirement of autoconf-2.52 and
automake-1.6.1.
* configure.ac: Require autoconf-2.52.
2002-05-06 Niels Mller <niels@s3.kth.se>
2002-05-06 Niels Mller <niels@s3.kth.se>
* src/argp/configure.ac: Use AH_TEMPLATE for
PROGRAM_INVOCATION_NAME and PROGRAM_INVOCATION_SHORT_NAME. The
......@@ -517,7 +525,7 @@
* configure.ac (CFLAGS): Don't enable -Waggregate-return.
2002-05-06 Niels Mller <nisse@cuckoo.hack.org>
2002-05-06 Niels Mller <nisse@cuckoo.hack.org>
* src/gateway_channel.c (do_gateway_channel_open): Undid previous
change. Let channel.c:check_rec_max_packet adjust the
......@@ -534,7 +542,7 @@
* src/read_data.c (do_read_data_query): Undid previous change. Now
look at only send_window_size and send_max_packet.
2002-05-05 Niels Mller <nisse@lysator.liu.se>
2002-05-05 Niels Mller <nisse@lysator.liu.se>
* src/argp/acconfig.h: Deleted file.
......@@ -546,7 +554,7 @@
* configure.ac: Pass no options to AM_INIT_AUTOMAKE.
2002-05-05 Niels Mller <nisse@cuckoo.hack.org>
2002-05-05 Niels Mller <nisse@cuckoo.hack.org>
* configure.ac: Update for automake-1.6.
* src/argp/configure.ac: Likewise.
......@@ -562,7 +570,7 @@
* doc/lsh.texinfo (Algorithm options): Updated description of the
default cipher. We now use AES, not triple-DES.
2002-05-02 Niels Mller <nisse@cuckoo.hack.org>
2002-05-02 Niels Mller <nisse@cuckoo.hack.org>
* src/gateway_channel.c (do_gateway_channel_open): Limit
rec_max_packet to SSH_MAX_PACKET.
......@@ -578,12 +586,12 @@
send_max_packet - SSH_MAX_PACKET_FUZZ, as to not exceed the
receivers maximum packet size.
2002-04-04 Pontus Skld <pont@soua.net>
2002-04-04 Pontus Skld <pont@soua.net>
* src/lsh.c (do_lsh_lookup): Cosmetic changes of unauthenticated
key fingerprint text.
2002-04-03 Pontus Skld <pont@soua.net>
2002-04-03 Pontus Skld <pont@soua.net>
* src/format.c (lsh_string_bubblebabble_c): New function to define
the che bubble babble checksum series, used by
......@@ -617,7 +625,7 @@
* src/client.c (client_options): Bugfix: OPT_SUBSYSTEM shouldn't
be inside char quotes.
2002-03-27 Niels Mller <nisse@cuckoo.hack.org>
2002-03-27 Niels Mller <nisse@cuckoo.hack.org>
* src/io.c (lsh_oop_stop_callback): Use the OOP_HALT constant.
......@@ -627,17 +635,17 @@
* src/client.c: Removed the short alias, -C, for the --subsystem
option.
2002-03-26 Niels Mller <nisse@cuckoo.hack.org>
2002-03-26 Niels Mller <nisse@cuckoo.hack.org>
* src/lsh-authorize: Don't use &>-redirects, as /bin/sh doesn't
understand that. Noticed by Timshell Knoll.
2002-03-25 Niels Mller <nisse@cuckoo.hack.org>
2002-03-25 Niels Mller <nisse@cuckoo.hack.org>
* src/lsh-execuv.c: Deleted utmp stuff, this is not the right
place for that.
2002-03-26 Pontus Skld <pont@soua.net>
2002-03-26 Pontus Skld <pont@soua.net>
* configure.in: If with_scheme is absolute, don't AC_PATH_PROG for
it but just use it directly.
......@@ -647,11 +655,11 @@
(client_argp_parser): Turn of pty-request if there is a subsystem
request.
2002-03-22 Niels Mller <nisse@cuckoo.hack.org>
2002-03-22 Niels Mller <nisse@cuckoo.hack.org>
* src/sexp-conv.c (main): Add newline at end of --raw-hash output.
2002-03-20 Pontus Skld <pont@r3>
2002-03-20 Pontus Skld <pont@r3>
* src/testsuite/lsh-1-test: Run "exec 0" instead of "exec" in case
the last command in the user's startup files ended with nonzero
......@@ -665,12 +673,12 @@
* src/testsuite/ssh1-fallback-test: Likewise.
2002-03-20 Niels Mller <nisse@cuckoo.hack.org>
2002-03-20 Niels Mller <nisse@cuckoo.hack.org>
* src/testsuite/run-tests (test_program): Added missing single
quote.
2002-03-20 Niels Mller <nisse@lysator.liu.se>
2002-03-20 Niels Mller <nisse@lysator.liu.se>
* src/testsuite/functions.sh (at_connect): Put -- between the
options and the arguments, as that is the correct place according
......@@ -679,12 +687,12 @@
* src/testsuite/lsh-7-test: Rewrote !command-expressions as an if
expression, to work with /bin/sh.
2002-03-20 Niels Mller <nisse@cuckoo.hack.org>
2002-03-20 Niels Mller <nisse@cuckoo.hack.org>
* src/io.c (address_info2sockaddr): Zero-terminate the
default_preferences list.
2002-03-20 Niels Mller <nisse@lysator.liu.se>
2002-03-20 Niels Mller <nisse@lysator.liu.se>
* src/client_session.c (make_client_session_channel): Clear the
CHANNEL_CLOSE_AT_EOF flag.
......@@ -699,40 +707,40 @@
argument list to mini-inetd, appearantly Solaris' getopt
doesn't handle that.
2002-03-19 Niels Mller <nisse@lysator.liu.se>
2002-03-19 Niels Mller <nisse@lysator.liu.se>
* src/io.c (address_info2sockaddr): Prefer AF_INET addresses over
AF_INET6 (as it seems common that localhost has an ipv6 address
that doesn't work). Even better would be to try all addresses, but
that has to wait for later.
2002-03-19 Pontus Skld <pont@docs.uu.se>
2002-03-19 Pontus Skld <pont@docs.uu.se>
* src/sftp/testsuite/*-test: grep -q is XPG4, which not all
greps (notably Solaris /bin/grep) are.
* src/sftp/testsuite/run-tests: Replaced bashims.
2002-03-19 Pontus Skld <pont@it.uu.se>
2002-03-19 Pontus Skld <pont@it.uu.se>
* src/testsuite/seed-test: Fixed bashism.
2002-03-19 Pontus Skld <pont@it.uu.se>
2002-03-19 Pontus Skld <pont@it.uu.se>
* src/testsuite/run-tests: Replaced bashims.
2002-03-19 Pontus Skld <pont@it.uu.se>
2002-03-19 Pontus Skld <pont@it.uu.se>
* src/unix_process.c: Added GETUTXID and UPDWTMPX.
(do_utmp_cleanup): Write cleared entry to wtmp{,x} with
updwtmp{,x} if logwtmp is not available.
(utmp_book_keeping): Likewise.
2002-03-18 Niels Mller <nisse@lysator.liu.se>
2002-03-18 Niels Mller <nisse@lysator.liu.se>
* src/lsh-pam-checkpw.c: Include stdlib.h.
2002-03-18 Niels Mller <nisse@cuckoo.hack.org>
2002-03-18 Niels Mller <nisse@cuckoo.hack.org>
* src/testsuite/conv-3-test: New test program.
......@@ -788,7 +796,7 @@
* src/unix_process.c: Unified utmp/utmpx code.
2002-03-18 Pontus Skld <pont@it.uu.se>
2002-03-18 Pontus Skld <pont@it.uu.se>
* src/unix_process.c: Make certain WTMP_FILE and WTMPX_FILE are
defined.
......@@ -805,17 +813,17 @@
entries.
Bugfix: gettimeofday takes two arguments, pass 0 as second (timezone).
2002-03-18 Pontus Skld <pont@it.uu.se>
2002-03-18 Pontus Skld <pont@it.uu.se>
* configure.in: Check for utmpx symmetrically to utmp. Check for
more members of struct utmp. Check for members of struct utmpx.
2002-03-18 Niels Mller <nisse@cuckoo.hack.org>
2002-03-18 Niels Mller <nisse@cuckoo.hack.org>
* src/lsh-keygen.c (main): Updated to use the rewritten
rsa_generate_key.
2002-03-17 Niels Mller <nisse@cuckoo.hack.org>
2002-03-17 Niels Mller <nisse@cuckoo.hack.org>
* src/rsa_keygen.c (rsa_generate_key): Rewrote to use nettle's RSA
key generation. Deleted the argument E.
......@@ -853,7 +861,7 @@
system, and shouldn't break anything). Make a working copy to
modify. Do some logging.
2002-03-16 Niels Mller <nisse@cuckoo.hack.org>
2002-03-16 Niels Mller <nisse@cuckoo.hack.org>
* src/unix_user.c (exec_shell): Bugfix, fixed test for login-mode.
......@@ -908,7 +916,7 @@
* src/unix_process.c: Added some trace calls.
2002-03-15 Niels Mller <nisse@cuckoo.hack.org>
2002-03-15 Niels Mller <nisse@cuckoo.hack.org>
* src/userauth.h (struct spawn_info): Struct with information for
the new USER_SPAWN method.
......@@ -931,7 +939,7 @@
* configure.in: Check for more utmp related functions.
2002-03-14 Niels Mller <nisse@cuckoo.hack.org>
2002-03-14 Niels Mller <nisse@cuckoo.hack.org>
* src/unix_process.c: New file, to replace the process stuff in
unix_user.c
......@@ -940,7 +948,7 @@
* configure.in: Added check for libpam if PAM is enabled.
2002-03-14 Niels Mller <nisse@cuckoo.hack.org>
2002-03-14 Niels Mller <nisse@cuckoo.hack.org>
* src/resource.h (REMEMBER_RESOURCE): Deleted method, use an
ordinary fucntion remember_resource instead. Updated all callers.
......@@ -1001,7 +1009,7 @@
* src/Makefile.am.in (EXTRA_PROGRAMS): Added lsh-pam-checkpw.
2002-03-13 Niels Mller <nisse@cuckoo.hack.org>
2002-03-13 Niels Mller <nisse@cuckoo.hack.org>
* src/keyexchange.c (send_kexinit): Renamed from
initiate_keyexchange. Updated callers. Disable the key re-exchange
......@@ -1067,7 +1075,7 @@
(connection_send_kex_start): New function.
(connection_send_kex_end): New function.
2002-03-11 Niels Mller <nisse@cuckoo.hack.org>
2002-03-11 Niels Mller <nisse@cuckoo.hack.org>
* src/testsuite/testutils.h: Include werror.h.
......@@ -1076,7 +1084,7 @@
* src/parse_config.c: Work in progress. Added linenumber handling
and comments.
2002-03-05 Niels Mller <nisse@cuckoo.hack.org>
2002-03-05 Niels Mller <nisse@cuckoo.hack.org>
Cleaned up the bug compatibility tests.
* src/handshake.c (compat_peer_flags): New function.
......@@ -1103,12 +1111,12 @@
deleted m4 files.
* src/testsuite/Makefile.am: Deleted m4 files and rules.
2002-03-04 Niels Mller <nisse@cuckoo.hack.org>
2002-03-04 Niels Mller <nisse@cuckoo.hack.org>
* src/parse_config.c, src/parse_config.h: New files. A lexer and a
recursive-descent parser for config files.
2002-02-27 Niels Mller <nisse@cuckoo.hack.org>
2002-02-27 Niels Mller <nisse@cuckoo.hack.org>
* src/config_parse.y: New file, for parsing config files.
......@@ -1129,7 +1137,7 @@
* src/channel.c (init_connection_service): Cancel the connection's
timeout timer.
2002-02-22 Niels Mller <nisse@cuckoo.hack.org>
2002-02-22 Niels Mller <nisse@cuckoo.hack.org>
* src/client.c (init_client_options): Initialize port to NULL, in
order to get the fallback from "ssh" -> 22 to work. FIXED in 1.2
......@@ -1137,7 +1145,7 @@
(client_argp_parser): Fixed port error message not to try printing
NULL. FIXED in 1.2 branch.
2002-02-21 Niels Mller <nisse@cuckoo.hack.org>
2002-02-21 Niels Mller <nisse@cuckoo.hack.org>
* src/server_session.c (make_pty): Simple bugfix, pty->master was
lost too early.
......@@ -1148,7 +1156,7 @@
EINVAL.
(do_alloc_pty): Bugfix, record the new pty properly.
2002-02-19 Niels Mller <nisse@cuckoo.hack.org>
2002-02-19 Niels Mller <nisse@cuckoo.hack.org>
* src/server_session.c (spawn_process): Let the child process open
the slave side of the pty.
......@@ -1176,7 +1184,7 @@
* src/crypto.c (make_aes_cbc_instance): Use aes_set_encrypt_key
and aes_set_decrypt_key. aes_set_key is obsolete.
2002-02-07 Niels Mller <nisse@cuckoo.hack.org>
2002-02-07 Niels Mller <nisse@cuckoo.hack.org>
* src/sftp/.bootstrap: Added -a flag to automake invocation.
......@@ -1233,9 +1241,9 @@
(sftp_read_packet): Call clearerr after checking for error and
eof.
2002-02-06 Niels Mller <nisse@cuckoo.hack.org>
2002-02-06 Niels Mller <nisse@cuckoo.hack.org>
Checked in Pontus Skld's lsftp client.
Checked in Pontus Skld's lsftp client.
* src/sftp/Makefile.am (lsftp_SOURCES): New make variable.
* src/sftp/commands.c: New file.
* src/sftp/commands.h: New file.
......@@ -1254,13 +1262,13 @@
* src/sftp/str_utils.c: New file.
* src/sftp/str_utils.h: New file.
2002-02-01 Niels Mller <nisse@cuckoo.hack.org>
2002-02-01 Niels Mller <nisse@cuckoo.hack.org>
* src/sftp/sftp-test-client.c: Deleted old code.
(sftp_client_get_status): New function, for parsing -02 draft
status messages. Use it everywhere.
Applied Pontus Skld's patch to comply with the -02 draft.
Applied Pontus Skld's patch to comply with the -02 draft.
* src/sftp/sftp-server.c (sftp_send_status): Added human-readable
message and language tag.
(sftp_process_mkdir): Get file attributes from the message, and
......@@ -1273,7 +1281,7 @@
* src/sftp/sftp.h (SSH_FXP_READLINK, SSH_FXP_SYMLINK): New message
types.
2002-01-31 Niels Mller <nisse@cuckoo.hack.org>
2002-01-31 Niels Mller <nisse@cuckoo.hack.org>
* src/lsh-pam-checkpw.c: Cosmetic changes.
......@@ -1283,11 +1291,11 @@
--disable-pam, check for security/pam_appl.h, substitution of
PAM_PROGRAM.
2002-01-31 Niels Mller <nisse@lysator.liu.se>
2002-01-31 Niels Mller <nisse@lysator.liu.se>
* src/lsh-writekey.c (open_public_file): Fixed error message.
2002-01-24 Niels Mller <nisse@cuckoo.hack.org>
2002-01-24 Niels Mller <nisse@cuckoo.hack.org>
* src/sexp.c (sexp_format): Add a newline at the end of
expressions in transport syntax.
......@@ -1306,7 +1314,7 @@
* src/gc.c (gc): Print a verbose message at the start of gc.
2002-01-22 Niels Mller <nisse@cuckoo.hack.org>
2002-01-22 Niels Mller <nisse@cuckoo.hack.org>
* src/unix_interact.c (do_make_raw): Added FIXME: about tty TIME
and VMIN settings.
......@@ -1314,7 +1322,7 @@
* src/scm/gaba.scm (make-class): Added FIXME:-comment about
offsetof.
2002-01-21 Niels Mller <nisse@cuckoo.hack.org>
2002-01-21 Niels Mller <nisse@cuckoo.hack.org>
* src/xalloc.h (NEW_VAR_OBJECT, CLONE_VAR_OBJECT,
CLONED_VAR_OBJECT): New macros.
......@@ -1327,7 +1335,7 @@
* src/list.c (lsh_list_alloc): Moved function here, from xalloc.c.
Now uses lsh_var_alloc.
2002-01-20 Niels Mller <nisse@cuckoo.hack.org>
2002-01-20 Niels Mller <nisse@cuckoo.hack.org>
* src/crypto.c (hash_update, hash_digest, hash_copy, make_hash):
New functions using struct nettle_hash.
......@@ -1345,12 +1353,12 @@
* src/Makefile.am.in (liblsh_a_SOURCES): Removed md5.c and sha.c.
2002-01-17 Niels Mller <nisse@cuckoo.hack.org>
2002-01-17 Niels Mller <nisse@cuckoo.hack.org>
* src/md5.c, src/sha.c: Deleted files. The wrapper code was moved
to crypto.c, and now uses struct nettle_hash.
2002-01-16 Niels Mller <nisse@cuckoo.hack.org>