Results 168 comments of Star Brilliant

> I noticed that you used "tun-rabbit" in your reply, is that a typo or what ? Yes. That was a typo. I fixed it. I don't use CentOS and...

方便解决吗?我知道Rythem刚开始设计的时候是考虑了Linux的,在这个基础上修复应该不是很难吧。 我需要一个本地替换代理用来对某网络应用对于配置数据的解析进行反馈测试。那么,在Rythem修复之前,有什么替代方案呢?

Really few service providers use any of the encryption methods in this current version. It's necessary to support new encryption methods. Anyway, thanks.

> 原作者沒封存/刪除碼庫 謝謝提醒。我設置成封存了。

Thanks for contacting us. However, if I am remembering correctly, isn’t the IP already in the log?

Oh I see! [The code](https://github.com/m13253/dns-over-https/blob/f82ac1118ea529b63ab61450d4ed7a890036a7d6/doh-server/server.go#L111) uses [gorilla.CombinedLoggingHandler](https://pkg.go.dev/github.com/gorilla/handlers?utm_source=godoc#CombinedLoggingHandler) to print out the log. This handler doesn’t use `X-Forwarded-For` to retrieve the client IP address, therefore, the log shows 127.0.0.1. I believe...

> ah, just do it when you want to do it. Thank you for understanding! If many people ask for this feature, I will do it. Meanwhile, Pull Requests are...

Oh I found it! It’s already in the configuration file, called `log_guessed_client_ip`. https://github.com/m13253/dns-over-https/blob/master/doh-server/doh-server.conf#L53 Have you tried it out?

Try this: ```yaml volumes: - ./config/doh-server/doh-server.conf:/doh-server.conf ``` I’m not sure if this is the fix, but worth trying it.

Looks like you are using a Docker image provided by `satishweb/doh-server`. I didn’t author that container image, so you might need to check its Dockerfile to determine the correct way...