Adrien Béraud
9bd959332a
WIP storage rate limiting
2016-12-09 02:42:06 -05:00
Adrien Béraud
c72ea8ce77
tools/scanner: don't use a certificate
2016-12-09 02:41:40 -05:00
Adrien Béraud
ea168353b9
tools/scanner: use urllib3 streaming
2016-12-09 02:41:12 -05:00
Adrien Béraud
79b9c4838e
Merge pull request #161 from savoirfairelinux/yomgui1-patch-1
...
remove InfoHash::toCString()
2016-12-06 18:35:56 -05:00
Guillaume Roguez
d6e86ebcc9
remove InfoHash::toCString()
...
Implementation of InfoHash::toCString() is broken
2016-12-06 18:28:14 -05:00
Adrien Béraud
197aaa47f0
crypto: prevent duplicate CRLs, reimport after signing
2016-12-06 16:59:54 -05:00
Adrien Béraud
ad234004aa
crypto: store CRLs in a set
2016-12-05 15:43:00 -05:00
Adrien Béraud
a88e6a4c5f
crypto: make CRL default expiration same as certificate
2016-12-02 12:59:03 -05:00
Adrien Béraud
c776dad96f
crypto: add Certificate::getExpiration()
2016-12-02 12:58:10 -05:00
Adrien Béraud
31fedd529b
crypto: add CRL msgpack serialization
2016-12-01 18:42:26 -05:00
Adrien Béraud
e9adff9dc5
crypto: add CRL move operator, export as DER
2016-11-30 17:30:09 -05:00
Adrien Béraud
bfd58a204b
crypto: add CRL import/export methods
2016-11-30 16:31:29 -05:00
Adrien Béraud
867bcf1514
crypto: add EC key generation
2016-11-29 18:04:25 -05:00
Adrien Béraud
fb882ee440
crypto: add revocation list
2016-11-29 18:03:49 -05:00
Adrien Béraud
215d3d2847
http server: add cmd arguments
2016-11-29 13:31:40 -05:00
Adrien Béraud
43a345ba0c
python: add HTTP server to access the DHT
2016-11-29 12:08:33 -05:00
Adrien Béraud
f73f5e2798
log: cosmetics
2016-11-29 01:27:42 -05:00
Istvan
3724670fcc
Log.cpp added to src/MakeFile.am
2016-11-29 00:50:47 -05:00
Istvan
e7db64bd74
Log functions are moved to log.cpp
...
Log functions are moved to the log.cpp
in order to avoid multiple definitions
of the logger functions.
2016-11-29 00:50:47 -05:00
Adrien Béraud
9c29b8a29e
Merge pull request #160 from sim590/fix-include-dep
...
buildtools: add def.h to include files
2016-11-28 01:49:30 -05:00
Adrien Béraud
c22f0e4d43
Update Makefile.am
2016-11-28 01:48:26 -05:00
Adrien Béraud
4e2b11c24c
Update CMakeLists.txt
2016-11-28 01:47:33 -05:00
Simon Désaulniers
8c34e927ea
buildtools: add def.h to include files
2016-11-27 23:28:23 -05:00
Adrien Béraud
8a5de47aa0
hide symbols by default ( #140 )
2016-11-23 18:27:24 -05:00
Adrien Béraud
7f84c1e397
utils: remove useless definitions
2016-11-23 15:12:37 -05:00
Adrien Béraud
65c915fd9d
value: print hex value data contiguously
2016-11-23 11:01:14 -05:00
Adrien Béraud
0fd4f73ab1
network monitor: access proper dictionary key
2016-11-23 11:00:11 -05:00
Adrien Béraud
01117567b1
cmake: adapt pkg-config paths to GNUInstallDirs
2016-11-22 10:43:01 -05:00
Adrien Béraud
d68cc5cf40
Merge pull request #156 from sim590/cython-robust-check
...
autoconf: robustly check for cython3
2016-11-21 15:10:40 -05:00
Simon Désaulniers
6db16be2fa
autoconf: robustly check for cython3
2016-11-14 21:07:36 -05:00
Adrien Béraud
5166b1add9
tools: add network monitor
...
The network monitor allows to regularly
check the status of an OpenDHT network,
by performing listen and put operations at
random places on the DHT.
This first version exit with status code 1
if the test fails.
2016-11-10 01:03:29 -05:00
Adrien Béraud
9fadcc907c
python: add default port for bootstrap
2016-11-10 00:58:35 -05:00
Adrien Béraud
42171efc3f
dht: send values to all sockets for a node
...
We used to send values once to a given node,
however the receiving node may have canceled
or dropped the request since then,
so we now send the values for every socket and
the optimization will happen on the sending side.
2016-11-09 21:53:43 -05:00
Adrien Béraud
206f12648f
Merge pull request #155 from aviau/patch-1
...
Multi-Arch support
2016-11-09 13:10:08 -05:00
Alexandre Viau
ecd0573c4d
Multi-Arch support
2016-11-09 11:30:17 -05:00
Simon Désaulniers
2d9f6241a9
net: don't close socket on listen renew
2016-11-08 16:07:15 -05:00
Adrien Béraud
77ee50f5a6
Merge pull request #154 from savoirfairelinux/c_str
...
infohash: add helper to C string format conversion
2016-11-08 15:48:05 -05:00
Guillaume Roguez
297c37e609
infohash: add helper to C string format conversion
...
This const void* convertion method helps a lot with programs
that need to print the hash with a printf() like function.
2016-11-08 15:26:13 -05:00
Simon Désaulniers
9bb1ab43eb
net.h: moved to include/opendht/
2016-11-08 14:52:09 -05:00
Adrien Béraud
cd36b13c30
dht: prevent infinite loop in expireStorage()
2016-11-07 16:56:08 -05:00
Adrien Béraud
5d63084627
Merge pull request #152 from sim590/listen-consistency
...
Listen consistency
2016-11-07 10:33:05 -05:00
Simon Désaulniers
ab7d1d6582
dht,net: introduce socket, support multiple listen
...
Since the initial implementation of listen operation, multiple listen requests
from a single node on a same hash was not possible without singular
inconsistencies. The flaw was coming from the fact that nodes receiving listen
request could not differentiate between listen refresh request and a new
independent listen request.
This patch introduces the new net::Socket structure which in time will enable
remote nodes to send update for a storage while differentiating between
concurrent listen requests. A socket has a unique identifier which consists of a
transaction id as defined in the OpenDHT protocol.
2016-11-07 06:44:15 -05:00
Simon Désaulniers
77ea6d8c2f
net: create net namespace, moving relevant structs
2016-11-05 19:29:00 -04:00
Simon Désaulniers
b5cd629160
dht: callback if no storage maintenance
2016-11-04 09:15:10 -04:00
Adrien Béraud
39467c8b71
tools: add python cluster runner commands
2016-11-02 02:32:06 -04:00
Adrien Béraud
87740e3b38
tools: add python node cluster runner
2016-11-01 03:14:26 -04:00
Adrien Béraud
19848a9b72
python: encode log file name
2016-11-01 03:13:56 -04:00
Adrien Béraud
36e9998fe2
scanner: use urllib3
2016-11-01 03:13:56 -04:00
Adrien Béraud
b2529c241e
log: flush on new line
2016-11-01 03:13:56 -04:00
Adrien Béraud
83c47037d2
dht: remove unimplemented declaration
2016-11-01 03:13:56 -04:00