• src/sbbs3/pktdump.c

    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