Mon, 28 Jan 2013 09:43:48 +0000
If you want to track network problems with IPTV streaming you may take a look at IGMP messages exchange in your network. IGMP is used to register clients for multicast streaming. You may record whole stream using Wireshark of course, but there's much lightweight solution:
$ sudo tcpdump -i eth0 igmp tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes 10:33:44.193733 IP 192.168.4.168 > all-routers.mcast.net: igmp leave 224.0.252.93 10:33:44.205985 IP 192.168.4.168 > 238.2.2.6: igmp v2 report 238.2.2.6 10:33:44.304046 IP 192.168.4.168 > 238.2.2.6: igmp v2 report 238.2.2.6 10:33:44.325005 IP 192.168.4.168 > 238.2.2.6: igmp v2 report 238.2.2.6 10:33:44.975081 IP 192.168.4.214 > all-routers.mcast.net: igmp leave 238.1.2.4 10:33:44.989943 IP 192.168.4.214 > 238.2.2.6: igmp v2 report 238.2.2.6 10:33:45.049022 IP 192.168.4.237 > all-routers.mcast.net: igmp leave 238.1.2.5 10:33:45.369314 IP 192.168.4.237 > 238.2.2.6: igmp v2 report 238.2.2.6 10:33:45.389416 IP 192.168.4.237 > 238.2.2.6: igmp v2 report 238.2.2.6 10:33:45.435321 IP 192.168.4.237 > 238.2.2.6: igmp v2 report 238.2.2.6 10:33:45.789133 IP 192.168.4.168 > 238.1.2.7: igmp v2 report 238.1.2.7 10:33:45.882137 IP 192.168.4.168 > 238.1.2.7: igmp v2 report 238.1.2.7 10:33:45.905140 IP 192.168.4.168 > 238.1.2.7: igmp v2 report 238.1.2.7
Tcpdump is a command line tool that shows all network traffic to stdout (filtered to IGMP protocol in our case) you can filter later by grep and do detailed analysis and statistics.