Adrien Béraud
aae6484a58
dhtrunner: delay ops until dht is connected (except bootstrap)
2015-08-18 13:47:33 -04:00
Adrien Béraud
790c32048c
ValueSerializable: refactoring
2015-08-18 10:57:46 -04:00
Adrien Béraud
fcbaa28439
enable back IPv6
...
It seems that msgpack fixed the IPv6 issue.
Enabling back.
2015-08-13 15:26:24 -04:00
Adrien Béraud
70dfb4bbcf
use msgpack for dht protocol and value serialization
2015-08-13 11:28:29 -04:00
Edric
623dd4f2a7
Correctly close socket on win32
...
Refs : https://msdn.microsoft.com/en-us/library/windows/desktop/ms740126%28v=vs.85%29.aspx
2015-08-07 12:45:56 -04:00
Adrien Béraud
15f3dee293
introduce configuration structure
2015-08-05 21:55:20 -04:00
Adrien Béraud
59182aa0c4
securedht, dhtrunner: support bootstrap mode
2015-08-04 23:39:15 -04:00
Adrien Béraud
f13b28fed4
dht: add connectivityChanged()
2015-07-28 16:26:35 -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
d2ed99742e
zero-initialise sockaddr structures
2015-07-23 11:05:50 -04:00
Adrien Béraud
3d2a74be49
python: add PyNode
2015-07-13 13:24:55 -04:00
Adrien Béraud
d2c57b867d
update copyright headers
2015-07-10 23:25:43 -04:00
Adrien Béraud
2470dab029
dht: add a simpler Done Callback
2015-07-06 11:27:45 -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
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
f61c2a234c
dhtrunner: expose some securedht methods
2015-04-21 16:04:01 -04:00
Adrien Béraud
be6317e62a
fix build for Win32
2015-04-01 14:49:45 -04:00
Adrien Béraud
30d5ad5f33
dhtrunner: add bootstrap from host and service strings
2015-03-29 13:09:36 -04:00
Adrien Béraud
66dcc893f0
dhtrunner: move include to cpp
2015-03-29 13:09:36 -04:00
Adrien Béraud
97f8b633f0
dhtrunner: don't block for more than 250ms
2015-03-24 16:44:58 -04:00
Adrien Béraud
441cad2e86
bootstrap: carry sockaddr length
2015-03-18 15:09:44 -04:00
Adrien Béraud
13902b0f19
run filter after decryption & security verifications
2015-02-24 11:53:36 -05:00
Adrien Béraud
4452452efb
log cleanup
2015-02-22 21:01:35 -05:00
Adrien Béraud
f442f98593
cancelListen, cancelPut: add missing notify
2015-02-21 22:20:12 -05:00
Adrien Béraud
24bace1563
replace unique_lock by lock_guard where possible
2015-02-21 21:46:01 -05:00
Adrien Béraud
6003770d6a
zero initialize sockaddr fields
2015-01-19 10:30:14 -05:00
Adrien Béraud
33542e932a
use std::chrono for time tracking
2014-12-24 01:13:43 -05:00
Adrien Béraud
df1368f510
fix wrong method call causing stack overflow
2014-12-16 17:57:40 -05:00
Adrien Béraud
73d9b692ee
allow to cancel listen through dhtrunner
2014-12-15 16:34:45 -05:00
Adrien Béraud
3ee8149178
run operation unlocked
2014-12-12 00:53:13 -05:00
Adrien Béraud
2f2177e957
runner: use a queue to process operations
2014-12-11 16:46:29 -05:00
Adrien Béraud
2df200ab86
dhtrunner: clarify comment
2014-12-11 01:25:24 -05:00
Adrien Béraud
38265d587a
dhtrunner: reduce max blocking time to 5 seconds
2014-12-07 18:25:03 -05:00
Adrien Béraud
a3546d0c87
fix uninitialized variable
2014-11-26 19:07:40 -05:00
Adrien Béraud
567ce11edb
fix Windows MinGW build
2014-11-26 17:26:54 -05:00
Adrien Béraud
139c8a71c7
more listener fixes
2014-11-26 13:22:50 -05:00
Adrien Béraud
77371297fe
first listener implementation
2014-11-25 17:23:35 -05:00
Adrien Béraud
151d31411a
Add initial code
2014-11-20 01:42:44 -05:00