• Nodelist compiler

    From Joacim Melin@2:221/242 to All on Thursday, October 09, 2025 10:36:05
    Hi all

    quick question: how the hell is the nodelist compiler (nodelist.pl) supposed to work? Because as far as I can tell - it doesn't.

    I tried this in the configuration and all I get in the logs are "no nodelist found" or something to that effect:

    perl-hooks /etc/binkd/nodelist.pl
    perl-var nodelist /etc/binkd/nodelist/NODELIST.Ä0-9ÅÄ0-9ÅÄ0-9Å perl-var magichost *

    So I try to run it manually:

    perl nodelist.pl /etc/binkd/nodelist/NODELIST.269 magichost *

    Nothing happens.

    Any ideas?

    Thanks.


    --- NiKom v2.6.0
    * Origin: Delta City (deltacity.se, Vallentuna, Sweden) (2:221/242.0)
  • From Tommi Koivula@2:221/360 to Joacim Melin on Thursday, October 09, 2025 19:03:00
    Hi Joacim.

    09 Oct 25 10:36, you wrote to All:

    Hi all

    quick question: how the hell is the nodelist compiler (nodelist.pl) supposed to work? Because as far as I can tell - it doesn't.

    I tried this in the configuration and all I get in the logs are "no nodelist found" or something to that effect:

    perl-hooks /etc/binkd/nodelist.pl
    perl-var nodelist /etc/binkd/nodelist/NODELIST.Ä0-9ÅÄ0-9ÅÄ0-9Å
    perl-var magichost *

    So I try to run it manually:

    perl nodelist.pl /etc/binkd/nodelist/NODELIST.269 magichost *

    Nothing happens.

    Any ideas?

    First, check that your binkd has been compiled with perl support:

    tommi@kco:~$ binkd -vv
    Binkd 1.1a-115 (Sep 26 2025 10:15:21/Linux)
    Compilation flags: gcc, zlib, bzlib2, perl, amiga_4d_outbound, af_force. Facilities: fts5004 ipv6

    I have these lines in my binkd.conf:

    perl-hooks /bbs/nodelist.pl
    perl-var nodelist fidonet:/bbs/nodelist.ndl
    perl-var magichost *
    defnode -nr *

    That should allow binkd to poll any node in the nodelist.

    19:15 [11705] BEGIN, binkd/1.1a-115/Linux -pP 242 /etc/binkd/binkd.cfg
    19:15 [11705] Nodelist /bbs/nodelist.ndl parsed, 940 IP-nodes processed (0 sec)
    19:15 [11705] creating a poll for 2:221/242@fidonet (`d' flavour)
    19:15 [11705] clientmgr started
    19:15 [11708] Substituted * to deltacity.se. for 2:221/242@fidonet by nodelist
    19:15 [11708] call to 2:221/242@fidonet
    19:15 [11708] trying deltacity.se. [84.246.91.66]...
    19:15 [11708] connected
    19:15 [11708] outgoing session with deltacity.se:24554 [84.246.91.66]
    19:15 [11708] OPT CRAM-MD5-afca689ed9b84a897aa95c5e536f57ee

    'Tommi

    ---
    * Origin: nntps://news.fidonet.fi (2:221/360)
  • From Oli@2:280/464.47 to Joacim Melin on Thursday, October 09, 2025 20:11:01
    Joacim wrote (2025-10-09):

    quick question: how the hell is the nodelist compiler (nodelist.pl) supposed to work? Because as far as I can tell - it doesn't.

    I tried this in the configuration and all I get in the logs are "no nodelist found" or something to that effect:

    perl-hooks /etc/binkd/nodelist.pl
    perl-var nodelist /etc/binkd/nodelist/NODELIST.Ä0-9ÅÄ0-9ÅÄ0-9Å perl-var
    magichost *

    I see Ä and Å instead of [ and ].

    So I try to run it manually:

    perl nodelist.pl /etc/binkd/nodelist/NODELIST.269 magichost *

    Nothing happens.

    It does not work from the command line, only as a binkd perlhook.

    ---
    * Origin: No REPLY kludge - no reply (2:280/464.47)
  • From Joacim Melin@2:221/242 to Tommi Koivula on Thursday, October 09, 2025 21:16:44
    Hi Joacim.

    09 Oct 25 10:36, you wrote to All:

    Hi all

    quick question: how the hell is the nodelist compiler (nodelist.pl)
    supposed to work? Because as far as I can tell - it doesn't.

    I tried this in the configuration and all I get in the logs are "no
    nodelist found" or something to that effect:

    perl-hooks /etc/binkd/nodelist.pl
    perl-var nodelist /etc/binkd/nodelist/NODELIST.?-9?0-9?0-9
    perl-var magichost *

    So I try to run it manually:

    perl nodelist.pl /etc/binkd/nodelist/NODELIST.269 magichost *

    Nothing happens.

    Any ideas?

    First, check that your binkd has been compiled with perl support:

    tommi@kco:~$ binkd -vv
    Binkd 1.1a-115 (Sep 26 2025 10:15:21/Linux)
    Compilation flags: gcc, zlib, bzlib2, perl, amiga_4d_outbound,
    af_force.
    Facilities: fts5004 ipv6

    I have these lines in my binkd.conf:

    perl-hooks /bbs/nodelist.pl
    perl-var nodelist fidonet:/bbs/nodelist.ndl
    perl-var magichost *
    defnode -nr *

    That should allow binkd to poll any node in the nodelist.

    Ok, It's compiled with Perl support.

    root@bbsutils:~# binkd -vv
    Binkd 1.1a-111 (Feb 6 2022 12:39:49/Linux)
    Compilation flags: gcc, debug, zlib, perl, https, ntlm, bwlim. Facilities: fts5004 ipv6


    I entered this in binkd.conf and all the paths are correct:

    perl-hooks /etc/binkd/nodelist.pl
    perl-var nodelist /etc/binkd/nodelist/fidonet.lst
    perl-var magichost *
    defnode -nr *

    When I restart binkd it says:


    09 Oct 21:54:30 [1263520] BEGIN, binkd/1.1a-111/Linux /etc/binkd/binkd.cfg -q -C
    ? 09 Oct 21:54:30 [1263520] No nodelist found!
    09 Oct 21:54:30 [1263520] servmgr started
    09 Oct 21:54:30 [1263521] clientmgr started

    Any ideas?

    Thanks.


    --- NiKom v2.6.0
    * Origin: Delta City (deltacity.se, Vallentuna, Sweden) (2:221/242.0)
  • From Joacim Melin@2:221/242 to Oli on Thursday, October 09, 2025 21:20:11
    Joacim wrote (2025-10-09):

    quick question: how the hell is the nodelist compiler (nodelist.pl)
    supposed to work? Because as far as I can tell - it doesn't.

    I tried this in the configuration and all I get in the logs are "no
    nodelist found" or something to that effect:

    perl-hooks /etc/binkd/nodelist.pl
    perl-var nodelist /etc/binkd/nodelist/NODELIST.Ä0-9ÅÄ0-9ÅÄ0-9Å perl-var
    magichost *

    I see Ä and Å instead of [ and ].

    So I try to run it manually:

    perl nodelist.pl /etc/binkd/nodelist/NODELIST.269 magichost *

    Nothing happens.

    It does not work from the command line, only as a binkd perlhook.

    yeah characters got a bit weird but it's really []...

    :)


    --- NiKom v2.6.0
    * Origin: Delta City (deltacity.se, Vallentuna, Sweden) (2:221/242.0)
  • From Tommi Koivula@2:221/1.1 to Joacim Melin on Friday, October 10, 2025 08:24:47
    Hi Joacim.

    09 Oct 25 21:16:44, you wrote to me:

    perl-var nodelist /etc/binkd/nodelist/NODELIST.?-9?0-9?0-9

    ...

    perl-var nodelist fidonet:/bbs/nodelist.ndl

    ... ========

    I entered this in binkd.conf and all the paths are correct:

    perl-hooks /etc/binkd/nodelist.pl
    perl-var nodelist /etc/binkd/nodelist/fidonet.lst

    But the "fidonet:" part is missing. That's what is defined as 'domain' in binkd.conf.

    'Tommi

    ---
    * Origin: Point One (2:221/1.1)
  • From Joacim Melin@2:221/242 to Tommi Koivula on Friday, October 10, 2025 07:43:45
    Thanks Tommi. Have no idea why I missed that.


    --- NiKom v2.6.0
    * Origin: Delta City (deltacity.se, Vallentuna, Sweden) (2:221/242.0)