re6stnet.git
6 years agoTODO update
Ulysse Beaugnon [Tue, 24 Jul 2012 09:24:18 +0000 (18:24 +0900)]
TODO update

6 years agochanges in upnpigd to be able to refresh the forwarding
Ulysse Beaugnon [Tue, 24 Jul 2012 02:49:35 +0000 (11:49 +0900)]
changes in upnpigd to be able to refresh the forwarding
changes in tunnel.py to falg the dead peers
changes in db.py to remove old peers when necessary

6 years agoFix in the refresh dead peers in registry + added info about hello interval
Guillaume Bury [Mon, 23 Jul 2012 15:12:50 +0000 (17:12 +0200)]
Fix in the refresh dead peers in registry + added info about hello interval

6 years agoYou can flag peers ( in vifibnet ) so that they are chosen last when looking for...
Guillaume Bury [Mon, 23 Jul 2012 13:17:25 +0000 (15:17 +0200)]
You can flag peers ( in vifibnet ) so that they are chosen last when looking for a peer to connect to.

6 years agoMerge branch 'master' of https://git.erp5.org/repos/vifibnet
Guillaume Bury [Mon, 23 Jul 2012 10:15:40 +0000 (12:15 +0200)]
Merge branch 'master' of https://git.erp5.org/repos/vifibnet

Conflicts:
vifibnet.py

6 years agoAdded time-out for peers in registry
Guillaume Bury [Mon, 23 Jul 2012 10:10:19 +0000 (12:10 +0200)]
Added time-out for peers in registry

6 years agoMerge branch 'master' of https://git.erp5.org/repos/vifibnet
Ulysse Beaugnon [Mon, 23 Jul 2012 09:55:06 +0000 (18:55 +0900)]
Merge branch 'master' of https://git.erp5.org/repos/vifibnet

Conflicts:
TODO
plib.py

6 years agoIn simulation : we can now see the effects of the tunnel manager
Ulysse Beaugnon [Mon, 23 Jul 2012 09:41:14 +0000 (18:41 +0900)]
In simulation : we can now see the effects of the tunnel manager
in upnpigd : now open a port in tcp too

6 years agoFixed ip length problem in openvpn server
Guillaume Bury [Mon, 23 Jul 2012 08:25:54 +0000 (10:25 +0200)]
Fixed ip length problem in openvpn server

6 years agoin plib.py : the address attributed to the server iface was XXXXX/len(network) wich...
Ulysse Beaugnon [Mon, 23 Jul 2012 02:17:44 +0000 (11:17 +0900)]
in plib.py : the address attributed to the server iface was XXXXX/len(network) wich resulted in XXXXXX/48 while it should be XXXXXX/len(subnet of a single machine)
in vifibnet.py : the -l option was broken
in tunnel.py : routes count is now stored on each connection object and not in the tunnelManager object

6 years agoMerge branch 'master' of https://git.erp5.org/repos/vifibnet
Ulysse Beaugnon [Mon, 23 Jul 2012 00:50:43 +0000 (09:50 +0900)]
Merge branch 'master' of https://git.erp5.org/repos/vifibnet

6 years agoImproving the function to count the number of roads
Ulysse Beaugnon [Mon, 23 Jul 2012 00:49:54 +0000 (09:49 +0900)]
Improving the function to count the number of roads

6 years agoAdded small doc in README
Guillaume Bury [Fri, 20 Jul 2012 15:41:41 +0000 (17:41 +0200)]
Added small doc in README

6 years agoCleaned ( a bit ) vifibnet options
Guillaume Bury [Fri, 20 Jul 2012 14:22:19 +0000 (16:22 +0200)]
Cleaned ( a bit ) vifibnet options

6 years agoMerge branch 'master' of https://git.erp5.org/repos/vifibnet
Guillaume Bury [Fri, 20 Jul 2012 12:59:17 +0000 (14:59 +0200)]
Merge branch 'master' of https://git.erp5.org/repos/vifibnet

6 years agoCleaner server connection
Guillaume Bury [Fri, 20 Jul 2012 12:58:30 +0000 (14:58 +0200)]
Cleaner server connection

6 years agoMerge branch 'master' of https://git.erp5.org/repos/vifibnet
Ulysse Beaugnon [Fri, 20 Jul 2012 09:44:33 +0000 (18:44 +0900)]
Merge branch 'master' of https://git.erp5.org/repos/vifibnet

6 years agoTunnel manager can now see how many routes goes to each tunnel. This is still not...
Ulysse Beaugnon [Fri, 20 Jul 2012 09:42:56 +0000 (18:42 +0900)]
Tunnel manager can now see how many routes goes to each tunnel. This is still not very acurate since I don't filter on the size oof the subnet.

6 years agoMerge branch 'master' of https://git.erp5.org/repos/vifibnet
Guillaume Bury [Fri, 20 Jul 2012 08:44:39 +0000 (10:44 +0200)]
Merge branch 'master' of https://git.erp5.org/repos/vifibnet

6 years agoComments are possible in config files
Guillaume Bury [Fri, 20 Jul 2012 08:44:18 +0000 (10:44 +0200)]
Comments are possible in config files

6 years agoMerge branch 'master' of https://git.erp5.org/repos/vifibnet
Ulysse Beaugnon [Fri, 20 Jul 2012 08:27:43 +0000 (17:27 +0900)]
Merge branch 'master' of https://git.erp5.org/repos/vifibnet

6 years ago-- can be ommited in file config
Guillaume Bury [Fri, 20 Jul 2012 08:27:18 +0000 (10:27 +0200)]
-- can be ommited in file config

6 years agoAdding a little description in readme
Ulysse Beaugnon [Fri, 20 Jul 2012 08:25:33 +0000 (17:25 +0900)]
Adding a little description in readme

6 years agoFile can be passed to command line
Guillaume Bury [Fri, 20 Jul 2012 08:25:21 +0000 (10:25 +0200)]
File can be passed to command line

6 years agoBetter calculation of the bandidth
Ulysse Beaugnon [Fri, 20 Jul 2012 05:59:03 +0000 (14:59 +0900)]
Better calculation of the bandidth

6 years agoSolving all the bugs that were their when I arrived this morning.
Ulysse Beaugnon [Fri, 20 Jul 2012 03:29:03 +0000 (12:29 +0900)]
Solving all the bugs that were their when I arrived this morning.

6 years agoThe new representation of connectivity is much more readable.
Ulysse Beaugnon [Fri, 20 Jul 2012 02:47:17 +0000 (11:47 +0900)]
The new representation of connectivity is much more readable.

6 years agoTODO
Guillaume Bury [Thu, 19 Jul 2012 16:11:29 +0000 (18:11 +0200)]
TODO

6 years agoChanged database structure, introduced address to replace ip, port, proto tuples
Guillaume Bury [Thu, 19 Jul 2012 16:04:41 +0000 (18:04 +0200)]
Changed database structure, introduced address to replace ip, port, proto tuples

6 years agoMerge branch 'master' of https://git.erp5.org/repos/vifibnet
Guillaume Bury [Thu, 19 Jul 2012 16:02:52 +0000 (18:02 +0200)]
Merge branch 'master' of https://git.erp5.org/repos/vifibnet

Conflicts:
TODO

6 years agoBug solved in tunnels.py
Ulysse Beaugnon [Thu, 19 Jul 2012 10:12:59 +0000 (19:12 +0900)]
Bug solved in tunnels.py

6 years agoTunnel can now get the bandwidth
Ulysse Beaugnon [Thu, 19 Jul 2012 10:10:26 +0000 (19:10 +0900)]
Tunnel can now get the bandwidth

6 years agoChanges in TODO after having discussed with guillaume.bury
Ulysse Beaugnon [Thu, 19 Jul 2012 08:02:45 +0000 (17:02 +0900)]
Changes in TODO after having discussed with guillaume.bury

6 years agominor TODO update
Guillaume Bury [Thu, 19 Jul 2012 07:34:30 +0000 (09:34 +0200)]
minor TODO update

6 years agoTodo again
Ulysse Beaugnon [Thu, 19 Jul 2012 03:46:55 +0000 (12:46 +0900)]
Todo again

6 years agoAdded some comments in the TODO file
Ulysse Beaugnon [Thu, 19 Jul 2012 03:40:20 +0000 (12:40 +0900)]
Added some comments in the TODO file

6 years agoAdded a view of the distance in a 3d plot : it is easier to see what's appening
Ulysse Beaugnon [Thu, 19 Jul 2012 02:21:59 +0000 (11:21 +0900)]
Added a view of the distance in a 3d plot : it is easier to see what's appening

6 years agoThe distance now include some samples with 100 nodes
Ulysse Beaugnon [Thu, 19 Jul 2012 02:08:28 +0000 (11:08 +0900)]
The distance now include some samples with 100 nodes

6 years agoTODO again
Guillaume Bury [Wed, 18 Jul 2012 15:52:16 +0000 (17:52 +0200)]
TODO again

6 years agoBig TODO update
Guillaume Bury [Wed, 18 Jul 2012 15:45:56 +0000 (17:45 +0200)]
Big TODO update

6 years agoTODO updated
Guillaume Bury [Wed, 18 Jul 2012 12:37:59 +0000 (14:37 +0200)]
TODO updated

6 years agoAdded hello_interval option and set ping-exit accordingly
Guillaume Bury [Wed, 18 Jul 2012 12:08:26 +0000 (14:08 +0200)]
Added hello_interval option and set ping-exit accordingly

6 years agoregistry: clairify comment
Julien Muchembled [Wed, 18 Jul 2012 11:06:32 +0000 (13:06 +0200)]
registry: clairify comment

6 years agoMerge branch 'master' of https://git.erp5.org/repos/vifibnet
Guillaume Bury [Wed, 18 Jul 2012 09:56:48 +0000 (11:56 +0200)]
Merge branch 'master' of https://git.erp5.org/repos/vifibnet

6 years agoTypos in README
Guillaume Bury [Wed, 18 Jul 2012 09:56:36 +0000 (11:56 +0200)]
Typos in README

6 years agoMerge branch 'master' of https://git.erp5.org/repos/vifibnet
Ulysse Beaugnon [Wed, 18 Jul 2012 09:50:10 +0000 (18:50 +0900)]
Merge branch 'master' of https://git.erp5.org/repos/vifibnet

6 years agoAdding the distances
Ulysse Beaugnon [Wed, 18 Jul 2012 09:47:57 +0000 (18:47 +0900)]
Adding the distances

6 years agoUse lowercase for variables
Julien Muchembled [Wed, 18 Jul 2012 08:56:11 +0000 (10:56 +0200)]
Use lowercase for variables

6 years agoRemove trailing whitespaces
Julien Muchembled [Wed, 18 Jul 2012 08:49:11 +0000 (10:49 +0200)]
Remove trailing whitespaces

6 years agoRemove \t from upnpigd.py
Julien Muchembled [Wed, 18 Jul 2012 08:44:38 +0000 (10:44 +0200)]
Remove \t from upnpigd.py

6 years agoRemove shebangs from non-executable iles
Julien Muchembled [Wed, 18 Jul 2012 08:42:49 +0000 (10:42 +0200)]
Remove shebangs from non-executable iles

6 years agoUpnp is now used when necessary
Ulysse Beaugnon [Wed, 18 Jul 2012 08:10:58 +0000 (17:10 +0900)]
Upnp is now used when necessary

6 years agodeclare and populate are now separated so we can redeclare the external IP when it...
Ulysse Beaugnon [Wed, 18 Jul 2012 07:42:44 +0000 (16:42 +0900)]
declare and populate are now separated so we can redeclare the external IP when it changes and get new peers when they are too few

6 years agoPrepare the peer db to separate the server advertisment and the getPeersLists
Ulysse Beaugnon [Wed, 18 Jul 2012 07:02:32 +0000 (16:02 +0900)]
Prepare the peer db to separate the server advertisment and the getPeersLists

6 years ago--ping-exit option in openvpn has been restored so their is no more zombies connections
Ulysse Beaugnon [Wed, 18 Jul 2012 06:34:44 +0000 (15:34 +0900)]
--ping-exit option in openvpn has been restored so their is no more zombies connections
the --ip argument is now optional : it can be discovered automaticaly

6 years agoDB and tunnel now have a separate refresh timer
Ulysse Beaugnon [Wed, 18 Jul 2012 03:49:43 +0000 (12:49 +0900)]
DB and tunnel now have a separate refresh timer
Changes in the number of connection per peers

6 years agoTODO updated
Guillaume Bury [Tue, 17 Jul 2012 15:07:55 +0000 (17:07 +0200)]
TODO updated

7 years agoFixed some typos
Guillaume Bury [Tue, 17 Jul 2012 14:03:34 +0000 (16:03 +0200)]
Fixed some typos

7 years agoUpdated TODO + renamed babel -> router
Guillaume Bury [Tue, 17 Jul 2012 13:20:44 +0000 (15:20 +0200)]
Updated TODO + renamed babel -> router

7 years agoVifib works again
Guillaume Bury [Tue, 17 Jul 2012 13:07:10 +0000 (15:07 +0200)]
Vifib works again

7 years agoCleaner configuration
Guillaume Bury [Tue, 17 Jul 2012 11:46:35 +0000 (13:46 +0200)]
Cleaner configuration

7 years agoMerge branch 'master' of https://git.erp5.org/repos/vifibnet
Guillaume Bury [Tue, 17 Jul 2012 11:04:20 +0000 (13:04 +0200)]
Merge branch 'master' of https://git.erp5.org/repos/vifibnet

Conflicts:
tunnelmanager.py

7 years agoFixing config
Guillaume Bury [Tue, 17 Jul 2012 10:59:38 +0000 (12:59 +0200)]
Fixing config

7 years agoMerge branch 'master' of https://git.erp5.org/repos/vifibnet
Ulysse Beaugnon [Tue, 17 Jul 2012 09:54:11 +0000 (18:54 +0900)]
Merge branch 'master' of https://git.erp5.org/repos/vifibnet

Conflicts:
tunnelmanager.py

7 years agoprivate variables/functions in tunnelmanager are now named as private
Ulysse Beaugnon [Tue, 17 Jul 2012 09:51:50 +0000 (18:51 +0900)]
private variables/functions in tunnelmanager are now named as private

7 years agotypo
Julien Muchembled [Tue, 17 Jul 2012 09:33:46 +0000 (11:33 +0200)]
typo

7 years agoMerge openvpn scripts in 2: 1 for server and 1 for client
Julien Muchembled [Tue, 17 Jul 2012 09:31:56 +0000 (11:31 +0200)]
Merge openvpn scripts in 2: 1 for server and 1 for client

7 years agoCleaned some log messages in main
Guillaume Bury [Tue, 17 Jul 2012 09:26:02 +0000 (11:26 +0200)]
Cleaned some log messages in main

7 years agoPlib for process (client/server/babel) functions
Guillaume Bury [Tue, 17 Jul 2012 09:11:26 +0000 (11:11 +0200)]
Plib for process (client/server/babel) functions

7 years agoMerge branch 'master' of https://git.erp5.org/repos/vifibnet
Guillaume Bury [Tue, 17 Jul 2012 09:09:31 +0000 (11:09 +0200)]
Merge branch 'master' of https://git.erp5.org/repos/vifibnet

Conflicts:
TODO

7 years agoTODO updated
Guillaume Bury [Tue, 17 Jul 2012 09:08:11 +0000 (11:08 +0200)]
TODO updated

7 years agoMerge branch 'master' of https://git.erp5.org/repos/vifibnet
Ulysse Beaugnon [Tue, 17 Jul 2012 09:03:34 +0000 (18:03 +0900)]
Merge branch 'master' of https://git.erp5.org/repos/vifibnet

Conflicts:
vifibnet.py

7 years agoTunnelManager is now a class
Ulysse Beaugnon [Tue, 17 Jul 2012 09:00:59 +0000 (18:00 +0900)]
TunnelManager is now a class

7 years agoChanged starting openvpn function for new script names
Guillaume Bury [Tue, 17 Jul 2012 08:27:15 +0000 (10:27 +0200)]
Changed starting openvpn function for new script names

7 years agoRenamed openvpn scripts
Guillaume Bury [Tue, 17 Jul 2012 08:17:41 +0000 (10:17 +0200)]
Renamed openvpn scripts

7 years agoChanges in config : it is now fully included in utils
Ulysse Beaugnon [Tue, 17 Jul 2012 07:33:40 +0000 (16:33 +0900)]
Changes in config : it is now fully included in utils

7 years agoconfig has now be moved to utils. Still a lot of hack with config to be removed
Ulysse Beaugnon [Tue, 17 Jul 2012 06:40:29 +0000 (15:40 +0900)]
config has now be moved to utils. Still a lot of hack with config to be removed

7 years agoFirst attempt to organise the code
Ulysse Beaugnon [Tue, 17 Jul 2012 06:19:12 +0000 (15:19 +0900)]
First attempt to organise the code

7 years agoAdded route-up instead of ipchange
Guillaume Bury [Mon, 16 Jul 2012 15:02:59 +0000 (17:02 +0200)]
Added route-up instead of ipchange

7 years agoFixed recuperation of external_ip via openvpn
Guillaume Bury [Mon, 16 Jul 2012 14:53:40 +0000 (16:53 +0200)]
Fixed recuperation of external_ip via openvpn

7 years agoTo fix : Environment (external_ip) not set yet when executing ipchange
Guillaume Bury [Mon, 16 Jul 2012 14:08:59 +0000 (16:08 +0200)]
To fix : Environment (external_ip) not set yet when executing  ipchange

7 years agoFixed certificates CN
Guillaume Bury [Mon, 16 Jul 2012 12:54:53 +0000 (14:54 +0200)]
Fixed certificates CN

7 years agoFix for peers db creation
Guillaume Bury [Mon, 16 Jul 2012 11:22:55 +0000 (13:22 +0200)]
Fix for peers db creation

7 years agoServer listen both ipv4 and ipv6
Guillaume Bury [Sun, 15 Jul 2012 22:54:00 +0000 (00:54 +0200)]
Server listen both ipv4 and ipv6

7 years agoBootstrap problem solved ( not tested though )
Guillaume Bury [Fri, 13 Jul 2012 09:42:06 +0000 (11:42 +0200)]
Bootstrap problem solved ( not tested though )

7 years agoAdded registry ca and key files
Guillaume Bury [Fri, 13 Jul 2012 09:02:58 +0000 (11:02 +0200)]
Added registry ca and key files

7 years agoMerge branch 'master' of https://git.erp5.org/repos/vifibnet
Ulysse Beaugnon [Fri, 13 Jul 2012 07:48:58 +0000 (16:48 +0900)]
Merge branch 'master' of https://git.erp5.org/repos/vifibnet

7 years agoAddition of a function to check the connectivity from a single node,
Ulysse Beaugnon [Fri, 13 Jul 2012 07:47:34 +0000 (16:47 +0900)]
Addition of a function to check the connectivity from a single node,
much faster than calculating distance distance

7 years agoYou can now mesure the connectivity of a graph.
Ulysse Beaugnon [Fri, 13 Jul 2012 03:08:46 +0000 (12:08 +0900)]
You can now mesure the connectivity of a graph.
It is still very slow, I will try to improve performance

7 years agoTesting ipchange
Guillaume Bury [Thu, 12 Jul 2012 12:42:33 +0000 (14:42 +0200)]
Testing ipchange

7 years agoFixed internal ip manipulation
Guillaume Bury [Thu, 12 Jul 2012 09:03:39 +0000 (11:03 +0200)]
Fixed internal ip manipulation

7 years agoMerge branch 'master' of https://git.erp5.org/repos/vifibnet
Ulysse Beaugnon [Thu, 12 Jul 2012 01:08:37 +0000 (10:08 +0900)]
Merge branch 'master' of https://git.erp5.org/repos/vifibnet

7 years agoAdded openvpn ip discovery script
Guillaume Bury [Wed, 11 Jul 2012 14:32:25 +0000 (16:32 +0200)]
Added openvpn ip discovery script

7 years agoFixed ip from cert in vifibnet.py
Guillaume Bury [Wed, 11 Jul 2012 14:04:18 +0000 (16:04 +0200)]
Fixed ip from cert in vifibnet.py

7 years agoTested peer discovery through server
Guillaume Bury [Wed, 11 Jul 2012 13:20:16 +0000 (15:20 +0200)]
Tested peer discovery through server

7 years agoThe results are now directly flushed to the disc so, if a simulation is taking too...
Ulysse Beaugnon [Wed, 11 Jul 2012 07:21:01 +0000 (16:21 +0900)]
The results are now directly flushed to the disc so, if a simulation is taking too long, we can stop it and restart where we are

7 years agoYou can now simulate the failure of a given percentage of the nodes
Ulysse Beaugnon [Wed, 11 Jul 2012 06:45:56 +0000 (15:45 +0900)]
You can now simulate the failure of a given percentage of the nodes

7 years agoThe simulator now use the <future> library of the C++ 11
Ulysse Beaugnon [Wed, 11 Jul 2012 05:18:03 +0000 (14:18 +0900)]
The simulator now use the <future> library of the C++ 11
It allow the simulator to run multiple simulation at once (but not yet multiple runs)
and to let the system decide how it should scale on each computer

7 years agoA few more information can now be retrieve from results
Ulysse Beaugnon [Wed, 11 Jul 2012 04:17:39 +0000 (13:17 +0900)]
A few more information can now be retrieve from results
You can now run a lot af simulation and save the results in a .csv file

7 years agoBetweeness centrality has been removed : it was making things much slower and wasn...
Ulysse Beaugnon [Wed, 11 Jul 2012 02:32:09 +0000 (11:32 +0900)]
Betweeness centrality has been removed : it was making things much slower and wasn't needed right now. We will enable it when we need it
main.ccp has been split into 3 files :
    graph.cpp for graph generation and manipulation
    results.cpp to gather the results of the simulation
    main.cpp to launch the simulation and display the results