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.

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

报告相同问题?

悬赏问题

  • ¥20 机器学习能否像多层线性模型一样处理嵌套数据
  • ¥20 西门子S7-Graph,S7-300,梯形图
  • ¥50 用易语言http 访问不了网页
  • ¥50 safari浏览器fetch提交数据后数据丢失问题
  • ¥15 matlab不知道怎么改,求解答!!
  • ¥15 永磁直线电机的电流环pi调不出来
  • ¥15 用stata实现聚类的代码
  • ¥15 请问paddlehub能支持移动端开发吗?在Android studio上该如何部署?
  • ¥20 docker里部署springboot项目,访问不到扬声器
  • ¥15 netty整合springboot之后自动重连失效