r/ComputerSecurity • u/chopsui101 • Jul 22 '21
Would a managed switch let me do this?
I have a laptop that I want to have very detailed information about the packet information coming and going from it. Be able to sniff the packets but only for this computer. If I were to get a managed switch could I set it up so that all traffic to and from the laptop was isolated from the rest of the network traffic so I could better watch the packet traffic?
9
Upvotes
2
u/Hank_Scorpio74 Jul 22 '21
If you're only interested in inspecting the packets you might try Wireshark.
6
u/openedwire Jul 22 '21
Look up port mirroring.
4
u/brapbrappewpew1 Jul 22 '21
It's hard to understand your situation, which is why you aren't getting great answers.
What is your setup? Is the laptop using WiFi or Ethernet?
Can you isolate the traffic in software instead of hardware? It's hard to imagine a use case where you can't just use a filter on your packet capture tool.
3
u/hackfacts Jul 23 '21
To answer your basic question, yes, if you get a managed switch and setup port mirroring or port spanning (depending on your switch), you could capture all traffic to just the device on the single port. This would require a second device to actually capture the traffic from the first device.
I use this little guy from netgear, to do this when I am trying to isolate a single system and dont have access to configure the managed switch it is plugged into.
0
u/[deleted] Jul 22 '21
[deleted] — view deleted comment