douce1368 2015-12-06 23:38
浏览 120
已采纳

来自TOR HiddenServiceAuthorizeClient的客户端名称

When securing a tor hidden service with HiddenServiceAuthorizeClient, is it possible to get the client-name (or maybe the auth-cookie) provided by the client or is it solely for authorization but not authentication?

in PHP I've tried to read it from $_REQUEST, $_SESSION, $_COOKIE and the getallheaders() function but I cant't find the info. also not found in logfiles of apache2 and tor.

  • 写回答

1条回答 默认 最新

  • doumangzhen7204 2015-12-08 00:14
    关注

    If anything, it would probably appear in a $_SERVER['HTTP_X...'] header but I looked at the source code and it doesn't appear that information gets passed along with the request.

    Tor only uses it to decide whether or not to accept the rendezvous request with the hidden service and drops it if missing or incorrect. Since almost any service can be a hidden service I don't know that Tor is actually aware that it's forwarding an HTTP request (also considering you can host an SSL service over Tor which it wouldn't be able to see the contents of anyway).

    I know it isn't a definitive answer but from looking at the source I don't see the authentication information passed along anywhere, only being validated if the hidden service uses HiddenServiceAuthorizeClient.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 c程序不知道为什么得不到结果
  • ¥40 复杂的限制性的商函数处理
  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置