Apply patch from Scott Lamb adding an output buffer for the TCP sockets.
This helps coalescing multiple send_meta() commands into one TCP packet. Also limit the size of the output buffer before dropping PACKETs.
This commit is contained in:
parent
a5a4d2b865
commit
228e7a5c8f
13 changed files with 147 additions and 77 deletions
|
@ -120,13 +120,6 @@ will by default listen on all of them for incoming connections.
|
|||
It is possible to bind only to a single interface with this variable.
|
||||
.Pp
|
||||
This option may not work on all platforms.
|
||||
.It Va BlockingTCP Li = yes | no Po no Pc Bq experimental
|
||||
This options selects whether TCP connections, when established, should use blocking writes.
|
||||
When turned off, tinc will never block when a TCP connection becomes congested, but will have to terminate that connection instead.
|
||||
If turned on, tinc will not terminate connections but will block, thereby unable to process data to/from other connections.
|
||||
Turn this option on if you also use
|
||||
.Va TCPOnly
|
||||
and tinc terminates connections frequently.
|
||||
.It Va ConnectTo Li = Ar name
|
||||
Specifies which other tinc daemon to connect to on startup.
|
||||
Multiple
|
||||
|
@ -206,11 +199,13 @@ while no routing table is managed.
|
|||
.It Va Name Li = Ar name Bq required
|
||||
This is the name which identifies this tinc daemon.
|
||||
It must be unique for the virtual private network this daemon will connect to.
|
||||
.It Va PingTimeout Li = Ar seconds Pq 60
|
||||
.It Va PingInterval Li = Ar seconds Pq 60
|
||||
The number of seconds of inactivity that
|
||||
.Nm tinc
|
||||
will wait before sending a probe to the other end.
|
||||
If that other end doesn't answer within that same amount of time,
|
||||
.It Va PingTimeout Li = Ar seconds Pq 5
|
||||
The number of seconds to wait for a response to pings or to allow meta
|
||||
connections to block. If the other end doesn't respond within this time,
|
||||
the connection is terminated,
|
||||
and the others will be notified of this.
|
||||
.It Va PriorityInheritance Li = yes | no Po no Pc Bq experimental
|
||||
|
|
|
@ -841,15 +841,6 @@ variable.
|
|||
|
||||
This option may not work on all platforms.
|
||||
|
||||
@cindex BlockingTCP
|
||||
@item BlockingTCP = <yes|no> (no) [experimental]
|
||||
This options selects whether TCP connections, when established, should use blocking writes.
|
||||
When turned off, tinc will never block when a TCP connection becomes congested,
|
||||
but will have to terminate that connection instead.
|
||||
If turned on, tinc will not terminate connections but will block,
|
||||
thereby unable to process data to/from other connections.
|
||||
Turn this option on if you also use TCPOnly and tinc terminates connections frequently.
|
||||
|
||||
@cindex ConnectTo
|
||||
@item ConnectTo = <@var{name}>
|
||||
Specifies which other tinc daemon to connect to on startup.
|
||||
|
@ -933,12 +924,16 @@ This only has effect when Mode is set to "switch".
|
|||
@item Name = <@var{name}> [required]
|
||||
This is a symbolic name for this connection. It can be anything
|
||||
|
||||
@cindex PingTimeout
|
||||
@item PingTimeout = <@var{seconds}> (60)
|
||||
@cindex PingInterval
|
||||
@item PingInterval = <@var{seconds}> (60)
|
||||
The number of seconds of inactivity that tinc will wait before sending a
|
||||
probe to the other end. If that other end doesn't answer within that
|
||||
same amount of seconds, the connection is terminated, and the others
|
||||
will be notified of this.
|
||||
probe to the other end.
|
||||
|
||||
@cindex PingTimeout
|
||||
@item PingTimeout = <@var{seconds}> (5)
|
||||
The number of seconds to wait for a response to pings or to allow meta
|
||||
connections to block. If the other end doesn't respond within this time,
|
||||
the connection is terminated, and the others will be notified of this.
|
||||
|
||||
@cindex PriorityInheritance
|
||||
@item PriorityInheritance = <yes|no> (no) [experimental]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue