In article <I+x1xQTC3gTU091yn@piw.it>,
albe@piw.it (Alberto Velo) wrote:
> In order to improve my knowledge of C/C++, I'm about to write a little utility
> for Yarn-Souper. The problem is, before starting, to understand Souper packets
> format; they come like:
The format of SOUP packets is described in a file called SOUP12.DOC
which should have come with Yarn. If you don't have it, mail me and
I'll send you a copy.
> How to identify the beginning of a message is a Souper packet, is it just the
> "From POPmail" string? Just the "From"? Isn't that a problem, if a message
> contains a line beginning with "From" ?
It depends on how the message is stored in the packet file. There is
an index file ("AREAS") in the packet which describes the encoding used
for the file. I believe uqwk and souper both use binary format to store
messages. In this case, each message has its length prepended, in 32bits
notation in four bytes. Then the contents of the message does not really
matter anymore; you know you have to read 2,565 characters and that's it.
What is your utility going to do? I'm working on something similar to
automatically decrypt/encrypt message files (I have one in Pascal, but
it's almost slow on this P75), so I could send you my sources if you
want to look at it.
Galactus
- --
To find out more about PGP, send mail with HELP PGP in the SUBJECT line to me.
E-mail: galactus@stack.urc.tue.nl - Please PGP encrypt your mail if you can.
Finger galactus@turtle.stack.urc.tue.nl for public key (key ID 0x416A1A35).
Anonymity and privacy site: <http://www.stack.urc.tue.nl/~galactus/remailers/>
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: cp850
iQCVAgUBMdq3cTyeOyxBaho1AQG3RQQAqpHINQ9M3j+YRqamIplPTr7dhsNRxZ4h
U03NUJ0NnxvJ56PHkjLtw8DSTVhNxnzuqOj3pf8VaP1Q5vBOwF5xYzDYpNxyTZQe
qyuWzd07sEibSyIHVDCxu9lSwsQDTIBUsYWkDt+FE1lICRSgsr9llr6CR0GFx8il
ILx2IDtDbTo=
=SJq6
-----END PGP SIGNATURE-----