TIP: Click on subject to list as thread! ANSI
echo: synchronet
to: deon
from: Digital Man
date: 2022-02-03 20:18:00
subject: PATH kludge on exported e

  Re: PATH kludge on exported echomail
  By: deon to Digital Man on Fri Feb 04 2022 02:39 pm

 >   Re: PATH kludge on exported echomail
 >   By: Digital Man to deon on Thu Feb 03 2022 06:30 pm
 >
 > Howdy,
 >
 >  > 2. Any existing PATH nodes that are not in *your* system's zone are
 >  > removed from existing PATH lines. If you have an AKA address in the same
 >  > zone as the destination, that AKA address will be added to the last PATH
 >  > line.
 >
 >  > This is based on my own analysis of the source code
 >  > (https://gitlab.synchro.net/main/sbbs/-/blob/master/src/sbbs3/sbbsecho.c)
 >  > but you can check my understanding if you like (search for
 >  > "foreign_zone").
 >
 > Line 3792: if(foreign_zone(addr.zone, paths.addr[u].zone) ||
 > paths.addr[u].point)
 >
 > Is sbbsecho allowing for a 3D/4D/5D item in the PATH kludge?

SBBSecho will parse 3/4D addresses in SEEN-BYs and PATH lines, but I don't know of any software that will *generate* them (2D only, as is the standard).

 > (I'm wondering how you get a "zone" (or a "point") from the PATH kludge,
 > which I've only ever seen as a 2D address - but then it seems gen_psb() can
 > parse 4D addresses in the PATH?)

gen_psb() is passed the default (assumed) zone which comes from the "origin zone" from the packet header.

 > The rest of the code looks like it only ever writes a 2D address.
 >
 > Did I understand that right?

Yup. Looks like it was originally written that way by King Drafus.
-- 
                                            digital man (rob)

Rush quote #78:
Today's Tom Sawyer, he gets high on you, the space he invades, gets by on you
Norco, CA WX: 56.0øF, 23.0% humidity, 0 mph WSW wind, 0.00 inches rain/24hrs
--- SBBSecho 3.14-Linux
  
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.