dtyqflrr775518 2015-07-31 11:44 采纳率: 100%
浏览 80

PHP - 没有套接字的Traceserout

We get sporadic connection fails from webserver to another server. We intended to use tracert based on sockets to determine where it fails. Unfortunately it is impossible to create RAW sockets on webserver due to it's not ran under root (and we cannot do this obvously).

Is there a way to traceroute from PHP without sockets?

  • 写回答

1条回答 默认 最新

  • duanmo7075 2015-08-04 07:13
    关注

    you may hunt for nqt.php to get some hint about how to proceed: is an ancient tool that was able to do all the net stuff from a php page (i don't know the internals but may be a good starting point).

    some link to test (found using google):
    http://www.vanheusden.com/misc/nqt.php
    http://eaglesflight.org/nqt.php

    the only download i found (i don't know if it is the most recent version):
    http://nerdbynature.de/bits/misc/nqt.php.txt

    评论

报告相同问题?

悬赏问题

  • ¥100 求数学坐标画圆以及直线的算法
  • ¥35 平滑拟合曲线该如何生成
  • ¥100 c语言,请帮蒟蒻写一个题的范例作参考
  • ¥15 名为“Product”的列已属于此 DataTable
  • ¥15 安卓adb backup备份应用数据失败
  • ¥15 eclipse运行项目时遇到的问题
  • ¥15 关于#c##的问题:最近需要用CAT工具Trados进行一些开发
  • ¥15 南大pa1 小游戏没有界面,并且报了如下错误,尝试过换显卡驱动,但是好像不行
  • ¥15 自己瞎改改,结果现在又运行不了了
  • ¥15 链式存储应该如何解决