• Re: Just one nodelist found

    From Nick Boel@1:154/700 to Javier Sturman on Mon Nov 17 18:08:27 2025
    Hey Javier!

    On Thu, Nov 13 2025 14:01:52 -0600, you wrote:

    Finally I could make binkd find a nodelist however everytime it
    processed the newest nodelist from the directory. From what I've seen
    it doesn't take into account which network is prefixed in perl-vars.
    To fix it dirty I simple did a cat for every network nodelist and
    sent it to "thenodelist" and in binkd.conf I've got just one line.

    # Perl hooks file (if built with Perl)
    #
    perl-hooks /var/spool/ftn/filebase/nodelist/nodelist.pl
    perl-var nodelist fidonet:/var/spool/ftn/filebase/nodelist/thenodelist perl-var magichost *

    I have never worked with any of this (perl with binkd), but I would imagine "nodelist" is the name of the nodelist as defined in the sample binkd.conf as '$cfg{"name"}', and 'Syntax: perl-var <name> <value>'.

    According to the sample configuration, you don't need "fidonet:" before the file name. Try a different name for each network, and try going back to separate nodelists:

    perl-var fsxnet /var/spool/ftn/filebase/nodelist/FSXNET.[0-9][0-9][0-9] perl-var fidonet /var/spool/ftn/filebase/nodelist/nodelist.[0-9][0-9][0-9] perl-var nixnet /var/spool/ftn/filebase/nodelist/NIXLIST.[0-9][0-9][0-9]

    Also, I have no idea what a "magichost" would be, so you may want to comment that line out while testing this, as that would seem to pool everything together (which may be why you're getting addresses with the wrong domains).

    Regards,
    Nick

    ... Sarcasm: because beating people up is illegal.
    --- SBBSecho 3.32-Linux
    * Origin: _thePharcyde telnet://bbs.pharcyde.org (Wisconsin) (1:154/700)
  • From Javier Sturman@4:900/733 to Nick Boel on Mon Nov 17 21:46:10 2025
    Hello Nick!

    17 Nov 25 18:08, you wrote to me:

    Hey Javier!

    I have never worked with any of this (perl with binkd), but I would imagine "nodelist" is the name of the nodelist as defined in the
    sample binkd.conf as '$cfg{"name"}', and 'Syntax: perl-var <name> <value>'.

    You need to specify the variable name because in the perl script it's used.

    ----
    # ver 0.3 (19 Jan 2013): support multiple IBN flags (ports)

    my ($curnodelist, %nodelist, $glob);

    sub nodelist { return ($config{"nodelist"} =~ /:/ ? $' : ""); }
    sub domain { return ($config{"nodelist"} =~ /:/ ? $` : ""); }
    sub magichost { return ($config{"magichost"} || "*"); }

    -+-


    perl-var fsxnet
    /var/spool/ftn/filebase/nodelist/FSXNET.[0-9][0-9][0-9] perl-var
    fidonet
    /var/spool/ftn/filebase/nodelist/nodelist.[0-9][0-9][0-9] perl-var
    nixnet /var/spool/ftn/filebase/nodelist/NIXLIST.[0-9][0-9][0-9]

    17 Nov 21:22:49 [75167] rc=0
    17 Nov 21:45:56 [97918] got signal #15. Killing 97919 and quitting...
    17 Nov 21:45:56 [97919] got signal #15.

    17 Nov 21:45:56 [79653] No nodelist found!
    17 Nov 21:45:56 [79654] servmgr listen on *:24554
    I tried removing nodelist and "No nodelist found!" message is shown in the logs.

    Also, I have no idea what a "magichost" would be, so you may want to comment that line out while testing this, as that would seem to pool everything together (which may be why you're getting addresses with
    the wrong domains).

    I followed some suggestions from Tomi.

    Regards,
    Nick

    ... Sarcasm: because beating people up is illegal.
    --- SBBSecho 3.32-Linux
    * Origin: _thePharcyde telnet://bbs.pharcyde.org (Wisconsin)
    (1:154/700)

    Javier


    --- GoldED+/BSD 1.1.5-b20170303-b20170303 + HPT 1.9.0 + Binkd 1.1a-115
    * Origin: FIDONODO DE JAS | ¯\_(O,O)_/¯ (4:900/733)
  • From Nick Boel@1:154/700 to Javier Sturman on Mon Nov 17 20:55:32 2025
    Hey Javier!

    On Mon, Nov 17 2025 18:46:10 -0600, you wrote:

    I have never worked with any of this (perl with binkd), but I would
    imagine "nodelist" is the name of the nodelist as defined in the
    sample binkd.conf as '$cfg{"name"}', and 'Syntax: perl-var <name>
    <value>'.

    You need to specify the variable name because in the perl script it's
    used.

    I'm not sure what you mean by this. The "<name>" portion of the syntax should /not/ be 'nodelist' for all three of your (different) nodelists, though.

    my ($curnodelist, %nodelist, $glob);

    sub nodelist { return ($config{"nodelist"} =~ /:/ ? $' : ""); }
    sub domain { return ($config{"nodelist"} =~ /:/ ? $` : ""); }
    sub magichost { return ($config{"magichost"} || "*"); }

    See the "domain" line above. "fidonet," "fsxnet," and "nixnet" are your domains. "nodelist" should not be listed three times while pointing to different nodelists. That said, I can only imagine cat'ing them all together into one list would cause you problems, too.

    I followed some suggestions from Tomi.

    Okay. Hope he was able to help.

    Regards,
    Nick

    ... Sarcasm: because beating people up is illegal.
    --- SBBSecho 3.32-Linux
    * Origin: _thePharcyde telnet://bbs.pharcyde.org (Wisconsin) (1:154/700)