• src/sbbs3/pktdump.c

    From rswindell to CVS commit on Thursday, April 09, 2020 02:27:38
    src/sbbs3 pktdump.c 1.12 1.13
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv5237

    Modified Files:
    pktdump.c
    Log Message:
    Added a -recover option (e.g. pktdump -r *.pkt). This option will create 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.

  • From rswindell to CVS commit on Thursday, April 09, 2020 11:30:39
    src/sbbs3 pktdump.c 1.13 1.14
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv9086

    Modified Files:
    pktdump.c
    Log Message:
    If a pkdmsg type is not 0x0002, then just move forward 2-bytes until there is 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".

  • From rswindell to CVS commit on Thursday, April 09, 2020 13:36:10
    src/sbbs3 pktdump.c 1.14 1.15
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv27253

    Modified Files:
    pktdump.c
    Log Message:
    Added new option -split, which will split a packet into a *.good and a *.bad 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.

  • From rswindell to CVS commit on Sunday, April 26, 2020 14:01:22
    src/sbbs3 pktdump.c 1.15 1.16
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv2248

    Modified Files:
    pktdump.c
    Log Message:
    Add '-c' option to dump control lines only. -b implies -c.
    Also converts Ctrl-A chars to '@", so behaves similar to fmsgdump now. SEEN-BY's and AREA lines aren't dumped with -c because they don't begin with
    a Ctrl-A.

  • From rswindell to CVS commit on Monday, April 27, 2020 22:41:30
    src/sbbs3 pktdump.c 1.16 1.17
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv12037

    Modified Files:
    pktdump.c
    Log Message:
    Copy the message attribute parsing/displaying logic from fmsgdump.

  • From Rob Swindell to Git commit to main/sbbs/master on Wednesday, March 10, 2021 23:35:25
    https://gitlab.synchro.net/main/sbbs/-/commit/64b754a36c4b4ceaf55db130
    Modified Files:
    src/sbbs3/pktdump.c
    Log Message:
    Fix issue display AREA keywords at beginning of body text

    or any lines that were only terminated with carriage-return (\r)
    since these are treated rather-oddly by the FTN software as a
    line-ending and line-feeds are to be ignored. So transfer \r to \n
    on output and ignore the \n's in the body text.
  • From Rob Swindell to Git commit to main/sbbs/master on Wednesday, October 06, 2021 18:11:15
    https://gitlab.synchro.net/main/sbbs/-/commit/f1994189f728d4ad45859f86
    Modified Files:
    src/sbbs3/pktdump.c
    Log Message:
    Print "All good" or "All bad" when trying to recover or split a packet

    At Nelgin's suggestion, if all the messages in a packet are either good or bad, say so (since no .good or .bad file will be generated in that case).
  • From Rob Swindell to Git commit to main/sbbs/master on Wednesday, March 02, 2022 13:25:51
    https://gitlab.synchro.net/main/sbbs/-/commit/5e485170a1353a05b4f564a6
    Modified Files:
    src/sbbs3/pktdump.c
    Log Message:
    Detect/report ftell() failure

    CID 319007
  • From Rob Swindell to Git commit to main/sbbs/master on Wednesday, March 02, 2022 13:25:51
    https://gitlab.synchro.net/main/sbbs/-/commit/bdb03b822f4316124ce2a2fc
    Modified Files:
    src/sbbs3/pktdump.c
    Log Message:
    Check/report remove() failures

    CID 319028
  • From Rob Swindell (on Windows) to Git commit to main/sbbs/master on Friday, April 14, 2023 20:37:52
    https://gitlab.synchro.net/main/sbbs/-/commit/50754bf5443b535bc0ffffee
    Modified Files:
    src/sbbs3/pktdump.c
    Log Message:
    Differentiate between type 2+ (FSC-48) and 2e (FSC-39) packets

    Using the same logic that SBBSecho uses to decide if a packet header is in
    fact 2+ (the auxNet field must be non-zero), otherwise, type reported is 2e.
  • From Rob Swindell (on Windows) to Git commit to main/sbbs/master on Monday, June 05, 2023 17:24:23
    https://gitlab.synchro.net/main/sbbs/-/commit/2aaac2bc80a83bea5086f390
    Modified Files:
    src/sbbs3/pktdump.c
    Log Message:
    Typecast to resolve MSVC error C4146:

    "unary minus operator applied to unsigned type, result still unsigned"

    Even though this same code compiled and worked as expected with GCC.
  • From Rob Swindell (on Windows) to Git commit to main/sbbs/master on Monday, June 26, 2023 16:25:31
    https://gitlab.synchro.net/main/sbbs/-/commit/0cf8e4b18fee3bd8785085ec
    Modified Files:
    src/sbbs3/pktdump.c
    Log Message:
    Fix: wasn't parsing origin point from type 2.2 packet headers

    As Deon pointed out on DOVE-Net::Synchronet Discussion. Thanks!