Make MSS clamping configurable, but enabled by default.
It can either be set globally in tinc.conf, or per-node in host config files.
This commit is contained in:
parent
95928f7c29
commit
b455111184
6 changed files with 35 additions and 1 deletions
|
@ -29,6 +29,7 @@
|
|||
#define OPTION_INDIRECT 0x0001
|
||||
#define OPTION_TCPONLY 0x0002
|
||||
#define OPTION_PMTU_DISCOVERY 0x0004
|
||||
#define OPTION_CLAMP_MSS 0x0008
|
||||
|
||||
typedef struct connection_status_t {
|
||||
int pinged:1; /* sent ping */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue