Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Batteries not included.


dovenet / Programming / Re: Synchronet Web Service Question

SubjectAuthor
* Synchronet Web Service QuestionWitNik
+- Re: Synchronet Web Service QuestionRagnarok
`* Re: Synchronet Web Service Questionpoindexter FORTRAN
 `- Re: Synchronet Web Service QuestionWitNik

1
Synchronet Web Service Question

<60E0E5CF.76.dove-program@beggarscyn.com>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=559&group=DOVE-Net.Programming#559

  copy link   Newsgroups: DOVE-Net.Programming
From: witnik@VERT/BGGRSCYN (WitNik)
To: All
Subject: Synchronet Web Service Question
Message-ID: <60E0E5CF.76.dove-program@beggarscyn.com>
Date: Sat, 3 Jul 2021 08:33:51 -0700
X-Comment-To: All
Path: rocksolidbbs.com!not-for-mail
Organization: Beggar's Canyon
Newsgroups: DOVE-Net.Programming
X-FTN-PID: Synchronet 3.19a-Linux master/d2161f95b Jul 1 2021 GCC 8.3.0
X-FTN-CHRS: CP437 2
WhenImported: 20210703153411-0700 c1e0
WhenExported: 20210703204319-0700 c1e0
ExportedFrom: VERT dove-prg 5329
WhenImported: 20210703153351-0700 c1e0
WhenExported: 20210703153411-0700 c1e0
ExportedFrom: BGGRSCYN dove-program 76
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: WitNik - Sat, 3 Jul 2021 15:33 UTC

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

-WitNik

---
■ Synchronet ■ * Origin: Beggar's Canyon - beggarscyn.com *

Re: Synchronet Web Service Question

<60E0F732.2607.dovenetdove-prg@bbs.docksud.com.ar>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=560&group=DOVE-Net.Programming#560

  copy link   Newsgroups: DOVE-Net.Programming
From: ragnarok@VERT/DOCKSUD (Ragnarok)
To: WitNik
Subject: Re: Synchronet Web Service Question
Message-ID: <60E0F732.2607.dovenetdove-prg@bbs.docksud.com.ar>
Date: Sat, 3 Jul 2021 13:48:02 -0300
X-Comment-To: WitNik
Path: rocksolidbbs.com!not-for-mail
Organization: Dock Sud BBS
Newsgroups: DOVE-Net.Programming
In-Reply-To: <60E0E5CF.76.dove-program@beggarscyn.com>
References: <60E0E5CF.76.dove-program@beggarscyn.com>
X-FTN-PID: Synchronet 3.19a-Linux master/a2110bfca Jun 9 2021 GCC 6.3.0
X-FTN-CHRS: UTF-8 4
WhenImported: 20210703171921-0700 c1e0
WhenExported: 20210703204319-0700 c1e0
ExportedFrom: VERT dove-prg 5330
WhenImported: 20210703204802-0300 ff4c
WhenExported: 20210703211918-0300 ff4c
ExportedFrom: DOCKSUD dovenetdove-prg 2607
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101Firefox/78.0 Thunderbird/78.11.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: es-AR
Content-Transfer-Encoding: 8bit
 by: Ragnarok - Sat, 3 Jul 2021 16:48 UTC

El 3/7/21 a las 19:33, WitNik escribi�:
> 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
>
i have same issue on nginx

location @app {
rewrite /web(.*) /$1 break;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host;
proxy_pass http://127.0.0.1:8088;
proxy_redirect off;
}

the log show connection from 127.0.0.1,

this issue also occurs on websocket proxy

---
� Synchronet � Dock Sud BBS TLD 24 HS - bbs.docksud.com.ar

Re: Synchronet Web Service Question

<60E64528.2612.dove.programm@realitycheckbbs.org>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=561&group=DOVE-Net.Programming#561

  copy link   Newsgroups: DOVE-Net.Programming
From: poindexter.fortran@VERT/REALITY (poindexter FORTRAN)
To: WitNik
Subject: Re: Synchronet Web Service Question
Message-ID: <60E64528.2612.dove.programm@realitycheckbbs.org>
Date: Wed, 7 Jul 2021 00:49:00 -0700
X-Comment-To: WitNik
Path: rocksolidbbs.com!not-for-mail
Organization: realitycheckBBS
Newsgroups: DOVE-Net.Programming
In-Reply-To: <60E0E5CF.76.dove-program@beggarscyn.com>
References: <60E0E5CF.76.dove-program@beggarscyn.com>
X-FTN-PID: Synchronet 3.19a-Win32 master/b81540481 May 18 2021 MSC 1928
X-FTN-CHRS: ASCII 1
WhenImported: 20210707210415-0700 c1e0
WhenExported: 20210708024315-0700 c1e0
ExportedFrom: VERT dove-prg 5331
WhenImported: 20210707172200-0700 c1e0
WhenExported: 20210707210404-0700 c1e0
ExportedFrom: REALITY dove.programm 2612
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
 by: poindexter FORTRAN - Wed, 7 Jul 2021 07:49 UTC

-=> WitNik wrote to All <=-

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

If you don't mind me asking, what are you using? I'm setting up nginx now,
mostly because I want my Letsencrypt-enabled systems to auto-update without
having to repoint my NAT rules at renewal time, and I know nginx.

.... Do the words need changing?
--- MultiMail/DOS v0.52

Re: Synchronet Web Service Question

<60E9199C.79.dove-program@beggarscyn.com>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=562&group=DOVE-Net.Programming#562

  copy link   Newsgroups: DOVE-Net.Programming
From: witnik@VERT/BGGRSCYN (WitNik)
To: poindexter FORTRAN
Subject: Re: Synchronet Web Service Question
Message-ID: <60E9199C.79.dove-program@beggarscyn.com>
Date: Fri, 9 Jul 2021 13:53:00 -0700
X-Comment-To: poindexter FORTRAN
Path: rocksolidbbs.com!not-for-mail
Organization: Beggar's Canyon
Newsgroups: DOVE-Net.Programming
In-Reply-To: <60E64528.2612.dove.programm@realitycheckbbs.org>
References: <60E64528.2612.dove.programm@realitycheckbbs.org>
X-FTN-PID: Synchronet 3.19a-Linux master/d2161f95b Jul 1 2021 GCC 8.3.0
X-FTN-CHRS: CP437 2
WhenImported: 20210710010230-0700 c1e0
WhenExported: 20210710024320-0700 c1e0
ExportedFrom: VERT dove-prg 5332
WhenImported: 20210709205300-0700 c1e0
WhenExported: 20210710010229-0700 c1e0
ExportedFrom: BGGRSCYN dove-program 79
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: WitNik - Fri, 9 Jul 2021 20:53 UTC

Re: Re: Synchronet Web Service Question
By: poindexter FORTRAN to WitNik on Wed Jul 07 2021 07:49 am

> If you don't mind me asking, what are you using? I'm setting up nginx now,
> mostly because I want my Letsencrypt-enabled systems to auto-update without
> having to repoint my NAT rules at renewal time, and I know nginx.
>

Same (nginx on the backend).

-WitNik

---
■ Synchronet ■ * Origin: Beggar's Canyon - beggarscyn.com *

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor