Skip to content
Snippets Groups Projects
  1. Apr 15, 2020
  2. Apr 14, 2020
  3. Apr 13, 2020
  4. Apr 12, 2020
  5. Apr 11, 2020
  6. Apr 10, 2020
  7. Apr 09, 2020
    • rswindell's avatar
      Added new option -split, which will split a packet into a *.good and a *.bad · 999563c7
      rswindell authored
      file containing only the good or bad messages, leaving the orignal *.pkt file
      intact.
      The -recover option will *only* create a *.good file (renamed from .recovered).
      Now, if the recovered (good) or bad output file has no messages or is the exact
      same size as the original pkt file, the output file is automatically deleted.
      999563c7
    • deuce's avatar
    • rswindell's avatar
      If a pkdmsg type is not 0x0002, then just move forward 2-bytes until there is · 96d27072
      rswindell authored
      valid pkdmsg type.
      This will allow better re-sync with a badly corrupted packet.
      I waffled about whether it should try to read the variable header fields if the
      DateTime field of the fixed header is invalid. Currently, it does. The pkdmsg
      header does not have very good identifying marks to re-sync with, so it's
      still possible that a valid msg that follows a corrupted one could get skipped.
      I would need some good set of varying examples of corrupted packets to test
      with, but I'm sure it's possible to "do better".
      96d27072
    • rswindell's avatar
    • rswindell's avatar
      Call the listmsgs_mod (List msgs module) when the bbs.list_msgs() method · 828dea3f
      rswindell authored
      is called without a "mode" specified. This uses the new default SCAN_INDEX
      mode. If you need the old behavior (does not invoke the listmsgs_mod), specify
      a different mode value (e.g. SCAN_READ). All of the mode values (other than
      SCAN_INDEX) will not start the list message module, but rather use the internal
      C++ logic.
      This provides an intuitive way to actually invoke the list messages module
      from JS without hard-coding bbs.exec("?module") into a cmd shell, for example.
      828dea3f
    • rswindell's avatar
      Added a -recover option (e.g. pktdump -r *.pkt). This option will create · 68947da2
      rswindell authored
      duplicates of all the parsed packet files, but excluding all corrupted packed
      messages. The recovered packet files are named *.recovered.
      Also improved the corrupted packed message header detection to make this
      feature more useful.
      Created at the request of Nelgin who promises to test and use, for better or
      for worse, in sickness and in health, from this day forward, yadda yadda yadda.
      68947da2
    • rswindell's avatar
      Fix bug introduced in previous commit of this file (8 months ago): · 8412ed06
      rswindell authored
      If the RECIPIENTTOLIST header fields exists and the RFC822 header field
      does not exist, that means the original RFC822 "To" field was not MIME-encoded,
      which is the majority of email. The routine that converted an smbmsg_t to an
      RFC822 header did not use this new field however (ignored it). Whoops. So
      multiple recipients were reflect in the To field and the original destination
      address(es) in the To field weren't passed on either. Thanks, Frank!
      8412ed06
  8. Apr 08, 2020
    • rswindell's avatar
      Version increment to v3.18a. · fabe081b
      rswindell authored
      Copyright year 2020.
      fabe081b
    • rswindell's avatar
      Added support for exec/jsexec.ini file which can over-ride default values · 77a8d33c
      rswindell authored
      globally and per-module. Command-line options still take precedence.
      For jsdoor builds, jsdoor.ini is supported in whatever directory jsdoor is run
      from.
      Changed the default log level from Debug to Informational.
      (If you need the old default, set LogLevel=debug in your ctrl/jsexec.ini file).
      77a8d33c
    • rswindell's avatar
      Increase version to v3.18a. · 226d48dc
      rswindell authored
      Update Copyright year to 2020.
      226d48dc
    • rswindell's avatar
      Allow more new user information prompts to be disabled by setting the prompt · 7e699dc4
      rswindell authored
      text to an empty strings ("") in the ctrl/text.dat file, even the Name/Alias
      prompt! Now this does mean that only terminal protocols where the username
      is provided as part of the negotiation could be used to create new user
      accounts (i.e. not Telnet), which I suppose could be fine for an RLogin-only
      game server
      .
      If no user name is supplied by either protocol or prompt, an error is logged
      and the function fails.
      7e699dc4
    • rswindell's avatar
      Allow non-sysops a password re-attempt for SSH and RLogin. · c82bc10d
      rswindell authored
      Fixed bug: for RLogin and SSH, if an invalid (e.g. blank) passsword was
      provided during the handshake, an "Invalid Logon" would be displayed followed
      by a "Passowrord: " prompt, giving the user an opportunity to reenter the
      correct password. Only problem: this only worked for sysop accounts. Normal
      users would just be disconnected after they entere (any) password, correct
      or not.
      
      This bug is very old in the RLogin support and appears to have been copy/pasted
      for the SSH Login bit too.
      c82bc10d
    • rswindell's avatar
      Log the actual user number for "FAILED Password attempt" log messages for SSH · 993dd9de
      rswindell authored
      and RLogin attempts.
      It looks like someone copy/pasted the wrong lines from login.cpp.
      993dd9de
Loading