[asterisk-dev] Via/maddr: (was Re: [Code Review] Properly route responses according to the Via headers in the request)

Olle E. Johansson oej at edvina.net
Tue Jan 4 02:03:54 CST 2011


3 jan 2011 kl. 21.05 skrev Simon Perreault:

> On 01/03/11 12:30, Klaus Darilion wrote:
>> Actually they can rather easy tell you where to send response - they
>> just have to send from this certain IP address (in case of UDP).
>> 
>> Thus I think maddr is a "bug".
> 
> maddr is intended to contain a multicast address. In general you can't just use this kind of address as source without breaking a ton of other things (e.g. ICMP replies come to mind).
> 
Simon, if you re-read the RFC, maddr in via headers is a multicast IF there's  a given TTL. Unfortunately there's an opening for using it with non-multicast that I think should be closed, removed and forgotten.

/O




More information about the asterisk-dev mailing list