• src/sbbs3/pktdump.c

    From rswindell@1:103/705 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.

    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Thu Apr 9 11:30:38 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".

    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 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.

    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Wed Mar 2 13:25:50 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/5e485170a1353a05b4f564a6
    Modified Files:
    src/sbbs3/pktdump.c
    Log Message:
    Detect/report ftell() failureCID 319007
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows)@1:103/705 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) packetsUsing the same logic that SBBSecho uses to decide if a packet header is infact 2+ (the auxNet field must be non-zero), otherwise, type reported is 2e.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows)@1:103/705 to Git commit to main/sbbs/master on Mon Jun 5 17:24:22 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.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows)@1:103/705 to Git commit to main/sbbs/master on Mon Jun 26 16:25:30 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 headersAs Deon pointed out on DOVE-Net::Synchronet Discussion. Thanks!
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)