Just letting you know over the next few weeks I probably wont be as
active as I have been the last couple. I'm going to visit my mum on Saturday for two weeks.
Sending old messages to DoveNet as Blue White reported is not good, and I've not been able to figure out why it did that... Hopefully it
doesn't do it again, but if you're on any qwk networks, please keep an
eye on them.
Just letting you know over the next few weeks I probably wont be as
active as I have been the last couple. I'm going to visit my mum on Saturday for two weeks.
I hope you have good visit and time away.. :)
I can't seem to download a QWK packet here. I have tested BW downloads
and replies and they seem to work fine but when I try a QWK download I
get only timeouts. I have only tried with MagiTerm so far.
That's odd.. what version of MagiTerm?
I just tried downloading a QWK packet from you, and it downloaded just fine? Might be a magiterm issue.
I think the pointers are set as read at that point but I have not
received a QWK packet.
QWK downloads should be fixed now.
QWK downloads should be fixed now.
Cool.. I'll go check that out now.
On another note I was just chatting about BBSing securely with ssh or
over th web. Is it possible to use https with Magicka?
apam wrote to Al <=-
I think the pointers are set as read at that point but I have not
received a QWK packet.
QWK downloads should be fixed now.
Just looking at the web interface, it seems all your file areas are open to anyone to download including your uploads folder. Not sure if any/all of that is intentional for a non-logged in user?
Sort of, I use apache as the webserver and proxy through to magicka (so basically magicka listens on 8080, apache is set up with SSL and
listens on 443 and proxys through requests.)
Magicka itself doesn't support https, I think it's better to use apache (or some other webserver as a front end) as it will give a message if
it can't contact the bbs http, so users know there is a problem and you haven't dissappeared.
On another note I was just chatting about BBSing securely with ssh or
over th web. Is it possible to use https with Magicka?
Just to wrap my head around this, apache is the server answering on port
80 and 443 and passing to magicka listening on port 8080?
So in that case I'd need to setup apache in a way that is ssl or https compatible and it will communicate with magicka on port 8080?
Just looking at the web interface, it seems all your file areas are open to anyone to download including your uploads folder. Not sure if any/all of that is intentional for a non-logged in user?
apam wrote to Al <=-
I think the pointers are set as read at that point but I have not
received a QWK packet.
QWK downloads should be fixed now.
Still no joy, but now I do have a 0 byte TRMB.QWK in my home directory
so it is trying. BW seems to be fine though, and this reply is coming
via a BW reply.
I also think it's best to use a reverse proxy in front of Magicka. The easiest one to configure might be Caddy:
https://github.com/caddyserver/caddy/wiki/v2:-Documentation#reverse-prox
y
Nginx is also very good as a proxy.
On Sun, 3 Nov 2019 23:52:56 -0800
"Al -> apam" <0@106.4.21> wrote:
Just to wrap my head around this, apache is the server answering on port
80 and 443 and passing to magicka listening on port 8080?
So in that case I'd need to setup apache in a way that is ssl or https compatible and it will communicate with magicka on port 8080?
Yes. See: https://httpd.apache.org/docs/2.4/howto/reverse_proxy.html
(you can ignore the cluster and balancing stuff)
With nginx it's also easy: https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/
Still no joy, but now I do have a 0 byte TRMB.QWK in my home directory
so it is trying. BW seems to be fine though, and this reply is coming
via a BW reply.
Ok, I'm going to assume you tried with SSH and lrzsz...
It's fixed now (at least should be) it turned out to be a series of problems (not just qwk related).
Uploads have to be approved by the sysop first, so it's not possible to unintentionally have an upload in the upload folder that hasn't been vetted by the sysop first.
File areas need to be configured to show on the web server, so Al would have done that intentionally, by default no file areas show up.
Yep, that's how I have it set up. Port 8080 is firewalled off to the world, and apache talks to localhost.
I could add ssl support to magicka (libmicrohttpd supports it) but I
think it's better to use a proper webserver and forward them.
Plus the added bonus is you can serve other things with apache at the
same time.
The uploads folder shouldn't be no but there is nothing happening there right now. I have three (I think) missing message areas here. I dunno how
I haven't though much about access to the file areas. Are there areas
that should be open on the BBS but not the web?
Ponder.. ponder.. ponder.. :)
Nginx is also very good as a proxy.
When you say proxy that is different than a web server, or is nginx a server and proxy together?
I'll have to get into the docs and figure this out.
I have used apache by itself before ssh was a thing. The proxy part I
don't uderstand at all.
OK but should they not be downloadable only if logged in, much like you can only view messages if logged in? Or some bases flagged as freely downloadable such as infopacks etc. but the rest locked out until logged in?
K, if you think a web server in front is better then that's the way
we'll go. I've used apache before. It hogged a lot of resources that I
had available at the time and didn't care about. I have limits where I
am now.
What do you think about apache/nginx with the above in mind?
Avon wrote to apam <=-
OK thanks. Still seems strange to me that that directory/folder would
be publicly downloadable in any regard.
I've used apache before. It hogged a lot of resources that I had
available at the time and didn't care about. I have limits where I am
now.
What do you think about apache/nginx with the above in mind?
Most resources are hogged by PHP and databases. Apache and nginx itself doesn't need much. Nginx is better than Apache in that regard. I think Apache <20 MB and Nginx <5MB RAM.
I don't have that issue now so I'll ponder all that as I'm just a day
or three away from getting the file areas working properly.
apam wrote to Al <=-
I don't have that issue now so I'll ponder all that as I'm just a day
or three away from getting the file areas working properly.
Well I've just added an option to restrict some file directories to
users logged in.
I'll check out the debian repo and try out nginx for a start and see how it goes.
I'll likely have questions. For example I have no idea how to get the certs in place to enable ssh but I'll get nginx up and running and go
from there.
Quoting apam to All <=-
Just letting you know over the next few weeks I probably wont be as
active as I have been the last couple. I'm going to visit my mum on Saturday for two weeks.
I don't want to start anything particularly big this week, and then go away and leave you all with broken systems or anything like that.
Quoting apam to Al <=-
I just tried downloading a QWK packet from you, and it downloaded just fine? Might be a magiterm issue.
Quoting apam to Avon <=-
Tiny was the one who asked for the files on the web feature so it was
kind of written with his requirements in mind, though I can definitely
add to it if others would like.
Quoting Alterego to Al <=-
I use nginx exclusively now - I moved from apache a few years ago. And mostly in proxy mode.
Yell out if you have troubles, and I should be able to help. (I use
nginx in docker - with certbot installed, so it auto renews the certificates automatically from Lets Encrypt.)
Well, I just added HTTPS support to magicka. Although I'd probably
still recommend using apache or nginx.. it's possible to do it with
just magicka.
Checkout the BBS.INI in dist for all the knobs and dials.
You can listen with both http and https, you can listen with only http
or only https, you can listen with both and forward http to https.
Tiny was the one who asked for the files on the web feature so it was
kind of written with his requirements in mind, though I can definitely
add to it if others would like.
I still use it, over the years a lot of people have grabbed files
that google indexed. I just didn't want to lose the feature.
Well, I just added HTTPS support to magicka. Although I'd probably
still recommend using apache or nginx.. it's possible to do it with
just magicka.
This is an uneducated guess, but I think listening on both is good and forwarding http to https is good practice?
I think I also need a certificate of some kind.. how do I get one?
Quoting apam to All <=-
Just letting you know over the next few weeks I probably wont be as
active as I have been the last couple. I'm going to visit my mum on Saturday for two weeks.
Have a good visit! Is it a far drive?
Well, I just added HTTPS support to magicka. Although I'd probably
still recommend using apache or nginx.. it's possible to do it with
just magicka.
I think I also need a certificate of some kind.. how do I get one?
Letsencrypt. There are a thousand clients and several ways how to get a letsencrypt cert. I don't have any recommendation, because I'm using Cloudflare and self-signed certs.
Maybe you find enough information at https://letsencrypt.org/getting-started/
https://certbot.eff.org/
Well, I just added HTTPS support to magicka. Although I'd probably
still recommend using apache or nginx.. it's possible to do it with
just magicka.
I have the cert installed and it seems to be working.
Just magicka now, and if that does the trick I'll leave it like that.
Quoting Al to Tiny <=-
Yep, and google has lead me to your site many times. I had the same
sort of idea for The Rusty MailBox.
Quoting apam to Tiny <=-
Oh yes, a very far drive... I'll be flying :) It would take about 2
days driving (and I can't drive anyway)
Quoting apam to Tiny <=-
Oh yes, a very far drive... I'll be flying :) It would take about 2
days driving (and I can't drive anyway)
Well then safe flight! ;)
Just looking at the web interface, it seems all your file areas are open to anyone to download including your uploads folder. Not sure if any/all of that is intentional for a non-logged in user?
Sysop: | Eric Oulashin |
---|---|
Location: | Beaverton, Oregon, USA |
Users: | 91 |
Nodes: | 16 (0 / 16) |
Uptime: | 11:17:35 |
Calls: | 5,240 |
Calls today: | 4 |
Files: | 8,493 |
D/L today: |
173 files (190M bytes) |
Messages: | 354,312 |
Posted today: | 1 |