Fiddler中显示当前连接的主机地址

我(曾经)觉得 HttpWatch 比 Fiddler 强的一处是,可以显示当前 http 会话中对话主机地址。其实 Fiddler 也早就可以了,而且更强大。方法是点菜单的Rules > Customize Rules,找到并修改文件中的Main()部份:

static function Main()
{
    FiddlerObject.UI.lvSessions.AddBoundColumn("HostIP", 50, "x-
hostIP");
}

Fiddler 的订制能力挺强,参考它的文档可以加入很多元素。它的作者人很好,论坛里面帖子回复很及时。

另外,由于 .NET 中DNS.Resolve()不会进行缓存,所以在 Fiddler 代理时对 hosts 文件的修改可以即时生效。

This entry was posted in tech and tagged . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

6 Comments

  1. Posted 2009-11-9 at 14:56 | Permalink

    留言

  2. Jimmy
    Posted 2009-11-9 at 15:01 | Permalink

    顶~~

  3. Posted 2009-11-9 at 15:17 | Permalink

    哦 错了

    留言

  4. Posted 2009-11-10 at 04:13 | Permalink

    留言

  5. Posted 2009-11-11 at 19:46 | Permalink

    留言

  6. 风中无力菊花残
    Posted 2009-11-12 at 16:49 | Permalink

    这里向我们走来的是围裙小正太。什么?完全听不懂他在说什么?不要紧……

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>