mirror of
https://github.com/markqvist/Reticulum
synced 2026-11-27 23:00:28 +00:00
Added path request burst control to manual
This commit is contained in:
1 parent
35e7ccb773
commit
e03c4ee455
8 files changed
+268
-26
No files matched your search
Binary file not shown.
|
Before Width: | Height: | Size: 75 KiB |
@@ -1372,11 +1372,12 @@ a large amount of bogus destinations, and then disconnect, these destination wil
|
||||
never make it into path tables and waste network bandwidth on retransmitted
|
||||
announces.
|
||||
|
||||
**It's important to note** that the ingress control works at the level of *individual
|
||||
sub-interfaces*. As an example, this means that one client on a :ref:`TCP Server Interface<interfaces-tcps>`
|
||||
cannot disrupt processing of incoming announces for other connected clients on the same
|
||||
:ref:`TCP Server Interface<interfaces-tcps>`. All other clients on the same interface will still have new announces
|
||||
processed without interruption.
|
||||
.. note::
|
||||
It's important to remember that the ingress control works at the level of *individual
|
||||
sub-interfaces*. As an example, this means that one client on a :ref:`TCP Server Interface<interfaces-tcps>`
|
||||
cannot disrupt processing of incoming announces for other connected clients on the same
|
||||
:ref:`TCP Server Interface<interfaces-tcps>`. All other clients on the same interface
|
||||
will still have new announces processed without interruption.
|
||||
|
||||
By default, Reticulum will handle this automatically, and ingress announce
|
||||
control will be enabled on interface where it is sensible to do so. It should
|
||||
@@ -1384,8 +1385,7 @@ generally not be neccessary to modify the ingress control configuration,
|
||||
but all the parameters are exposed for configuration if needed.
|
||||
|
||||
* | The ``ingress_control`` option tells Reticulum whether or not
|
||||
to enable announce ingress control on the interface. Defaults to
|
||||
``True``.
|
||||
to enable ingress control on the interface. Defaults to ``True``.
|
||||
|
||||
* | The ``ic_new_time`` option configures how long (in seconds) an
|
||||
interface is considered newly spawned. Defaults to ``2*60*60`` seconds. This
|
||||
@@ -1422,3 +1422,59 @@ but all the parameters are exposed for configuration if needed.
|
||||
must pass between releasing each held announce from the queue. Defaults
|
||||
to ``30`` seconds.
|
||||
|
||||
All of the above settings can be configured both as instance-wide defaults
|
||||
under the ``[reticulum]`` section of the configuration file, or on a per-
|
||||
interface basis under the relevant interface configuration section.
|
||||
|
||||
|
||||
Path Request Burst Control
|
||||
==========================
|
||||
|
||||
In addition the announce controls for newly created destination, Reticulum will also
|
||||
monitor incoming path request activity, and enforce burst controls if per-client rates
|
||||
exceed configured limits. Once path request burst control is activated on an
|
||||
interface, path requests will no longer be propagated further on the network.
|
||||
As with announce burst control, this happens on a per sub-interface basis. One
|
||||
client connecting to a public gateway will not be able to disrupt path request
|
||||
processing for other clients.
|
||||
|
||||
.. warning::
|
||||
Applications that send large amounts of unnecessary path requests will very
|
||||
quickly get rate limited by transport nodes, and the entire system they are
|
||||
running on will not be able to resolve any paths on the network, until the
|
||||
burst subsides and hold period expires. **Do not** write applications like
|
||||
this. Only request paths for destinations you need to communicate with.
|
||||
|
||||
By default, Reticulum will handle this automatically, and ingress path request
|
||||
control will be enabled on interface where it is sensible to do so. It should
|
||||
generally not be neccessary to modify the ingress control configuration,
|
||||
but all the parameters are exposed for configuration if needed.
|
||||
|
||||
* | The ``ingress_control`` option tells Reticulum whether or not
|
||||
to enable ingress control on the interface. Defaults to ``True``.
|
||||
|
||||
* | The ``ic_new_time`` option configures how long (in seconds) an
|
||||
interface is considered newly spawned. Defaults to ``2*60*60`` seconds. This
|
||||
option is useful on publicly accessible interfaces that spawn new
|
||||
sub-interfaces when a new client connects.
|
||||
|
||||
* | The ``ic_pr_burst_freq_new`` option sets the maximum path request
|
||||
ingress frequency for newly spawned interfaces. Defaults to ``3``
|
||||
announces per second.
|
||||
|
||||
* | The ``ic_pr_burst_freq`` option sets the maximum path request
|
||||
ingress frequency for other interfaces. Defaults to ``10`` announces
|
||||
per second.
|
||||
|
||||
*If an interface exceeds its burst frequency, incoming path requests
|
||||
from that system will not traverse the network further.*
|
||||
|
||||
* | The ``egress_control`` option enables hard-limiting path request egress
|
||||
control per-interface. Defaults to ``False``
|
||||
|
||||
* | The ``ec_pr_freq`` option sets the hard limit for outbound path requests
|
||||
per second on a given interface.
|
||||
|
||||
All of the above settings can be configured both as instance-wide defaults
|
||||
under the ``[reticulum]`` section of the configuration file, or on a per-
|
||||
interface basis under the relevant interface configuration section.
|
||||
@@ -509,6 +509,7 @@ to participate in the development of Reticulum itself.</p>
|
||||
<li class="toctree-l2"><a class="reference internal" href="interfaces.html#interfaces-modes">Interface Modes</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="interfaces.html#announce-rate-control">Announce Rate Control</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="interfaces.html#new-destination-rate-limiting">New Destination Rate Limiting</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="interfaces.html#path-request-burst-control">Path Request Burst Control</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="networks.html">Building Networks</a><ul>
|
||||
|
||||
@@ -1533,11 +1533,14 @@ also means, that should a node decide to connect to a public interface, announce
|
||||
a large amount of bogus destinations, and then disconnect, these destination will
|
||||
never make it into path tables and waste network bandwidth on retransmitted
|
||||
announces.</p>
|
||||
<p><strong>It’s important to note</strong> that the ingress control works at the level of <em>individual
|
||||
<div class="admonition note">
|
||||
<p class="admonition-title">Note</p>
|
||||
<p>It’s important to remember that the ingress control works at the level of <em>individual
|
||||
sub-interfaces</em>. As an example, this means that one client on a <a class="reference internal" href="#interfaces-tcps"><span class="std std-ref">TCP Server Interface</span></a>
|
||||
cannot disrupt processing of incoming announces for other connected clients on the same
|
||||
<a class="reference internal" href="#interfaces-tcps"><span class="std std-ref">TCP Server Interface</span></a>. All other clients on the same interface will still have new announces
|
||||
processed without interruption.</p>
|
||||
<a class="reference internal" href="#interfaces-tcps"><span class="std std-ref">TCP Server Interface</span></a>. All other clients on the same interface
|
||||
will still have new announces processed without interruption.</p>
|
||||
</div>
|
||||
<p>By default, Reticulum will handle this automatically, and ingress announce
|
||||
control will be enabled on interface where it is sensible to do so. It should
|
||||
generally not be neccessary to modify the ingress control configuration,
|
||||
@@ -1546,8 +1549,7 @@ but all the parameters are exposed for configuration if needed.</p>
|
||||
<div><ul>
|
||||
<li><div class="line-block">
|
||||
<div class="line">The <code class="docutils literal notranslate"><span class="pre">ingress_control</span></code> option tells Reticulum whether or not
|
||||
to enable announce ingress control on the interface. Defaults to
|
||||
<code class="docutils literal notranslate"><span class="pre">True</span></code>.</div>
|
||||
to enable ingress control on the interface. Defaults to <code class="docutils literal notranslate"><span class="pre">True</span></code>.</div>
|
||||
</div>
|
||||
</li>
|
||||
<li><div class="line-block">
|
||||
@@ -1602,6 +1604,76 @@ to <code class="docutils literal notranslate"><span class="pre">30</span></code>
|
||||
</li>
|
||||
</ul>
|
||||
</div></blockquote>
|
||||
<p>All of the above settings can be configured both as instance-wide defaults
|
||||
under the <code class="docutils literal notranslate"><span class="pre">[reticulum]</span></code> section of the configuration file, or on a per-
|
||||
interface basis under the relevant interface configuration section.</p>
|
||||
</section>
|
||||
<section id="path-request-burst-control">
|
||||
<h2>Path Request Burst Control<a class="headerlink" href="#path-request-burst-control" title="Link to this heading">¶</a></h2>
|
||||
<p>In addition the announce controls for newly created destination, Reticulum will also
|
||||
monitor incoming path request activity, and enforce burst controls if per-client rates
|
||||
exceed configured limits. Once path request burst control is activated on an
|
||||
interface, path requests will no longer be propagated further on the network.
|
||||
As with announce burst control, this happens on a per sub-interface basis. One
|
||||
client connecting to a public gateway will not be able to disrupt path request
|
||||
processing for other clients.</p>
|
||||
<div class="admonition warning">
|
||||
<p class="admonition-title">Warning</p>
|
||||
<p>Applications that send large amounts of unnecessary path requests will very
|
||||
quickly get rate limited by transport nodes, and the entire system they are
|
||||
running on will not be able to resolve any paths on the network, until the
|
||||
burst subsides and hold period expires. <strong>Do not</strong> write applications like
|
||||
this. Only request paths for destinations you need to communicate with.</p>
|
||||
</div>
|
||||
<p>By default, Reticulum will handle this automatically, and ingress path request
|
||||
control will be enabled on interface where it is sensible to do so. It should
|
||||
generally not be neccessary to modify the ingress control configuration,
|
||||
but all the parameters are exposed for configuration if needed.</p>
|
||||
<blockquote>
|
||||
<div><ul>
|
||||
<li><div class="line-block">
|
||||
<div class="line">The <code class="docutils literal notranslate"><span class="pre">ingress_control</span></code> option tells Reticulum whether or not
|
||||
to enable ingress control on the interface. Defaults to <code class="docutils literal notranslate"><span class="pre">True</span></code>.</div>
|
||||
</div>
|
||||
</li>
|
||||
<li><div class="line-block">
|
||||
<div class="line">The <code class="docutils literal notranslate"><span class="pre">ic_new_time</span></code> option configures how long (in seconds) an
|
||||
interface is considered newly spawned. Defaults to <code class="docutils literal notranslate"><span class="pre">2*60*60</span></code> seconds. This
|
||||
option is useful on publicly accessible interfaces that spawn new
|
||||
sub-interfaces when a new client connects.</div>
|
||||
</div>
|
||||
</li>
|
||||
<li><div class="line-block">
|
||||
<div class="line">The <code class="docutils literal notranslate"><span class="pre">ic_pr_burst_freq_new</span></code> option sets the maximum path request
|
||||
ingress frequency for newly spawned interfaces. Defaults to <code class="docutils literal notranslate"><span class="pre">3</span></code>
|
||||
announces per second.</div>
|
||||
</div>
|
||||
</li>
|
||||
<li><div class="line-block">
|
||||
<div class="line">The <code class="docutils literal notranslate"><span class="pre">ic_pr_burst_freq</span></code> option sets the maximum path request
|
||||
ingress frequency for other interfaces. Defaults to <code class="docutils literal notranslate"><span class="pre">10</span></code> announces
|
||||
per second.</div>
|
||||
</div>
|
||||
<blockquote>
|
||||
<div><p><em>If an interface exceeds its burst frequency, incoming path requests
|
||||
from that system will not traverse the network further.</em></p>
|
||||
</div></blockquote>
|
||||
</li>
|
||||
<li><div class="line-block">
|
||||
<div class="line">The <code class="docutils literal notranslate"><span class="pre">egress_control</span></code> option enables hard-limiting path request egress
|
||||
control per-interface. Defaults to <code class="docutils literal notranslate"><span class="pre">False</span></code></div>
|
||||
</div>
|
||||
</li>
|
||||
<li><div class="line-block">
|
||||
<div class="line">The <code class="docutils literal notranslate"><span class="pre">ec_pr_freq</span></code> option sets the hard limit for outbound path requests
|
||||
per second on a given interface.</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div></blockquote>
|
||||
<p>All of the above settings can be configured both as instance-wide defaults
|
||||
under the <code class="docutils literal notranslate"><span class="pre">[reticulum]</span></code> section of the configuration file, or on a per-
|
||||
interface basis under the relevant interface configuration section.</p>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
@@ -1689,6 +1761,7 @@ to <code class="docutils literal notranslate"><span class="pre">30</span></code>
|
||||
<li><a class="reference internal" href="#interfaces-modes">Interface Modes</a></li>
|
||||
<li><a class="reference internal" href="#announce-rate-control">Announce Rate Control</a></li>
|
||||
<li><a class="reference internal" href="#new-destination-rate-limiting">New Destination Rate Limiting</a></li>
|
||||
<li><a class="reference internal" href="#path-request-burst-control">Path Request Burst Control</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@@ -1 +1 @@
|
||||
Search.setIndex({"alltitles":{"A Carrier-Grade Fallacy":[[15,"a-carrier-grade-fallacy"]],"API Reference":[[9,null]],"ARM64":[[2,"arm64"]],"AX.25 KISS Interface":[[6,"ax-25-kiss-interface"]],"Adding Radio Interfaces":[[2,"adding-radio-interfaces"]],"An Explanation of Reticulum for Human Beings":[[1,null]],"Anchor In The Flow":[[15,"anchor-in-the-flow"]],"Android":[[2,"android"]],"Announce":[[0,"announce"]],"Announce Propagation Rules":[[12,"announce-propagation-rules"]],"Announce Rate Control":[[6,"announce-rate-control"]],"Announcing Presence":[[15,"announcing-presence"]],"Auto Interface":[[6,"auto-interface"]],"Automated List Sourcing":[[13,"automated-list-sourcing"]],"Backbone Interface":[[6,"backbone-interface"]],"Blackhole Management":[[13,"blackhole-management"]],"Bootstrapping Connectivity":[[2,"bootstrapping-connectivity"]],"Broadcast":[[0,"broadcast"]],"Buffer":[[0,"buffer"]],"Build Personal Infrastructure":[[2,"build-personal-infrastructure"]],"Building Networks":[[8,null]],"Channel":[[0,"channel"]],"Code Examples":[[0,null]],"Combining Hardware Types":[[4,"combining-hardware-types"]],"Common Interface Options":[[6,"common-interface-options"]],"Communications Hardware":[[4,null]],"Concepts & Overview":[[8,"concepts-overview"]],"Conceptual Overview":[[12,"conceptual-overview"]],"Configuration & Data":[[13,"configuration-data"]],"Configuring Interfaces":[[6,null]],"Connect to the Distributed Backbone":[[2,"connect-to-the-distributed-backbone"]],"Connecting Remotes":[[6,"connecting-remotes"]],"Connecting Reticulum Instances Over the Internet":[[2,"connecting-reticulum-instances-over-the-internet"]],"Contributing to the Global Ret":[[2,"contributing-to-the-global-ret"]],"Cost Of A Byte":[[15,"cost-of-a-byte"]],"Creating RNodes":[[4,"creating-rnodes"]],"Creating a Network With Reticulum":[[2,"creating-a-network-with-reticulum"]],"Creating and Using Custom Interfaces":[[2,"creating-and-using-custom-interfaces"]],"Creating and Using a Network Identity":[[12,"creating-and-using-a-network-identity"]],"Cryptographic Primitives":[[12,"cryptographic-primitives"]],"Current Status":[[14,"current-status"]],"Current Usage":[[12,"current-usage"]],"Custom Interfaces":[[0,"custom-interfaces"],[6,"custom-interfaces"]],"Customizing Templates":[[3,"customizing-templates"]],"Death To The Address":[[15,"death-to-the-address"]],"Debian Bookworm":[[2,"debian-bookworm"]],"Decentralization Or Uncentralizability?":[[15,"decentralization-or-uncentralizability"]],"Design Patterns For Post-IP Systems":[[15,"design-patterns-for-post-ip-systems"]],"Destination Naming":[[12,"destination-naming"]],"Destinations":[[12,"destinations"]],"Destinations, Not Addresses":[[8,"destinations-not-addresses"]],"Develop a Program with Reticulum":[[2,"develop-a-program-with-reticulum"]],"Discoverable Interfaces":[[6,"discoverable-interfaces"]],"Discovering Interfaces":[[13,"discovering-interfaces"]],"Discovery Parameters":[[6,"discovery-parameters"]],"Donations":[[11,"donations"]],"Echo":[[0,"echo"]],"Emergent Patterns":[[15,"emergent-patterns"]],"Enabling Discovery":[[6,"enabling-discovery"]],"Encryption Is Not A Feature":[[15,"encryption-is-not-a-feature"]],"Ethernet-based Hardware":[[4,"ethernet-based-hardware"]],"Ethics Of The Tool":[[15,"ethics-of-the-tool"]],"Example Configuration":[[6,"example-configuration"]],"Fabric Of The Independent":[[15,"fabric-of-the-independent"]],"Fallacy Of The Cloud":[[15,"fallacy-of-the-cloud"]],"Filetransfer":[[0,"filetransfer"]],"Finding Your Way":[[2,"finding-your-way"]],"Fixed Serial Port Names":[[13,"fixed-serial-port-names"]],"Flow & Time":[[15,"flow-time"]],"Formatting & Syntax Highlighting":[[3,"formatting-syntax-highlighting"]],"Future Implications":[[12,"future-implications"]],"Getting Further":[[12,"getting-further"]],"Getting Started Fast":[[2,null]],"Git Over Reticulum":[[3,null]],"Goals":[[12,"goals"]],"Heltec LoRa32 v2.0":[[4,"heltec-lora32-v2-0"]],"Heltec LoRa32 v3.0":[[4,"heltec-lora32-v3-0"]],"Heltec LoRa32 v4.0":[[4,"heltec-lora32-v4-0"]],"Heltec T114":[[4,"heltec-t114"]],"Heterogeneous Connectivity":[[8,"heterogeneous-connectivity"]],"Hostile Environments":[[15,"hostile-environments"]],"Hosting Public Entrypoints":[[2,"hosting-public-entrypoints"]],"I2P Interface":[[6,"i2p-interface"]],"Identification":[[0,"example-identify"]],"Identities":[[12,"understanding-identities"]],"Identity and Nomadism":[[15,"identity-and-nomadism"]],"Improving System Configuration":[[13,"improving-system-configuration"]],"Included Utility Programs":[[13,"included-utility-programs"]],"Indices and Tables":[[5,"indices-and-tables"]],"Installation":[[4,"installation"]],"Interface Access Codes":[[12,"interface-access-codes"]],"Interface Modes":[[6,"interface-modes"],[6,"interfaces-modes"]],"Interface Modules & Connectivity Resources":[[10,"interface-modules-connectivity-resources"]],"Interface Types and Devices":[[14,"interface-types-and-devices"]],"Introduction & Basic Functionality":[[12,"introduction-basic-functionalLine truncated
|
||||
Search.setIndex({"alltitles":{"A Carrier-Grade Fallacy":[[15,"a-carrier-grade-fallacy"]],"API Reference":[[9,null]],"ARM64":[[2,"arm64"]],"AX.25 KISS Interface":[[6,"ax-25-kiss-interface"]],"Adding Radio Interfaces":[[2,"adding-radio-interfaces"]],"An Explanation of Reticulum for Human Beings":[[1,null]],"Anchor In The Flow":[[15,"anchor-in-the-flow"]],"Android":[[2,"android"]],"Announce":[[0,"announce"]],"Announce Propagation Rules":[[12,"announce-propagation-rules"]],"Announce Rate Control":[[6,"announce-rate-control"]],"Announcing Presence":[[15,"announcing-presence"]],"Auto Interface":[[6,"auto-interface"]],"Automated List Sourcing":[[13,"automated-list-sourcing"]],"Backbone Interface":[[6,"backbone-interface"]],"Blackhole Management":[[13,"blackhole-management"]],"Bootstrapping Connectivity":[[2,"bootstrapping-connectivity"]],"Broadcast":[[0,"broadcast"]],"Buffer":[[0,"buffer"]],"Build Personal Infrastructure":[[2,"build-personal-infrastructure"]],"Building Networks":[[8,null]],"Channel":[[0,"channel"]],"Code Examples":[[0,null]],"Combining Hardware Types":[[4,"combining-hardware-types"]],"Common Interface Options":[[6,"common-interface-options"]],"Communications Hardware":[[4,null]],"Concepts & Overview":[[8,"concepts-overview"]],"Conceptual Overview":[[12,"conceptual-overview"]],"Configuration & Data":[[13,"configuration-data"]],"Configuring Interfaces":[[6,null]],"Connect to the Distributed Backbone":[[2,"connect-to-the-distributed-backbone"]],"Connecting Remotes":[[6,"connecting-remotes"]],"Connecting Reticulum Instances Over the Internet":[[2,"connecting-reticulum-instances-over-the-internet"]],"Contributing to the Global Ret":[[2,"contributing-to-the-global-ret"]],"Cost Of A Byte":[[15,"cost-of-a-byte"]],"Creating RNodes":[[4,"creating-rnodes"]],"Creating a Network With Reticulum":[[2,"creating-a-network-with-reticulum"]],"Creating and Using Custom Interfaces":[[2,"creating-and-using-custom-interfaces"]],"Creating and Using a Network Identity":[[12,"creating-and-using-a-network-identity"]],"Cryptographic Primitives":[[12,"cryptographic-primitives"]],"Current Status":[[14,"current-status"]],"Current Usage":[[12,"current-usage"]],"Custom Interfaces":[[0,"custom-interfaces"],[6,"custom-interfaces"]],"Customizing Templates":[[3,"customizing-templates"]],"Death To The Address":[[15,"death-to-the-address"]],"Debian Bookworm":[[2,"debian-bookworm"]],"Decentralization Or Uncentralizability?":[[15,"decentralization-or-uncentralizability"]],"Design Patterns For Post-IP Systems":[[15,"design-patterns-for-post-ip-systems"]],"Destination Naming":[[12,"destination-naming"]],"Destinations":[[12,"destinations"]],"Destinations, Not Addresses":[[8,"destinations-not-addresses"]],"Develop a Program with Reticulum":[[2,"develop-a-program-with-reticulum"]],"Discoverable Interfaces":[[6,"discoverable-interfaces"]],"Discovering Interfaces":[[13,"discovering-interfaces"]],"Discovery Parameters":[[6,"discovery-parameters"]],"Donations":[[11,"donations"]],"Echo":[[0,"echo"]],"Emergent Patterns":[[15,"emergent-patterns"]],"Enabling Discovery":[[6,"enabling-discovery"]],"Encryption Is Not A Feature":[[15,"encryption-is-not-a-feature"]],"Ethernet-based Hardware":[[4,"ethernet-based-hardware"]],"Ethics Of The Tool":[[15,"ethics-of-the-tool"]],"Example Configuration":[[6,"example-configuration"]],"Fabric Of The Independent":[[15,"fabric-of-the-independent"]],"Fallacy Of The Cloud":[[15,"fallacy-of-the-cloud"]],"Filetransfer":[[0,"filetransfer"]],"Finding Your Way":[[2,"finding-your-way"]],"Fixed Serial Port Names":[[13,"fixed-serial-port-names"]],"Flow & Time":[[15,"flow-time"]],"Formatting & Syntax Highlighting":[[3,"formatting-syntax-highlighting"]],"Future Implications":[[12,"future-implications"]],"Getting Further":[[12,"getting-further"]],"Getting Started Fast":[[2,null]],"Git Over Reticulum":[[3,null]],"Goals":[[12,"goals"]],"Heltec LoRa32 v2.0":[[4,"heltec-lora32-v2-0"]],"Heltec LoRa32 v3.0":[[4,"heltec-lora32-v3-0"]],"Heltec LoRa32 v4.0":[[4,"heltec-lora32-v4-0"]],"Heltec T114":[[4,"heltec-t114"]],"Heterogeneous Connectivity":[[8,"heterogeneous-connectivity"]],"Hostile Environments":[[15,"hostile-environments"]],"Hosting Public Entrypoints":[[2,"hosting-public-entrypoints"]],"I2P Interface":[[6,"i2p-interface"]],"Identification":[[0,"example-identify"]],"Identities":[[12,"understanding-identities"]],"Identity and Nomadism":[[15,"identity-and-nomadism"]],"Improving System Configuration":[[13,"improving-system-configuration"]],"Included Utility Programs":[[13,"included-utility-programs"]],"Indices and Tables":[[5,"indices-and-tables"]],"Installation":[[4,"installation"]],"Interface Access Codes":[[12,"interface-access-codes"]],"Interface Modes":[[6,"interface-modes"],[6,"interfaces-modes"]],"Interface Modules & Connectivity Resources":[[10,"interface-modules-connectivity-resources"]],"Interface Types and Devices":[[14,"interface-types-and-devices"]],"Introduction & Basic Functionality":[[12,"introduction-basic-functionalLine truncated
|
||||
@@ -181,6 +181,7 @@ to participate in the development of Reticulum itself.
|
||||
* [Interface Modes](interfaces.md#interfaces-modes)
|
||||
* [Announce Rate Control](interfaces.md#announce-rate-control)
|
||||
* [New Destination Rate Limiting](interfaces.md#new-destination-rate-limiting)
|
||||
* [Path Request Burst Control](interfaces.md#path-request-burst-control)
|
||||
* [Building Networks](networks.md)
|
||||
* [Concepts & Overview](networks.md#concepts-overview)
|
||||
* [Introductory Considerations](networks.md#introductory-considerations)
|
||||
|
||||
@@ -1295,11 +1295,12 @@ a large amount of bogus destinations, and then disconnect, these destination wil
|
||||
never make it into path tables and waste network bandwidth on retransmitted
|
||||
announces.
|
||||
|
||||
**It’s important to note** that the ingress control works at the level of *individual
|
||||
#### NOTE
|
||||
It’s important to remember that the ingress control works at the level of *individual
|
||||
sub-interfaces*. As an example, this means that one client on a [TCP Server Interface](#interfaces-tcps)
|
||||
cannot disrupt processing of incoming announces for other connected clients on the same
|
||||
[TCP Server Interface](#interfaces-tcps). All other clients on the same interface will still have new announces
|
||||
processed without interruption.
|
||||
[TCP Server Interface](#interfaces-tcps). All other clients on the same interface
|
||||
will still have new announces processed without interruption.
|
||||
|
||||
By default, Reticulum will handle this automatically, and ingress announce
|
||||
control will be enabled on interface where it is sensible to do so. It should
|
||||
@@ -1307,8 +1308,7 @@ generally not be neccessary to modify the ingress control configuration,
|
||||
but all the parameters are exposed for configuration if needed.
|
||||
|
||||
> * The `ingress_control` option tells Reticulum whether or not
|
||||
> to enable announce ingress control on the interface. Defaults to
|
||||
> `True`.
|
||||
> to enable ingress control on the interface. Defaults to `True`.
|
||||
> <br/>
|
||||
> * The `ic_new_time` option configures how long (in seconds) an
|
||||
> interface is considered newly spawned. Defaults to `2*60*60` seconds. This
|
||||
@@ -1343,4 +1343,59 @@ but all the parameters are exposed for configuration if needed.
|
||||
> * The `ic_held_release_interval` option sets how much time (in seconds)
|
||||
> must pass between releasing each held announce from the queue. Defaults
|
||||
> to `30` seconds.
|
||||
> <br/>
|
||||
> <br/>
|
||||
|
||||
All of the above settings can be configured both as instance-wide defaults
|
||||
under the `[reticulum]` section of the configuration file, or on a per-
|
||||
interface basis under the relevant interface configuration section.
|
||||
|
||||
## Path Request Burst Control
|
||||
|
||||
In addition the announce controls for newly created destination, Reticulum will also
|
||||
monitor incoming path request activity, and enforce burst controls if per-client rates
|
||||
exceed configured limits. Once path request burst control is activated on an
|
||||
interface, path requests will no longer be propagated further on the network.
|
||||
As with announce burst control, this happens on a per sub-interface basis. One
|
||||
client connecting to a public gateway will not be able to disrupt path request
|
||||
processing for other clients.
|
||||
|
||||
#### WARNING
|
||||
Applications that send large amounts of unnecessary path requests will very
|
||||
quickly get rate limited by transport nodes, and the entire system they are
|
||||
running on will not be able to resolve any paths on the network, until the
|
||||
burst subsides and hold period expires. **Do not** write applications like
|
||||
this. Only request paths for destinations you need to communicate with.
|
||||
|
||||
By default, Reticulum will handle this automatically, and ingress path request
|
||||
control will be enabled on interface where it is sensible to do so. It should
|
||||
generally not be neccessary to modify the ingress control configuration,
|
||||
but all the parameters are exposed for configuration if needed.
|
||||
|
||||
> * The `ingress_control` option tells Reticulum whether or not
|
||||
> to enable ingress control on the interface. Defaults to `True`.
|
||||
> <br/>
|
||||
> * The `ic_new_time` option configures how long (in seconds) an
|
||||
> interface is considered newly spawned. Defaults to `2*60*60` seconds. This
|
||||
> option is useful on publicly accessible interfaces that spawn new
|
||||
> sub-interfaces when a new client connects.
|
||||
> <br/>
|
||||
> * The `ic_pr_burst_freq_new` option sets the maximum path request
|
||||
> ingress frequency for newly spawned interfaces. Defaults to `3`
|
||||
> announces per second.
|
||||
> <br/>
|
||||
> * The `ic_pr_burst_freq` option sets the maximum path request
|
||||
> ingress frequency for other interfaces. Defaults to `10` announces
|
||||
> per second.
|
||||
> <br/>
|
||||
> > *If an interface exceeds its burst frequency, incoming path requests
|
||||
> > from that system will not traverse the network further.*
|
||||
> * The `egress_control` option enables hard-limiting path request egress
|
||||
> control per-interface. Defaults to `False`
|
||||
> <br/>
|
||||
> * The `ec_pr_freq` option sets the hard limit for outbound path requests
|
||||
> per second on a given interface.
|
||||
> <br/>
|
||||
|
||||
All of the above settings can be configured both as instance-wide defaults
|
||||
under the `[reticulum]` section of the configuration file, or on a per-
|
||||
interface basis under the relevant interface configuration section.
|
||||
@@ -1372,11 +1372,12 @@ a large amount of bogus destinations, and then disconnect, these destination wil
|
||||
never make it into path tables and waste network bandwidth on retransmitted
|
||||
announces.
|
||||
|
||||
**It's important to note** that the ingress control works at the level of *individual
|
||||
sub-interfaces*. As an example, this means that one client on a :ref:`TCP Server Interface<interfaces-tcps>`
|
||||
cannot disrupt processing of incoming announces for other connected clients on the same
|
||||
:ref:`TCP Server Interface<interfaces-tcps>`. All other clients on the same interface will still have new announces
|
||||
processed without interruption.
|
||||
.. note::
|
||||
It's important to remember that the ingress control works at the level of *individual
|
||||
sub-interfaces*. As an example, this means that one client on a :ref:`TCP Server Interface<interfaces-tcps>`
|
||||
cannot disrupt processing of incoming announces for other connected clients on the same
|
||||
:ref:`TCP Server Interface<interfaces-tcps>`. All other clients on the same interface
|
||||
will still have new announces processed without interruption.
|
||||
|
||||
By default, Reticulum will handle this automatically, and ingress announce
|
||||
control will be enabled on interface where it is sensible to do so. It should
|
||||
@@ -1384,8 +1385,7 @@ generally not be neccessary to modify the ingress control configuration,
|
||||
but all the parameters are exposed for configuration if needed.
|
||||
|
||||
* | The ``ingress_control`` option tells Reticulum whether or not
|
||||
to enable announce ingress control on the interface. Defaults to
|
||||
``True``.
|
||||
to enable ingress control on the interface. Defaults to ``True``.
|
||||
|
||||
* | The ``ic_new_time`` option configures how long (in seconds) an
|
||||
interface is considered newly spawned. Defaults to ``2*60*60`` seconds. This
|
||||
@@ -1422,3 +1422,59 @@ but all the parameters are exposed for configuration if needed.
|
||||
must pass between releasing each held announce from the queue. Defaults
|
||||
to ``30`` seconds.
|
||||
|
||||
All of the above settings can be configured both as instance-wide defaults
|
||||
under the ``[reticulum]`` section of the configuration file, or on a per-
|
||||
interface basis under the relevant interface configuration section.
|
||||
|
||||
|
||||
Path Request Burst Control
|
||||
==========================
|
||||
|
||||
In addition the announce controls for newly created destination, Reticulum will also
|
||||
monitor incoming path request activity, and enforce burst controls if per-client rates
|
||||
exceed configured limits. Once path request burst control is activated on an
|
||||
interface, path requests will no longer be propagated further on the network.
|
||||
As with announce burst control, this happens on a per sub-interface basis. One
|
||||
client connecting to a public gateway will not be able to disrupt path request
|
||||
processing for other clients.
|
||||
|
||||
.. warning::
|
||||
Applications that send large amounts of unnecessary path requests will very
|
||||
quickly get rate limited by transport nodes, and the entire system they are
|
||||
running on will not be able to resolve any paths on the network, until the
|
||||
burst subsides and hold period expires. **Do not** write applications like
|
||||
this. Only request paths for destinations you need to communicate with.
|
||||
|
||||
By default, Reticulum will handle this automatically, and ingress path request
|
||||
control will be enabled on interface where it is sensible to do so. It should
|
||||
generally not be neccessary to modify the ingress control configuration,
|
||||
but all the parameters are exposed for configuration if needed.
|
||||
|
||||
* | The ``ingress_control`` option tells Reticulum whether or not
|
||||
to enable ingress control on the interface. Defaults to ``True``.
|
||||
|
||||
* | The ``ic_new_time`` option configures how long (in seconds) an
|
||||
interface is considered newly spawned. Defaults to ``2*60*60`` seconds. This
|
||||
option is useful on publicly accessible interfaces that spawn new
|
||||
sub-interfaces when a new client connects.
|
||||
|
||||
* | The ``ic_pr_burst_freq_new`` option sets the maximum path request
|
||||
ingress frequency for newly spawned interfaces. Defaults to ``3``
|
||||
announces per second.
|
||||
|
||||
* | The ``ic_pr_burst_freq`` option sets the maximum path request
|
||||
ingress frequency for other interfaces. Defaults to ``10`` announces
|
||||
per second.
|
||||
|
||||
*If an interface exceeds its burst frequency, incoming path requests
|
||||
from that system will not traverse the network further.*
|
||||
|
||||
* | The ``egress_control`` option enables hard-limiting path request egress
|
||||
control per-interface. Defaults to ``False``
|
||||
|
||||
* | The ``ec_pr_freq`` option sets the hard limit for outbound path requests
|
||||
per second on a given interface.
|
||||
|
||||
All of the above settings can be configured both as instance-wide defaults
|
||||
under the ``[reticulum]`` section of the configuration file, or on a per-
|
||||
interface basis under the relevant interface configuration section.
|
||||
Reference in new issue
Block a user