-------- Forwarded Message --------
Subject: Re: [qmp-dev] TunOutTimeout to zero by default
Date: Wed, 10 Jun 2015 12:17:32 +0200
From: Pau <pau(a)dabax.net>
Reply-To: quick mesh project development mailing list <qmp-dev(a)mail.qmp.cat>
To: qmp-dev(a)mail.qmp.cat
But still, as far as I know, it is just a cosmetic thing. There will be
a lot of network interfaces but at least the TCP connections will
persist over the time.
I don't like the idea of saying "in qMp the maximum persistent time is
1h", after that your connections will be reseted :P
What would fix the problem is to create the tunnel On demand but make it
persistent forever. Thus the nodes will only have the tunnels created
with the nodes which have been contacted at least one time (until the
next reboot).
What do you think, can you implement this option?
Thanks.
On 10/06/15 11:29, Axel Neumann wrote:
I would not do that!!!
tunOutTimeout=0 means that all possible tunnels are activated by default!
For a large qmp cloud with each node offering its own ipv4 and ipv6
tunnel endpoints this would be a massive amount of always activated
tunnels !!! Something very upgly when looking at those nodes interface
list.
A tunOutTimeout != 0 means they are only activated on demand and the
list of active tunnel interfaces remains usually small.
A compromise could be to configure a large value (eg tunOutTimeout =
3600000) which means that tunnels are setup on demand but temporary
cut down only every hour.
/axel
On 10.06.2015 10:42, Pau wrote:
Hello. Following the thread discussion [1], where
the user reports
problems with streaming cuts, I would propose to add the option
tunOutTimeout=0 by default in the qMp system. The advantages of
this timeout are just cosmetics (as far as I know). So I would
disable it for the moment to avoid persistent connection problems
as reported by that user and some others.
Find the patch at the end of this mail and feel free to apply it if
agreed.
[1]
https://mail.dabax.net/pipermail/qmp-users/2015-June/000802.html
diff --git a/packages/qmp-system/files/etc/qmp/qmp_functions.sh
b/packages/qmp-system/files/etc/qmp/qmp_functions.sh index
eba5887..450a2a7 100755 ---
a/packages/qmp-system/files/etc/qmp/qmp_functions.sh +++
b/packages/qmp-system/files/etc/qmp/qmp_functions.sh @@ -727,6
+727,7 @@ qmp_configure_bmx6() {
qmp_configure_prepare $conf uci set $conf.general="bmx6" + uci set
$conf.general.tunOutTimeout=0 uci set
$conf.bmx6_config_plugin=plugin uci set
$conf.bmx6_config_plugin.plugin=bmx6_config.so
_______________________________________________ qmp-dev mailing
list qmp-dev(a)mail.qmp.cat
https://mail.dabax.net/cgi-bin/mailman/listinfo/qmp-dev
_______________________________________________
qmp-dev mailing list
qmp-dev(a)mail.qmp.cat
https://mail.dabax.net/cgi-bin/mailman/listinfo/qmp-dev
--
./p4u