TIP: Click on subject to list as thread! ANSI
echo: binkd
to: NICK ANDRE
from: MATT BEDYNEK
date: 2015-08-12 01:09:00
subject: Session semaphores

On Tue, 11 Aug 2015 16:32:26 GMT, Nick Andre wrote:

 NA> Is it possible for BinkD to create a semaphore for each connection that
has
 NA> been established, inbound or outbound?

 NA> On this system there are often multiple simultaneous connections at once.

 NA> Rather than chasing the tail of the log, it would be nice to just poll a
 NA> working directory to quickly establish "who is online"... maybe even
 NA> periodically update with bytes sent/received.

 NA> There are many users of the D'Bridge mailer who I know would LOVE to see a
 NA> somewhat "real-time" overview of the BinkD activity on their systems. I
can
 NA> easily give them this feature if I could read a semaphore or database
file.

 NA> A shutdown semaphore would be nice; in that if BinkD sees a particular
 NA> semaphore, it will gracefully shutdown... rather than just being outright
 NA> "killed" by an OS task maanger or shutdown process.

BinkD already does this but it requires understanding of the
innerworkings of BSO.  Bsy files are created in the outbound for each
AKA advertised by node.  Look through your log file for node with many
advertised addresses and you will see creation of bsy file for each.

For example:

 12 Aug 00:22:21 [69955] unlinked `/spool/outbound/006a0002.bsy'

To translate this into a FTN addr, split the basename in half.

The net is: 006a and the node is: 0002.

You can use windows calculator in 'programmer' mode to convert 6a to
106 (dec), and 2 to 2 (dec).  The zone is inheritted from the
outbound.

If you run unix, you can also use bc (enter letters in uppercase):

 28 Jun 15:22:39 [28769] created /spool/outbound/018c002d.bsy

Net:    018c
Node: 002d

% bc
ibase=16
018C
396
002D
45

This is a flag file created for 1:396/45.


It would really be trivial to read directory for all bsy files and
convert to address format.

---
* Origin: The Byte Museum - news: news.bytemuseum.org (1:19/10)

SOURCE: echomail via QWK@docsplace.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™.