• src/sbbs3/pktdump.c

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Wed Mar 10 23:35:25 2021
    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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wed Oct 6 18:11:15 2021
    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).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wed Mar 2 13:25:51 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/5e485170a1353a05b4f564a6
    Modified Files:
    src/sbbs3/pktdump.c
    Log Message:
    Detect/report ftell() failure

    CID 319007

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wed Mar 2 13:25:51 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/bdb03b822f4316124ce2a2fc
    Modified Files:
    src/sbbs3/pktdump.c
    Log Message:
    Check/report remove() failures

    CID 319028

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows)@VERT to Git commit to main/sbbs/master on Fri Apr 14 20:37:52 2023
    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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows)@VERT to Git commit to main/sbbs/master on Mon Jun 5 17:24:23 2023
    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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows)@VERT to Git commit to main/sbbs/master on Mon Jun 26 16:25:31 2023
    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!

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thu Apr 9 02:27:38 2020
    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.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thu Apr 9 11:30:39 2020
    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".


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thu Apr 9 13:36:10 2020
    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.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun Apr 26 14:01:22 2020
    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.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Mon Apr 27 22:41:30 2020
    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.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net