From 36553e203a54df6e89f3a3aadedd52e2b3044dd8 Mon Sep 17 00:00:00 2001 From: Boris Grozev Date: Thu, 30 Mar 2017 17:10:23 -0500 Subject: [PATCH 1/2] doc: Adds documentation for setting the receive buffer size. --- doc/configuration.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/configuration.md b/doc/configuration.md index 8358be5..4f1dec2 100644 --- a/doc/configuration.md +++ b/doc/configuration.md @@ -77,3 +77,11 @@ Default: none A comma-separated list of STUN server addresses to use for mapping harvesters. Each STUN server address is an ip_address:port pair. Example: ```stun1.example.com:12345,stun2.example.com:23456``` + +## Single port UDP harvester +### ```org.ice4j.ice.harvest.AbstractUdpHarvester.SO_RCVBUF``` +Configures the receive buffer size for the single port UDP harvester +(or other AbstractUdpListener implementations). If this is not set +the system default value will be used (the ```net.core.rmem_default``` +sysctl parameter on linux). Note that the system maximum value may need to +be increased (```net.core.rmem_max``` on linux). From bf0892e8d2238a0b939751a7e80825c54acccb62 Mon Sep 17 00:00:00 2001 From: Boris Grozev Date: Thu, 30 Mar 2017 17:11:54 -0500 Subject: [PATCH 2/2] doc: Formatting changes. --- doc/configuration.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/doc/configuration.md b/doc/configuration.md index 4f1dec2..ac851f8 100644 --- a/doc/configuration.md +++ b/doc/configuration.md @@ -4,33 +4,33 @@ to configure itself. ## Interfaces and IP addresses -### *org.ice4j.ice.harvest.ALLOWED_INTERFACES* +### ```org.ice4j.ice.harvest.ALLOWED_INTERFACES``` Default: all interfaces are allowed. This property can be used to specify a ";"-separated list of interfaces which are allowed to be used for candidate allocations. If not specified, all interfaces are considered allowed, unless they are explicitly blocked (see below). -### *org.ice4j.ice.harvest.BLOCKED_INTERFACES* +### ```org.ice4j.ice.harvest.BLOCKED_INTERFACES``` Default: no interfaces are blocked. This property can be used to specify a ";"-separated list of interfaces which are not allowed to be used for candidate allocations. -### *org.ice4j.ice.harvest.ALLOWED_ADDRESSES* +### ```org.ice4j.ice.harvest.ALLOWED_ADDRESSES``` Default: all addresses are allowed. This property can be used to specify a ";"-separated list of IP addresses which are allowed to be used for candidate allocations. If not specified, all addresses are considered allowed, unless they are explicitly blocked (see below). -### *org.ice4j.ice.harvest.BLOCKED_ADDRESSES* +### ```org.ice4j.ice.harvest.BLOCKED_ADDRESSES``` Default: no addresses are blocked. This property can be used to specify a ";"-separated list of IP addresses which are not allowed to be used for candidate allocations. -### *org.ice4j.ipv6.DISABLED* +### ```org.ice4j.ipv6.DISABLED``` Type: boolean Default: false @@ -53,25 +53,25 @@ Ice4j implements three types of mapping harvesters: one with a pre-configured pa addresses, one two which discover addresses dynamically using the AWS API and STUN. -### *org.ice4j.ice.harvest.NAT_HARVESTER_LOCAL_ADDRESS* -### *org.ice4j.ice.harvest.NAT_HARVESTER_PUBLIC_ADDRESS* +### ```org.ice4j.ice.harvest.NAT_HARVESTER_LOCAL_ADDRESS``` +### ```org.ice4j.ice.harvest.NAT_HARVESTER_PUBLIC_ADDRESS``` Default: none Configures the addresses of the pre-configured mapping harvester. -### *org.ice4j.ice.harvest.DISABLE_AWS_HARVESTER* +### ```org.ice4j.ice.harvest.DISABLE_AWS_HARVESTER``` Default: false Explicitly disables the AWS mapping harvester. By default the harvester is enabled if ice4j detects that it is running in the AWS network. -### *org.ice4j.ice.harvest.FORCE_AWS_HARVESTER* +### ```org.ice4j.ice.harvest.FORCE_AWS_HARVESTER``` Default: false Force the use of the AWS mapping harvester, even if ice4j did not detect that it is running in the AWS network. -### *org.ice4j.ice.harvest.STUN_MAPPING_HARVESTER_ADDRESSES* +### ```org.ice4j.ice.harvest.STUN_MAPPING_HARVESTER_ADDRESSES``` Default: none A comma-separated list of STUN server addresses to use for mapping harvesters.