1. 20 Aug, 2008 1 commit
  2. 03 Aug, 2008 1 commit
    • Niels Möller's avatar
      * src/transport.c (oop_write_ssh): Updated call to · 769b4cb0
      Niels Möller authored
      transport_write_flush.
      (transport_send_packet): Updated calls to transport_write_packet
      and transport_write_flush.
      (transport_send_kexinit): Updated to new make_kexinit interface.
      
      * src/transport_write.c (make_ignore_packet): Deleted randomness
      argument.
      (transport_write_packet): Likewise.
      (transport_write_flush): Likewise.
      
      * src/transport_read.c (decode_packet): Use random_add, to mix the
      received random padding into the pool.
      
      * src/transport.h (class transport_context): Deleted randomness
      attribute.
      
      Rev: src/transport.c:1.12
      Rev: src/transport.h:1.10
      Rev: src/transport_read.c:1.8
      Rev: src/transport_write.c:1.3
      769b4cb0
  3. 11 Feb, 2008 1 commit
  4. 27 Jan, 2007 2 commits
  5. 11 Jan, 2007 1 commit
  6. 14 Feb, 2006 1 commit
    • Niels Möller's avatar
      (format_newkeys): Moved function here, and made · bee5a2d9
      Niels Möller authored
      static. Used to be in format.c.
      (transport_close): Clarified comment on disconnect handling.
      The event handler no longer returns and value for
      TRANSPORT_EVENT_CLOSE. Simplified logic deciding if the connection
      should be closed immediately, or if we should allow some time for
      the buffer to drain.
      
      Rev: src/transport.c:1.6.2.18
      bee5a2d9
  7. 13 Feb, 2006 1 commit
  8. 20 Sep, 2005 1 commit
  9. 19 Sep, 2005 1 commit
    • Niels Möller's avatar
      Use global_oop_source. · f4f36ca0
      Niels Möller authored
      (init_transport_connection): Call io_register_fd.
      (transport_connection_kill, transport_close): Call io_close_fd.
      
      Rev: src/transport.c:1.6.2.15
      f4f36ca0
  10. 17 Sep, 2005 1 commit
  11. 14 Sep, 2005 1 commit
  12. 16 Aug, 2005 1 commit
    • Niels Möller's avatar
      * src/transport.h (class transport_connection): New attribute · 05a4aae2
      Niels Möller authored
      write_margin.
      
      * src/transport.c (init_transport_connection): Initialize write_margin.
      (transport_connection_kill): Renamed function. Was transport_kill.
      (transport_write_almost_full): New function.
      (transport_start_write): Use transport_write_almost_full.
      (transport_stop_write): Likewise.
      (transport_send_packet): Slight simplification, using local
      variable writer.
      (transport_send_kexinit): Generating
      TRANSPORT_EVENT_STOP_APPLICATION, not
      TRANSPORT_EVENT_START_APPLICATION.
      
      Rev: src/transport.c:1.6.2.12
      Rev: src/transport.h:1.7.2.10
      05a4aae2
  13. 27 Apr, 2005 1 commit
  14. 26 Apr, 2005 2 commits
  15. 24 Apr, 2005 1 commit
  16. 23 Apr, 2005 1 commit
    • Niels Möller's avatar
      * src/transport.h (class transport_write_state): Moved declaration · edc41203
      Niels Möller authored
      here.
      (transport_connection): New attribute read_active.
      
      * src/transport.c (transport_start_read, transport_stop_read): New
      functions.
      (oop_write_ssh): Updated to new ssh_write_state interface.
      (transport_handshake): Likewise.
      
      Rev: src/transport.c:1.6.2.7
      Rev: src/transport.h:1.7.2.6
      edc41203
  17. 20 Apr, 2005 2 commits
    • Niels Möller's avatar
      (transport_kill): New function. · bc455fb1
      Niels Möller authored
      (transport_close): Reorganized close handling. Book-keeping for buffers
      to drain should be more sane now.
      (oop_read_ssh): Pass on messages in the 0-19 range to the
      application, including SERVICE_REQUEST and SERVICE_ACCEPT.
      (transport_write_pending): New close logic.
      
      Rev: src/transport.c:1.6.2.6
      bc455fb1
    • Niels Möller's avatar
      (packet_types): Table of packet type names. · 8ba55501
      Niels Möller authored
      (transport_kexinit_handler): The KEYEXCHANGE_INIT method takes a
      randomness generator as the second argument. Disconnect if the
      method returns NULL.
      (oop_read_ssh): More debug messages. Call reset_kexinit_state when
      handling NEWKEYS.
      (transport_keyexchange_finish): Set kex state to
      KEX_STATE_NEWKEYS.
      
      Rev: src/transport.c:1.6.2.5
      8ba55501
  18. 19 Apr, 2005 1 commit
    • Niels Möller's avatar
      (class transport_timeout): New class. · 8945480a
      Niels Möller authored
      (transport_timeout, transport_timeout_close): New functions.
      (transport_close): New function.
      (transport_kexinit_handler): New function.
      (transport_timeout_reexchange, transport_timeout_keyexchange): New
      functions.
      (oop_read_ssh): Bug fixes.
      (transport_write_pending): Generate events, depending on
      kex.write_state.
      (transport_send_kexinit): Implemented timeouts, tracking of the
      write state, and partial support for sending a speculative first
      keyexchange packet.
      (transport_keyexchange_finish): New function.
      (transport_handshake): New function.
      
      Rev: src/transport.c:1.6.2.4
      Rev: src/transport.h:1.7.2.4
      8945480a
  19. 18 Apr, 2005 2 commits
  20. 17 Apr, 2005 1 commit
  21. 03 Sep, 1998 2 commits
    • Niels Möller's avatar
      Removed transport.c and transport.h. · 4e52ead0
      Niels Möller authored
      Rev: src/format.h:1.7
      Rev: src/parse.c:1.6
      Rev: src/transport.c:1.6(DEAD)
      Rev: src/transport.h:1.7(DEAD)
      Rev: src/void.h:1.3
      4e52ead0
    • Niels Möller's avatar
      Cleanup and trivial bugfixes. · 834fdc43
      Niels Möller authored
      Rev: src/abstract_io.h:1.7
      Rev: src/client.c:1.7
      Rev: src/client.h:1.5
      Rev: src/connection.h:1.3
      Rev: src/io.h:1.7
      Rev: src/lsh.c:1.6
      Rev: src/pad.c:1.9
      Rev: src/pad.h:1.7
      Rev: src/parse.h:1.5
      Rev: src/read_line.h:1.5
      Rev: src/transport.c:1.5
      834fdc43
  22. 02 Sep, 1998 1 commit
  23. 30 Aug, 1998 1 commit
    • Niels Möller's avatar
      Random hacking · b04eb460
      Niels Möller authored
      Rev: src/blocking_write.c:1.2
      Rev: src/debug.c:1.4
      Rev: src/debug.h:1.3
      Rev: src/decrypt.c:1.4
      Rev: src/decrypt.h:1.3
      Rev: src/encrypt.c:1.4
      Rev: src/encrypt.h:1.3
      Rev: src/format.h:1.3
      Rev: src/lsh_types.h:1.2
      Rev: src/packet_dispatch.c:1.3
      Rev: src/pad.c:1.5
      Rev: src/pad.h:1.4
      Rev: src/transport.c:1.3
      Rev: src/transport.h:1.5
      Rev: src/unpad.c:1.3
      Rev: src/unpad.h:1.4
      Rev: src/void.c:1.3
      Rev: src/zlib.c:1.3
      Rev: src/zlib.h:1.2
      b04eb460
  24. 29 Aug, 1998 1 commit
    • Niels Möller's avatar
      Fixed compilation problems. · 0cc7ad81
      Niels Möller authored
      Rev: src/bignum.c:1.3
      Rev: src/bignum.h:1.3
      Rev: src/pad.c:1.4
      Rev: src/pad.h:1.3
      Rev: src/parse.c:1.4
      Rev: src/parse.h:1.4
      Rev: src/transport.c:1.2
      Rev: src/unpad.c:1.2
      Rev: src/unpad.h:1.3
      Rev: src/void.c:1.2
      0cc7ad81
  25. 26 Aug, 1998 1 commit