Subj : Translate Filename to FidoNet
To : Phillip Taylor
From : Scott Little
Date : Sun Sep 14 2008 08:14 pm
[ On 2008-09-11 at 20:28:00, Phillip Taylor wrote to All ]
PT> All the docs out there is written in c and I am trying to figure out
PT> how to translate the filename that is used to translate the outgoing
PT> mail bundle to fidonet node number?
It can vary depending on the mailer. It could be a pseudorandom sequence
number, but if it's always the same for a given node it's most likely it's
hex(OrigNet - DestNet) + hex(OrigNode - DestNode). Two's complement for
negatives.
eg. 633/260 -> 712/848 = ffb1fdb4
633 - 712 = -79
-79 & 0xFFFF = 65457
= FFB1
260 - 848 = -588
-588 & 0xFFFF = 64948
= FDB4
Packets are usually given the current timestamp (in hex), except when used as
control files (eg. Binkley) in which case it's hex(DestNet) + hex(DestNode).
It's probably not a good idea to try to decode bundle names - read the control
files instead.
-- Scott Little [fidonet#3:712/848 /
[email protected]]
--- Been there, done that, got the T-shirt.
* Origin: [sysgod.org] Hail to the king, baby! (3:712/848)