- 19 Jun, 2019 1 commit
-
-
Killian Lufau authored
HMAC is added in babel call to prevent babel communication between nodes of different re6st networks. This solves the problem of machines in different re6st networks but on the same LAN that exchange routes through babel. The key used to authenticate packets is randomly created on 16 bytes by the registry and sent to nodes when they fetch network parameters. This uses the WIP hmac branch of jech/babeld with Nexedi patches and the added possibility to not check HMAC in incoming packets for better HMAC integration on a HMAC-less network. /reviewed-on !18
-
- 18 Jun, 2019 1 commit
-
-
Killian Lufau authored
The received network parameter name can have a ':json' suffix that is not present in the class attribute of this parameter. This suffix was not removed and could cause attribute deletion to fail. /reviewed-on !20
-
- 04 Jun, 2019 1 commit
-
-
Julien Muchembled authored
-
- 17 Oct, 2018 1 commit
-
-
Julien Muchembled authored
-
- 25 Sep, 2018 1 commit
-
-
Julien Muchembled authored
-
- 30 Aug, 2018 1 commit
-
-
Julien Muchembled authored
In SQLite, a string that only contains '0' chars evaluates to False.
-
- 01 Aug, 2018 1 commit
-
-
Julien Muchembled authored
-
- 03 Jul, 2018 1 commit
-
-
Julien Muchembled authored
-
- 02 Jul, 2018 1 commit
-
-
Julien Muchembled authored
-
- 25 Jan, 2016 1 commit
-
-
Julien Muchembled authored
- registry: make --dh mandatory - node: retry if the registry returns nothing (instead of writing an empty file)
-
- 10 Jun, 2015 1 commit
-
-
Julien Muchembled authored
The old distutils way is not compatible with zc.recipe.egg in develop mode, because egg_info does not provide any information about such scripts.
-
- 08 Apr, 2015 1 commit
-
-
Julien Muchembled authored
-
- 07 Mar, 2015 2 commits
-
-
Julien Muchembled authored
Generating them takes a lot of time and there's no reason to do this by default. We keep --dh option in 're6stnet' to not break existing configuration.
-
Julien Muchembled authored
-
- 06 Mar, 2015 3 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
db.py -> cache.py PeerDB -> Cache peers.db -> cache.db
-
Julien Muchembled authored
For the registry at least, we'll want to store integers without having to convert to/from strings. To upgrade 'registry.db': - dump it to a file - fix create table statements - load it Nodes will restart with an empty cache.
-
- 25 Feb, 2015 1 commit
-
-
Julien Muchembled authored
-
- 24 Feb, 2015 1 commit
-
-
Julien Muchembled authored
-
- 19 Feb, 2014 1 commit
-
-
Julien Muchembled authored
It's normal such failure happens occasionally and re6st retries later so: - do not frighten user/admin with 500 status and ssl errors - do not waste resources by killing session with registry
-
- 27 Sep, 2013 1 commit
-
-
Julien Muchembled authored
The way peer addresses were exchanged polluted caches with information about dead nodes. In particular, bootstrapping often took a long time because the cache of the primary node was mostly useless. This also fixes bootstrap of registry.
-
- 13 May, 2013 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
- authenticated communications with registered clients - XML-RPC is dropped - multi-threaded server
-
- 23 Apr, 2013 1 commit
-
-
Julien Muchembled authored
-
- 22 Apr, 2013 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 17 Apr, 2013 1 commit
-
-
Julien Muchembled authored
-
- 16 Apr, 2013 1 commit
-
-
Julien Muchembled authored
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.
-
- 12 Oct, 2012 1 commit
-
-
Julien Muchembled authored
-
- 03 Sep, 2012 1 commit
-
-
Julien Muchembled authored
The previous broadcast model is replaced by a query-response one. During normal operation, the cache of peers is not used anymore to select peers to connect to. It now only used for bootstrapping and avoid querying an already known address.
-
- 30 Aug, 2012 1 commit
-
-
Julien Muchembled authored
-
- 16 Aug, 2012 6 commits
-
-
Ulysse Beaugnon authored
-
Ulysse Beaugnon authored
using the same socket for sending and listenning
-
Ulysse Beaugnon authored
A peer now advertise itself more at the begining to be as present in the local db of other peers than the average
-
Ulysse Beaugnon authored
-
Ulysse Beaugnon authored
-
Ulysse Beaugnon authored
-
- 14 Aug, 2012 3 commits
-
-
Ulysse Beaugnon authored
-
Ulysse Beaugnon authored
-
Ulysse Beaugnon authored
-