[pulseaudio-tickets] [PulseAudio] #365: Server string code does not check IP

PulseAudio trac-noreply at tango.0pointer.de
Sat Sep 20 14:14:22 PDT 2008


#365: Server string code does not check IP
-----------------------+----------------------------------------------------
 Reporter:  Diablo-D3  |       Owner:  lennart
     Type:  defect     |      Status:  new    
 Priority:  normal     |   Milestone:         
Component:  daemon     |    Severity:  normal 
 Keywords:             |  
-----------------------+----------------------------------------------------
 If you give localhost as your server to anything that accepts a
 ServerString, and your machine is not literally named localhost, the
 connection fails; yet, if you give YourMachineName as your machine's name,
 it works.

 PA needs to resolve your machine's name and the name given in the server
 string and see if the IPs are identical instead of just trying to match
 the raw strings.

 As such, YourMachineName and localhost should both resolve to 127.0.0.1,
 and PA should allow the connection.

 Please note that PA should not special case this for localhost only: I
 could supply foo.lan and my machine's name is really foo.com; as long as
 both resolve to the same IP, it should connect.

-- 
Ticket URL: <http://www.pulseaudio.org/ticket/365>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list