Adrien Béraud
8693d7301d
python scanner: improve appearance
2015-07-24 01:02:35 -04:00
Adrien Béraud
178eeae94f
dht: log cleanup
2015-07-24 01:02:35 -04:00
Adrien Béraud
52cbf43e91
benchmark: choose IPv4/IPv6 with cmd arguments
2015-07-23 18:03:01 -04:00
Adrien Béraud
8d44e48c8b
bemchmark: choose IPv4/IPv6 with cmd arguments
2015-07-23 16:56:23 -04:00
Adrien Béraud
d4094bed9b
tools: update copyright
2015-07-23 14:32:52 -04:00
Adrien Béraud
2b16937c2d
temporarly disable IPv6
...
IPv6 is for some reason not working properly.
Disable it while we are investingating
2015-07-23 11:07:29 -04:00
Adrien Béraud
d95b11aefa
dht:use appropriate node array size
2015-07-23 11:06:16 -04:00
Adrien Béraud
3124d13004
infohash: toFloat optimisation
2015-07-23 11:06:16 -04:00
Adrien Béraud
a090baba08
doc update
2015-07-23 11:06:16 -04:00
Adrien Béraud
ae178c4d25
fix some compiler warnings
2015-07-23 11:06:04 -04:00
Adrien Béraud
d2ed99742e
zero-initialise sockaddr structures
2015-07-23 11:05:50 -04:00
Adrien Béraud
925be39aa1
python benchmark: add ipv6, ip forwarding
2015-07-23 01:16:39 -04:00
Adrien Béraud
a10ba60086
add python benchmark
2015-07-23 01:16:39 -04:00
Adrien Béraud
6d36f21822
python: add dhtscanner implementation
2015-07-15 12:49:41 -04:00
Adrien Béraud
790bfcd4ab
tools: add dhtscanner
...
The dhtscanner scans the network to get a full network map
2015-07-14 12:47:12 -04:00
Adrien Béraud
ac13795db0
crypto: add DecryptError
2015-07-14 12:47:12 -04:00
Adrien Béraud
593ca81dbd
infohash: add toFloat()
2015-07-14 12:09:14 -04:00
Adrien Béraud
7729f9e283
types: add payload to trust request
2015-07-13 14:15:08 -04:00
Adrien Béraud
03b873d1ad
value: make time_point non-constexpr for now
2015-07-13 14:15:08 -04:00
Adrien Béraud
3d2a74be49
python: add PyNode
2015-07-13 13:24:55 -04:00
Adrien Béraud
e2004d69cb
prevent sending listen or announce to unsynched nodes
2015-07-11 18:38:11 -04:00
Adrien Béraud
7a3a95bf3e
dht: use time_point::min() as invalid time_point value
2015-07-11 18:38:11 -04:00
Adrien Béraud
5bec9f6764
log cleanup
2015-07-10 23:31:09 -04:00
Adrien Béraud
d2c57b867d
update copyright headers
2015-07-10 23:25:43 -04:00
Adrien Béraud
db1b9c2f38
crypto: add Certificate getName, getIssuerName, getAltNames
2015-07-09 12:32:56 -04:00
Adrien Béraud
a0544e8fcf
dhtrunner: add future<T> get(key)
2015-07-06 11:27:45 -04:00
Adrien Béraud
2470dab029
dht: add a simpler Done Callback
2015-07-06 11:27:45 -04:00
Adrien Béraud
1bc2c5c9f0
dht: cleanup doc
2015-07-06 11:26:37 -04:00
Adrien Béraud
618f4dcddb
crypto: add contructor from blob vector
2015-07-05 17:48:05 -04:00
Adrien Béraud
d0f4f57116
dht: fix typo, warnings
2015-07-04 23:56:16 -04:00
Adrien Béraud
aee46bced2
configure: add --disable-python, --disable-doc
...
Allows to control whether to build the Python cython binding
and the Doxygen documentation.
2015-07-04 22:42:08 -04:00
Adrien Béraud
d16260eca8
crypto: unpack certificate list from blob vector
2015-07-04 22:41:41 -04:00
Adrien Béraud
6a44dab6d3
crypto: add doc
2015-07-03 13:47:57 -04:00
Adrien Béraud
7959fe3dad
crypto: don't use gnutls_global_init with new versions
2015-07-03 13:47:57 -04:00
Adrien Béraud
1c6a50969b
crypto: support private key password encryption
2015-07-03 13:45:57 -04:00
Adrien Béraud
8bd46446cd
dhtrunner: allow empty or null strings for hostnames
2015-07-02 21:19:34 -04:00
Adrien Béraud
aeedb8adac
dhtrunner: allow to bind specific IP addresses
2015-07-02 02:59:28 -04:00
Adrien Béraud
f05ce4865d
dht: round 2 of search performance optimisations
...
This patch makes search nodes candidates when they failed to reply
to a first message. This allows the search operations to go forward,
while preserving the node opportunity to reply.
2015-07-02 02:59:28 -04:00
Adrien Béraud
f1ff9a1a87
dht: optimisations in search behavior
...
A candidate flag is added to new search nodes when a search
is already synced.
The flag is waived when a token is retreived from the node.
Candidate nodes behave normally but are not considered
to evaluate the search state (synced etc.).
The behavior of searches if also changed so GET_NODES
updates are now done the same way, no matter if the search
is currently synced. This allow candidate nodes to behave
normally and makes token update asynchronous, causing
less frequent performance hickups.
2015-07-02 02:59:28 -04:00
Adrien Béraud
3383ce7a11
dhtnode: print operation completion time
2015-07-02 02:59:28 -04:00
Adrien Béraud
04623d09f8
dht: simplify get search node selection
2015-07-02 02:59:28 -04:00
Adrien Béraud
663f946a3a
python: build cython module with autotools
2015-07-02 02:59:28 -04:00
Guillaume Roguez
42ba16d080
add python wrapper written in Cython
...
This patch adds in tool/python a Cython written package
to use opendht API throught Python language.
This binding is a prototype with a little subset of OpenDHT API,
mainly for a proof-of-concept
Signed-off-by: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com >
2015-07-02 02:59:01 -04:00
Adrien Béraud
a63fc649b6
refactoring: move Node out of Dht
2015-07-02 02:59:01 -04:00
Adrien Béraud
dbde59a355
crypto: add key length param in generateIdentity()
2015-07-02 02:58:42 -04:00
Adrien Béraud
680186976f
dht: add node list to done callback
2015-06-25 15:56:03 -04:00
Adrien Béraud
e6ab305b33
crypto: use certificate chain again
2015-06-25 15:56:03 -04:00
Adrien Béraud
f00071137f
doc: add initial doxygen documentation
2015-06-25 11:58:15 -04:00
Adrien Béraud
e88e78a2d9
securedht: support external certificate store
...
With setLocalCertificateStore, add an optional
custom callback to find an immediately available
certificate to use for encryption etc.
2015-06-25 11:50:46 -04:00
Adrien Béraud
428ac04812
crypto: add Certificate::isCA
2015-06-25 11:43:11 -04:00