* looking at the network traffic
@ 2004-06-25 14:52 Luca Ferrari
2004-06-25 15:27 ` Chris DiTrani
0 siblings, 1 reply; 3+ messages in thread
From: Luca Ferrari @ 2004-06-25 14:52 UTC (permalink / raw)
To: linux-admin
Hi,
using program such as ethereal, tcpdump, etc. is it possible to see the
network traffic also if the hosts are connected thru a switch? I mean, if
A,B,C, are on the same network, connected with a switch, can A see the
traffic among B and C? I suppose no, since the switch should route the
traffic to the right host directly (while an hub should not), and the only
thing I can see should be message broadcasts and something similar. Is it
right? Is there a way to observe the traffic over a network even if there are
switches?
I don't want to break user's privacy, but since I'm developing a program
which should connect to a peer-to-peer client, and I don't have protocol
specifications, I was wondering about a traffic dump of a session among two
users. Nevertheless I was unable due to (I suppose) the switch.
Thanks,
Luca
--
Luca Ferrari,
fluca1978@virgilio.it
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: looking at the network traffic
2004-06-25 14:52 looking at the network traffic Luca Ferrari
@ 2004-06-25 15:27 ` Chris DiTrani
2004-06-26 6:24 ` Ahsan Ali
0 siblings, 1 reply; 3+ messages in thread
From: Chris DiTrani @ 2004-06-25 15:27 UTC (permalink / raw)
To: linux-admin
On Fri, 2004-06-25 at 10:52, Luca Ferrari wrote:
> Hi,
> using program such as ethereal, tcpdump, etc. is it possible to see the
> network traffic also if the hosts are connected thru a switch? I mean, if
> A,B,C, are on the same network, connected with a switch, can A see the
> traffic among B and C? I suppose no, since the switch should route the
> traffic to the right host directly (while an hub should not), and the only
> thing I can see should be message broadcasts and something similar. Is it
> right? Is there a way to observe the traffic over a network even if there are
> switches?
> I don't want to break user's privacy, but since I'm developing a program
> which should connect to a peer-to-peer client, and I don't have protocol
> specifications, I was wondering about a traffic dump of a session among two
> users. Nevertheless I was unable due to (I suppose) the switch.
You are correct, but if you have a managed switch it can likely be set
up with a port seeing all/selected port traffic ('port' in this context
being a physical port on the switch).
CD
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: looking at the network traffic
2004-06-25 15:27 ` Chris DiTrani
@ 2004-06-26 6:24 ` Ahsan Ali
0 siblings, 0 replies; 3+ messages in thread
From: Ahsan Ali @ 2004-06-26 6:24 UTC (permalink / raw)
To: linux-admin
You can use managed switches to mirror traffic from a port to a
monitoring port on managed switches.
You can also use utilities such as macof or angst
[http://freshmeat.net/projects/angst/] (not tested by me myself) to
flood the switch databases and make switches forward traffic out on
all ports so you can capture network traffic.
On 25 Jun 2004 11:27:09 -0400, Chris DiTrani <chris@livedata.com> wrote:
>
> On Fri, 2004-06-25 at 10:52, Luca Ferrari wrote:
> > Hi,
> > using program such as ethereal, tcpdump, etc. is it possible to see the
> > network traffic also if the hosts are connected thru a switch? I mean, if
> > A,B,C, are on the same network, connected with a switch, can A see the
> > traffic among B and C? I suppose no, since the switch should route the
> > traffic to the right host directly (while an hub should not), and the only
> > thing I can see should be message broadcasts and something similar. Is it
> > right? Is there a way to observe the traffic over a network even if there are
> > switches?
> > I don't want to break user's privacy, but since I'm developing a program
> > which should connect to a peer-to-peer client, and I don't have protocol
> > specifications, I was wondering about a traffic dump of a session among two
> > users. Nevertheless I was unable due to (I suppose) the switch.
>
> You are correct, but if you have a managed switch it can likely be set
> up with a port seeing all/selected port traffic ('port' in this context
> being a physical port on the switch).
>
> CD
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-06-26 6:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-25 14:52 looking at the network traffic Luca Ferrari
2004-06-25 15:27 ` Chris DiTrani
2004-06-26 6:24 ` Ahsan Ali
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).