so I am planning to make a network analyzer using Perl. But before I start I have to answer this question, can a Perl program actually sniff packets in multiple NICs simultaneously? a feature of the program im going to make is that it needs to sniff the packets in the whole LAN within a switch. Is this possible in Perl?
Asked
Active
Viewed 109 times
0
-
1`multiple NICs != whole LAN within switch` – mpapec Feb 17 '14 at 09:54
1 Answers
0
Sniffing packets in the whole lan is not possible. It is only possible if your switch supports it. Many swith has an option to copy all traffic to one of its port for monitoring/sniffing.

user1126070
- 5,059
- 1
- 16
- 15