I am not a network guru so please bear with me. I am running snort on a PLC (running rt-linux) along with an application that needs to communicate with another instance of the same application residing on another PLC, via multicast. I have configured multicast on both PLCs by route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0
command. Also, I am instantiating snort from within my application in a child process. The snort in running in intrusion detection mode.
The problem is that as soon as snort gets started from my application, the PLC starts sending so many packets that it completely overwhelms the network. I ran wireshark from my host machine (connected to PLCs via switch) and found out that these were IGMPv2 membership report group packets. The packets originate from the PLC that is running snort. After I stop snort, everything goes back to normal and it reports approx. 2k packets per second.
Do I have a multicast configuration problem or something wrong with snort configuration?
Any help would be appreciated.