• Accessing an external NAS

    From Embalmed@21:4/166 to All on Fri Feb 7 16:11:52 2020
    Hey guys, I have a big NAS where I live, but the BBS is not housed in the
    same location.

    Anyone have any services/tools/packages for mystic to accomplish this before
    I start trying to cook my own thing?

    Possibly owncloud interaction?

    I don't really want to double host all these files and most of the stuff is
    not accessed very often so it could be some sort of request/queue type of
    deal.

    |07E|10m|07b|10a|07l|10m|07e|10d |12-----------------------------------------------------
    |09Black Lodge Research BBS |11blacklodgeresearch.org:4022
    |08fsxNet: 21:4/166

    --- Mystic BBS v1.12 A44 2020/02/04 (Linux/64)
    * Origin: Black Lodge Research BBS (21:4/166)
  • From Analog@21:2/123 to Embalmed on Fri Feb 7 19:59:56 2020
    Anyone have any services/tools/packages for mystic to accomplish this before I start trying to cook my own thing?

    Easiest thing to do would be to use NFS. Setup NFS on the NAS (it usually has it in the options to enable in the UI)_. Then setup a mount point on your bbs computer. Let me know if you need help with this. I did this many times and there are some gotchas with perms.

    One thing I do since I have a couple raids and one is using GREEN WD drives
    so they have to spin up if sleeping, is to tell mystic that the filebase that the files are in is a CD Rom. This will cache any files locally before users download. Then it deletes them when done.

    If you want the user to download directly from the NAS via Mystic without
    first caching, you might experience lag and other issues and Y/ZMODEM probably won't handle these anomalies. I don't know the protocol specs very well.

    |20|15┌─|16|08┤ |08De|07ad|15be|07a|08tz b|07b|15s
    |08└─┘├─┐ |08:>.|07A|08rk |0710|08:|07101|08/|0714|08.
    |04■ |08└|20|15─|16|08┘ |08:>.|10A|02gn |1046|08:|101|08/|10123|08.
    |04A|07n|15al|07o|08g |08:>.|12F|04sx |1221|08:|122|08/|12123|08. |15.|04p|07HENOM|15. |08:>.|15S|07ci |1577|08:|151|08/|15131|08. |04░▒░|08▒██▄▌|08:>.|11T|03qw |111337|08:|113|08/|1113|08.

    --- Mystic BBS v1.12 A44 2020/02/02 (Linux/64)
    * Origin: deadbeatz.org (21:2/123)
  • From Embalmed@21:4/166 to Analog on Fri Feb 7 19:34:07 2020
    Easiest thing to do would be to use NFS. Setup NFS on the NAS (it
    usually has it in the options to enable in the UI)_. Then setup a mount point on your bbs computer. Let me know if you need help with this. I

    Well it's already running NFS. Just at a different location. :) I guess I have never tried running NFS over the internet, I am a bit wary about trying
    to do something like that LOL.

    I also thought about setting up a site-to-site VPN with my hackerspace and do it that way, but also do not feel great about letting a bunch of bored hackers possibly into my network hahah :)
    I guess I could vpn just from the BBS over hmm....

    Otherwise... I'm probably going to have to end up writing something... I just thought maybe someone else had done something similar before.

    |07E|10m|07b|10a|07l|10m|07e|10d |12-----------------------------------------------------
    |09Black Lodge Research BBS |11blacklodgeresearch.org:4022
    |08fsxNet: 21:4/166

    --- Mystic BBS v1.12 A44 2020/02/04 (Linux/64)
    * Origin: Black Lodge Research BBS (21:4/166)
  • From Analog@21:2/123 to Embalmed on Fri Feb 7 21:29:46 2020
    Well it's already running NFS. Just at a different location. :) I
    guess I have never tried running NFS over the internet, I am a bit wary about trying to do something like that LOL.

    This is what NFS is for.

    I have an NFS server from an AWS instance to my home computer and it's secure and works fantastic. Shoot, even Windows has an NFS client now.

    |20|15┌─|16|08┤ |08De|07ad|15be|07a|08tz b|07b|15s
    |08└─┘├─┐ |08:>.|07A|08rk |0710|08:|07101|08/|0714|08.
    |04■ |08└|20|15─|16|08┘ |08:>.|10A|02gn |1046|08:|101|08/|10123|08.
    |04A|07n|15al|07o|08g |08:>.|12F|04sx |1221|08:|122|08/|12123|08. |15.|04p|07HENOM|15. |08:>.|15S|07ci |1577|08:|151|08/|15131|08. |04░▒░|08▒██▄▌|08:>.|11T|03qw |111337|08:|113|08/|1113|08.

    --- Mystic BBS v1.12 A44 2020/02/02 (Linux/64)
    * Origin: deadbeatz.org (21:2/123)
  • From StackFault@21:1/172 to Embalmed on Sun Feb 9 09:14:14 2020
    Anyone have any services/tools/packages for mystic to accomplish this before I start trying to cook my own thing?

    I think you will have to cook your own thing. While NFS is made for that, I
    can appreciate your reluctance to use it directly. I would personally setup a middle-tier for that preventing direct access to the files. Also connecting directly to the NAS limits your options just bit (depending on the platform).

    I personally love using SSHFS, connecting to a distinct SSHD instance
    running in a CHROOT. SSH access is RO and anything except SCP/SFTP is
    disabled, locked down tight.

    I have a tendency to turn everything into a learning experience... which may not result in the simplest solution at times.

    Cheers!

    |15 ▀ ▐ |15StackFault |08<|03.|11.|15P|11h|03EN|11o|15M|11.|03.|08>
    |11 ▌ ▀ |11The Bottomless Abyss BBS
    |03 ▀ ▌▀ |03ssh|08.|072222 |08/ |03telnet|08.|072023 |08/ |03https
    |08 ▄■▐ |08bbs|07.|08bottomlessabyss|07.|08net

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: The Bottomless Abyss BBS * bbs.bottomlessabyss.net (21:1/172)
  • From Embalmed@21:4/166 to StackFault on Wed Feb 12 01:58:45 2020
    Anyone have any services/tools/packages for mystic to accomplish this before I start trying to cook my own thing?

    I think you will have to cook your own thing. While NFS is made for
    that, I can appreciate your reluctance to use it directly. I would personally setup a middle-tier for that preventing direct access to the files. Also connecting directly to the NAS limits your options just bit (depending on the platform).

    I personally love using SSHFS, connecting to a distinct SSHD instance running in a CHROOT. SSH access is RO and anything except SCP/SFTP is disabled, locked down tight.

    Yeah I've been looking at SSHFS seems like a pretty solid option.

    |07E|10m|07b|10a|07l|10m|07e|10d |12-----------------------------------------------------
    |09Black Lodge Research BBS |11blacklodgeresearch.org:4022
    |08fsxNet: 21:4/166

    --- Mystic BBS v1.12 A44 2020/02/04 (Linux/64)
    * Origin: Black Lodge Research BBS (21:4/166)
  • From StackFault@21:1/172 to Embalmed on Wed Feb 12 08:01:46 2020
    Yeah I've been looking at SSHFS seems like a pretty solid option.

    I've also had very good success at handling disconnect recovery and other unstable situations with this.

    Have fun!

    Cheers!

    |15 ▀ ▐ |15StackFault |08<|03.|11.|15P|11h|03EN|11o|15M|11.|03.|08>
    |11 ▌ ▀ |11The Bottomless Abyss BBS
    |03 ▀ ▌▀ |03ssh|08.|072222 |08/ |03telnet|08.|072023 |08/ |03https
    |08 ▄■▐ |08bbs|07.|08bottomlessabyss|07.|08net

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: The Bottomless Abyss BBS * bbs.bottomlessabyss.net (21:1/172)