- 28 Jul, 2022 4 commits
-
-
zhifan huang authored
-
zhifan huang authored
add new module to easily create network. Only need to define points and edges, and than, each node's ip address and route are auto-configed. add a network typo, where the send and receive of packets use different routes. add 3 test, 2 is ping test. 1 is new speed test. speed test: send 1Mb message, and test the cost of time.
-
zhifan huang authored
use absolute to avoid import twice network_build, which will call twice exec(fixnemu)
-
zhifan huang authored
GFW will reset the TCP connection as soon as it finds a HTTP GET packet, and will randomly drop packets, if it finds the traffic too large.
-
- 20 Jul, 2022 1 commit
-
-
zhifan huang authored
modify fixnemu device name comment, remove extra line, space, remove dup definition, eek
-
- 13 Jul, 2022 1 commit
-
-
zhifan huang authored
Remove duplicate definitions of DEMO_DIR, and define it in the tests module
-
- 12 Jul, 2022 2 commits
-
-
zhifan huang authored
-
zhifan huang authored
-
- 07 Jul, 2022 1 commit
-
-
zhifan huang authored
-
- 06 Jul, 2022 4 commits
-
-
zhifan huang authored
-
zhifan huang authored
This test create a real client and server, use client to call rpc. Because not include re6stnet, babel_dump related functions aren't tested see nexedi/re6stnet!38 (comment 161622) for detail.
-
zhifan huang authored
remove useless test, correct typo and eek problem, refactor verbose command see nexedi/re6stnet!38
-
zhifan huang authored
Use the files in demo(dh, fixnemu), and auto create ca, cert, key file
-
- 31 May, 2022 1 commit
-
-
zhifan huang authored
-
- 30 May, 2022 6 commits
-
-
zhifan huang authored
-
zhifan huang authored
-
zhifan huang authored
-
zhifan huang authored
nemu use "%.4x%.3x" % (os.getpid(), n) to generate device name, but it define the min length not the max length, when pid is high, this will exceed 16 bytes IFNAMSIZ
-
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. Because net_demo contain a subnet UPnP, test is not stable. 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
-
- 12 May, 2022 1 commit
-
-
Léo-Paul Géneau authored
See merge request nexedi/re6stnet!37
-
- 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 !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
-