• [REPOST] - Synchronet Web Service Question

    From WitNik@1:103/705 to All on Sun Jul 4 12:52:35 2021
    Apologies for reposting this, but I had mistakenly posted it in DOVE's programming sub.

    Here's my original message:

    I've recently configured a reverse http/https proxy in front of my SBBS. My setup is working well; however, SBBS is currently logging all web traffic (IP addresses) as coming from the reverse proxy vs. the Internet-based clients.

    Is there a way to cause SBBS to "trust" the proxy address and read the standard X-Forwarded-For headers provided by the proxy to log external client IPs?

    I had looked in the docs/wiki and was unable to find anything relevant.

    Thanks in advance,

    -WitNik

    ---
    þ Synchronet þ * Origin: Beggar's Canyon - beggarscyn.com *
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to WitNik on Mon Jul 5 02:24:41 2021
    Re: [REPOST] - Synchronet Web Service Question
    By: WitNik to All on Sun Jul 04 2021 12:52 pm

    Is there a way to cause SBBS to "trust" the proxy address and read the standard X-Forwarded-For headers provided by the proxy to log external client IPs?

    There's no built-in support for that, no. At least, not yet.
    --
    digital man

    Sling Blade quote #2:
    Karl (re: killing Doyle): I hit him two good whacks in the head with it.
    Norco, CA WX: 63.0øF, 86.0% humidity, 0 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From WitNik@1:103/705 to Digital Man on Mon Jul 5 12:56:28 2021
    Re: [REPOST] - Synchronet Web Service Question
    By: Digital Man to WitNik on Mon Jul 05 2021 02:24 am

    Is there a way to cause SBBS to "trust" the proxy address and read the standard X-Forwarded-For headers provided by the proxy to log external client IPs?

    There's no built-in support for that, no. At least, not yet.

    Thanks for the reply and details. Is this something you might be willing to accept as a feature request? I'm asking for a friend. =)


    -WitNik

    ---
    þ Synchronet þ * Origin: Beggar's Canyon - beggarscyn.com *
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to WitNik on Mon Jul 5 13:36:45 2021
    Re: [REPOST] - Synchronet Web Service Question
    By: WitNik to Digital Man on Mon Jul 05 2021 12:56 pm

    Re: [REPOST] - Synchronet Web Service Question
    By: Digital Man to WitNik on Mon Jul 05 2021 02:24 am

    Is there a way to cause SBBS to "trust" the proxy address and read the standard X-Forwarded-For headers provided by the proxy to log external client IPs?

    There's no built-in support for that, no. At least, not yet.

    Thanks for the reply and details. Is this something you might be willing to accept as a feature request? I'm asking for a friend. =)

    Sure, feature requests go here: https://gitlab.synchro.net/main/sbbs/-/issues --
    digital man

    This Is Spinal Tap quote #44:
    It really, it does disturb me, but i'll rise above it; I'm a professional. Norco, CA WX: 83.3øF, 47.0% humidity, 10 mph ESE wind, 0.00 inches rain/24hrs --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)