[Users] rport in via header

Daniel-Constantin Mierla daniel at voice-system.ro
Thu Aug 11 13:55:02 CEST 2005


Hello,

On 08/11/05 04:33, ranveer kunal wrote:

>hey daniel,
>               The packet from the ser proxy is statelessly forwarded
>by a gateway that is inline with proxy, now i want next hop proxy to
>reply on the port of the gateway rather than port of proxy. that is y
>i need proxy to send rport.
>
>proxy--------------gateway--------------next hop proxy
>
>proxy -> ip1:port1-> gateway -> ip2:port2 -> next hop proxy
>next hop proxy -> replies to ip2:port1 (hybrid) -> screws my setup
>  
>
the next hop proxy is broken, why does it reply to ip2:port1? It should 
reply to source_ip and source_port of the received request. The proxy is 
not aware at all about ip2:port2 used by gateway.

Daniel

>can you suggest me some way to overcome this.
>
>Regards,
>Ranveer. 
>
>On 8/11/05, Daniel-Constantin Mierla <daniel at voice-system.ro> wrote:
>  
>
>>Hello,
>>
>>On 08/10/05 21:10, ranveer kunal wrote:
>>
>>    
>>
>>>hi daniel,
>>>            as far as i have explored force_rport(), places the rport
>>>parameter in the topmost via header and not in its own via header. am
>>>i right ?
>>>
>>>example :
>>>
>>>UAC -> (via1:via2:via3)proxy(force_rport)->(via1:via2:via3,rport:via4)next proxy
>>>
>>>i want this :
>>>UAC -> (via1:via2:via3)proxy(force_rport)->(via1:via2:via3:via4,rport)next proxy
>>>
>>>Please clarify it ?
>>>
>>>
>>>      
>>>
>>yes, it is like that. And this is how it is supposed to be, according to
>>RFC3581. Why do you need it in proxy's via? The proxy will look at the
>>second via to get the destination address for reply.
>>
>>Daniel
>>
>>    
>>
>>>Regards,
>>>Ranveer.
>>>
>>>On 8/10/05, Daniel-Constantin Mierla <daniel at voice-system.ro> wrote:
>>>
>>>
>>>      
>>>
>>>>Hello,
>>>>
>>>>you have to use force_rport() in the configuration file for the request
>>>>you want rport parameter in VIA.
>>>>
>>>>Daniel
>>>>
>>>>
>>>>On 08/10/05 20:44, ranveer kunal wrote:
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>>>hi all,
>>>>>      Is there a way to configure openser so that it sends rport in
>>>>>via header ? Actually th packet from server is reverse natted through
>>>>>another system using any random port, i want it the reply to come on
>>>>>the same port . thanks ....
>>>>>
>>>>>Regards,
>>>>>Ranveer.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>
>>>
>>>      
>>>
>
>
>  
>




More information about the Users mailing list