Subj : dosxnt To : Paul Williams From : Jasen Betts Date : Sun Sep 22 2002 10:21 pm Hi Paul. 21-Sep-02 20:44:59, Paul Williams wrote to Jasen Betts PW> Hi Jasen Betts, hope you are having a nice day PW>>> Wouldn't that mess up w/ the crc calculations for the msgid PW> PW>>though. As I understand it, the msgid value is based on not PW> only PW>>the header info but the msg content as well. JB>AFAAIK as PW> long as it doesn't repeat more often than once every three JB>(I PW> think) years it can be any value at all. PW> I don't have the spec in front of me but I think you're right abt PW> it being 3yrs. But I still want to say it uses both the header and PW> the content for the crc. That would explain why the program does a PW> crash and burn when it hits one over 16k. Plenty of other explanations exist. I can see no real reason not to simply use sequential numberrs seeded from the date/time when the program was started. unless messages are generated by the node faster than the clock ticks it shouldn't be a problem. FWIW if the node makes more than about 60 messages per day there's an approximately even chance of a reprated msgid in any given three years... PW> The one upside to the PW> program though is that when it hits one that's too large it PW> doesn't trash the entire pkt. Msgs before it will have the PW> selected kludges added but the one it chokes on and those after PW> are left untouched resulting in a pkt that still fully usable. that's good... PW> JB>MSGID numbers should be generated at the originatingsystem PW> Right. Unfortunately there's several programs that don't have PW> msgid generation in them. Synchronet BBS being one still under PW> development that still doesn't. I guess the syncronet node could run this program on its own messages. running the program on remotely generated messages may be against the rules. PW> The kludge that I don't understand is the CHRS one. Why is there a PW> `2' placed after the value? For ex, I use pktfix to add CHRS IBMPC PW> but the code adds (or did add as i changed it in mine) CHRS IBMPC 2 I think that's correct, dunno why. PW>>> And once you have fully functional code the whole thing can be PW> PW>>converted over to assembly for a speed boost and shrinking in PW> PW>>size. ];> (gotta drag it ontopic *somehow*) JB>I've PW> statred hacking at it, I'm maybe 1/2 way to something testable. PW> Should be interesting to see what you come up w/. yeah... That code chokes on messages with CR LF ^A kludge but although that's book-legal I don't think any systems do that. infact ther's something out there that's stripping CRs so I'm going to do that in my code as it's the easiest fix, and not a dorect violation of Policy. I got a bit side tracked on some linux/dos issues this weekend... pktfix is still on the back burner. -=> Bye <=- --- * Origin: Never try to outstubborn a cat. -- Lazarus Long (3:640/531.42) .