Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
re6stnet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
zhifan huang
re6stnet
Commits
76cbea0c
Commit
76cbea0c
authored
Sep 12, 2012
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add TODO notes
parent
074a0d00
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
TODO
TODO
+13
-0
re6st/tunnel.py
re6st/tunnel.py
+2
-0
No files found.
TODO
View file @
76cbea0c
...
@@ -12,3 +12,16 @@
...
@@ -12,3 +12,16 @@
the --private option
the --private option
- Put a section about how to build the package from the sources in the README
- Put a section about how to build the package from the sources in the README
- Babel limitations:
- The metric does not take latency into account.
- re6stnet needs to communicate with Babel so that only unused tunnels are
freed. For the moment, routes will be randomly broken throughout the
network, from time to time, for small amounts of time.
- Babel must be able to set source address on routes it installed. Otherwise,
a wrong IP will be selected if managed interfaces already have several
public IPv6. If there's only one interface like this, a workaround is to
use --main-interface option on it.
- Is it useful that each node regenerates its own DH parameter ?
re6st/tunnel.py
View file @
76cbea0c
...
@@ -163,6 +163,8 @@ class TunnelManager(object):
...
@@ -163,6 +163,8 @@ class TunnelManager(object):
count
-=
self
.
_makeTunnel
(
peer
,
address
)
count
-=
self
.
_makeTunnel
(
peer
,
address
)
else
:
else
:
ip
=
utils
.
ipFromBin
(
self
.
_network
+
peer
)
ip
=
utils
.
ipFromBin
(
self
.
_network
+
peer
)
# TODO: Send at least 1 address. This helps the registry
# node filling its cache when building a new network.
try
:
try
:
self
.
sock
.
sendto
(
'
\
2
'
,
(
ip
,
PORT
))
self
.
sock
.
sendto
(
'
\
2
'
,
(
ip
,
PORT
))
except
socket
.
error
,
e
:
except
socket
.
error
,
e
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment