aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/daemon.h
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2005-12-04 01:30:35 +0000
committerMartin Willi <martin@strongswan.org>2005-12-04 01:30:35 +0000
commit8ff8c33d1d720a227db193c2105cbdcf119e5746 (patch)
tree7de51ee9de420cf13eca9c91f4dfb70901d41e10 /Source/charon/daemon.h
parenta374d1ee669a6b7674f242119369770cb9e5705c (diff)
downloadstrongswan-8ff8c33d1d720a227db193c2105cbdcf119e5746.tar.bz2
strongswan-8ff8c33d1d720a227db193c2105cbdcf119e5746.tar.xz
- implemented RSA, only signing and verifying esma_pkcs1 padded
- removed gmp-helper: chunk_to_mpz is now done with gmp functions, prime generation in prime-pool - added prime-pool (needs priority fix) - proof of concept RSA authentication - mpz uses LEAK_DETECTIVE - configuration-manager supports rsa keys
Diffstat (limited to 'Source/charon/daemon.h')
-rw-r--r--Source/charon/daemon.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/charon/daemon.h b/Source/charon/daemon.h
index 98d366ce9..b0591d8bd 100644
--- a/Source/charon/daemon.h
+++ b/Source/charon/daemon.h
@@ -29,6 +29,7 @@
#include <threads/receiver.h>
#include <threads/scheduler.h>
#include <threads/thread_pool.h>
+#include <threads/prime_pool.h>
#include <sa/ike_sa_manager.h>
#include <queues/send_queue.h>
#include <queues/job_queue.h>
@@ -54,7 +55,7 @@
* Port on which the daemon will
* listen for incoming traffic.
*/
-#define IKEV2_UDP_PORT 500
+#define IKEV2_UDP_PORT 4500
/**
* First retransmit timeout in milliseconds.
@@ -129,6 +130,11 @@ struct daemon_t {
thread_pool_t *thread_pool;
/**
+ * Low-priority thread which generates primes
+ */
+ prime_pool_t *prime_pool;
+
+ /**
* @brief shut down the daemon
*
* @param this the daemon to kill