如何创建添加 X-Forwarded-For 标头的 IE8 插件

发布于 2024-08-20 20:23:57 字数 244 浏览 3 评论 0原文

我有几个用户从不同的地方进入终端服务器并从服务器浏览我的网站。问题是我需要记录用户实际来自的IP地址,而不是终端服务器的IP。我对终端服务器有完全的控制权,所以我认为服务器上 IE8 的某种插件可以添加一个 X-Forwarded-For 标头。

  1. 这可能吗?
  2. 如果是这样,这应该是一个常见问题,做什么 像这样已经存在了吗?
  3. 如果我需要自己制作附加组件,我应该从哪里开始?

I have several users coming from different places into a terminal server and browsing my site from the server. The problem is that i need to log what ip-address the user is actually coming from, not the ip for terminal server. I have full control over the terminal-server so I was thinking that some sort of add-on to IE8 on the server could add an X-Forwarded-For-header.

  1. Is this possible?
  2. If so, this should be a common problem, does anything
    like this exists already?
  3. If I need to make the add-on myself, where should I start?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

夏天碎花小短裙 2024-08-27 20:23:57
  1. 是的,
  2. 从未听说过任何可以实现您的要求的东西,
  3. 您应该
    a) 找到一种方法来获取原始用户 ip,也许使用终端服务器 api
    b) 找到一种方法为您的用户正在使用的浏览器创建插件
    c) 将 a) 和 b) 粘合在一起;)
  1. yes
  2. never heard about anything that implements your requirements
  3. you should
    a) find a way to get original user ip, maybe using terminal server api
    b) find a way how to create addon for browser your users are using
    c) glue those a) and b) together ;)
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文