• MRC Module

    From DesotoFireflite@1:103/705 to echicken on Tue Feb 22 14:10:58 2022
    I use your MRC module here, and I've always seemed to get the errors in my log file. I've never really bothered with the error log, but I'm trying to get it where it's manageable. I get the folowing error message all the time. Is there a way to fix this, or is a live with condition.

    Tue Feb 22 13:34:17 2022 master/a8a6ca229
    srvc 0000 MRC-Connector Invalid MRC line: ans to invade Ukraine. "There are many people in Putin's inner circle who are extremely dissatisfied with his behavior"~

    Tue Feb 22 13:49:57 2022 master/a8a6ca229
    srvc 0000 MRC-Connector Invalid MRC line: Biden green-lit it)?~

    I'm running mrc-client.js,v 1.5 2019/05/05 04:52:40 echicken, on win10,32bit

    Thanks in advance.

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com
    Valhalla II! - (GAP) - bbs.valhallabbs.com:24
    Valhalla III! - (RemoteAccess) - bbs.valhallabbs.com:5023
    Valhalla IIII! - (Dungeons & Dragons BBS) - bbs.valhallabbs.com:26
    Valhalla Home Services Web! - http://bbs.valhallabbs.com
    A Gamers Paradise - Over 150 Registered Online Game Doors!
    Home Of Odin's Maze Game Server!

    --- CAT (n.), Furry keyboard cover.
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to DesotoFireflite on Tue Feb 22 20:48:34 2022
    Re: MRC Module
    By: DesotoFireflite to echicken on Tue Feb 22 2022 14:10:58

    get it where it's manageable. I get the folowing error message all the time. Is there a way to fix this, or is a live with condition.

    Tue Feb 22 13:49:57 2022 master/a8a6ca229
    srvc 0000 MRC-Connector Invalid MRC line: Biden green-lit it)?~

    Something is sending lines that don't follow the MRC format. IIRC each line is meant to contain the user name, the BBS name, the channel, the message, and some other stuff, with each of these fields being separated by a ~.

    Would you guess that these lines are originating from your BBS, or that they're coming in from somewhere else? (Is anyone on your BBS and using MRC when this happens? Are they typing the messages about Biden and the Ukraine or whatever turns up in the log?)

    It's possible that the protocol has changed since I wrote the client, or I'm not handling multi-line messages properly, or somebody wrote a broken MRC client/bot/whatever that's generating bad messages. Hard to say.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From DesotoFireflite@1:103/705 to echicken on Tue Feb 22 17:28:00 2022
    Re: MRC Module
    By: echicken to DesotoFireflite on Tue Feb 22 2022 08:48 pm

    Re: MRC Module
    By: DesotoFireflite to echicken on Tue Feb 22 2022 14:10:58

    get it where it's manageable. I get the folowing error message all
    the time. Is there a way to fix this, or is a live with condition.

    Tue Feb 22 13:49:57 2022 master/a8a6ca229
    srvc 0000 MRC-Connector Invalid MRC line: Biden green-lit it)?~

    Something is sending lines that don't follow the MRC format. IIRC each line is meant to contain the user name, the BBS name, the channel, the message, and some other stuff, with each of these fields being separated by a ~.

    I noteced that myself, but I wasn't sure of what was going on.

    Would you guess that these lines are originating from your BBS, or that they're coming in from somewhere else? (Is anyone on your BBS and using MRC when this happens? Are they typing the messages about Biden and the Ukraine or whatever turns up in the log?)

    No, it's coming from outside of my system, I checked, and no one has been on at the times this happens. I showed you todays, as I was in front of the system when It happened. Some days it will 20 to 30 errors in the error log.

    It's possible that the protocol has changed since I wrote the client, or I'm not handling multi-line messages properly, or somebody wrote a broken

    I tried changing the line in mrc-connector.js:
    from
    log(LOG_ERR, 'Invalid MRC line: ' + line):
    to
    log(LOG_INFO, 'Invalid MRC line: ' + line):

    but it didn't like it, and gave me another error, which I can't remember. Hope this info helps. Where is the actual log file kept, and what is it's name for the info and debug info.

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com
    Valhalla II! - (GAP) - bbs.valhallabbs.com:24
    Valhalla III! - (RemoteAccess) - bbs.valhallabbs.com:5023
    Valhalla IIII! - (Dungeons & Dragons BBS) - bbs.valhallabbs.com:26
    Valhalla Home Services Web! - http://bbs.valhallabbs.com
    A Gamers Paradise - Over 150 Registered Online Game Doors!
    Home Of Odin's Maze Game Server!

    --- CAT (n.), Furry keyboard cover.
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to echicken on Tue Feb 22 18:15:46 2022
    Re: MRC Module
    By: echicken to DesotoFireflite on Tue Feb 22 2022 08:48 pm

    Re: MRC Module
    By: DesotoFireflite to echicken on Tue Feb 22 2022 14:10:58

    get it where it's manageable. I get the folowing error message all the time. Is there a way to fix this, or is a live with condition.

    Tue Feb 22 13:49:57 2022 master/a8a6ca229
    srvc 0000 MRC-Connector Invalid MRC line: Biden green-lit it)?~

    Something is sending lines that don't follow the MRC format. IIRC each line is meant to contain the user name, the BBS name, the channel, the message, and some other stuff, with each of these fields being separated by a ~.

    Would you guess that these lines are originating from your BBS, or that they're coming in from somewhere else? (Is anyone on your BBS and using MRC when this happens? Are they typing the messages about Biden and the Ukraine or whatever turns up in the log?)

    It's possible that the protocol has changed since I wrote the client, or I'm not handling multi-line messages properly, or somebody wrote a broken MRC client/bot/whatever that's generating bad messages. Hard to say.

    Does it barf if a user sends a message containing a '~' character maybe?
    --
    digital man (rob)

    Rush quote #52:
    His world is under observation, we monitor his station .. Digital Man
    Norco, CA WX: 44.7øF, 88.0% humidity, 1 mph ESE wind, 0.00 inches rain/24hrs --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to DesotoFireflite on Wed Feb 23 03:21:00 2022
    Re: MRC Module
    By: DesotoFireflite to echicken on Tue Feb 22 2022 17:28:00

    No, it's coming from outside of my system, I checked, and no one has been

    Okay. That helps and means I probably have similar errors in my own log. I'll see if that's the case; if so, it'll help me narrow things down.

    No promises though. I have limited patience with MRC.

    I tried changing the line in mrc-connector.js:
    from
    log(LOG_ERR, 'Invalid MRC line: ' + line):
    to
    log(LOG_INFO, 'Invalid MRC line: ' + line):

    but it didn't like it, and gave me another error, which I can't remember.

    I can't imagine why that would be, but you might have been better off changing that to LOG_DEBUG.

    Hope this info helps. Where is the actual log file kept, and what is it's name for the info and debug info.

    That depends a lot on how your system is set up. These log messages are going wherever the logs for your other JS services go (like the NNTP server, or JSON-DB, or anything from services.ini), if that helps.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to echicken on Tue Feb 22 19:56:19 2022
    Re: MRC Module
    By: echicken to DesotoFireflite on Wed Feb 23 2022 03:21 am

    Hope this info helps. Where is the actual log file kept, and what is it's name for the info and debug info.

    That depends a lot on how your system is set up. These log messages are going wherever the logs for your other JS services go (like the NNTP server, or JSON-DB, or anything from services.ini), if that helps.

    Also check data/error.log. Any messages logged with an "Error" severity (or worse) should also be logged in that file.
    --
    digital man (rob)

    This Is Spinal Tap quote #30:
    Big bottom, big bottom / Talk about mud flaps, my girl's got 'em!
    Norco, CA WX: 45.0øF, 86.0% humidity, 11 mph SSE wind, 0.01 inches rain/24hrs --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Digital Man on Wed Feb 23 03:59:27 2022
    Re: MRC Module
    By: Digital Man to echicken on Tue Feb 22 2022 18:15:46

    Does it barf if a user sends a message containing a '~' character maybe?

    Technically not barfing (as in crashing or doing anything it shouldn't) - these lines are illegal; it's logging but otherwise ignoring them.

    The protocol description I was given in 2019 says:

    - Each 'message' is a single line of seven ~ delimited fields
    - Each message is terminated with a ~ and a newline
    - No field may contain the ~ character
    - Only ASCII 32-125 are permitted in any field
    - Some fields only allow ASCII 33-125
    - Any message not conforming to the above must be dropped

    I have a suspicion that these are long messages being broken up into multiple lines, with subsequent lines lacking all but the "message text" field. Very possibly the protocol was amended to allow this but I didn't hear about it (or
    ignored it).

    Or there's a busted client out there sending bad messages.

    I've heard of two people working on MRC-related things in recent months. If these errors are new, maybe they're related. (Meatlotion, are you reading this?)

    That's it for this edition of the MRC super funtime show. Thanks for tuning in.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From DesotoFireflite@1:103/705 to echicken on Wed Feb 23 08:04:30 2022
    Re: MRC Module
    By: echicken to DesotoFireflite on Wed Feb 23 2022 03:21 am

    Re: MRC Module
    By: DesotoFireflite to echicken on Tue Feb 22 2022 17:28:00

    No, it's coming from outside of my system, I checked, and no one has
    been

    Okay. That helps and means I probably have similar errors in my own log. I'll see if that's the case; if so, it'll help me narrow things down.
    No promises though. I have limited patience with MRC.

    OK, I understand. It's still working, just filling up the error.log. That's why I tried to change the log level, so it didn't throw an error everytime.

    I tried changing the line in mrc-connector.js:
    from
    log(LOG_ERR, 'Invalid MRC line: ' + line):
    to
    log(LOG_INFO, 'Invalid MRC line: ' + line):

    but it didn't like it, and gave me another error, which I can't
    remember.

    I can't imagine why that would be, but you might have been better off changing that to LOG_DEBUG.

    I'll try that till we get a resolution. Thanks

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com
    Valhalla II! - (GAP) - bbs.valhallabbs.com:24
    Valhalla III! - (RemoteAccess) - bbs.valhallabbs.com:5023
    Valhalla IIII! - (Dungeons & Dragons BBS) - bbs.valhallabbs.com:26
    Valhalla Home Services Web! - http://bbs.valhallabbs.com
    A Gamers Paradise - Over 150 Registered Online Game Doors!
    Home Of Odin's Maze Game Server!

    --- CAT (n.), Furry keyboard cover.
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From DesotoFireflite@1:103/705 to Digital Man on Wed Feb 23 08:06:44 2022
    Re: MRC Module
    By: Digital Man to echicken on Tue Feb 22 2022 07:56 pm

    Re: MRC Module
    By: echicken to DesotoFireflite on Wed Feb 23 2022 03:21 am

    Hope this info helps. Where is the actual log file kept, and what
    is it's name for the info and debug info.

    That depends a lot on how your system is set up. These log messages
    are going wherever the logs for your other JS services go (like the
    NNTP server, or JSON-DB, or anything from services.ini), if that
    helps.

    Also check data/error.log. Any messages logged with an "Error" severity (or worse) should also be logged in that file.

    That's where I'm seeing the errors, but I can't find the other logged activity for it.

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com
    Valhalla II! - (GAP) - bbs.valhallabbs.com:24
    Valhalla III! - (RemoteAccess) - bbs.valhallabbs.com:5023
    Valhalla IIII! - (Dungeons & Dragons BBS) - bbs.valhallabbs.com:26
    Valhalla Home Services Web! - http://bbs.valhallabbs.com
    A Gamers Paradise - Over 150 Registered Online Game Doors!
    Home Of Odin's Maze Game Server!

    --- CAT (n.), Furry keyboard cover.
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to DesotoFireflite on Wed Feb 23 14:06:46 2022
    Re: MRC Module
    By: DesotoFireflite to Digital Man on Wed Feb 23 2022 08:06:44

    That's where I'm seeing the errors, but I can't find the other logged activity for it.

    It logs a *lot* of stuff at debug level, but normally very little at less verbose log levels. Could be perfectly normal that you won't see much chatter from it.

    I had a look at my logs and I'm seeing the same thing. Actually all of these problematic MRC messages are originating from "The Delta Quadrant". I'm not sure whose BBS that is, but perhaps they can shed some light.

    My suspicion that these are multi-line messages seems to be confirmed though. I'm not sure if *I'm* supposed to be handling them differently, or if this other system really is sending them incorrectly.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From DesotoFireflite@1:103/705 to echicken on Wed Feb 23 08:40:52 2022
    Re: MRC Module
    By: DesotoFireflite to echicken on Tue Feb 22 2022 05:28 pm

    Re: MRC Module
    By: echicken to DesotoFireflite on Tue Feb 22 2022 08:48 pm

    Something is sending lines that don't follow the MRC format. IIRC
    each line is meant to contain the user name, the BBS name, the
    channel, the message, and some other stuff, with each of these
    fields being separated by a ~.

    This is the latest. It actually looks like it's coming from another systems sysop who might be a programmer. I thought this may be of some help.

    Tue Feb 22 21:21:33 2022 master/a8a6ca229
    srvc 0000 MRC-Connector Invalid MRC line: launch traditional door.sys/dorinfoX. def doors as well as STDIO programs as doors. Would love to better understand
    this. Even still...are there 32 bit linux doors that use door32.sys?~

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com
    Valhalla II! - (GAP) - bbs.valhallabbs.com:24
    Valhalla III! - (RemoteAccess) - bbs.valhallabbs.com:5023
    Valhalla IIII! - (Dungeons & Dragons BBS) - bbs.valhallabbs.com:26
    Valhalla Home Services Web! - http://bbs.valhallabbs.com
    A Gamers Paradise - Over 150 Registered Online Game Doors!
    Home Of Odin's Maze Game Server!

    --- I hear what you're saying but I just don't care.
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From DesotoFireflite@1:103/705 to echicken on Wed Feb 23 10:15:12 2022
    Re: MRC Module
    By: echicken to DesotoFireflite on Wed Feb 23 2022 02:06 pm

    Re: MRC Module
    By: DesotoFireflite to Digital Man on Wed Feb 23 2022 08:06:44
    I had a look at my logs and I'm seeing the same thing. Actually all of these problematic MRC messages are originating from "The Delta Quadrant". I'm not sure whose BBS that is, but perhaps they can shed some light.

    My suspicion that these are multi-line messages seems to be confirmed though. I'm not sure if *I'm* supposed to be handling them differently, or if this other system really is sending them incorrectly.

    ok, I feel better knowing you see it on your end also. For the time being, I changed it to "log(LOG_INFO, 'Invalid MRC line: ' + line);log(LOG_INFO, 'Invalid MRC line: ' + line);" and it took it this time. Hopefully you can figure it out. I looked on the web, and the only refrence to the Delta Quadrent BBS, was actuall the TREK BBS, with no other info. As always thanks

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com
    Valhalla II! - (GAP) - bbs.valhallabbs.com:24
    Valhalla III! - (RemoteAccess) - bbs.valhallabbs.com:5023
    Valhalla IIII! - (Dungeons & Dragons BBS) - bbs.valhallabbs.com:26
    Valhalla Home Services Web! - http://bbs.valhallabbs.com
    A Gamers Paradise - Over 150 Registered Online Game Doors!
    Home Of Odin's Maze Game Server!

    --- Old farts never die! They just smell that way...
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to DesotoFireflite on Wed Feb 23 15:16:15 2022
    Re: MRC Module
    By: DesotoFireflite to echicken on Wed Feb 23 2022 08:40:52

    This is the latest. It actually looks like it's coming from another

    Yep, I've got the same log output here. Actually, most anybody using the Synchronet MRC module will have this in their log.

    Some hints in the text tell me that this latest message (and possibly the rest) came from an MRC-to-IRC gateway. I know who was working on such a thing recently, so I'll see if they can share some details.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From DesotoFireflite@1:103/705 to echicken on Wed Feb 23 12:49:29 2022
    Re: MRC Module
    By: echicken to DesotoFireflite on Wed Feb 23 2022 03:16 pm

    Re: MRC Module
    By: DesotoFireflite to echicken on Wed Feb 23 2022 08:40:52

    This is the latest. It actually looks like it's coming from another

    Yep, I've got the same log output here. Actually, most anybody using the Synchronet MRC module will have this in their log.

    Some hints in the text tell me that this latest message (and possibly the rest) came from an MRC-to-IRC gateway. I know who was working on such a thing recently, so I'll see if they can share some details.

    Awesome, Thanks

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com
    Valhalla II! - (GAP) - bbs.valhallabbs.com:24
    Valhalla III! - (RemoteAccess) - bbs.valhallabbs.com:5023
    Valhalla IIII! - (Dungeons & Dragons BBS) - bbs.valhallabbs.com:26
    Valhalla Home Services Web! - http://bbs.valhallabbs.com
    A Gamers Paradise - Over 150 Registered Online Game Doors!
    Home Of Odin's Maze Game Server!

    --- CAT (n.), Furry keyboard cover.
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to DesotoFireflite on Wed Feb 23 12:10:15 2022
    Re: MRC Module
    By: DesotoFireflite to Digital Man on Wed Feb 23 2022 08:06 am

    Re: MRC Module
    By: Digital Man to echicken on Tue Feb 22 2022 07:56 pm

    Re: MRC Module
    By: echicken to DesotoFireflite on Wed Feb 23 2022 03:21 am

    Hope this info helps. Where is the actual log file kept, and what De>> is it's name for the info and debug info.

    That depends a lot on how your system is set up. These log messages
    are going wherever the logs for your other JS services go (like the
    NNTP server, or JSON-DB, or anything from services.ini), if that
    helps.

    Also check data/error.log. Any messages logged with an "Error" severity (or worse) should also be logged in that file.

    That's where I'm seeing the errors, but I can't find the other logged activity for it.

    In the Synchronet control panel for Windows, I think you'd find that activitiy in your "Services" window.
    --
    digital man (rob)

    This Is Spinal Tap quote #13:
    Nigel Tufnel: You can't really dust for vomit.
    Norco, CA WX: 50.5øF, 53.0% humidity, 5 mph E wind, 0.01 inches rain/24hrs
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)