Archived

This topic is now archived and is closed to further replies.

Structural

Capturing packets from localhost on a windows system

Recommended Posts

Structural    328
I''m debugging a network application on my windows machine, and because I don''t have a second machine handy, I need to go through the internal interface. However, my current network sniffer, Ethereal, is unable to capture anything from the internal interface as this is apparently a limitation from Windows. Are there any tools out there that will allow me to see what is going over the internal interface? It would really help me a lot. Thanks!

Share this post


Link to post
Share on other sites
Structural    328
Nope, that''s the whole problem. Everything sent to the localhost address (127.0.0.1 as you mention) is not sent to a normally accessible network device in Windows. It''s handled internally, and can not be accessed through whatever API ordinary network sniffers use (I think, that''s what I read on the Ethereal forums).

Share this post


Link to post
Share on other sites
Guest Anonymous Poster   
Guest Anonymous Poster
you might want to try Microsoft Loopback Adapter. Just search MS site for details.

Share this post


Link to post
Share on other sites
Interim    122
I haven''t found a packet capture utility or device that works on Windows Loopback. if there is one, let me know.

Also, Microsoft will automatically send a packet to the loopback if they see it for one of their local adapters. So you can''t target your local, non-loopback IP, it''ll still be send over the loopback adapter, so you won''t capture it.


Int.

Share this post


Link to post
Share on other sites
Gizz    168
Have you tried Packet Analyzer ?

http://www.javvin.com/packet.html

-- edit
sadly, I think it doesn't handle localhost ( I took the time to try it after posting )

[edited by - gizz on May 14, 2004 11:24:56 AM]

Share this post


Link to post
Share on other sites
Gizz    168
I was browsing the Packet Analyzer website today(http://www.javvin.com/packet.html) and I found out that the version PRO support local host. Since I only have the trial "normal" version I can't verify this info

-- Edit
Quote from website ...
Capture all packets transmitted over local host and LAN (Professional edition only )

Gizz

[edited by - gizz on May 18, 2004 11:10:06 AM]

Share this post


Link to post
Share on other sites