• xtrn/syncwall/commands.js service.js

    From echicken@VERT to CVS commit on Sat Dec 10 03:04:07 2016
    xtrn/syncwall commands.js 1.1 1.2 service.js 1.7 1.8
    Update of /cvsroot/sbbs/xtrn/syncwall
    In directory cvs:/tmp/cvs-serv22933/syncwall

    Modified Files:
    commands.js service.js
    Log Message:
    Don't ident; commands.js will trust localhost instead. Should rid us of the 'incorrect password' log message, and another bug recently reported on DOVE-Net.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ telnet://vert.synchro.net
  • From Accession@VERT/PHARCYDE to Digital Man on Sat Dec 10 13:42:50 2016
    Hello Digital,

    On 09 Dec 16 23:02, Digital Man wrote to echicken:

    Modified Files:
    commands.js service.js
    Log Message:
    Don't ident; commands.js will trust localhost instead. Should rid
    us of the 'incorrect password' log message, and another bug
    recently reported on DOVE-Net.

    And now is about the time you start thinking: maybe this copy/pasted
    logic should go in exec/load/something.js. :-)

    It may indeed even make it easier to update in the future, rather than having to CVS update every directory separately (eg: when you already have other modified xtrn stuff). :)

    Regards,
    Nick

    ... "Не знаю. Я здесь только работаю."
    --- GoldED+/LNX 1.1.5-b20160827
    * Origin: thePharcyde_ distribution system (Wisconsin) (723:1/1)
    ■ Synchronet ■ thePharcyde_ telnet://bbs.pharcyde.org (Wisconsin)
  • From echicken to Digital Man on Sat Dec 10 18:18:17 2016
    Re: xtrn/syncwall/commands.js service.js
    By: Digital Man to echicken on Fri Dec 09 2016 23:02:38

    And now is about the time you start thinking: maybe this copy/pasted logic should go in exec/load/something.js. :-)

    Giving it some thought. It's about who can write what to where in a JSON DB, and each DB is different. Coming up with something generic should be possible (but maybe not worth the trouble).

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
  • From echicken to Accession on Sat Dec 10 18:22:54 2016
    Re: xtrn/syncwall/commands.js service.js
    By: Accession to Digital Man on Sat Dec 10 2016 08:42:50

    Modified Files:
    commands.js service.js

    It may indeed even make it easier to update in the future, rather than having to CVS update every directory separately (eg: when you already have other modified xtrn stuff). :)

    While the files I updated last night have the same names (commands.js, service.js) they were not the same file copied around to different places. They're each customized for the game in question and need to be updated separately.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
  • From Accession@VERT to echicken on Sat Dec 10 18:52:38 2016
    Hello echicken,

    On 10 Dec 16 13:22, echicken wrote to Accession:

    Modified Files:
    commands.js service.js

    It may indeed even make it easier to update in the future, rather
    than having to CVS update every directory separately (eg: when
    you already have other modified xtrn stuff). :)

    While the files I updated last night have the same names (commands.js, service.js) they were not the same file copied around to different
    places. They're each customized for the game in question and need to
    be updated separately.

    Understood. And this should fix the issue I have with something in the lines of "(JSON) User not found: Accession"?

    Regards,
    Nick

    ... "Не знаю. Я здесь только работаю."
    --- GoldED+/LNX 1.1.5-b20160827
    * Origin: thePharcyde_ distribution system (Wisconsin) (1:154/10)
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ telnet://vert.synchro.net
  • From echicken to Accession on Sat Dec 10 20:52:32 2016
    Re: xtrn/syncwall/commands.js service.js
    By: Accession to echicken on Sat Dec 10 2016 13:52:38

    Understood. And this should fix the issue I have with something in the lines of "(JSON) User not found: Accession"?

    Hopefully. That log message doesn't indicate which JSON-DB module generated the error, but I'm about 99% certain it's coming from one (or more) of the ones I updated last night.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
  • From Digital Man@VERT to echicken on Sat Dec 10 18:49:37 2016
    Re: xtrn/syncwall/commands.js service.js
    By: echicken to Accession on Sat Dec 10 2016 01:22 pm

    Re: xtrn/syncwall/commands.js service.js
    By: Accession to Digital Man on Sat Dec 10 2016 08:42:50

    Modified Files:
    commands.js service.js

    It may indeed even make it easier to update in the future, rather than having to CVS update every directory separately (eg: when you already have other modified xtrn stuff). :)

    While the files I updated last night have the same names (commands.js, service.js) they were not the same file copied around to different places. They're each customized for the game in question and need to be updated separately.

    I understand the files were different, but they also contained some identical (copy pasta) code. That code could be moved to a common place so that it could be fixed or enhanced in that one place. Code reuse and all, not that it makes much difference to me in this case. :-)

    digital man

    Synchronet/BBS Terminology Definition #56:
    XOFF = Transmit Off (ASCII 19, Ctrl-S)
    Norco, CA WX: 62.9°F, 73.0% humidity, 6 mph SE wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ telnet://vert.synchro.net
  • From echicken to Digital Man on Sat Dec 10 23:02:58 2016
    Re: xtrn/syncwall/commands.js service.js
    By: Digital Man to echicken on Sat Dec 10 2016 13:49:37

    I understand the files were different, but they also contained some identical (copy pasta) code. That code could be moved to a common place so that it could be fixed or enhanced in that one place. Code reuse and all,

    Yep. A number of those files are nearly identical, or do the same thing in slightly different ways. They were experiments/attempts at limiting write access to a JSON-DB.

    I'll probably create some sort of permissions controller thing along with the next JSON-DB-enabled game or module that I write, and make it generic / configurable / reusable.

    The JSON-DB service is handy, but its access control is basic. You can limit read access to the entire DB based on a user's security level, and the same goes for write access. Unrestricted read/write access is the default.

    I was surprised to see somebody trying to mess with one of my databases a couple of months ago, but thankfully they were stopped either by my makeshift controllers, or by not knowing what they were doing. Anyway at least it proved that I hadn't wasted my time trying to prevent that sort of thing.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
  • From Accession@VERT/PHARCYDE to echicken on Sat Dec 10 21:09:36 2016
    Hello echicken,

    On 10 Dec 16 13:22, echicken wrote to Accession:

    It may indeed even make it easier to update in the future, rather
    than having to CVS update every directory separately (eg: when
    you already have other modified xtrn stuff). :)

    While the files I updated last night have the same names (commands.js, service.js) they were not the same file copied around to different
    places. They're each customized for the game in question and need to
    be updated separately.

    No problem. It was as easy as going into each directory and running "cvs up".

    Thanks for the update!

    Regards,
    Nick

    ... "Не знаю. Я здесь только работаю."
    --- GoldED+/LNX 1.1.5-b20160827
    * Origin: thePharcyde_ distribution system (Wisconsin) (723:1/1)
    ■ Synchronet ■ thePharcyde_ telnet://bbs.pharcyde.org (Wisconsin)
  • From Accession@VERT/PHARCYDE to echicken on Sat Dec 10 21:11:32 2016
    Hello echicken,

    On 10 Dec 16 15:52, echicken wrote to Accession:

    Hopefully. That log message doesn't indicate which JSON-DB module generated the error, but I'm about 99% certain it's coming from one
    (or more) of the ones I updated last night.

    I've updated all the directories, but most likely won't know until I either restart the service, recycle the servers, or restart the system. Whichever comes first and when it gets around to being done. It wasn't a huge deal before, but I'll let you know if I see it again in the future.

    Regards,
    Nick

    ... "Не знаю. Я здесь только работаю."
    --- GoldED+/LNX 1.1.5-b20160827
    * Origin: thePharcyde_ distribution system (Wisconsin) (723:1/1)
    ■ Synchronet ■ thePharcyde_ telnet://bbs.pharcyde.org (Wisconsin)
  • From Bill McGarrity@VERT/TEQUILAM to echicken on Sun Dec 11 02:56:00 2016
    echicken wrote to Accession <=-

    Re: xtrn/syncwall/commands.js service.js
    By: Accession to Digital Man on Sat Dec 10 2016 08:42:50

    Modified Files:
    commands.js service.js

    It may indeed even make it easier to update in the future, rather than having to CVS update every directory separately (eg: when you already have other modified xtrn stuff). :)

    While the files I updated last night have the same names (commands.js, service.js) they were not the same file copied around to different
    places. They're each customized for the game in question and need to be updated separately.

    I found that out the hard way... :)


    --

    Bill

    Telnet: tequilamockingbirdonline.net
    Web: bbs.tequilamockingbirdonline.net:81
    FTP: ftp.tequilamockingbirdonline.net:2121
    IRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: +6697
    Radio: radio.tequilamockingbirdonline.net:8010/live


    ... Look Twice... Save a Life!!! Motorcycles are Everywhere!!!
    --- MultiMail/Win32 v0.50
    ■ Synchronet ■ TequilaMockingbird Online - Toms River, NJ
  • From Digital Man@VERT to echicken on Sun Dec 11 00:23:03 2016
    Re: xtrn/syncwall/commands.js service.js
    By: echicken to Digital Man on Sat Dec 10 2016 06:02 pm

    I was surprised to see somebody trying to mess with one of my databases a couple of months ago, but thankfully they were stopped either by my makeshift controllers, or by not knowing what they were doing. Anyway at least it proved that I hadn't wasted my time trying to prevent that sort of thing.

    Trying to cheat in a game or insert something offensive on a wall? Most BBS things start out with loose security and just add more "as needed". We're a pretty trusting community, in general.

    digital man

    Synchronet/BBS Terminology Definition #50:
    Sysop = System Operator
    Norco, CA WX: 56.3°F, 91.0% humidity, 2 mph SE wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ telnet://vert.synchro.net
  • From echicken to Digital Man on Sun Dec 11 05:06:34 2016
    Re: xtrn/syncwall/commands.js service.js
    By: Digital Man to echicken on Sat Dec 10 2016 19:23:03

    Trying to cheat in a game or insert something offensive on a wall? Most

    Someone was trying to mess with my oneliners database. IIRC they were either attempting to flood it with crap or modify existing entries. Probably the latter. In any case they weren't having much luck, so I didn't dig too deeply into it.

    BBS things start out with loose security and just add more "as needed". We're a pretty trusting community, in general.

    These controls mostly exist to ensure the integrity of a database; thwarting the occasional troublemaker is a secondary benefit. If I verify records before they make it into the DB, then I can trust that they'll be in the right format when I read them later. Saves having to check that an object read from the DB has properties x, y, and z and that each are of the right type; better to keep the garbage out in the first place.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
  • From Accession@VERT/PHARCYDE to Digital Man on Sun Dec 11 03:58:52 2016
    Hello Digital,

    On 10 Dec 16 19:23, Digital Man wrote to echicken:

    needed". We're a pretty trusting community, in general.

    Except for the idiots, not knowing what a BBS actually is, trying to connect on
    a daily basis, of course (ie: script kiddies and hackers).

    Regards,
    Nick

    ... "Не знаю. Я здесь только работаю."
    --- GoldED+/LNX 1.1.5-b20160827
    * Origin: thePharcyde_ distribution system (Wisconsin) (723:1/1)
    ■ Synchronet ■ thePharcyde_ telnet://bbs.pharcyde.org (Wisconsin)
  • From Knightmare@VERT/P99BBS to echicken on Sun Dec 11 18:07:42 2016
    Re: xtrn/syncwall/commands.js service.js
    By: echicken to Digital Man on Sun Dec 11 2016 12:06 am

    Someone was trying to mess with my oneliners database. IIRC they were either attempting to flood it with crap or modify existing entries. Probably the latter. In any case they weren't having much luck, so I didn't dig too deeply into it.

    Someone from the outside? Why screw around with the wall program? What's the benefit there?

    ---
    ■ Synchronet ■ Precinct 99 BBS -- p99bbs.homenet.org - Lewis Center, OH USA
  • From echicken to Knightmare on Sun Dec 11 18:29:06 2016
    Re: xtrn/syncwall/commands.js service.js
    By: Knightmare to echicken on Sun Dec 11 2016 13:07:42

    Someone from the outside? Why screw around with the wall program? What's the benefit there?

    Not sure. Someone was posting rude things to the wall around that time. Maybe they thought better of it and were trying to remove their posts. Or perhaps they wanted to automate their trolling, or overwrite other people's posts - in which case there's no real benefit, just vandalism.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230