[OpenSIPS-Devel] [OpenSIPS-Users] [RFC] NAT pinging

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Dec 15 12:07:57 CET 2008


Iñaki Baz Castillo wrote:
> 2008/12/12 Jesus Rodriguez <jesusr at voztele.com>:
>   
>>> So, the question is:  if NAT detected and such a protocol mismatch is
>>> detected, should a registrar refuse the registration (as it will be
>>> anyhow unusable) ?
>>>       
>> Maybe this could be a configurable policy via modparam for regristrar
>> module. If the script writer does not want to take care of these
>> "strange" cases, registrar module can refuse these  requests
>> automatically... but in some cases you may want/need to accept these
>> requests, so a configurable behavior would be great.
>>     
>
> This is already feasible using nat_traversal module. You can check if
> the request transport matches the transport indicated in Contact
> header, and just call "keepalive()" in case they match.
>
> nat_traversal is much much powerful and flexible than nathelper :)
>   
yes, the idea is to actually drop the pinging part from nathelper and 
use only nat_traversal module for this purpose. So, we might move this 
discussion to nat_traversal module maybe :)

Regards,
Bogdan




More information about the Devel mailing list