This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

how to limit access of wireshark to 1 of several nics

0

how can i limit wiresharks activity to 1 particular ethernet nic of several on a given station? we're in a classroom situation and we have 1 nic connected to a network which is local to the classroom. another nic is connected to the campus network. i don't want the class to have the option of sniffing on the campus network. tnx ams

asked 06 Nov '12, 04:49

jct%20netlabs's gravatar image

jct netlabs
1111
accept rate: 0%

What is the OS of these computers? With Windows you're out of luck...

(06 Nov '12, 05:04) Jasper ♦♦

One Answer:

0

Unfortunately that's not possible without a change to the code of Wireshark. See my answer in the question below:

http://ask.wireshark.org/questions/14067/limit-interface

Furthermore: Even if you could limit Wireshark to listen to one specific interface, your students could just swap the network cables and would then still be able to capture traffic on the campus network.

So, what can you do:

  • build a virtual lab in vmware (or KVM, Xen, etc.) and let the students connect to the capturing machine via RDP, VNC or any other remote desktop software. You can easily separate the virtual lab network from the campus network in a virtual environment.
  • don't care too much about the students sniffing the campus network. They can do that anyway, if they bring their own laptop to the campus ;-)
  • don't care too much about the students sniffing the campus network, as they will only see their own traffic and broadcast traffic if they are connected to a switch, unless the students use some arp spoofing/flooding tools (maybe you even teach them how to use those kind of tools in your course). So, you should just forbid using those tools on the campus network, as they can severely disrupt the network operation.

Regards
Kurt

answered 06 Nov '12, 05:05

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

edited 06 Nov '12, 05:39