• dyndns.js issue

    From SYS64738@1:103/705 to all on Sun Aug 4 01:52:52 2024
    When I run dyndns.js, i get this error:

    Synchronet Dynamic DNS Client 1.21
    RX: id?
    RX: pw?
    RX: Login failure!
    !Unexpected message from server: Login failure!
    !Unexpected termination by server

    I checked modopts.ini and the user name and password listed there are. So, I logged into vert thru Syncterm using the same user name and password, and i get in just fine. Any ideas as to why the same user name and password would work when I log in manually, but not when I try to run it thru dyndns.js?

    ---
    ï¿­ Synchronet ï¿­ GeoSync - geo.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Amessyroom@1:103/705 to SYS64738 on Sun Aug 4 17:04:42 2024
    Re: dyndns.js issue
    By: SYS64738 to all on Sun Aug 04 2024 01:52 am

    Synchronet Dynamic DNS Client 1.21
    RX: id?
    RX: pw?
    RX: Login failure!
    !Unexpected message from server: Login failure! !Unexpected termination by server

    I checked modopts.ini and the user name and password listed there are. So, I logged into vert thru Syncterm using the same user name and password, and i get in just fine. Any ideas as to why the same user name and password would work when I log in manually, but not when I try to run it thru dyndns.js?

    I ran into something similar and it was due, to having a % (percent sign) in the password. It gets evaulated when passed via the dyndns.js, so you
    can escape it I believe by using %% in modopts.ini or change the password.

    I changed my password and everything has worked since.

    "%s is a valid character in a password, but also would be interpreted/expanded to the startup-directory of the program,

    per:https://wiki.synchro.net/config:cmdline"

    per DM in a discussion I had with him.

    ---
    þ Synchronet þ Too Lazy BBS - toolazy.synchro.net:2323
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Amessyroom on Sun Aug 4 17:34:54 2024
    Re: dyndns.js issue
    By: Amessyroom to SYS64738 on Sun Aug 04 2024 05:04 pm

    Re: dyndns.js issue
    By: SYS64738 to all on Sun Aug 04 2024 01:52 am

    Synchronet Dynamic DNS Client 1.21
    RX: id?
    RX: pw?
    RX: Login failure!
    !Unexpected message from server: Login failure! !Unexpected termination by server

    I checked modopts.ini and the user name and password listed there are. So, I logged into vert thru Syncterm using the same user name and password, and i get in just fine. Any ideas as to why the same user name and password would work when I log in manually, but not when I try to run it thru dyndns.js?

    I ran into something similar and it was due, to having a % (percent sign) in the password. It gets evaulated when passed via the dyndns.js, so you
    can escape it I believe by using %% in modopts.ini or change the password.

    The %-escaping is only necessary for the command-line (not modopts.ini).

    dyndns.js doesn't read the modopts.ini file, so I think I was confusing qnet-ftp.js with dyndns.js in our discussion. Anyway, I'll update dyndns.js to optionally read the password from modopts.ini [dyndns] section, in case this issue ('%' in password) arises again.
    --
    digital man (rob)

    Sling Blade quote #3:
    Karl (re: killing Doyle): That second one just plum near cut his head in two. Norco, CA WX: 95.6øF, 32.0% humidity, 11 mph WSW wind, 0.00 inches rain/24hrs --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From SYS64738@1:103/705 to Digital Man on Sun Aug 4 19:53:00 2024
    Re: dyndns.js issue
    By: Amessyroom to SYS64738 on Sun Aug 04 2024 05:04 pm

    The %-escaping is only necessary for the command-line (not modopts.ini).

    dyndns.js doesn't read the modopts.ini file, so I think I was confusing qnet-ftp.js with dyndns.js in our discussion. Anyway, I'll update dyndns.js to optionally read the password from modopts.ini [dyndns] section, in case this issue ('%' in password) arises again.

    Yes, I misspoke when i referred to modopts.ini. I meant sbbs.ini. However, echicken helped me last night. I haven't had a chance to see the result as of yet.

    ---
    ï¿­ Synchronet ï¿­ GeoSync - geo.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)