Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

  1. 20 Sep, 2020 5 commits
    • Rob Swindell's avatar
    • Rob Swindell's avatar
      Re-enable the short inactivity timeout for non-terminal connections (bots) · b05b2cc1
      Rob Swindell authored
      As of Oct-25-2018, the NO_EXASCII flag was set in the autoterm variable
      when there was no ANSI terminal auto-detected. This defeated the short
      inactivity timeout feature of login.js because it was checking specifically
      for a zero-value autoterm.
      
      So change this logic to check for no ANSI, PETSCII, or UTF-8 (the 3 indicators
      of a valid terminal) - though I suppose PETSCII is questionable (it's not
      actually auto-detected, just a non-standard port usually).
      b05b2cc1
    • Rob Swindell's avatar
      Don't send telnet commands to spy sockets · 9bf4b7bb
      Rob Swindell authored
      send_telnet_cmd() now sends telnet commands/replies directly to the client
      socket. This avoid the entire output_thread() teeing of sent data to spy
      sockets/buffers (which may not be Telnet at all).
      
      There are some concerns with this change:
      - if client_socket isn't writable, will sendsocket() block?
      - if output_thread is sending on the same socket, are our 2/3-byte telnet
        commands going to have other output data interleaved within? (seems very
        unlikely)
      9bf4b7bb
    • Rob Swindell's avatar
      Improve the ANSI sequence parsing/stripping/pass-through in spy() · 5c711045
      Rob Swindell authored
      Strip all *but* the expected keyboard input sequences (arrow keys, pgup/dn,
      home, end, insert). Pass-through a bare ESC key (albeit with delay). ESC
      immediately followed by a key other than '[' should be very quickly passed
      through.
      Increase the max ANSI sequence length from 31 to 256 chars.
      5c711045
    • Rob Swindell's avatar
      Use the passthru socket connection for node-spy · 33a47954
      Rob Swindell authored
      This enables node-spying via SSH or spying on a node that is using SSH.
      Thanks Altere for the bug report.
      33a47954
  2. 19 Sep, 2020 9 commits
  3. 18 Sep, 2020 8 commits
  4. 17 Sep, 2020 10 commits
  5. 16 Sep, 2020 5 commits
  6. 15 Sep, 2020 3 commits