BBS:      TELESC.NET.BR
Assunto:  FEATURE: add vhost to the
De:       Keyop Troy
Data:     Wed, 4 Feb 2026 05:18:00 -0800
-----------------------------------------------------------
open https://gitlab.synchro.net/main/sbbs/-/issues/1062

As discussed in IRC, could we please include vhost in the webv4 logfile.

This will be useful when using the ONE_HTTP_LOG option so that we can see what domain names are being used to call the webv4 service.

Seeing this information is key to counteracting domain fronting issues.

```
[03:30:19 04-02-26]  here are the actual values/fields of each line that file:
[03:30:20 04-02-26]  			fprintf(logfile, "%s %s %s [%s] \"%s\" %d %s \"%s\" \"%s\"\n"
[03:30:20 04-02-26]  			        , ld->hostname?(ld->hostname[0]?ld->hostname:"-"):"-"
[03:30:20 04-02-26]  			        , ld->ident?(ld->ident[0]?ld->ident:"-"):"-"
[03:30:22 04-02-26]  			        , ld->user?(ld->user[0]?ld->user:"-"):"-"
[03:30:24 04-02-26]  			        , timestr
[03:30:26 04-02-26]  			        , ld->request?(ld->request[0]?ld->request:"-"):"-"
[03:30:28 04-02-26]  			        , ld->status
[03:30:30 04-02-26]  			        , ld->size?sizestr:"-"
[03:30:33 04-02-26]  			        , ld->referrer?(ld->referrer[0]?ld->referrer:"-"):"-"
[03:30:35 04-02-26]  			        , ld->agent?(ld->agent[0]?ld->agent:"-"):"-");
[03:30:37 04-02-26]  vhost isn't one of them
```
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]