mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
sysctl retries1 and retries2 are customizable via the interface
This commit is contained in:
parent
c98d1ad183
commit
e9b6a9759d
4 changed files with 46 additions and 3 deletions
|
@ -118,18 +118,50 @@
|
|||
<label class="cbi-value-title"><%:IPv4 TCP Keepalive time%></label>
|
||||
<div class="cbi-value-field">
|
||||
<input type="text" name="tcp_keepalive_time" class="cbi-input-text" value="<%=tonumber((luci.sys.exec("sysctl net.ipv4.tcp_keepalive_time")):match(" %d+"))%>">
|
||||
<br />
|
||||
<div class="cbi-value-description">
|
||||
<%:How often TCP sends out keepalive messages when keepalive is enabled.%>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cbi-value">
|
||||
<label class="cbi-value-title"><%:IPv4 TCP FIN timeout%></label>
|
||||
<div class="cbi-value-field">
|
||||
<input type="text" name="tcp_fin_timeout" class="cbi-input-text" value="<%=tonumber((luci.sys.exec("sysctl net.ipv4.tcp_fin_timeout")):match(" %d+"))%>">
|
||||
<br />
|
||||
<div class="cbi-value-description">
|
||||
<%:The length of time an orphaned (no longer referenced by any application) connection will remain in the FIN_WAIT_2 state before it is aborted at the local end.%>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cbi-value">
|
||||
<label class="cbi-value-title"><%:IPv4 TCP SYN retries%></label>
|
||||
<div class="cbi-value-field">
|
||||
<input type="text" name="tcp_syn_retries" class="cbi-input-text" value="<%=tonumber((luci.sys.exec("sysctl net.ipv4.tcp_syn_retries")):match(" %d+"))%>">
|
||||
<br />
|
||||
<div class="cbi-value-description">
|
||||
<%:Number of times initial SYNs for an active TCP connection attempt will be retransmitted.%>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cbi-value">
|
||||
<label class="cbi-value-title"><%:IPv4 TCP SYN retries1%></label>
|
||||
<div class="cbi-value-field">
|
||||
<input type="text" name="tcp_retries1" class="cbi-input-text" value="<%=tonumber((luci.sys.exec("sysctl net.ipv4.tcp_retries1")):match(" %d+"))%>">
|
||||
<br />
|
||||
<div class="cbi-value-description">
|
||||
<%:This value influences the time, after which TCP decides, that something is wrong due to unacknowledged RTO retransmissions, and reports this suspicion to the network layer.%>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cbi-value">
|
||||
<label class="cbi-value-title"><%:IPv4 TCP SYN retries2%></label>
|
||||
<div class="cbi-value-field">
|
||||
<input type="text" name="tcp_retries2" class="cbi-input-text" value="<%=tonumber((luci.sys.exec("sysctl net.ipv4.tcp_retries2")):match(" %d+"))%>">
|
||||
<br />
|
||||
<div class="cbi-value-description">
|
||||
<%:This value influences the timeout of an alive TCP connection, when RTO retransmissions remain unacknowledged.%>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cbi-value">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue