• exec/binkit.js

    From rswindell@VERT to CVS commit on Thu May 16 01:22:35 2019
    exec binkit.js 2.17 2.18
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv25013

    Modified Files:
    binkit.js
    Log Message:
    Experimental outbox support (e.g. for inter-bbs game files):
    - 'outbox' value from echocfg/sbbsecho.ini is used for additional outbound
    files
    - normal BSO directories are still searched for outbound files (too)
    - 'inbox' support not added (yet)
    - no node locking (.bsy file checking/creation) implemented
    - requires updated load/fidocfg.js



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thu May 23 18:05:25 2019
    exec binkit.js 2.18 2.19
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv8925

    Modified Files:
    binkit.js
    Log Message:
    Resolve reported error (new, with outbox support):
    binkit.js line 297: TypeError: bp.cb_data.binkitcfg.node[addr] is undefined



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Fri May 24 22:36:44 2019
    exec binkit.js 2.19 2.20
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv27306

    Modified Files:
    binkit.js
    Log Message:
    Rev 1.19 (jan-20-2016) included a "Fix the nocrypt check", but appeared to
    do so incorrectly. This is a correct fix (check the nocrypt property, not
    just that the linked node object is != false).



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sat May 25 00:32:58 2019
    exec binkit.js 2.20 2.21
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv9835

    Modified Files:
    binkit.js
    Log Message:
    inbound_auth_cb(): report a "Password mismatch" error (over BinkP) if
    one of the configured linked-nodes matching the remote address(es) is set for CRAM-MD5 passwords only and a plain-text password was provided by the remote. Previously, the function would log a warning:
    "CRAM-MD5 required (and not provided) by <addr>" but succeeed (the actual password value was not check) and it woudl flag the session as "non-secure" (sending M_OK non-secure), looking like this on the remote side:
    Authentication successful: non-secure
    and any received files would go into the configured non-secure inbound.
    This may explain why some sysops sometimes get unexplained files in their non-secure inbound (looking for "non-secure" in the logs should confirm).
    Now, you should still see (on the answering side) the log message:
    "CRAM-MD5 required (and not provided) ...", but it'll also send a M_ERR Passowrd mismatch error to the remote, thus ending the session.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sat May 25 00:39:08 2019
    exec binkit.js 2.21 2.22
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv12108

    Modified Files:
    binkit.js
    Log Message:
    Send a better error message to the remote (it's not actually a password mismatch, it's an authentication scheme mismatch).



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun May 26 18:11:18 2019
    exec binkit.js 2.22 2.23
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv19368

    Modified Files:
    binkit.js
    Log Message:
    Added a BinkP-global setting (in the [binkp] section): "PlainAuthOnly" (defaults to false). If you want to disable all CRAM-MD5 based authentication for both inbound and outbound BinkIT/BinkP connections/sessions (e.g. for trouble-shooting password mismatch issues), then set this to true.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tue May 28 17:08:11 2019
    exec binkit.js 2.23 2.24
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv12065

    Modified Files:
    binkit.js
    Log Message:
    When plain_auth_only is set (globally or per node), insure that require_md5
    and require_crypt are set to false as well.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wed May 29 02:03:22 2019
    exec binkit.js 2.24 2.25
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv1395

    Modified Files:
    binkit.js
    Log Message:
    Ignore per-node "BinkpAllowPlainText=false" on incoming connections when
    global "PlainAuthOnly=true"



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Fri Jun 14 13:08:42 2019
    exec binkit.js 2.25 2.26
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv27843

    Modified Files:
    binkit.js
    Log Message:
    Since Revision 1.36 of load/fidocfg.js (Jan-8-2019), a blank/unconfigured
    BinkP session password ("SessionPwd") in sbbsecho.ini would cause BinkIT/BinkP to behave as though a session password was specified. The reason for the change to fidocfg.js (specifying a default value for "SessionPwd" as a blank string) was to force the return value to a string so that numeric passwords were not returned as numbers but rather strings.
    The binkit.js and binkp.js code assumed that a blank password would be 'undefined' and not a blank string.
    This commit changes binkit.js and binkp.js to treat all of the following session password values as "no password" with respect to BinkP:
    - false
    - undefined
    - blank string ('')




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun Jun 16 21:21:20 2019
    exec binkit.js 2.26 2.27
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv10710

    Modified Files:
    binkit.js
    Log Message:
    Added global option to disable BinkP encryption - at Mark Lewis' request.
    With this option, it is now possible to support CRAM-MD5 authenication while not allowing encrypted sessions (inbound or outbound) - not sure why.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From mark lewis@VERT to digitalman on Mon Jun 17 06:47:18 2019
    On 2019 Jun 16 22:21:20, rswindell wrote to CVS commit:

    Modified Files:
    binkit.js
    Log Message:
    Added global option to disable BinkP encryption - at Mark Lewis' request. With this option, it is now possible to support CRAM-MD5 authenication while not allowing encrypted sessions (inbound or outbound) - not sure
    why.

    thank you, sir...

    FWIW: one of the reasons i asked for this is because binkd allows it...

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... Oh, we have both kinds - country AND western. -the bar lady
    ---
    * Origin: (1:3634/12.73)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to mark lewis on Mon Jun 17 11:59:26 2019
    Re: exec/binkit.js
    By: mark lewis to digitalman on Mon Jun 17 2019 07:47 am


    On 2019 Jun 16 22:21:20, rswindell wrote to CVS commit:

    Modified Files:
    binkit.js
    Log Message:
    Added global option to disable BinkP encryption - at Mark Lewis' request. With this option, it is now possible to support CRAM-MD5 authenication while not allowing encrypted sessions (inbound or outbound) - not sure
    why.

    thank you, sir...

    No problem. It's unfortunate that I have to touch base in so many places to add an option like that. Perhaps if echocfg was re-written in JS that would allow more code reuse between BinkIT and echocfg. Not going to happen anytime soon (if every) - but it's an idea.

    FWIW: one of the reasons i asked for this is because binkd allows it...

    Okay. Hopefully it's useful to somebody someday. I made it global because that's the only way to tweak the capabilities/options for incoming connections.

    digital man

    Synchronet/BBS Terminology Definition #23:
    DSZ = DOS Send ZMODEM (by Chuck Forsberg)
    Norco, CA WX: 71.1øF, 71.0% humidity, 5 mph E wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From mark lewis@VERT to Digital Man on Mon Jun 17 16:58:28 2019
    On 2019 Jun 17 12:59:26, you wrote to me:

    thank you, sir...

    No problem. It's unfortunate that I have to touch base in so many places
    to
    add an option like that. Perhaps if echocfg was re-written in JS that
    would
    allow more code reuse between BinkIT and echocfg. Not going to happen anytime soon (if every) - but it's an idea.

    iknow what you speak of... i wish i was more fluent in javascript than i am... i did alright with my mods to tickit and tickitcfg but they were pushing my limits with having to look up everything as well as trying to find what was available in sbbs' libraries... that's not a bad thing... it is just an old mind not quite up to learning new languages...

    FWIW: one of the reasons i asked for this is because binkd allows it...

    Okay. Hopefully it's useful to somebody someday. I made it global because that's the only way to tweak the capabilities/options for incoming connections.

    that's how binkd does it, too... the following is from the debian wheezy man page for binkd... note the -r and -m options :)

    -C Binkd running with this option will reread the configuration file if it is changed. The modification time of the configuration file is checked every 60 seconds and on every incoming and outgoing connection.

    -c Start client only. Normally Binkd starts both server and client.

    -D Run Binkd as a daemon (cannot be used for client-only mode).

    -i Run Binkd from inetd.

    -P Poll a node. An empty *.ilo file in the outbound will be created, which will force Binkd to connect to and to receive mail from the node ( Binkd will also add "Node node * -" record to the table-of-nodes in Binkd's memory if there is no entry for the node in the configuration file).

    -p Start client manager, process polls, quit if the queue seems to be empty after the next rescan. Implies -c.

    -q Quiet mode. Turns off printq, conlog and percents statements of configuration.

    -r Disable crypt traffic.

    -s Start server only. Normally Binkd starts both server and client.

    -v Be verbose. This flag can be specified multiple times for even higher verbosity. Binkd -v will dump binkd's version and quit. Binkd -vvv binkd.cfg will dump binkd's configuration and still work.

    -m Disable CRAM-MD5 authorization. Implies -r.

    -n doing not call or listen (only check cfg and make polls)

    -h Print help message.


    thanks again!

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... Love may be blind, but marriage is a real eye-opener!
    ---
    * Origin: (1:3634/12.73)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wed Dec 11 12:14:54 2019
    exec binkit.js 2.27 2.28
    Update of /cvsroot/sbbs/exec
    In directory cvs:/home/rswindell/sbbs/exec

    Modified Files:
    binkit.js
    Log Message:
    Add experimental Binkp/TLS option to [node:*] sections of sbbsecho.ini (defaults to false)
    Set to BinkpTLS=true to use BinkP over TLS for a specified node.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wed Mar 11 10:23:11 2020
    exec binkit.js 2.28 2.29
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv13957

    Modified Files:
    binkit.js
    Log Message:
    Create the inbound dir(s) before trying to move files into them


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wed Mar 11 18:22:32 2020
    exec binkit.js 2.29 2.30
    Update of /cvsroot/sbbs/exec
    In directory cvs:/home/rswindell/sbbs/exec

    Modified Files:
    binkit.js
    Log Message:
    Update the existing BINKP service, if it exists, setting Enabled=true
    (rather than leaving the default disabled BINKP service configuration
    in tact)



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sat Mar 14 17:27:36 2020
    exec binkit.js 2.30 2.31
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv26906

    Modified Files:
    binkit.js
    Log Message:
    "binkit install" now insures the following timed events are Enabled, even when they were already created/configured:
    - fidoin
    - fidoout
    - binkout
    - binkpoll



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sat Mar 14 17:43:15 2020
    exec binkit.js 2.31 2.32
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv29881

    Modified Files:
    binkit.js
    Log Message:
    Fix previous commit: events don't have a 'code' property.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun Mar 15 00:49:10 2020
    exec binkit.js 2.32 2.33
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv3294

    Modified Files:
    binkit.js
    Log Message:
    Rework the timed event enable logic.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Sun Mar 15 15:07:15 2020
    exec binkit.js 2.33 2.34
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv21810

    Modified Files:
    binkit.js
    Log Message:
    Fix indentation, call fullpath() on outbound roots.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Fri Mar 20 01:08:09 2020
    exec binkit.js 2.34 2.35
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv19427

    Modified Files:
    binkit.js
    Log Message:
    Fix errors:
    Unexpected file path 's:\sbbs\fido\outbound\0067270f.hut' expected '../fido/outbound\0067270f.hut' (skipped)
    Unexpected file path 's:\sbbs\fido\outbound\0067270f.hlo' expected '../fido/outbound\0067270f.hlo' (skipped)
    Unexpected file path 's:\sbbs\fido\outbound.002\011801d0.clo' expected '../fido/outbound.002\011801d0.clo' (skipped)



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Mon Mar 23 11:18:54 2020
    exec binkit.js 2.35 2.36
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv18230

    Modified Files:
    binkit.js
    Log Message:
    Exit with a helpful error message (rather than an obscure exception)
    if there are no Fidonet addresses configured in SCFG->Networks->FidoNet.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun May 3 18:56:18 2020
    exec binkit.js 2.37 2.38
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv24962

    Modified Files:
    binkit.js
    Log Message:
    Add some debug to help to get to the bottom of Dan_C's reported error: TypeError: addr.flo_outbound is not a function




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Mon May 4 14:58:33 2020
    exec binkit.js 2.38 2.39
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv29959

    Modified Files:
    binkit.js
    Log Message:
    Force binkit_to_addr to be an object (FIDO.Addr) to prevent the error:
    line 205: TypeError: addr.flo_outbound is not a function
    when callout() is called with a string as the first argument.
    Dan_C was trying to send an outbox file to a link with no binkp password which results in callout() being called with a string for the first argument
    (addr) due to this logic in callout_auth_cb():
    if (!bp.cb_data.binkitpw || bp.cb_data.binkitpw === '-')
    addrs.push(bp.cb_data.binkit_to_addr);



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Tue Aug 25 22:35:05 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/eaf5cb1dc4c06d5a209feb4d
    Modified Files:
    exec/binkit.js
    Log Message:
    Don't refuse to over-write a 0-byte file in the inbound dir.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Sat Sep 12 22:58:41 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/47e08fce46c0dec60e3fe555
    Modified Files:
    exec/binkit.js
    Log Message:
    Resolve binkit.js line 322: TypeError: bp.remote_addrs is undefined

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Sun Oct 4 11:53:40 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/1756badcd83e6c7b82d665ad
    Modified Files:
    exec/binkit.js
    Log Message:
    Add error (errno) value for file open failure log messages.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Sun Oct 11 13:40:33 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/f7be68017ddc14c12e7646bc
    Modified Files:
    exec/binkit.js
    Log Message:
    Fix race condition in add_outbound_files() causing "Unable to open FLO file".

    The directory list is catpured *before* the lock file is "taken", so it can happen that another process (e.g. instance of binkit) has dealt with one or more of the files by the time we take the lock and attempt to open the file.

    Also, updated error log messages a bit.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deuce@VERT to Git commit to main/sbbs/master on Wed Nov 25 23:04:04 2020
    https://gitlab.synchro.net/main/sbbs/-/commit/ccae9511aed180172012402f
    Modified Files:
    exec/binkit.js
    Log Message:
    Remove hack for Mystic v1.12A39 CRAM-MD5 issue.

    This has been fixed upstream for some time.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuce@VERT to Git commit to main/sbbs/master on Wed Dec 2 12:02:29 2020
    https://gitlab.synchro.net/main/sbbs/-/commit/1ea3f27714ee4c4319544a10
    Modified Files:
    exec/binkit.js
    Log Message:
    Properly close flo file after re-writing it.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Fri Dec 18 18:50:57 2020
    https://gitlab.synchro.net/main/sbbs/-/commit/6fa1aa8ebafcaf11b1359741
    Modified Files:
    exec/binkit.js
    Log Message:
    Convert stats failed_sent_files from array of objects to array of strings

    Fixes issue reported by Ragnarok (DOCKSUD) where by data/binkstats.ini
    could contain:
    failed_sent_files = [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object
    Object],[object Object

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Ragnarok@VERT/DOCKSUD to Rob Swindell on Sat Dec 19 13:28:23 2020
    El 18/12/20 a las 23:50, Rob Swindell escribió:
    https://gitlab.synchro.net/main/sbbs/-/commit/6fa1aa8ebafcaf11b1359741 Modified Files:
    exec/binkit.js
    Log Message:
    Convert stats failed_sent_files from array of objects to array of strings

    Fixes issue reported by Ragnarok (DOCKSUD) where by data/binkstats.ini
    could contain:
    failed_sent_files = [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net


    Thanks you!

    Abrazo!

    ---
    ï¿­ Synchronet ï¿­ Dock Sud BBS TLD 24 HS - bbs.docksud.com.ar
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sun Jan 31 18:51:59 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/dff4076f809f1e8ae828684e
    Modified Files:
    exec/binkit.js
    Log Message:
    Allow config file (alternate sbbsecho .ini file) to be passed on cmdline

    Back in the day, some sysops used to use multiple SBBSecho configuration files. Nobody seems to do that these days, but its certainly a viable solution (or should be) for multiple FTNs on a single BBS. Anyway, this enhancement allows BinkIT to use an alternate SBBSecho configuration file (though it must still
    be located in the ctrl dir).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sat Jun 5 23:16:46 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/1e441edadc29d27925ebc2a9
    Modified Files:
    exec/binkit.js
    Log Message:
    Don't log an error if after a failure to remove a file, the file doesn't exist

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Wed Jun 4 19:51:59 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/99c1ec3fd5a25ffd60ea0b67
    Modified Files:
    exec/binkit.js
    Log Message:
    Work around bug in issue #936

    The regexp engine used in aarch64 builds has a bug where /x[^x]*?$/
    will not match when /x[^x]*$/ will, which causes issues with lockfiles.

    Simply removing the ? (which in this case should not change the
    results) resolves it.

    Other cases of *?$ in regexps should be investigated to ensure this
    is the only workaround (this is the only case of an inverted alternative followed by *?$ I can find though).

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net