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

Iñaki Baz Castillo ibc at aliax.net
Fri Dec 12 10:52:17 CET 2008


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 :)


-- 
Iñaki Baz Castillo
<ibc at aliax.net>


More information about the Devel mailing list