re6stnet:4eb574a558ea516f90176847d650a5f7a3fd6144 commitshttps://lab.nexedi.com/nexedi/re6stnet/-/commits/4eb574a558ea516f90176847d650a5f7a3fd61442013-04-22T12:23:43+02:00https://lab.nexedi.com/nexedi/re6stnet/-/commit/4eb574a558ea516f90176847d650a5f7a3fd6144ON DELETE CASCADE requires to enable foreign keys2013-04-22T12:23:43+02:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/re6stnet/-/commit/8c4a1fb44f633cb92facf4c6aebc8b87f0c7ccecre6stnet: new --disable-proto option2013-04-17T16:52:44+02:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/re6stnet/-/commit/620b9e9848eb5ee2e0c0f2d976a86f024bf80aabFix use of alternate addresses2013-04-16T19:25:39+02:00Julien Muchembledjm@nexedi.com
When a peer advertised several addresses, a node trying to create a tunnel to
it never tried any other address than the first one.
Before, we wrongly assumed OpenVPN would try all addresses before aborting
(--ping-exit). New code reexecutes OpenVPN until all addresses are tried
and update the peer db to reorder addresses if the first one failed.https://lab.nexedi.com/nexedi/re6stnet/-/commit/94e8a309f63d0353917a24f23b387724f101146bFix bootstrap issue when cache contains "many" and only down peers2013-03-27T14:52:03+01:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/re6stnet/-/commit/36e6ea82c00cfcdc2bbb73b76f6d69226f996195Warning about NetworkManager2013-03-25T18:07:45+01:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/re6stnet/-/commit/3dff857ce1acde61ac1e5087541b8265be884e45Add documentation about ways to daemonize re6stnet2013-03-19T14:37:07+01:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/re6stnet/-/commit/334144d718e8e79cca992e96ac11bc2cd0a4182cdebian: fix detection of already started daemon in init.d script2013-03-19T12:28:35+01:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/re6stnet/-/commit/bf65bc4541993663ecedc5d74263c73fc327d8d5NetworkManager/ifupdown: stop using pid file to find daemon2013-03-19T11:35:15+01:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/re6stnet/-/commit/9dac60f97f4e4b99156e2645d07ca36c8ebb5533Add a warning about a possible misuse of multiple --ip arguments2013-03-18T16:06:23+01:00Julien Muchembledjm@nexedi.com
'--ip any' was also broken due to missing parenthesis.https://lab.nexedi.com/nexedi/re6stnet/-/commit/ed2846b47ad9ecf3a8b3c678cdade0150cccb10bFix possible bootstrap issue2013-03-18T14:51:46+01:00Julien Muchembledjm@nexedi.com
When 2 nodes were started for the first time whereas:
- one of them is in client-only mode, connected to the other one
- the registry node is temporarily down
then the normal node never tried to rebootstrap or connect directly to the
only node it knows (the registry node).
Such case required to restart the daemon when the registry is back.
Moreover, there was no reason to query the registry node immediately after
having open new tunnels to peers found in cache, when this number is less than
expected.https://lab.nexedi.com/nexedi/re6stnet/-/commit/6b35d638430eab856e535b0353fbb90d29b5ef74Select gateway in turns instead of randomly2013-03-18T11:22:50+01:00Julien Muchembledjm@nexedi.com
This reduces the probability to lose all connections at the same time when a
gateway becomes out-of-order.https://lab.nexedi.com/nexedi/re6stnet/-/commit/65c1630fb2d996053c3c4b6a2bbf58087a55d13fFix stuck connections when hostname resolve fails2013-03-15T20:56:37+01:00Julien Muchembledjm@nexedi.com
This bug could even freeze re6st completely when trying to rejoin the network.https://lab.nexedi.com/nexedi/re6stnet/-/commit/bec08dedf60fa1e547f7b7add4b55f080c9ace3eUpdate TODO2013-03-15T20:56:37+01:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/re6stnet/-/commit/24694c00d2ec85da09a4fcc717d6f2c281ad584etypos2013-03-15T20:56:36+01:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/re6stnet/-/commit/fd9b9646bf85e8b792ed4a03d6a6fc044039c9b0Accept multiple --ip arguments2013-03-15T20:56:33+01:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/re6stnet/-/commit/7aa2195e60147c94a30478623aabfff81ca199ebDo not resolve remote address in multi-gateway mode2013-03-13T12:00:29+01:00Julien Muchembledjm@nexedi.com
Non-numerical address should be rare and this could even be counter-productive:
such remotes are more likely to host other services and forcing routes may
break already opened non-re6st connections.https://lab.nexedi.com/nexedi/re6stnet/-/commit/7cc4a19acbbec2a9840743c64cc58c58d6935a17Try not to break server connections in multi-gateway mode2013-03-13T11:55:58+01:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/re6stnet/-/commit/00fbbfe9cc16156baafa67a537208dfba78838feNew --is-needed option to test whether re6st should be setup or not2013-03-12T21:08:09+01:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/re6stnet/-/commit/3493e13be64c9ffd012df35cf8d683f3612671b1New --remote-gateway option for network redundancy with multiple ISP2013-03-12T19:50:51+01:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/re6stnet/-/commit/d822bcb4aba14011cb337a70b72d47f73dee3022Generate DEB snapshot packages with version derived from Git revision2012-12-12T17:37:46+01:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/re6stnet/-/commit/1cc7d695888bfe866188297c1e9a3fdd52822103Add missing copyright for Debian packaging2012-12-12T17:37:46+01:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/re6stnet/-/commit/aa83b44c91bd622cfac7422be7ced6b7ee00a7a4Package for RPM-based distributions and add missing licence file2012-12-10T16:15:23+01:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/re6stnet/-/commit/15b41aa80d6adbcaee059121cf916212dca29cbainit.d: fix restart & force-reload when re6stnet is not bound to loopback2012-12-06T14:52:16+01:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/re6stnet/-/commit/a7ed3c1d656950ee70e4544da602bda7d173f0f8Add NetworkManager/ifupdown support for setups that are bound to an interface2012-12-03T17:00:28+01:00Julien Muchembledjm@nexedi.com
Also provides systemd units.https://lab.nexedi.com/nexedi/re6stnet/-/commit/942439d58f5ad042300960f14f512f7fcdf5d444Create sample configuration file when registering2012-11-28T17:40:51+01:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/re6stnet/-/commit/b3c1bb18713e6fbd8d9e91b588f8f11b9814d1c7Recover from UPnP failures2012-11-19T19:30:53+01:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/re6stnet/-/commit/f9f4e5f300e2d99f9b092eb553eb7fdfc2a2bb59Allow to join the network without email/token2012-11-15T10:48:40+01:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/re6stnet/-/commit/761f50c6b6e415ec29db301e2e5ed18b21a3c937Log environment at startup2012-11-07T19:48:40+01:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/re6stnet/-/commit/dff266905110c74146a409f4055b2e7e930b5d2aDo not fail if OpenVPN calls 'disconnect' hook without having called 'connect...2012-10-26T16:26:47+02:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/re6stnet/-/commit/e79bb78e4ff7d59c90af63212079669b2454f2b1Fix bug preventing the registry to send its own address for bootstrap2012-10-12T13:47:15+02:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/re6stnet/-/commit/b6d43ac1bf936e4ac22b3fee364fd844743d5ebaFix typos in README2012-10-10T16:14:17+02:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/re6stnet/-/commit/82963ae2e80518455bb101886731db7fa04a0217Ignore 'Invalid Args' error when refreshing UPnP forwarding2012-10-08T16:13:45+02:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/re6stnet/-/commit/d8df9fa92a977f11017f15c9b5adaa17b3421528RFC 6724 obsoletes 34842012-10-07T16:31:52+02:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/re6stnet/-/commit/7d14cecee9cec25de088eaab1534820120066135debian: add missing build-dep to build manpage and suggests ndisc6 for rdisc62012-10-07T16:31:02+02:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/re6stnet/-/commit/dc9124c59b8e89b3edeb9f6b32c8879149aee0c9Do not abort when UPnP fails to refresh port forwarding2012-09-24T19:54:31+02:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/re6stnet/-/commit/f2b6723544e69efdb678d912b7485d0a7b526cefNew --daemon option2012-09-24T19:48:29+02:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/re6stnet/-/commit/361129da64e980adfd31b51cd21b250486386c58Always kill child processes gracefully2012-09-21T22:24:35+02:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/re6stnet/-/commit/0769f25f2073c20f154633a53a19fc3a68e25732Do not recreate client tap interfaces all the time2012-09-20T14:31:43+02:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/re6stnet/-/commit/76cbea0c3f3148e83a0a2e1e90fad3d7c541da8dAdd TODO notes2012-09-12T17:57:25+02:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/re6stnet/-/commit/074a0d00f582ff9b52589b9031e604ebc5d3a7d0Remove automatic fallback when kernel has no support for source address based...2012-09-12T17:51:05+02:00Julien Muchembledjm@nexedi.com
It's normally safe to use --table=0 because most nodes use SLAAC and by default,
any existing default route is deleted.
It's better to abort if someone who explicitely wants to use a separate table
whereas the kernel is limited.