
chris(a)chrishellberg.com wrote:
Hi Ian,
What about using a media application like vlc (videolan) and joining a multicast group? I think you might be able to run it in command line mode, if you don't have an X server listening. This'll trigger your IGMP membership reports and respond to group queries.
If you just want to bang out some IGMP packets, the Nemesis packet generation tool (apt-get install) has an IGMP function: $ nemesis igmp help IGMP Packet Injection -=- The NEMESIS Project Version 1.4 IGMP usage: igmp [-v (verbose)] [options] IGMP options: -p <IGMP type> -c <IGMP code (unused field)> -i <IGMP group IP address> -P <Payload file> IP options: -S <Source IP address> -D <Destination IP address> -I <IP ID> -T <IP TTL> -t <IP TOS> -F <IP fragmentation options> -F[D],[M],[R],[offset] -O <IP options file> Data Link Options: -d <Ethernet device name> -H <Source MAC address> -M <Destination MAC address> Otherwise, if you're in the market for flexible packet generation, Scapy is an excellent python framework. It doesn't appear to have any IGMP specific support yet, but it's pretty easy to extend. In fact, a quick google suggests a few people have already written an IGMP class for it. -- Regards, Adam Adam Boileau Senior Security Consultant Security-Assessment.com