Skip to content

Commit a06bc52

Browse files
nathelper docs: add migration hints for the new named flags
1 parent f2bd617 commit a06bc52

File tree

1 file changed

+30
-21
lines changed

1 file changed

+30
-21
lines changed

modules/nathelper/doc/nathelper_admin.xml

Lines changed: 30 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -645,28 +645,33 @@ if (search("User-Agent: Cisco ATA.*") {
645645
</para>
646646
<itemizedlist>
647647
<listitem>
648-
<para><emphasis>add-dir-active</emphasis> - adds
648+
<para><emphasis>add-dir-active</emphasis> - (old
649+
<emphasis>0x01</emphasis> flag) adds
649650
<quote>a=direction:active</quote> SDP line;
650651
</para>
651652
</listitem>
652653
<listitem>
653-
<para><emphasis>rewrite-media-ip</emphasis> - rewrite media
654+
<para><emphasis>rewrite-media-ip</emphasis> - (old
655+
<emphasis>0x02</emphasis> flag) rewrite media
654656
&ip; address (c=) with source address of the message
655657
or the provided IP address (the provided IP address takes
656658
precedence over the source address).</para>
657659
</listitem>
658660
<listitem>
659-
<para><emphasis>add-no-rtpproxy</emphasis> - adds
661+
<para><emphasis>add-no-rtpproxy</emphasis> - (old
662+
<emphasis>0x04</emphasis> flag) adds
660663
<quote>a=nortpproxy:yes</quote> SDP line;</para>
661664
</listitem>
662665
<listitem>
663-
<para><emphasis>rewrite-origin-ip</emphasis> - rewrite IP from
666+
<para><emphasis>rewrite-origin-ip</emphasis> - (old
667+
<emphasis>0x08</emphasis> flag) rewrite IP from
664668
origin description (o=) with source address of the message
665669
or the provided IP address (the provided IP address takes
666670
precedence over the source address).</para>
667671
</listitem>
668672
<listitem>
669-
<para><emphasis>rewrite-null-ips</emphasis> - force rewrite of
673+
<para><emphasis>rewrite-null-ips</emphasis> - (old
674+
<emphasis>0x10</emphasis> flag) force rewrite of
670675
null media IP and/or origin IP address.
671676
Without this flag, null IPs are left untouched.</para>
672677
</listitem>
@@ -774,36 +779,40 @@ fix_nated_register();
774779
is as follows:</para>
775780
<itemizedlist>
776781
<listitem><para>
777-
<emphasis>ct</emphasis> - Contact header field is searched
778-
for occurrence of RFC1918 / RFC6598 addresses.
782+
<emphasis>private-contact</emphasis> - (old <emphasis>1</emphasis> flag)
783+
Contact header field is searched for occurrence of RFC1918 / RFC6598
784+
addresses.
779785
</para></listitem>
780786
<listitem><para>
781-
<emphasis>si-via</emphasis> - the "received" test is used: address
782-
in Via is compared against source IP address of signaling
787+
<emphasis>diff-ip-src-via</emphasis> - (old <emphasis>2</emphasis> flag)
788+
the "received" test is used: address in Via is compared against source
789+
IP address of signaling
783790
</para></listitem>
784791
<listitem><para>
785-
<emphasis>via</emphasis> - Top Most VIA is searched
786-
for occurrence of RFC1918 / RFC6598 addresses
792+
<emphasis>private-via</emphasis> - (old <emphasis>4</emphasis> flag)
793+
Top Most VIA is searched for occurrence of RFC1918 / RFC6598 addresses
787794
</para></listitem>
788795
<listitem><para>
789-
<emphasis>sdp</emphasis> - SDP is searched for occurrence of
790-
RFC1918 / RFC6598 addresses
796+
<emphasis>private-sdp</emphasis> - (old <emphasis>8</emphasis> flag)
797+
SDP is searched for occurrence of RFC1918 / RFC6598 addresses
791798
</para></listitem>
792799
<listitem><para>
793-
<emphasis>sp-via</emphasis> - test if the source port is different
794-
from the port in Via
800+
<emphasis>diff-port-src-via</emphasis> - (old <emphasis>16</emphasis>
801+
flag) test if the source port is different from the port in Via
795802
</para></listitem>
796803
<listitem><para>
797-
<emphasis>si-ct</emphasis> - address in Contact is compared against
798-
source IP address of signaling
804+
<emphasis>diff-ip-src-contact</emphasis> - (old <emphasis>32</emphasis>
805+
flag) address in Contact is compared against source IP address of
806+
signaling
799807
</para></listitem>
800808
<listitem><para>
801-
<emphasis>sp-ct</emphasis> - Port in Contact is compared against
802-
source port of signaling
809+
<emphasis>diff-port-src-contact</emphasis> - (old <emphasis>64</emphasis>
810+
flag) Port in Contact is compared against source port of signaling
803811
</para></listitem>
804812
<listitem><para>
805-
<emphasis>rfc6333</emphasis> - also include RFC 6333 addresses in the
806-
checks for <emphasis>ct</emphasis>, <emphasis>via</emphasis> and
813+
<emphasis>carrier-grade-nat</emphasis> - (old <emphasis>128</emphasis>
814+
flag) also include RFC 6333 addresses in the checks for
815+
<emphasis>ct</emphasis>, <emphasis>via</emphasis> and
807816
<emphasis>sdp</emphasis> flags.
808817
</para></listitem>
809818
</itemizedlist>

0 commit comments

Comments
 (0)