€•á%Œsphinx.addnodes”Œdocument”“”)”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)”}”(hhh]”(hŒ pending_xref”“”)”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…””}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ)/translations/zh_CN/networking/ip_dynaddr”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ)/translations/zh_TW/networking/ip_dynaddr”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ)/translations/it_IT/networking/ip_dynaddr”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ)/translations/ja_JP/networking/ip_dynaddr”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ)/translations/ko_KR/networking/ip_dynaddr”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ)/translations/sp_SP/networking/ip_dynaddr”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒcomment”“”)”}”(hŒ SPDX-License-Identifier: GPL-2.0”h]”hŒ SPDX-License-Identifier: GPL-2.0”…””}”hh£sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1h¡hhhžhhŸŒC/var/lib/git/docbuild/linux/Documentation/networking/ip_dynaddr.rst”h KubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒ"IP dynamic address hack-port v0.03”h]”hŒ"IP dynamic address hack-port v0.03”…””}”(hh»hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¹hh¶hžhhŸh³h KubhŒ paragraph”“”)”}”(hŒÖThis stuff allows diald ONESHOT connections to get established by dynamically changing packet source address (and socket's if local procs). It is implemented for TCP diald-box connections(1) and IP_MASQuerading(2).”h]”hŒØThis stuff allows diald ONESHOT connections to get established by dynamically changing packet source address (and socket’s if local procs). It is implemented for TCP diald-box connections(1) and IP_MASQuerading(2).”…””}”(hhËhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h Khh¶hžhubhÊ)”}”(hŒ6If enabled\ [#]_ and forwarding interface has changed:”h]”(hŒ If enabled ”…””}”(hhÙhžhhŸNh NubhŒfootnote_reference”“”)”}”(hŒ[#]_”h]”hŒ1”…””}”(hhãhžhhŸNh Nubah}”(h]”Œid1”ah ]”h"]”h$]”h&]”Œauto”KŒrefid”Œid2”Œdocname”Œnetworking/ip_dynaddr”uh1háhhÙŒresolved”KubhŒ& and forwarding interface has changed:”…””}”(hhÙhžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K hh¶hžhubhŒ block_quote”“”)”}”(hX1) Socket (and packet) source address is rewritten ON RETRANSMISSIONS while in SYN_SENT state (diald-box processes). 2) Out-bounded MASQueraded source address changes ON OUTPUT (when internal host does retransmission) until a packet from outside is received by the tunnel. ”h]”hŒenumerated_list”“”)”}”(hhh]”(hŒ list_item”“”)”}”(hŒqSocket (and packet) source address is rewritten ON RETRANSMISSIONS while in SYN_SENT state (diald-box processes).”h]”hÊ)”}”(hŒqSocket (and packet) source address is rewritten ON RETRANSMISSIONS while in SYN_SENT state (diald-box processes).”h]”hŒqSocket (and packet) source address is rewritten ON RETRANSMISSIONS while in SYN_SENT state (diald-box processes).”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K hjubah}”(h]”h ]”h"]”h$]”h&]”uh1j hj ubj)”}”(hŒ™Out-bounded MASQueraded source address changes ON OUTPUT (when internal host does retransmission) until a packet from outside is received by the tunnel. ”h]”hÊ)”}”(hŒ˜Out-bounded MASQueraded source address changes ON OUTPUT (when internal host does retransmission) until a packet from outside is received by the tunnel.”h]”hŒ˜Out-bounded MASQueraded source address changes ON OUTPUT (when internal host does retransmission) until a packet from outside is received by the tunnel.”…””}”(hj+hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h Khj'ubah}”(h]”h ]”h"]”h$]”h&]”uh1j hj ubeh}”(h]”h ]”h"]”h$]”h&]”Œenumtype”Œarabic”Œprefix”hŒsuffix”Œ)”uh1jhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhŸh³h K hh¶hžhubhÊ)”}”(hXThis is specially helpful for auto dialup links (diald), where the ``actual`` outgoing address is unknown at the moment the link is going up. So, the *same* (local AND masqueraded) connections requests that bring the link up will be able to get established.”h]”(hŒCThis is specially helpful for auto dialup links (diald), where the ”…””}”(hjPhžhhŸNh NubhŒliteral”“”)”}”(hŒ ``actual``”h]”hŒactual”…””}”(hjZhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jXhjPubhŒI outgoing address is unknown at the moment the link is going up. So, the ”…””}”(hjPhžhhŸNh NubhŒemphasis”“”)”}”(hŒ*same*”h]”hŒsame”…””}”(hjnhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jlhjPubhŒe (local AND masqueraded) connections requests that bring the link up will be able to get established.”…””}”(hjPhžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h Khh¶hžhubhŒfootnote”“”)”}”(hŒüAt boot, by default no address rewriting is attempted. To enable:: # echo 1 > /proc/sys/net/ipv4/ip_dynaddr To enable verbose mode:: # echo 2 > /proc/sys/net/ipv4/ip_dynaddr To disable (default):: # echo 0 > /proc/sys/net/ipv4/ip_dynaddr ”h]”(hŒlabel”“”)”}”(hhh]”hŒ1”…””}”(hjŽhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjˆhžhhŸNh NubhÊ)”}”(hŒ6At boot, by default no address rewriting is attempted.”h]”hŒ6At boot, by default no address rewriting is attempted.”…””}”(hj›hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h KhjˆubhÊ)”}”(hŒ To enable::”h]”hŒ To enable:”…””}”(hj©hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h KhjˆubhŒ literal_block”“”)”}”(hŒ(# echo 1 > /proc/sys/net/ipv4/ip_dynaddr”h]”hŒ(# echo 1 > /proc/sys/net/ipv4/ip_dynaddr”…””}”hj¹sbah}”(h]”h ]”h"]”h$]”h&]”h±h²uh1j·hŸh³h KhjˆubhÊ)”}”(hŒTo enable verbose mode::”h]”hŒTo enable verbose mode:”…””}”(hjÇhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h Khjˆubj¸)”}”(hŒ(# echo 2 > /proc/sys/net/ipv4/ip_dynaddr”h]”hŒ(# echo 2 > /proc/sys/net/ipv4/ip_dynaddr”…””}”hjÕsbah}”(h]”h ]”h"]”h$]”h&]”h±h²uh1j·hŸh³h K hjˆubhÊ)”}”(hŒTo disable (default)::”h]”hŒTo disable (default):”…””}”(hjãhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K"hjˆubj¸)”}”(hŒ(# echo 0 > /proc/sys/net/ipv4/ip_dynaddr”h]”hŒ(# echo 0 > /proc/sys/net/ipv4/ip_dynaddr”…””}”hjñsbah}”(h]”h ]”h"]”h$]”h&]”h±h²uh1j·hŸh³h K$hjˆubeh}”(h]”hôah ]”h"]”Œ1”ah$]”h&]”híahòKhõhöuh1j†hŸh³h Khh¶hžhubhÊ)”}”(hŒEnjoy!”h]”hŒEnjoy!”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K&hh¶hžhubhÊ)”}”(hŒ#Juanjo ”h]”(hŒ Juanjo <”…””}”(hjhžhhŸNh NubhŒ reference”“”)”}”(hŒjjciarla@raiz.uncu.edu.ar”h]”hŒjjciarla@raiz.uncu.edu.ar”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”Œ mailto:jjciarla@raiz.uncu.edu.ar”uh1jhjubhŒ>”…””}”(hjhžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K(hh¶hžhubeh}”(h]”Œ"ip-dynamic-address-hack-port-v0-03”ah ]”h"]”Œ"ip dynamic address hack-port v0.03”ah$]”h&]”uh1h´hhhžhhŸh³h Kubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”h³uh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)”}”(h¹NŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”Œentry”Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”jcŒerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”h³Œ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”hô]”hãasŒnameids”}”(j=j:jhôuŒ nametypes”}”(j=‰jˆuh}”(j:h¶híhãhôjˆuŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”jˆaŒautofootnote_refs”]”hãaŒsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”jqKs…”R”Œparse_messages”]”Œtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nhžhub.