2007/8/11, Arturo Servin <[EMAIL PROTECTED]>:
>
> 李令雄 wrote:
> > Hi all,
> > I want to implement a monitor(or eavesdropping) agent. The
> agent
> > will be set at a middle node of a transmission.
> > It listens and operates all packets that passed through the node.
> > Since packets are not for the middle node, the monitor agent
> will
> > not get access to any packets( In NS implementation, node classifies
> packet
> > by its dstIP and Port).
> > How can we switch the pack flow to the new agent and then back to
> > next network component ( next link,next agent...)?
> > Which part of the NS documentation should i focus on for this
> > question?
> >
> >
> >
> > Best Regards,
> > Henry Lee
> >
> So you mean that queuing of packets and delays in trasmision
> because the monitor agent should not be visible in the simulation?
>
> I have not work with the LAN modules of ns, but maybe if you set up
> your monitor agent in a LAN type of network you would be able to "sniff
> " packets such as in the real scenario.
>
> -as
>
Yes, the delays caused by the monitor agent can be omitted.
How can i get such a "sniff" agent?