Andreas Steffen
d31aec9fa7
Migrated stroke_plugin_t to INIT/METHOD macros
2010-12-07 08:01:56 +01:00
Thomas Egerer
76ce213c43
Guarantee entry->other is set when calling put_connected_peers
...
Given the original intent of entry->host, the check for DoS attacks, it
can happen that this value remains NULL when an entry is created. This
is particularly awkward if put_connected_peers is called to check if a
connection to a given peer already exists, since it takes the address
family into consideration (git commit b74219d0) which is gleaned from
entry->host.
This patch guarantees that entry->other is a clone of host before
put_connected_peers is called.
2010-12-06 10:56:57 +01:00
Andreas Steffen
2965eb3cc7
added sql/multi-level-ca scenario
2010-12-05 21:53:43 +01:00
Andreas Steffen
93cbe45c09
stupid typo
2010-12-05 15:48:22 +01:00
Andreas Steffen
fba18c5105
cosmetics
2010-12-05 15:23:18 +01:00
Andreas Steffen
02f08ef910
cosmetics
2010-12-05 15:16:15 +01:00
Andreas Steffen
a6bf8e9118
added parsing checks
2010-12-05 15:01:01 +01:00
Andreas Steffen
58d73d38bc
output TLS-independent error messages
2010-12-05 14:55:18 +01:00
Andreas Steffen
13a7f5f3e3
added certificate_authorities and certificate_distribution_points tables
2010-12-05 11:30:06 +01:00
Andreas Steffen
2da636fd9b
support of reqid field in SQL database
2010-12-05 11:21:40 +01:00
Andreas Steffen
e150442bed
fixed pb_reason_string_message_t class
2010-12-05 11:20:18 +01:00
Andreas Steffen
7e02e49112
Migrated fips_prf plugin to INIT/METHOD macros
2010-12-04 20:56:21 +01:00
Andreas Steffen
c7b778450e
Migrated md4_plugin_t to INIT/METHOD macros
2010-12-04 20:45:49 +01:00
Andreas Steffen
e5e79bd403
Migrated md5_plugin_t to INIT/METHOD macros
2010-12-04 20:43:41 +01:00
Andreas Steffen
1e84aa74aa
Migrated ldap plugin to INIT/METHOD macros
2010-12-04 20:15:59 +01:00
Andreas Steffen
4df49844d9
Migrated pubkey_plugin_t to INIT/METHOD macros
2010-12-04 15:43:04 +01:00
Andreas Steffen
dd621140d3
Migrated pkcs1_plugin_t to INIT/METHOD macros
2010-12-04 11:43:06 +01:00
Andreas Steffen
c742935dac
Migrated curl_plugin_t to INIT/METHOD macros
2010-12-04 11:40:40 +01:00
Andreas Steffen
1bb67ff852
Migrated random plugin to INIT/METHOD macros
2010-12-04 11:37:03 +01:00
Andreas Steffen
79bbe64e17
Migrated sha1_plugin_t to INIT/METHOD macros
2010-12-04 11:26:02 +01:00
Andreas Steffen
72c436c170
Migrated sha2_plugin_t to INIT/METHOD macros
2010-12-04 10:48:42 +01:00
Andreas Steffen
4d7e8032ec
Migrated mysql plugin to INIT/METHOD macros
2010-12-04 10:38:35 +01:00
Andreas Steffen
c6fde416c4
use private destroy() function
2010-12-04 10:28:30 +01:00
Andreas Steffen
cca86ba94d
Migrated sqlite plugin to INIT/METHOD macros
2010-12-04 10:20:33 +01:00
Andreas Steffen
621f9324d9
Migrated test_vectors_plugin_t to INIT/METHOD macros
2010-12-04 10:10:37 +01:00
Andreas Steffen
36e4aa7b9e
Migrated x509_plugin_t to INIT/METHOD macros
2010-12-04 10:07:56 +01:00
Andreas Steffen
b5eeebe657
Migrated pgp_plugin_t to INIT/METHOD macros
2010-12-04 09:30:25 +01:00
Andreas Steffen
9a76f6ded2
Migrated pem_plugin_t to INIT/METHOD macros
2010-12-04 09:25:22 +01:00
Andreas Steffen
cb458beb31
Migrated dnskey_plugin_t to INIT/METHOD macros
2010-12-04 09:20:53 +01:00
Andreas Steffen
4bb158c445
Migrated options_t to INIT/METHOD macros
2010-12-04 08:21:21 +01:00
Tobias Brunner
503e1c558e
CDP enumerator added to SQL plugin.
2010-12-03 18:07:17 +01:00
Tobias Brunner
37bc379951
Tables added for CAs and CDPs.
2010-12-03 18:07:17 +01:00
Tobias Brunner
ece5d52e38
Migrated sql_cred_t to INIT/METHOD macros.
2010-12-03 18:07:17 +01:00
Tobias Brunner
75827463fa
Insert certificates and secrets at the front of the lists.
...
As the lookup is also from front to back, certificates added later are
now found first, which is useful in case of e.g. "reread cacerts".
2010-12-03 18:00:00 +01:00
Tobias Brunner
5b2d9f24f5
Refactored stroke_cred_t to use mem_cred_t.
2010-12-03 18:00:00 +01:00
Tobias Brunner
5ad4fa295a
Function add_crl added to mem_cred_t.
2010-12-03 18:00:00 +01:00
Tobias Brunner
982de5a5f5
Function added to clear secrets (but not certs) from mem_cred_t.
2010-12-03 18:00:00 +01:00
Tobias Brunner
68c7f18643
Alternative to mem_cred_t.add_cert added, which returns the certificate.
...
If the certificate is already cached, the cached version is returned.
2010-12-03 17:59:59 +01:00
Tobias Brunner
3023a75e67
Function added to mem_cred_t to add shared secret with a linked list of owners.
2010-12-03 17:59:59 +01:00
Tobias Brunner
88f97e5c34
Added functions to modify/create settings in settings_t.
2010-12-03 17:40:52 +01:00
Tobias Brunner
e997706273
Added an option to create non-existing key/value pairs during search.
2010-12-03 17:40:52 +01:00
Tobias Brunner
011f901d55
Compare shorter "boolean" values first.
2010-12-03 17:40:52 +01:00
Tobias Brunner
d657edf576
Helper functions added to easily convert enumerated values.
2010-12-03 17:40:52 +01:00
Tobias Brunner
f2649f354d
Ensure that sections exist when using load_files_section.
2010-12-03 17:40:52 +01:00
Tobias Brunner
67c464d1a9
Skip values and sections without key.
2010-12-03 17:40:52 +01:00
Tobias Brunner
dc46fd5879
Some refactorings in lookup code in settings_t.
2010-12-03 17:40:52 +01:00
Tobias Brunner
9a1e5261d6
Added documentation about new features of settings_t.
2010-12-03 17:40:52 +01:00
Tobias Brunner
b79f7d4208
Made settings_t thread-safe.
2010-12-03 17:40:52 +01:00
Tobias Brunner
0552135213
Added functions to settings_t to load files dynamically at runtime.
2010-12-03 17:40:52 +01:00
Tobias Brunner
6388a758ba
Allow inclusion of other files in strongswan.conf.
2010-12-03 17:38:37 +01:00