- 17 May, 2022 2 commits
-
-
zhifan huang authored
network_build: use nemu to create net namespace, provide several network re6st_wrap: wrap the deploy of re6st node, ease the creation of cert file and run of the node test_net contain the tests: - ping test: net segment(router), multi-net segment(demo), test after a reboot ping is like ping file in demo, a script to run multiping
-
zhifan huang authored
registry: add test for RegistryServer and registryClient, testRegistryServer mainly test methods concerned to http rpc request. Other methods that call request_dump like getBootStrpPeer is not include. testRegistryClient test the rpc call with or not with "cn" parameter. cli.conf: test each situation call the cli conf. tunnel: add test for BaseTunnelManager, MultGatewayManager tools is a util cotain method to make cert and ket files
-
- 05 May, 2022 1 commit
-
-
Thomas Gambier authored
See https://www.erp5.com/P-VIFIB-Re6stnet.Roadmap and https://www.erp5.com/P-VIFIB-Re6stnet.Communities See merge request nexedi/re6stnet!36
-
- 04 May, 2022 5 commits
-
-
Joanne Hugé authored
-
Joanne Hugé authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 10 Dec, 2021 1 commit
-
-
Julien Muchembled authored
-
- 31 Jul, 2021 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
On Debian < 10: - debhelper extends postint with 'try-restart', which caused re6st to remain stopped after upgrading from a re6st package that stopped services unconditionally in prerm (see previous commit); - deb-systemd-invoke does not check whether the service is enabled so 'try-restart' can't be replaced blindly with 'restart' (as it is the case in recent Debian).
-
- 03 Jul, 2021 1 commit
-
-
Julien Muchembled authored
In addition to minimize re6st downtime, this fixes upgrade from versions that still use init scripts. When we drop support for Debian 8, we'll increase debian/compat and we'll revert this commit.
-
- 01 Jul, 2021 1 commit
-
-
Julien Muchembled authored
-
- 30 Jun, 2021 1 commit
-
-
Julien Muchembled authored
-
- 07 Jun, 2021 6 commits
-
-
Julien Muchembled authored
To prepare for the removal of geoip2, we want nodes to ask the registry for their country. geoip2 is kept in this update since nodes will still need to figure out countries of other nodes which haven't updated yet. Once all nodes will be updated to this version, geoip2 will be ready to be deleted. See merge request nexedi/re6stnet!32
-
Joanne Hugé authored
-
Joanne Hugé authored
-
Joanne Hugé authored
-
Joanne Hugé authored
-
Joanne Hugé authored
-
- 04 May, 2021 1 commit
-
-
Joanne Hugé authored
If a node restarts and has its address with its country in the cache, it won't set the _country attribute, and will therefore ignore countries when making tunnels. See merge request nexedi/re6stnet!31
-
- 08 Apr, 2021 1 commit
-
-
Julien Muchembled authored
-
- 31 Mar, 2021 1 commit
-
-
Thomas Gambier authored
-
- 27 Mar, 2021 1 commit
-
-
Julien Muchembled authored
-
- 23 Mar, 2021 1 commit
-
-
Joanne Hugé authored
Addresses passed to _updateCountry can contain countries if cache.my_address is used to initialize address in BaseTunnelManager init function, which causes resolve to be called with too many arguments.
-
- 22 Mar, 2021 1 commit
-
-
Joanne Hugé authored
In some circumstances, the hello_protocol attribute could get modified on the wrong peer, which would raise an AttributeError. On reception of seqno 1 from a peer with protocol < 7, protocol could be equal to zero which would cause handleHello to not return True, causing the handshake to fail.
-
- 11 Feb, 2021 3 commits
-
-
Joanne Hugé authored
This commit concerns networks that use the --same-country option. We recently discovered that the IP geolocation database contains incorrect entries. To work around this, the protocol needs to be changed by adding the country as 4th field in addresses (the first 3 are: ip, port, protocol) and the new --country option allows a node to announce a country that differs from the one the GeoIP DB. Thanks to the previous commits it's possible to implement backward compatibility, by not sending the 4th field (country) to nodes that can't parse it. Of course, these old nodes would continue to not create appropriate tunnels and after a while, the administrator of the network may decide to increase registry's --min-protocol (7). In a network with only nodes that implement this last version of the protocol, the nodes may only use the GeoIP DB to resolve their own IPs. See merge request nexedi/re6stnet!27
-
Joanne Hugé authored
-
Julien Muchembled authored
There is a need to be able to extend the protocol without breaking compatibility with old nodes. This is done by sending version.protocol during inter-node handshake, in seqno 1 and seqno 2, so that a node knows what version the peers speak and use appropriate format. This is implemented with partial backward compatibility: handshake with an old node succeeds when the new node does not have to send seqno 1.
-
- 22 Dec, 2020 1 commit
-
-
Joanne Hugé authored
-
- 03 Dec, 2020 1 commit
-
-
Julien Muchembled authored
Behaviour changed in commit 5a8e4186.
-
- 13 Jan, 2020 1 commit
-
-
Julien Muchembled authored
On machines using systemd, services were not enabled by default.
-
- 10 Jan, 2020 2 commits
-
-
Julien Muchembled authored
To reenable RTT-based metric, we usually want to force old nodes to upgrade, so that they don't always look faster that others.
-
Julien Muchembled authored
This reenables RTT-based metric, which was disabled since we moved to v1.8+.
-
- 02 Jan, 2020 1 commit
-
-
Julien Muchembled authored
See commit 5a8e4186.
-
- 27 Dec, 2019 5 commits
-
-
Julien Muchembled authored
Commit 40d4e496 is not reverted because Python 3 will also require to keep the distinction between blob and text.
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
This feature was mainly for laptops but users: - often don't care having the daemon running all the time; - may not want to use the 'main-interface' option because the interface that provides internet access is not always the same, e.g. wifi & wired; - may want other kinds of conditions, e.g. only specific wifi access points. So in practice, main-interface is currently only use to set up a DHCP server or provide IPv6 autoconfiguration. For such case, it is preferred to start/stop re6stnet like a normal service.
-