1. 20 Aug, 2008 5 commits
    • Niels Möller's avatar
      Comment fix. · d149aa11
      Niels Möller authored
      Rev: configure.ac:1.84
      d149aa11
    • Niels Möller's avatar
      Deleted FIXME comment. · cef4123e
      Niels Möller authored
      Rev: src/io.c:1.228
      cef4123e
    • Niels Möller's avatar
      (class lshd_port): Inherit io_listen_port. · 5fedf166
      Niels Möller authored
      (kill_port): Deleted function, it was identical with
      kill_io_fd_resource.
      (lshd_port_accept): Converted from an oop callback to an accept
      method for the io_listen_port class. Use SERVER_VERSION_LINE.
      (make_lshd_port): Changed return type to struct resource *. Take a
      sockaddr as argument, rather than an fd. Create and initialize the
      socket. Use io_listen.
      (open_ports): Creation of socket moved to make_lshd_port.
      (main): Simplified logic slightly for the daemon mode.
      
      Rev: src/lshd.c:1.180
      5fedf166
    • Niels Möller's avatar
      (SERVER_PROTOCOL_VERSION): Deleted constant. · 9bfe742d
      Niels Möller authored
      (CLIENT_PROTOCOL_VERSION): Likewise.
      (SERVER_VERSION_LINE): New constant.
      (CLIENT_VERSION_LINE): Likewise.
      Updated all users.
      
      Rev: src/lsh-transport.c:1.15
      Rev: src/lsh.c:1.220
      Rev: src/lshd-connection.c:1.11
      Rev: src/lshd-userauth.c:1.13
      Rev: src/version.h:1.14
      9bfe742d
    • Niels Möller's avatar
      Added FIXME comment. · 58159634
      Niels Möller authored
      Rev: src/io.c:1.227
      58159634
  2. 19 Aug, 2008 8 commits
    • Niels Möller's avatar
      * src/io.c (kill_io_fd_resource): New function, replacing · 509c8a5f
      Niels Möller authored
      kill_io_connect_state and kill_io_listen_port.
      (init_io_connect_state): Updated for new super class
      io_fd_resource.
      (oop_io_connect): Likewise.
      (io_connect): Likewise.
      (init_io_listen_port): Likewise.
      (oop_io_accept): Likewise.
      (io_listen): Likewise.
      * src/client_tcpforward.c (do_forward_local_port): Likewise.
      * src/client_x11.c (x11_connect): Likewise.
      * src/gateway.c (do_gateway_port_accept): Likewise.
      (make_gateway_port): Likewise.
      * src/server_session.c (do_kill_server_session): Likewise.
      * src/server_tcpforward.c (make_server_forward): Likewise.
      * src/server_x11.c (do_kill_x11_listen_port): Likewise.
      (do_x11_listen_port_accept): Likewise.
      (make_x11_listen_port): Likewise.
      (server_x11_setup): Likewise.
      * src/socks.c (do_make_socks_server): Likewise.
      * src/tcpforward.c (tcpforward_connect): Likewise.
      
      Rev: src/server_tcpforward.c:1.9
      Rev: src/server_x11.c:1.26
      Rev: src/socks.c:1.10
      Rev: src/tcpforward.c:1.75
      509c8a5f
    • Niels Möller's avatar
      * src/io.c (kill_io_fd_resource): New function, replacing · 0ebe1df5
      Niels Möller authored
      kill_io_connect_state and kill_io_listen_port.
      (init_io_connect_state): Updated for new super class
      io_fd_resource.
      (oop_io_connect): Likewise.
      (io_connect): Likewise.
      (init_io_listen_port): Likewise.
      (oop_io_accept): Likewise.
      (io_listen): Likewise.
      * src/client_tcpforward.c (do_forward_local_port): Likewise.
      * src/client_x11.c (x11_connect): Likewise.
      * src/gateway.c (do_gateway_port_accept): Likewise.
      (make_gateway_port): Likewise.
      * src/server_session.c (do_kill_server_session): Likewise.
      
      Rev: src/server_session.c:1.115
      0ebe1df5
    • Niels Möller's avatar
      * src/io.c (kill_io_fd_resource): New function, replacing · 6c8aa866
      Niels Möller authored
      kill_io_connect_state and kill_io_listen_port.
      (init_io_connect_state): Updated for new super class
      io_fd_resource.
      (oop_io_connect): Likewise.
      (io_connect): Likewise.
      (init_io_listen_port): Likewise.
      (oop_io_accept): Likewise.
      (io_listen): Likewise.
      * src/client_tcpforward.c (do_forward_local_port): Likewise.
      * src/client_x11.c (x11_connect): Likewise.
      * src/gateway.c (do_gateway_port_accept): Likewise.
      (make_gateway_port): Likewise.
      
      Rev: src/gateway.c:1.24
      6c8aa866
    • Niels Möller's avatar
      * src/io.c (kill_io_fd_resource): New function, replacing · ed6c071a
      Niels Möller authored
      kill_io_connect_state and kill_io_listen_port.
      (init_io_connect_state): Updated for new super class
      io_fd_resource.
      (oop_io_connect): Likewise.
      (io_connect): Likewise.
      (init_io_listen_port): Likewise.
      (oop_io_accept): Likewise.
      (io_listen): Likewise.
      * src/client_tcpforward.c (do_forward_local_port): Likewise.
      * src/client_x11.c (x11_connect): Likewise.
      
      Comment updates.
      
      Rev: src/client_x11.c:1.38
      ed6c071a
    • Niels Möller's avatar
      * src/io.c (kill_io_fd_resource): New function, replacing · 9835fbc4
      Niels Möller authored
      kill_io_connect_state and kill_io_listen_port.
      (init_io_connect_state): Updated for new super class
      io_fd_resource.
      (oop_io_connect): Likewise.
      (io_connect): Likewise.
      (init_io_listen_port): Likewise.
      (oop_io_accept): Likewise.
      (io_listen): Likewise.
      * src/client_tcpforward.c (do_forward_local_port): Likewise.
      
      Rev: src/client_tcpforward.c:1.10
      9835fbc4
    • Niels Möller's avatar
      (kill_io_fd_resource): New function, replacing · cce07bb8
      Niels Möller authored
      kill_io_connect_state and kill_io_listen_port.
      (init_io_connect_state): Updated for new super class
      io_fd_resource.
      (oop_io_connect): Likewise.
      (io_connect): Likewise.
      (init_io_listen_port): Likewise.
      (oop_io_accept): Likewise.
      (io_listen): Likewise.
      
      Rev: src/io.c:1.226
      cce07bb8
    • Niels Möller's avatar
      (class io_fd_resource): New class. · 0e0d0e4e
      Niels Möller authored
      (class io_connect_state): Inherit io_fd_resource.
      (class io_listen_port): Likewise.
      
      Rev: src/io.h:1.118
      0e0d0e4e
    • Niels Möller's avatar
      Comment update. · 441fbd9b
      Niels Möller authored
      Rev: src/crypto.c:1.40
      Rev: src/daemon.c:1.20
      Rev: src/dsa.c:1.45
      Rev: src/gateway_channel.c:1.32
      Rev: src/gateway_tcpforward.c:1.3
      Rev: src/gc.c:1.37
      Rev: src/spki.c:1.65
      Rev: src/unix_random.c:1.21
      441fbd9b
  3. 11 Aug, 2008 2 commits
  4. 04 Aug, 2008 22 commits
  5. 03 Aug, 2008 3 commits
    • Niels Möller's avatar
      * src/unix_random_user.c: New file. · 82459ed0
      Niels Möller authored
      (random_init_user): New function. Replaces make_user_random. Tries
      to create the seed file if it is missing.
      
      * src/unix_random.c: Use globals for the generator state.
      (unix_random): Deleted class.
      (read_initial_seed_file): Simplified. Permission check moved to
      random_init. Seeking is done by read_seed_file.
      (update_seed_file): Deleted argument. Use seed_file.h interface.
      (trivia_source): Renamed from do_trivia_source. Use globals.
      (device_source): Renamed from do_device_source. Use globals.
      (random_generate): Replaces method do_unix_random.
      (random_add): Replaces method do_unix_random_add.
      (random_init): Use seed_file.h interface. Initialize all globals,
      including the sources'.
      (make_user_random): Deleted, replaced by random_init_user in
      unix_random_user.c.
      (random_init_system): Replaces make_system_random.
      (lsh_random): Moved definition here, from randomness.c.
      
      Rev: src/unix_random.c:1.20
      Rev: src/unix_random_user.c:1.1
      82459ed0
    • Niels Möller's avatar
      (tcpforward_remove): Use CAST_SUBTYPE. · 3a3d0b5d
      Niels Möller authored
      Rev: src/tcpforward.c:1.74
      3a3d0b5d
    • Niels Möller's avatar
      *** empty log message *** · 9f4bb6d2
      Niels Möller authored
      Rev: src/tcpforward.h:1.25
      9f4bb6d2