Bug 14397

Summary: Apple's RTSP proxy does not connect UDP properly
Product: Ports & Packages Reporter: patrick <patrick>
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me CC: patrick
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description patrick 1999-10-18 15:10:01 UTC

The rtsp_proxy daemon needs to establish UDP connections with both the client
and the server. In order to do so it opens a UDP socket. However the source
address is incorrect (127.0.0.1) and no traffic can be exchanged with the rest
of the world.

This only happens if one is running "ipfw" and blocking traffic to the loopback
interface.


The fix consist in removing the call that gets the source IP address for the
proxy (which will always return 127.0.0.1) and to not specify a source address
when creating the UDP sockets.

How-To-Repeat: 
ipfw add deny from any to 127.0.0.0/8

cd /usr/ports/net/rtsp_proxy
make install

try to connect to a streaming server using the QuickTime 4 player

no connection happens, the player eventually times out.
Comment 1 cpiazza freebsd_committer freebsd_triage 1999-10-25 03:57:03 UTC
State Changed
From-To: open->closed

Patch committed, thanks!