Displaying 5 results from an estimated 5 matches for "minmtu".
Did you mean:
min_mtu
2010 Sep 20
0
No subject
...et.flags));
+ packet.flag_bits =3D 0;
+ packet.flags.pmtud =3D 1;
+
int len, i;
int timeout =3D 1;
=09
@@ -120,21 +122,22 @@
timeout =3D pingtimeout;
}
=20
- for(i =3D 0; i < 3; i++) {
+ const int nbPackets =3D 3;
+ for(i =3D 0; i < nbPackets; i++) {
if(n->maxmtu <=3D n->minmtu)
len =3D n->maxmtu;
else
- len =3D n->minmtu + 1 + rand() % (n->maxmtu - n->minmtu);
+ len =3D n->minmtu + 1 + (n->maxmtu + 1 - n->minmtu) / (double) =
nbPackets * i;
=20
if(len < 64)
len =3D 64;
=09
- memset(packet.data, 0, 14);
- RAND_pseudo_bytes(pac...
2020 Feb 15
0
improve MTU probe performance
...obe
packet, we get a reply smaller then what we send.
review the commit log, the line added for keep saft to compress.
for capable with current version, I can't remove this line, so I add 43
back then we got reply. and once MTU fix, apply the saft margine when set
mtu "n->mtu = n->minmtu - MTU / 64 - 20;"
now, I can fix MTU within about 10 probes.
2020-02-13 23:20:05 tinc.firma[28376]: Fixing MTU of office01
(123.120.166.214 port 655) to 1408 after 6 probes
2020-02-13 23:20:08 tinc.firma[28376]: Fixing MTU of vmub1804
(111.196.162.156 port 59172) to 1405 after 7 probes
2020-...
2008 Sep 30
1
Problem compiling tinc-1.0.8 on gcc-2.95
...+ e->to->status.st.indirect = indirect;
e->to->nexthop = (n->nexthop == myself) ? e->to : n->nexthop;
e->to->via = indirect ? n->via : e->to;
e->to->options = e->options;
@@ -243,7 +243,7 @@
e->to->mtuprobes = 0;
e->to->minmtu = 0;
e->to->maxmtu = MTU;
- if(e->to->status.validkey)
+ if(e->to->status.st.validkey)
send_mtu_probe(e->to);
}
}
@@ -263,10 +263,10 @@
next = node->next;
n = node->data;
- if(n->status.visited != n->status.reachable) {
- n-&...
2010 Nov 13
3
[PATCH 1/4] Experimental IFF_ONE_QUEUE support for Linux
---
doc/tinc.conf.5.in | 3 +++
src/linux/device.c | 7 +++++++
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/doc/tinc.conf.5.in b/doc/tinc.conf.5.in
index 2bfd5fe..01f7f81 100644
--- a/doc/tinc.conf.5.in
+++ b/doc/tinc.conf.5.in
@@ -255,6 +255,9 @@ a lookup if your DNS server is not responding.
This does not affect resolving hostnames to IP addresses from the
host
2007 Jul 21
2
tincctl patches
(Second try to send this. I wonder if the first one gotten eaten by a
spam filter; I'll link to patches instead of attaching them.)
Here are the tincctl patches I've been working on. They apply to
http://www.tinc-vpn.org/svn/tinc/branches/1.1@1545. I intend to commit
them once the crypto stuff's fixed. Since they're basically done, I'm
emailing them now for review and in case