Adrien Béraud
|
0c00544798
|
remove embedded argon2, HTTP_PARSER_FORK
|
2021-06-09 13:57:10 -04:00 |
|
Adrien Béraud
|
ba9a445263
|
securedht: clenup
|
2021-06-07 14:45:58 -04:00 |
|
Adrien Béraud
|
b668d6ad68
|
dhtrunner: add putEncrypted with public key
|
2021-06-07 14:45:58 -04:00 |
|
Adrien Béraud
|
29fab5560f
|
dhtrunner: add getPublicKey()
|
2021-06-07 14:45:58 -04:00 |
|
Adrien Béraud
|
8aef63ce4a
|
crypto: cache public key
|
2021-06-07 14:45:58 -04:00 |
|
Adrien Béraud
|
1ea7a2994e
|
value: use non-const PublicKey
|
2021-06-07 14:45:58 -04:00 |
|
Adrien Béraud
|
d9ff95da49
|
Revert "dhtrunner: force execution of pending ops on shutdown"
This reverts commit c8a0b443f3.
|
2021-06-07 14:45:58 -04:00 |
|
Adrien Béraud
|
c8a0b443f3
|
dhtrunner: force execution of pending ops on shutdown
|
2021-06-03 16:54:31 -04:00 |
|
Adrien Béraud
|
00e595d737
|
dht: fail if op key is null
|
2021-06-03 16:54:31 -04:00 |
|
Adrien Béraud
|
a178a8f820
|
dht, dhtrunner: add shutdown stop argument
|
2021-05-31 14:43:57 -04:00 |
|
Adrien Béraud
|
3c5aeccd53
|
dhtrunner: don't read port config if already configured
|
2021-05-28 13:17:25 -04:00 |
|
Adrien Béraud
|
f99fe16a46
|
subset: use const ref
|
2021-05-28 13:17:25 -04:00 |
|
Sébastien Blin
|
ad549098f8
|
proxyServer: use lockListener_ to protect pushListeners_
|
2021-05-25 16:05:03 -04:00 |
|
Adrien Béraud
|
efb5f8e36a
|
crypto: avoid generating 0 or negative certificate serial numbers
|
2021-05-15 01:08:07 -04:00 |
|
Sébastien Blin
|
14d882d220
|
http: add support for TCP keep alive and handle broken pipes
|
2021-05-03 10:09:31 -04:00 |
|
Adrien Béraud
|
4dc7a5ca0a
|
dhtrunner: log warning if calling run() while already running
|
2021-04-16 15:54:45 -04:00 |
|
Adrien Béraud
|
40fdd04cb3
|
dht: cleanup handling of onConnectCallback
|
2021-04-16 15:13:07 -04:00 |
|
Adrien Béraud
|
a24dedd225
|
proxy client: move callbacks to lambda
|
2021-04-16 15:04:19 -04:00 |
|
Adrien Béraud
|
ae2445fd07
|
proxy client: schedule connectCallbacks in callback queue
|
2021-04-16 15:01:23 -04:00 |
|
Adrien Béraud
|
7ba53cb4b3
|
proxy client: use unique_ptr for timers
|
2021-04-16 15:00:48 -04:00 |
|
Adrien Béraud
|
fbff8389c5
|
dhtrunner: build proxy with identity callback, logger
|
2021-04-16 14:45:33 -04:00 |
|
Adrien Béraud
|
827fdacc4b
|
securedht: build with logger
|
2021-04-16 14:45:14 -04:00 |
|
Adrien Béraud
|
3efc27e9f3
|
securedht: avoid use-after-free
|
2021-04-16 14:42:45 -04:00 |
|
Adrien Béraud
|
f7104199e3
|
securedht: fix typo
|
2021-04-15 12:50:31 -04:00 |
|
Adrien Béraud
|
5c0fbf7e68
|
securedht: pass IdentityAnnouncedCb by value, don't store
|
2021-04-15 12:47:18 -04:00 |
|
Adrien Béraud
|
55c595330a
|
securedht: use onConnect callback
|
2021-04-15 12:36:57 -04:00 |
|
Adrien Béraud
|
d3fc75589f
|
dht: add onConnect callback
|
2021-04-15 12:36:03 -04:00 |
|
Sébastien Blin
|
f8605f45f7
|
securedht: add IdentityAnnouncedCb to detect when identity is announced
|
2021-04-14 18:55:22 -04:00 |
|
Adrien Béraud
|
623b1c4585
|
dhtrunner: add async version of getPublicAddress
|
2021-04-13 21:35:31 -04:00 |
|
Adrien Béraud
|
74f7d7811e
|
dhtrunner: use default bound address if not set
|
2021-04-13 21:35:31 -04:00 |
|
Adrien Béraud
|
7774331a20
|
dhtrunner: allow to provide address to bind in configuration
|
2021-04-13 21:35:31 -04:00 |
|
Adrien Béraud
|
41760e4b65
|
ocsp response: improve exception message
|
2021-03-25 00:02:51 -04:00 |
|
Adrien Béraud
|
d0156b4637
|
crypto: add OcspRequest
|
2021-03-24 23:29:18 -04:00 |
|
Adrien Béraud
|
f6cca88593
|
ocsp response: verifyDirect now returns revocation status
|
2021-03-24 23:11:59 -04:00 |
|
Adrien Béraud
|
c6da80573e
|
ocsp: fix leak
|
2021-03-24 23:09:24 -04:00 |
|
Adrien Béraud
|
5527869d13
|
Revert "dht: don't send unnecessary findNode"
This reverts commit 0b4caeda73.
|
2021-03-22 13:55:04 -04:00 |
|
Adrien Béraud
|
5c599b2feb
|
ocsp: check the appropriate field for status
|
2021-03-22 13:54:39 -04:00 |
|
Adrien Béraud
|
5a370cabb5
|
crypto: disable legacy encryption
Require OpenDHT 2.x to decrypt encrypted data
|
2021-03-18 10:37:28 -04:00 |
|
Adrien Béraud
|
639ae26ac1
|
PEMCache: cleanup
|
2021-03-18 10:35:35 -04:00 |
|
Adrien Béraud
|
896b6de60c
|
dht: remove default constructor
|
2021-03-18 10:35:35 -04:00 |
|
Adrien Béraud
|
d025f9d1b5
|
crypto: add methods to sign/decrypt raw data
|
2021-03-18 10:35:35 -04:00 |
|
Adrien Béraud
|
2256434ec7
|
dht: add inspection methods
|
2021-03-09 17:43:57 -05:00 |
|
Adrien Béraud
|
0b4caeda73
|
dht: don't send unnecessary findNode
|
2021-03-09 17:43:35 -05:00 |
|
Adrien Béraud
|
18a1a1c47f
|
callbacks: move function argument to lambda
|
2021-03-09 17:43:35 -05:00 |
|
Lucas Dias
|
c996220685
|
network_engine::process could throw an exception in message type MessageType::ValueUpdate if rsocket does not exist. processMessage called process out of try-catch
|
2021-01-19 12:55:02 -05:00 |
|
Adrien Béraud
|
a77dc855f0
|
OCSP: use RFC-mandated parameters
* use 32 bytes nounce
* use SHA-1 for the certificate ID
|
2020-12-17 12:35:33 -05:00 |
|
Adrien Béraud
|
72725dc5c1
|
http: make OCSP check optional
|
2020-11-24 15:34:19 -05:00 |
|
Adrien Béraud
|
3098439db2
|
proxy client: set CA for every request
|
2020-11-24 15:22:14 -05:00 |
|
Adrien Béraud
|
6441a09e09
|
ocsp: fix memleaks
|
2020-11-20 14:42:55 -05:00 |
|
Adrien Béraud
|
17e1cfbbbe
|
crypto: export OCSP request as string
|
2020-11-20 11:38:11 -05:00 |
|