Subj : Re: dlreq for web download
To : opicron
From : Zip
Date : Tue Apr 22 2025 09:06 pm
Hello opicron!
On 21 Apr 2025, opicron said the following...
op> Mystic runs in a docker on my synology and the IP of caller/webvisitor
op> get forwarded by the DNS reverse proxy in all cases. I dont know the
op> exact script/command for nginx as synology does it for me.
Thanks! Yes, the proxying of "everything" is most likely why dlreq thinks everything is OK. (In my case I get a different IP for Telnet vs dlreq/web.)
op> I believe it is, I vaguely remember having to do some IP forward some
op> time ago. Wasn't it with x-headers? x-forward?
Yep, X-Forwarded-For and similar ones, although it depends on the receiver (in this case dlreq, or the Mystic web server) to trust it, which it doesn't...
op> Hope it will be as easy as I had it. Didnt even know that dlreq
op> validated the IP :).
Actually, I asked g00r00 if it would be possible to turn the IP validation off in some future version (and perhaps also to change the URL displayed inside Mystic, e.g. http:// to https:// and changing/removing the port number), but I'm pretty sure the wishlist for Mystic is long already...
Thanks again!
Best regards
Zip
--- Mystic BBS v1.12 A49 2024/05/29 (Linux/64)
* Origin: Star Collision BBS, Uppsala, Sweden (21:1/202)