Re: OT: Sniffing dynamips

From: Carlos G Mendioroz (tron@huapi.ba.ar)
Date: Tue Jul 08 2008 - 12:43:37 ART


FTR, adding tap support to dynamips does the trick.
(win32, that is, linux was already there)

Now I can see the traffic realtime in any point :)

-Carlos

Carlos G Mendioroz @ 28/06/2008 14:18 -0300 dixit:
> Dear all:
> I've been trying to do something that sounds simple but have been
> unsuccessful so far. I want to "see" traffic at different points
> of a topology using a sniffer (i.e. wireshark).
>
> So idea was... but a hub (virtual, of course) in different places and
> connect to a loopback interface and take a peek wherever. No luck.
> I don't want to put IP addresses there (desktop) cause it would be
> modifying my desktop routing, and my desktop is part of the topology.
>
> Problem seems to be that both wireshark and dynamips use pcap, and
> they are not able to see injected packets. I thought a loopback would
> work... but it does not, or I am doing something wrong.
>
> The only way I was able to do it is by having a real hub short
> circuiting two real interfaces and puting one in the virtual hub and
> using wireshark in the other. Is there anything like a tun/tap pair
> for windows ? Or is there a way for dynamips to "drive" the tap
> interface like [pqj]emu does ?
>
> Hoping for some light to do it :)
> -tron
>

-- 
Carlos G Mendioroz  <tron@huapi.ba.ar>  LW7 EQI  Argentina


This archive was generated by hypermail 2.1.4 : Mon Aug 04 2008 - 06:11:54 ART