<p><img alt="wireshark.jpeg" data-align="left" data-entity-type="file" data-entity-uuid="f879ba40-b11a-4189-8626-6cdb0753f2ae" src="http://localhost/sites/default/files/root/public/images/Ubuntu/wireshark.jpeg" />I like to work hearing music, especially classic music. I also like Radio Clásica, the classical music radio of the Spanish public radio. In rhythmbox it is easy to enter a new radio, just entering the URL of the radio stream in the "Properties" field of the radio.</p> <p>The problem is 1) that some radios like Radio Clasica change this URL often, 2) increasingly the web pages of the radios where the stream is included use javascript and the stream url cannot be seen directly in the html source of the page.</p> <p>For this "wireshark" comes handy. This is an application that analyzes and lists all network connections of a system. So install wireshare if you don't have it:</p> <pre> sudo apt-get install wireshark</pre> <p>You have to start wireshark as superuser otherwise it cannot access all the network information:</p> <pre> sudo wireshark</pre> <p>You have to choose "any" stream, and once the streams are show, in "display filter" write "http.request". Somewhere in the list of connections shown the radio stream URL will be shown, and hopefully it will be easy to recognize.</p>

This is an update on how to identify an URL stream using wireshark. In a previous article I explained how to install wireshark:
https://puna.upf.edu/node/108
For some reason, radio stream providers are increasingly obfucasting the URL of the radio stream, probably because they want users to access their streams through their web page. So my old instructions do not work.
Here is how to do it nowadays. After starting the radio stream in the web page, and starting wire shark as root ("sudo wireshark"), enter "http.request" as the filter and start capturing packets.

Once wireshare starts showing some information, click on the menu Statistics - Resolved addresses. There you will see some domains and some text to append to them. Look for a domain that looks like the one you are trying to access and to an extension of that domain that contains the strings "m3u" or "mp3". That should be the URL of your stream.

Powered by Drupal

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer