TIP: Click on subject to list as thread! ANSI
echo: fidosoft.husky
to: Michael Dukelsky
from: Markus Reschke
date: 2015-05-12 19:06:54
subject: area management magic

Hello Michael!

May 11 17:20 2015, Markus Reschke wrote to Michael Dukelsky:

 MR> I suggest to modify areafix to check if the given AKA matches the 
 MR> node's own AKA and then bypass the subscription check, i.e. simply 
 MR> process the delete command.

After a first look at libareafix I think I got a nice solution. The
interesting point is that processAreaFix(s_message *msg, s_pktHeader
*pktHeader, unsigned force_pwd) is called with force_pwd = 1 when run via
command line and = 0 when scanning for netmail addressed to areafix.
Currently force_pwd is only used to bypass the checks for a valid link and
the areafix password, but it is not passed on. The idea is to also check if
the link's AKA is one of the nodes's local AKAs and pass a flag (bitmask
with a FROM_ME and CMD_LINE bit) to processcmd(). In processcmd() that flag
may be passed on to the actual command functions like delete().

Now I got a question about how to deal with the bypassing of the
subscription check. Should the subscription check bypassed only if
"~echotag" is run as shell command and the AKA is my local one.
Or should I also allow the bypassing for a local netmail from me to my
areafix (secured by a PW of course)? 

Regards,
Markus

--- 
* Origin: *** theca tabellaria *** (2:240/1661)
SEEN-BY: 154/10 203/0 221/6 227/51 230/0 240/1120 1661 5832 249/303 261/38
SEEN-BY: 280/464 5003 292/854 423/120 633/267 280 640/384 712/550 848 770/1
@PATH: 240/1661 280/464 712/848 633/267

SOURCE: echomail via fidonet.ozzmosis.com

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™.