Commit 9ab4637e authored by Niels Möller's avatar Niels Möller
Browse files

*** empty log message ***

Rev: doc/TODO:1.85
Rev: src/abstract_crypto.h:1.29
Rev: src/alist.h:1.13
Rev: src/arcfour.c:1.5
Rev: src/blowfish.c:1.6
Rev: src/cast.c:1.3
Rev: src/channel.c:1.83
Rev: src/channel.h:1.58
Rev: src/client.c:1.96
Rev: src/client.h:1.31
Rev: src/client_keyexchange.c:1.49
Rev: src/connection_commands.h:1.12
Rev: src/des.c:1.9
Rev: src/encrypt.c:1.23
parent a06f8718
......@@ -110,9 +110,6 @@ tries to rebuild desdata.o.
Have autoconf automatically add -I $prefix/include and -L $prefix/lib ?
Change configure.in and acinclude.m4 to use LDFLAGS for all -L and -R
options, not LIBS.
Remaking Makefile.am from subdirectories probably cd:s to the wrong
place, when building outside of the source tree.
......@@ -225,11 +222,14 @@ pointer in some other places as well.
Exceptions from listen are handled badly in several places.
Write a conversion program to read and write openssh/ssh2 style public
keys.
Should lsh fail if some port forwardings fails? In particular,
$ lsh -R... -N
is pretty useless if the server doesn't let us bind the remote port.
There's a bug in client_userauth.c, related to
client_userauth_state->current. It is incremented at two places, in
do_userauth_failure and do_client_exc_userauth, but a single
SSH_MSG_USERAUTH_FAILURE message should result in incrementing it at
at most one of those places.
......@@ -42,7 +42,7 @@
(class
(name crypto_instance)
(vars
(block_size simple UINT32)
(block_size . UINT32)
; Length must be a multiple of the block size.
; NOTE: src == dst is allowed, but no other overlaps.
(crypt method void
......@@ -59,9 +59,9 @@
(class
(name crypto_algorithm)
(vars
(block_size simple UINT32)
(key_size simple UINT32)
(iv_size simple UINT32)
(block_size . UINT32)
(key_size . UINT32)
(iv_size . UINT32)
(make_crypt method (object crypto_instance)
"int mode" "const UINT8 *key" "const UINT8 *iv")))
*/
......@@ -81,7 +81,7 @@
(class
(name hash_instance)
(vars
(hash_size simple UINT32)
(hash_size . UINT32)
(update method void
"UINT32 length" "const UINT8 *data")
(digest method void "UINT8 *result")
......@@ -103,8 +103,8 @@
(class
(name hash_algorithm)
(vars
(block_size simple UINT32)
(hash_size simple UINT32)
(block_size . UINT32)
(hash_size . UINT32)
(make_hash method (object hash_instance))))
*/
......@@ -114,9 +114,9 @@
(class
(name mac_algorithm)
(vars
(hash_size simple UINT32)
(hash_size . UINT32)
; Recommended key size
(key_size simple UINT32)
(key_size . UINT32)
(make_mac method (object mac_instance)
"UINT32 length" "const UINT8 *key")))
*/
......
......@@ -56,7 +56,7 @@ struct alist;
(name alist)
(meta alist)
(vars
(size simple unsigned))
(size . unsigned))
; Only subclasses has methods
(methods NULL NULL))
*/
......
......@@ -35,7 +35,7 @@
(name arcfour_instance)
(super crypto_instance)
(vars
(ctx simple "struct arcfour_ctx")))
(ctx . "struct arcfour_ctx")))
*/
static void do_crypt_arcfour(struct crypto_instance *s,
......
......@@ -38,7 +38,7 @@
(name blowfish_instance)
(super crypto_instance)
(vars
(ctx simple "BLOWFISH_context")))
(ctx . "BLOWFISH_context")))
*/
static void do_blowfish_encrypt(struct crypto_instance *s,
......
......@@ -41,7 +41,7 @@ struct crypto_algorithm *make_cast_algorithm(UINT32 key_size);
(name cast_instance)
(super crypto_instance)
(vars
(ctx simple "struct cast_key")))
(ctx . "struct cast_key")))
*/
......
......@@ -1857,7 +1857,7 @@ channel_transmit_extended(struct ssh_channel *channel,
(name channel_write_extended)
(super channel_write)
(vars
(type simple UINT32)))
(type . UINT32)))
*/
static void
......
......@@ -85,11 +85,11 @@
; payload, i.e. the DATA string in SSH_CHANNEL_DATA and
; SSH_MSG_CHANNEL_EXTENDED_DATA.
(rec_window_size simple UINT32)
(rec_max_packet simple UINT32)
(rec_window_size . UINT32)
(rec_max_packet . UINT32)
(send_window_size simple UINT32)
(send_max_packet simple UINT32)
(send_window_size . UINT32)
(send_max_packet . UINT32)
; FIXME: Perhaps this should be moved to the channel_table, and
; a pointer to that table be stored here instead?
......@@ -99,13 +99,13 @@
(request_types object alist)
(flags simple int)
(flags . int)
; Number of files connected to this channel. For instance,
; stdout and stderr can be multiplexed on the same channel. We
; should not close the channel until we have got an EOF on both
; sources.
(sources simple int)
(sources . int)
; Type is CHANNEL_DATA or CHANNEL_STDERR_DATA
(receive method void "int type" "struct lsh_string *data")
......@@ -181,11 +181,11 @@
; numbers are in use.
(in_use space UINT8)
(allocated_channels simple UINT32)
(next_channel simple UINT32)
(allocated_channels . UINT32)
(next_channel . UINT32)
(used_channels simple UINT32)
(max_channels simple UINT32) ; Max number of channels allowed
(used_channels . UINT32)
(max_channels . UINT32) ; Max number of channels allowed
; Forwarded TCP ports
(local_ports struct object_queue)
......@@ -200,7 +200,7 @@
; If non-zero, close connection after all active channels have
; died, and don't allow any new channels to be opened.
(pending_close simple int)))
(pending_close . int)))
*/
/* SSH_MSG_GLOBAL_REQUEST */
......
......@@ -60,7 +60,7 @@
(name accept_service_handler)
(super packet_handler)
(vars
(service simple UINT32)
(service . int)
(c object command_continuation)
;; Do we really need the exception handler here?
(e object exception_handler)))
......@@ -75,7 +75,7 @@ do_accept_service(struct packet_handler *c,
struct simple_buffer buffer;
unsigned msg_number;
UINT32 name;
int name;
simple_buffer_init(&buffer, packet->length, packet->data);
......@@ -170,7 +170,7 @@ make_request_service(int service)
(super ssh_channel)
(vars
; Exec or shell request.
;(final_request simple int)
;(final_request . int)
;(args string)
; List of requests
......@@ -182,7 +182,7 @@ make_request_service(int service)
(err object lsh_fd)
; Where to save the exit code.
(exit_status simple "int *")))
(exit_status . "int *")))
*/
/* Callback used when the server sends us eof */
......@@ -209,7 +209,7 @@ do_client_session_close(struct ssh_channel *c)
(name exit_handler)
(super channel_request)
(vars
(exit_status simple "int *")))
(exit_status . "int *")))
*/
static void
......
......@@ -55,7 +55,7 @@ make_accept_service_handler(UINT32 service,
(name request_service)
(super command)
(vars
(service simple int)))
(service . int)))
*/
void
......
......@@ -53,7 +53,7 @@
(super packet_handler)
(vars
(dh struct dh_instance)
(hostkey_algorithm . UINT32)
(hostkey_algorithm . int)
(verifier object lookup_verifier)
(algorithms object object_list)))
*/
......
......@@ -42,9 +42,9 @@
; CONNECTION_SERVER or CONNECTION_CLIENT
(flags . UINT32)
(block_size simple UINT32)
(id_comment simple "const char *")
(debug_comment simple "const char *")
(block_size . UINT32)
(id_comment . "const char *")
(debug_comment . "const char *")
(random object randomness)
(algorithms object alist)
......
......@@ -37,7 +37,7 @@
(name des_instance)
(super crypto_instance)
(vars
(ctx array (simple UINT32) DES_EXPANDED_KEYLEN)))
(ctx array UINT32 DES_EXPANDED_KEYLEN)))
*/
static void do_des_encrypt(struct crypto_instance *s,
......
......@@ -37,7 +37,7 @@
(name packet_encrypt)
(super abstract_write_pipe)
(vars
(sequence_number simple UINT32)
(sequence_number . UINT32)
(connection object ssh_connection)))
*/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment