- 19 Feb, 2015 2 commits
-
-
Julien Muchembled authored
Also: - use '/usr/bin/env python' to easily use a Python interpreter different than /usr/bin/python - demo must be run by root so "dont_write_bytecode" to avoid having *.pyc files owned by root in the working copy
-
Julien Muchembled authored
This is then easier to restart it manually.
-
- 13 Feb, 2015 1 commit
-
-
Julien Muchembled authored
-
- 02 Feb, 2015 2 commits
-
-
Julien Muchembled authored
If too many nodes create client tunnels without serving any, working servers saturate and the network collapses.
-
Julien Muchembled authored
Some routers are so broken that UPnP NAT don't report ConflictInMappingEntry when redirecting the same port several times. Here is for example what we had with a Numericable Box (France): 0 (1024, 'TCP', ('192.168.0.29', 1194), 're6stnet openvpn server (1194/tcp)', '1', '', 0) 1 (1024, 'TCP', ('192.168.0.16', 1194), 're6stnet openvpn server (1194/tcp)', '1', '', 0) 2 (1024, 'TCP', ('192.168.0.33', 1194), 're6stnet openvpn server (1194/tcp)', '1', '', 0) 3 (1024, 'TCP', ('192.168.0.20', 1194), 're6stnet openvpn server (1194/tcp)', '1', '', 0) ('192.168.0.29', 1194, 're6stnet openvpn server (1194/tcp)', True, 0) Obviously, this can't work. It seems that this router also accepts a limited number of NAT rules, far less than we'd like, so even if there's still a probability of conflict with this commit, it will be good enough for our use.
-
- 30 Dec, 2014 4 commits
-
-
Julien Muchembled authored
ENETUNREACH is the only error I've ever seen since the beginning of the project.
-
Julien Muchembled authored
The main reason is to speed up recovery from temporary network cut: - by not wasting time trying remaining distant peers that were collected during the last read of the routing table. - by not blacklisting good peers, which would happen if too many of them were retried before network is back
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 26 Dec, 2014 3 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
For consistency with other log messages.
-
Julien Muchembled authored
-
- 18 Dec, 2014 4 commits
-
-
Julien Muchembled authored
To be consistent with re6stnet.service
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 17 Dec, 2014 3 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 14 Nov, 2014 1 commit
-
-
Julien Muchembled authored
-
- 03 Nov, 2014 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 23 Oct, 2014 1 commit
-
-
Julien Muchembled authored
-
- 22 Oct, 2014 1 commit
-
-
Julien Muchembled authored
babeld could be in bad state, or it could be incompatible (too old or too new).
-
- 21 Oct, 2014 3 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
- getBootstrapPeer was stuck as long as there was no other request being served - registry crashed when re6stnet is stopped
-
Julien Muchembled authored
Code 4 was reused by mistake for 'kill' messages.
-
- 20 Oct, 2014 1 commit
-
-
Julien Muchembled authored
-
- 16 Oct, 2014 1 commit
-
-
Julien Muchembled authored
-
- 09 Oct, 2014 6 commits
-
-
Cédric Le Ninivin authored
Co-authored-by: Julien Muchembled <jm@nexedi.com>
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
Here, it's simpler and safer. We will also want to have private methods that don't start with an underscore.
-
Julien Muchembled authored
-
- 06 Oct, 2014 1 commit
-
-
Julien Muchembled authored
-
- 03 Sep, 2014 1 commit
-
-
Julien Muchembled authored
-
- 02 Sep, 2014 1 commit
-
-
Julien Muchembled authored
-
- 26 Aug, 2014 1 commit
-
-
Julien Muchembled authored
Certificates are deleted 30 days after they get invalid, so that unused prefixes can be reallocated.
-
- 20 Aug, 2014 1 commit
-
-
Julien Muchembled authored
This fixes the following error: TypeError: unsupported operand type(s) for -: 'NoneType' and 'int' Traceback (most recent call last): File "/usr/sbin/re6stnet", line 438, in main tunnel_manager.handleTunnelEvent(read_pipe.readline()) File "/usr/lib/python2.7/dist-packages/re6st/tunnel.py", line 389, in handleTunnelEvent m(*args) File "/usr/lib/python2.7/dist-packages/re6st/tunnel.py", line 412, in _ovpn_route_up self._connection_dict[prefix].connected() File "/usr/lib/python2.7/dist-packages/re6st/tunnel.py", line 76, in connected i = self._retry - 1 What happened is probably that a route_up notification was received just before killing/recreating the connection for the same node, and then process twice the same OpenVPN notification: in this case, the first was for a previous connection and should have been ignored.
-