• Just one nodelist found

    From Javier Sturman@4:900/733 to All on Thu Nov 13 17:01:52 2025

    Hello everybody!

    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 fsxnet:/var/spool/ftn/filebase/nodelist/FSXNET.[0-9][0-9][0-9]
    #perl-var nodelist fidonet:/var/spool/ftn/filebase/nodelist/nodelist.[0-9][0-9][0-9]
    #perl-var nodelist nixnet:/var/spool/ftn/filebase/nodelist/NIXLIST.[0-9][0-9][0-9]
    perl-var nodelist fidonet:/var/spool/ftn/filebase/nodelist/thenodelist
    perl-var magichost *

    I uncommented the last line in binkd.conf and it keeps calling wrong nodes. It seems it's a 4D problem netween binkd and hpt.
    ---------
    13 Nov 17:08:30 [96992] called 21:2/101@fidonet, but remote has no such A17:09:18 [41/1936]
    13 Nov 17:08:30 [96992] done (to 21:2/101@fidonet, failed, S/R: 0/0 (0/0 bytes))
    13 Nov 17:08:30 [96989] addr: 110:212/0@linuxnet (n/a or busy)
    13 Nov 17:08:31 [96989] addr: 110:110/2@linuxnet (n/a or busy)
    13 Nov 17:08:31 [96989] addr: 110:50/0@linuxnet (n/a or busy)
    13 Nov 17:08:32 [96989] addr: 38:3/1@fu-net (n/a or busy)
    13 Nov 17:08:33 [96989] addr: 38:3/0@fu-net (n/a or busy)
    13 Nov 17:08:34 [96989] addr: 38:860/1@fu-net (n/a or busy)
    13 Nov 17:08:34 [96989] addr: 38:860/0@fu-net (n/a or busy)
    13 Nov 17:08:35 [96989] addr: 999:100/1@health (n/a or busy)
    13 Nov 17:08:36 [96989] addr: 999:100/0@health (n/a or busy)
    13 Nov 17:08:36 [96989] addr: 86:86/1@nixnet
    13 Nov 17:08:37 [96989] addr: 86:86/0@nixnet
    13 Nov 17:08:37 [96989] sending /var/spool/ftn/outb.001/014000db.cut as e1b9e106.pkt (4094)
    13 Nov 17:08:37 [96989] OPT EXTCMD GZ BZ2 PLZ NR CRC
    13 Nov 17:08:37 [96989] Remote supports EXTCMD mode
    13 Nov 17:08:37 [96989] Remote supports GZ mode
    13 Nov 17:08:37 [96989] Remote supports BZ2 mode
    13 Nov 17:08:37 [96989] Remote requests NR mode
    13 Nov 17:08:37 [96989] sending /var/spool/ftn/outb.001/014000db.dut as 80e061de.pkt (2088)
    13 Nov 17:08:37 [96989] TRF 0 0
    13 Nov 17:08:37 [96989] Remote has 0b of mail and 0b of files for us
    13 Nov 17:08:38 [96989] sent: /var/spool/ftn/outb.001/014000db.cut (4094, 4094.00 CPS, 1:32
    219@fidonet)
    13 Nov 17:08:38 [96989] sending 80e061de.pkt from 0
    13 Nov 17:08:39 [96989] sent: /var/spool/ftn/outb.001/014000db.dut (2088, 1044.00 CPS, 1:32
    219@fidonet)
    13 Nov 17:08:39 [96989] done (to 1:320/219@fidonet, OK, S/R: 2/0 (6182/0 bytes))
    13 Nov 17:09:17 [97175] Hosts: 20ForBeers.com.
    13 Nov 17:09:17 [97175] call to 21:2/150@fidonet
    13 Nov 17:09:17 [97177] Hosts: endofthelinebbs.com.
    13 Nov 17:09:17 [97177] call to 21:2/101@fidonet
    13 Nov 17:09:17 [97177] outgoing session with endofthelinebbs.com:24554 [192.138.210.158]
    13 Nov 17:09:18 [97175] outgoing session with 20ForBeers.com:24554 [73.180.14.18]
    13 Nov 17:09:18 [97177] OPT CRAM-MD5-be99fb4ba034eea350fcf2f232b6a4ee
    13 Nov 17:09:18 [97177] Remote requests MD mode
    13 Nov 17:09:18 [97177] SYS End Of The Line BBS
    13 Nov 17:09:18 [97177] ZYZ Nigel Reed
    13 Nov 17:09:18 [97177] LOC Plano, Texas, USA
    13 Nov 17:09:18 [97177] NDL 115200,TCP,BINKP
    13 Nov 17:09:18 [97177] TIME Thu, 13 Nov 2025 14:09:18 -0600
    13 Nov 17:09:18 [97177] VER binkd/1.1a-115/Linux binkp/1.1
    13 Nov 17:09:18 [97177] addr: 1:124/5016@fidonet
    ---------


    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 18:08:26 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)