Solo parzialmente OT: pillole di sicenza, sul software libero

Micky Del Favero micky@mesina.net
Mer 12 Maggio 2010 22:21:11 CEST


max <max@studiomasson.it> writes:

> Purtoppo, pur avendo il sito www.radiobelluno.it un link per lo
> streaming (/ascoltaci.html), questo usa WMP, e non sono riuscito a
> sentirlo sotto linux... non so se ci sia qualche workaround...

hanno problemi loro altrimenti mplayer quasi certamente riuscirebbe a
riprodurre il flusso anche se di un formato nemico:

micky@grace:~$ mplayer mms://85.18.37.242/radiobelluno

Playing mms://85.18.37.242/radiobelluno.
STREAM_ASF, URL: mms://85.18.37.242/radiobelluno
Resolving 85.18.37.242 for AF_INET6...
Couldn't resolve name for AF_INET6: 85.18.37.242
Connecting to server 85.18.37.242[85.18.37.242]: 1755...
Connected
read error:: Resource temporarily unavailable
pre-header read failed
Resolving 85.18.37.242 for AF_INET6...
Couldn't resolve name for AF_INET6: 85.18.37.242
Connecting to server 85.18.37.242[85.18.37.242]: 80...
Server returned 400:Bad Request
Failed to parse header.
Failed, exiting.
Resolving 85.18.37.242 for AF_INET6...
Couldn't resolve name for AF_INET6: 85.18.37.242
Connecting to server 85.18.37.242[85.18.37.242]: 80...
Server returned 400: Bad Request
No stream found to handle url mms://85.18.37.242/radiobelluno


Exiting... (End of file)
micky@grace:~$ 

il server risponde con 400: Bad Request, proviamo a capire perché:

micky@grace:~$  nc 85.18.37.242 80
HEAD
HTTP/1.1 400 Bad Request
Content-Type: text/html
Date: Wed, 12 May 2010 20:10:01 GMT
Connection: close
Content-Length: 35

<h1>Bad Request
micky@grace:~$  nc 85.18.37.242 80
GET /radiobelluno
<h1>Bad Request (Invalid Hostname)</h1>
micky@grace:~$ 

probabilmente non è stato configurato correttamente il virtual host e
quindi il web server non sa che pagina servire per la richiesta che gli
viene fatta, scommettiamo che hanno uno di quei cosi che si configura
con pochi click del mouse? Visto non funziona è probabile, infatti:

micky@grace:~$ sudo nmap -p80 -sV -O -PN 85.18.37.242

Starting Nmap 4.62 ( http://nmap.org ) at 2010-05-12 22:07 CEST
Interesting ports on 85-18-37-242.ip.fastwebnet.it (85.18.37.242):
PORT   STATE SERVICE VERSION
80/tcp open  http    Microsoft IIS httpd
Warning: OSScan results may be unreliable because we could not find at
least 1 open and 1 closed port 
Device type: general purpose
Running: Microsoft Windows 2003
OS details: Microsoft Windows Server 2003 Enterprise Edition SP2,
Microsoft Windows Server 2003 SP2 

Nmap done: 1 IP address (1 host up) scanned in 9.285 seconds
micky@grace:~$ 

In conclusione se sistemano il problema anche noi potremo somministrare
alle nostre menti le pillole di scienza.

Ciao, Micky
-- 
UNIX is basically a simple operating system, but you have to 
be a genius to understand the simplicity.  -- Dennis Ritchie


Maggiori informazioni sulla lista blug