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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
re6stnet
Commits
f098a0c4
Commit
f098a0c4
authored
Aug 16, 2012
by
Ulysse Beaugnon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
solving a bug
parent
7152bb0d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
TODO
TODO
+0
-5
re6st/db.py
re6st/db.py
+2
-2
No files found.
TODO
View file @
f098a0c4
...
...
@@ -4,11 +4,6 @@ Bug :
To be done :
Test the package
check the ips attributed
remove decalre
how do we make sure that none inject some false packets ?
how do we make sur that noone is declaring too much false nodes ?
---------------------------------------------------------------------------------
Put more information in the token mail ( registry ), such as :
...
...
re6st/db.py
View file @
f098a0c4
...
...
@@ -23,8 +23,8 @@ class PeerManager:
self
.
tunnel_manager
=
None
self
.
sock
=
socket
.
socket
(
socket
.
AF_INET6
,
socket
.
SOCK_DGRAM
)
self
.
sock
.
bind
((
self
.
_internal_ip
,
326
))
self
.
socket_file
=
self
.
_
sock
.
makefile
()
self
.
sock
.
bind
((
'::'
,
326
))
self
.
socket_file
=
self
.
sock
.
makefile
()
logging
.
info
(
'Connecting to peers database...'
)
self
.
_db
=
sqlite3
.
connect
(
db_path
,
isolation_level
=
None
)
...
...
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