Browse code

nathelper: readme updated for carrier grade nat address space matching

(cherry picked from commit 15537553aabfd59bb0fe2af45174ab4a4575120f)

Daniel-Constantin Mierla authored on 06/03/2014 13:51:05
Showing 1 changed files
... ...
@@ -533,15 +533,16 @@ fix_nated_register();
533 533
    parameter determines what heuristics is used.
534 534
 
535 535
    Meaning of the flags is as follows:
536
-     * 1 - Contact header field is searched for occurrence of RFC1918
537
-       addresses.
536
+     * 1 - Contact header field is searched for occurrence of RFC1918 or
537
+       rfc6598 addresses.
538 538
      * 2 - the "received" test is used: address in Via is compared against
539 539
        source IP address of signaling
540
-     * 4 - Top Most VIA is searched for occurrence of RFC1918 addresses
541
-     * 8 - SDP is searched for occurrence of RFC1918 addresses
540
+     * 4 - Top Most VIA is searched for occurrence of RFC1918 or rfc6598
541
+       addresses
542
+     * 8 - SDP is searched for occurrence of RFC1918 or rfc6598 addresses
542 543
      * 16 - test if the source port is different from the port in Via
543
-     * 32 - test if the source IP address of signaling is a RFC1918
544
-       address
544
+     * 32 - test if the source IP address of signaling is a RFC1918 or
545
+       rfc6598 address
545 546
      * 64 - test if the source connection of signaling is a WebSocket
546 547
      * 128 - test if the Contact URI port differs from the source port of
547 548
        the request (Warning: this is might be legal or even intended
... ...
@@ -555,8 +556,8 @@ fix_nated_register();
555 556
 
556 557
 5.6. is_rfc1918(ip_address)
557 558
 
558
-   Determines if the address in the parameter is an rfc1918 address. The
559
-   parameter allows pseudo-variables usage.
559
+   Determines if the address in the parameter is an rfc1918 or rfc6598
560
+   address. The parameter allows pseudo-variables usage.
560 561
 
561 562
    This function can be used from ANY_ROUTE.
562 563