Commit 91efc5b5 authored by Guillaume Bury's avatar Guillaume Bury

Typos in README

parent b7453ca8
Vsifibnet is a daemon setting up a resilient virtual private network over the internet Vifibnet is a daemon setting up a resilient virtual private network over the internet
The organisation of the code The organisation of the code
vifibnet.py Just contain the main loop and the init vifibnet.py Just contain the main loop and the init
plib.py To launch server/client/routing processes plib.py To launch server/client/routing processes
utils.py Small functions to do some usefull job utils.py Small functions to do some useful job
db.py Function to manage peers db.py Function to manage peers
tunnel.py To choose wich connection delete/keep/... tunnel.py To choose wich connection delete/keep/...
upnpigd.py To open a port upnpigd.py To open a port
\ No newline at end of file
...@@ -48,7 +48,7 @@ class TunnelManager: ...@@ -48,7 +48,7 @@ class TunnelManager:
self._peer_db.unusePeer(peer_id) self._peer_db.unusePeer(peer_id)
def _makeNewTunnels(self): def _makeNewTunnels(self):
utils.log('Making %i new tunnels' % (self._client_count - len(self._connection_dict)), 3) #utils.log('Making %i new tunnels' % (self._client_count - len(self._connection_dict)), 3)
try: try:
for peer_id, ip, port, proto in self._peer_db.getUnusedPeers(self._client_count - len(self._connection_dict)): for peer_id, ip, port, proto in self._peer_db.getUnusedPeers(self._client_count - len(self._connection_dict)):
utils.log('Establishing a connection with id %s (%s:%s)' % (peer_id, ip, port), 2) utils.log('Establishing a connection with id %s (%s:%s)' % (peer_id, ip, port), 2)
......
...@@ -7,7 +7,7 @@ def getConfig(): ...@@ -7,7 +7,7 @@ def getConfig():
parser = argparse.ArgumentParser( parser = argparse.ArgumentParser(
description='Resilient virtual private network application') description='Resilient virtual private network application')
_ = parser.add_argument _ = parser.add_argument
# Server address MUST be a vifib address ( else requests will be denied ) # Server address SHOULD be a vifib address ( else requests will be denied )
_('--server', required=True, _('--server', required=True,
help='Address for peer discovery server') help='Address for peer discovery server')
_('--server-port', required=True, type=int, _('--server-port', required=True, type=int,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment