Re: Souper format

Arnoud (galactus@stack.urc.tue.nl)
Tue, 14 May 1996 21:05:59 +0200

-----BEGIN PGP SIGNED MESSAGE-----

In article <Kd9lxQTC3wSR090yn@piw.it>,
albe@piw.it (Alberto Velo) wrote:
> Somebody could please e-mail me the format of souper packets?
> C/C++ sample code appreciated :-). Thank you.

The format of SOUP packets (Souper generates SOUP packets, and
processes SOUP reply packets) is described in a file called SOUP12.DOC
which should have come with Yarn. If you don't have it, I could e-mail
it to you.

But basically, you have two formats. The first is the "rnews format"
which simply means each message is prepended with a line that reads
just #!rnews 1234566, where the number indicates the length of the
message after it.

The second format is 8-bit binary, where there is a 32-bits number
before the message, indicating its size. It is stored in high-endian
order, in other words, just as you would read it. Yarn stores it slightly
differently.

Example: 0x00 0x00 0x10 0xFF would indicate the message is 255 + 256 * 16
or 4351 bytes long.

Yarn would store this in a folder as 0x10 0xFF 0x00 0x00.

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 page: <http://www.stack.urc.tue.nl/~galactus/remailers/>

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: cp850

iQCVAgUBMZjgwTyeOyxBaho1AQGx9gQArz+dc4yS8C4vBtM2dRmbi2Olcw0hpyv4
ZMPeAYmtvYB9teuQE8nbVb+iyJ5rR080kzMvN+9w3Ce8B7We+fSH75zi/e0o3gOF
jdFklYujmHgbeAGX8Of6YvahrwngbInZJdRb6abFtUhE/1/hE0OTaDxOj83wtiJ4
hEGIUNjCTRE=
=Rt1i
-----END PGP SIGNATURE-----