Adrien Beraud
943a39178c
python/cluster: add syslog support
...
Use syslog in daemonized mode
2017-06-01 15:57:34 +02:00
Adrien Beraud
ae0cb58a5c
python/cluster: remove unused methods
2017-06-01 15:56:18 +02:00
Adrien Beraud
dd116d8ad8
python/cluster: add clean stop on signal
2017-06-01 15:53:41 +02:00
Adrien Beraud
74c3c5bc87
systemd service: use pkg-config to find proper install location
2017-05-30 13:47:30 +02:00
Adrien Beraud
b6bfa14872
systemd service: bind on port 4222 by default
2017-05-30 13:22:58 +02:00
Adrien Beraud
50a769c8fb
dhtnode: add systemd service
...
Install a systemd service when configured
with -DOPENDHT_SYSTEMD (CMake only).
2017-05-30 12:41:47 +02:00
Adrien Beraud
39a254ce9f
log: add syslog support
...
Add support to log using standard syslog,
add related option in dhtnode.
dhtnode will use syslog by default
when starting in daemon mode and
no logfile is defined.
2017-05-30 12:20:09 +02:00
Adrien Beraud
3aa720fe1f
python/cluster: bind on ::0 by default on IPv6
2017-05-23 17:59:05 +02:00
Adrien Beraud
7908a1d2ea
update to version 1.3.3
...
Minor bugfix release
1.3.3
2017-05-13 17:51:28 -04:00
Adrien Beraud
37d8481e28
crypto: handle null certificate in getCopy(), getChain()
2017-05-13 17:18:00 -04:00
Adrien Beraud
44822f944b
update to version 1.3.2
...
* crypto API improvements
* python bindings improvements
* implement first python unit tests
* minor bug fixes
1.3.2
2017-05-11 14:05:38 -04:00
Adrien Béraud
406a1c1152
Merge pull request #192 from atraczyk/master
...
MSVC: decouple argon2 dependency
2017-05-03 11:30:01 -04:00
atraczyk
f9939ce336
decouple argon2 dependency
2017-05-03 11:26:45 -04:00
Adrien Beraud
d9bced965b
crypto: add TrustList move operator, prevent copy
2017-05-01 16:26:12 -04:00
Adrien Beraud
4d78aea05b
unit tests: add crypto unit tests
2017-04-27 04:46:08 +02:00
Adrien Beraud
9b42afa9ca
implement first simple unit tests
2017-04-27 04:45:59 +02:00
Adrien Beraud
aa5b8b84a8
python: add TrustList wrapper
2017-04-27 04:45:59 +02:00
Adrien Beraud
d0a8a92a56
crypto: add GnuTLS trust list wrapper
2017-04-27 04:45:59 +02:00
Adrien Beraud
cf82f74e15
python: add PrivateKey::generateEC support
2017-04-27 04:45:59 +02:00
Adrien Beraud
a952ddec53
python: add crypto encrypt/decrypt
2017-04-27 03:34:04 +02:00
Adrien Beraud
fa7efd086f
python: add Identity PrivateKey getter
...
Refactor Identity and PrivateKey to use
shared_ptr<PrivateKey> and retrieve the
key from Identity.
2017-04-27 03:34:04 +02:00
Adrien Beraud
8e28e86caf
python: improve wrapper for crypto::Certificate
...
Add Certificate issuer, getName and revoke
2017-04-27 03:34:04 +02:00
Adrien Beraud
65de9622fb
crypto: add Certificate::getChainWithRevocations
2017-04-26 16:43:06 +02:00
Adrien Beraud
210c4b2077
crypto: fix memory leak in RevocationList::getPacked()
2017-04-26 16:42:33 +02:00
Adrien Beraud
e8cb635b3a
crypto: add getChain()
2017-04-22 19:48:32 +02:00
Adrien Beraud
f41c8fef99
crypto: unify API across GnuTLS versions
...
Throw an exception if GnuTLS is too old
instead of not providing the API.
Also consistently throw in case of hash error,
and return 0 for an empty hash, for both
PublicKey and Certificate.
2017-04-20 17:07:21 +02:00
Adrien Beraud
02147b0b16
update to version 1.3.1
1.3.1
2017-04-14 17:12:54 +02:00
Adrien Beraud
79e266aac6
crypto: don't build getLongID() with old gnutls
2017-04-14 16:57:58 +02:00
Adrien Beraud
9d75ed14b4
infohash: add to_c_str(), improve toString() performance
2017-04-10 15:48:04 +02:00
Adrien Beraud
fcca618c48
infohash: improve getRandom performance
...
Generate random hash in 32 bits chunks
instead of 8 bits chunks.
2017-04-10 15:48:04 +02:00
Adrien Beraud
73bcebf355
license cleanup
2017-04-10 01:43:20 +02:00
Adrien Beraud
057443e4a0
python/tools: update pingpong
2017-04-10 01:12:31 +02:00
Adrien Beraud
99f8c2950b
python: rename bootstrap(sockaddr) to ping
2017-04-10 01:12:00 +02:00
Adrien Beraud
4132c63faf
def: fix typo
2017-04-09 17:22:18 +02:00
Adrien Béraud
7f2b5a44ff
Merge pull request #186 from sim590/search-step-after-announce
...
dht: fix searchstep not scheduled after announcing
2017-04-05 20:12:23 +02:00
Adrien Beraud
7db0c15483
tools: catch exceptions
2017-04-05 18:35:19 +02:00
Adrien Beraud
2fc7cc57a9
default types: fix uninitialized fields
2017-04-05 18:15:34 +02:00
Adrien Beraud
4970a2aee5
infohash: throw exception with error message
2017-04-05 18:15:02 +02:00
Adrien Beraud
25b6df5355
removeExpiredNode: cleanup
2017-04-05 17:52:34 +02:00
Adrien Beraud
732479736b
select: cleanup
2017-04-05 17:52:34 +02:00
Adrien Beraud
696ac1bbd5
network engine: print error if send fails
...
for now just print an error
2017-04-05 17:52:34 +02:00
Adrien Béraud
3b2e5a13bf
Merge pull request #185 from savoirfairelinux/feature/pht
...
pht: prevent unneeded use of shared_ptr
2017-04-04 16:31:44 +02:00
Simon Désaulniers
26a7aec7cc
dht: fix searchstep not scheduled after announcing
2017-04-03 17:39:15 -04:00
Adrien Beraud
b73a50bace
pht: prevent unneeded use of shared_ptr
...
Prefer a const reference instead of shared_ptr if the shared_ptr
is not used and argument type is not changed in the method.
This allows to prevent useless shared_ptr allocations.
In getRealPrefix, use OpState to track state instead of using many
different shared_ptr.
2017-04-03 19:10:49 +02:00
Adrien Beraud
70ccbe4e40
value: remove FieldSelectorDescription
...
FieldSelectorDescription is just Value::Field and
adds nothing on top of it.
Remove it in favor of Value::Field.
2017-04-03 19:10:01 +02:00
Adrien Beraud
6bb00ab732
Merge pull request #175 from sim590/argon2-submodule
...
argon2: use as submodule (reverted from commit c424eb9160 ) (reverted from commit 3c45e1996d )
2017-03-30 21:24:49 +02:00
Adrien Béraud
2e279852cd
Merge pull request #178 from sim590/benchmark-ifname-error
...
benchmark: fix invalid ifname error
2017-03-30 17:06:03 +02:00
Adrien Béraud
09b4e71dc5
Merge pull request #182 from atraczyk/master
...
fixes the contrib paths for the Visual Studio build
2017-03-30 00:48:02 +02:00
atraczyk
b40713596c
ignore MSVC\contrib\build and add argon2 path to project
2017-03-29 18:25:10 -04:00
atraczyk
c5485a795a
Merge branch 'master' of github.com:atraczyk/opendht
2017-03-29 17:57:19 -04:00