From 12ea5b2a92400453478e7e23935eb7732cd29e02 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Sun, 13 Jan 2019 02:45:57 +0000 Subject: [PATCH] Moved list of common_bbs_services from exec/sbbslist.js to load/sbbslist_lib.js Removed TCP/IP services not supported by BBS clients (e.g. SyncTERM) from the list (e.g. ftp, nntp, smtp, binkp, irc) and added "modem". --- exec/sbbslist.js | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/exec/sbbslist.js b/exec/sbbslist.js index feeef47fc7..f06d56ffa6 100644 --- a/exec/sbbslist.js +++ b/exec/sbbslist.js @@ -849,17 +849,6 @@ function test_port(port) return(success); } -var common_bbs_services=[ - "telnet", - "rlogin", - "ssh", - "ftp", - "nntp", - "smtp", - "binkp", - "irc", -]; - function this_bbs() { var bbs = lib.new_system(system.name, system.nodes, lib.system_stats()); @@ -874,8 +863,10 @@ function this_bbs() bbs.network.push({ name: "FidoNet", address: system.fido_addr_list[0] }); print("Testing common BBS service ports"); var ports = []; - for(var i in common_bbs_services) { - var prot = common_bbs_services[i]; + for(var i in lib.common_bbs_services) { + var prot = lib.common_bbs_services[i]; + if(prot == "modem") // No method to test + continue; if(ports.indexOf(standard_service_port[prot]) >= 0) // Already tested this port continue; printf("%s ", prot); -- GitLab