aboutsummaryrefslogtreecommitdiffstats
path: root/src/libhydra/plugins/attr_sql
Commit message (Collapse)AuthorAgeFilesLines
* attr-sql: Move plugin to libcharonMartin Willi2015-02-205-714/+0
|
* plugins: Don't link with -rdynamic on WindowsMartin Willi2014-06-041-1/+1
|
* attr-sql: Use namespace for attr-sql config, with fallbackTobias Brunner2014-02-122-2/+4
|
* attr-sql: Use a serializable transaction when inserting identitiesTobias Brunner2013-10-111-12/+5
|
* pool: Move the pool utility to its own directory in srcTobias Brunner2013-10-117-2232/+1
|
* attr-sql: Handle concurrent insertion of identitiesTobias Brunner2013-10-111-2/+12
| | | | | | | | | If the same identity is added concurrently by two threads (or by the pool utility) INSERT might fail even though the SELECT was unsuccessful before. We are currently not able to lock the identities table in a portable way (something like SELECT ... FOR UPDATE on MySQL).
* attr-sql: Don't use database transactions in create_attribute_enumeratorTobias Brunner2013-10-111-5/+0
| | | | | | | | | There could, of course, be race conditions when enumerating the attributes, but those probably don't matter (e.g. missing an attribute that was concurrently added). Transactions are more intended to revert multiple changes if anything fails in the process.
* automake: replace INCLUDES by AM_CPPFLAGSMartin Willi2013-07-181-4/+5
| | | | | | INCLUDES are now deprecated and throw warnings when using automake 1.13. We now also differentiate AM_CPPFLAGS and AM_CFLAGS, where includes and defines are passed to AM_CPPFLAGS only.
* attr-sql: Add unity_split_exclude as alias for unity_local_lanTobias Brunner2013-07-081-0/+1
|
* attr-sql: Fix double free when adding subnets for unknown attribute typesTobias Brunner2013-07-081-0/+1
|
* plugin-loader: Removed unused path argument of load() methodTobias Brunner2013-06-281-1/+1
| | | | | Multiple additional search paths can be added with the add_path() method.
* attr-sql: Use plugin features with dependency to database backendTobias Brunner2013-06-111-24/+53
|
* Use proper address family when adding multiple addresses to SQL poolTobias Brunner2013-03-191-0/+15
|
* Ignore SQL-based IP address pools if their address family does not matchTobias Brunner2013-03-191-10/+21
|
* Moved debug.[ch] to utils folderTobias Brunner2012-10-243-3/+3
|
* Moved host_t and host_resolver_t to a new networking subfolderTobias Brunner2012-10-242-2/+2
|
* Make sure first argument is an int when using %.*s to print e.g. chunksTobias Brunner2012-09-281-3/+3
|
* Pass full pool list to release_addressMartin Willi2012-09-111-12/+23
|
* Pass the full list of pools to acquire_address, enumerate in providersMartin Willi2012-09-111-8/+33
| | | | | | | | If the provider has access to the full pool list, it can enumerate them twice, for example to search for existing leases first, and only search for new leases in a second step. Fixes lease enumeration in attr-sql using multiple pools.
* Don't parse comma separated pool names in attr-sqlMartin Willi2012-08-301-77/+26
| | | | | We now handle multiple pools at a deeper level, making that special handling obsolete. Comma separated pools are parsed in stroke.
* Pass all configured pool names to attribute provider enumeratorMartin Willi2012-08-301-8/+8
|
* Pass a list instead of a single virtual IP to attribute enumeratorsMartin Willi2012-08-301-2/+2
|
* Fixed additional typos in comments and log messages.Tobias Brunner2012-01-121-1/+1
|
* Fix 'ipsec pool --status' for empty pools.Tobias Brunner2011-11-041-1/+7
|
* Migrated sql_attribute to INIT/METHOD macrosAndreas Steffen2011-09-291-29/+25
|
* Removed superfluous parameter missed in e5e5bcc92f.Tobias Brunner2011-05-021-1/+1
|
* Cast size_t len arguments to %.*s to intMartin Willi2011-04-201-12/+12
|
* pool: Proper cleanup in error cases when adding addresses from a file.Tobias Brunner2011-04-191-0/+6
|
* pool: Proper handling of address family when adding addresses.Tobias Brunner2011-04-191-2/+6
|
* Added missing break statement.Tobias Brunner2011-04-191-0/+1
|
* Added a (not yet implemented) plugin_t method to reload plugin configurationMartin Willi2011-04-151-0/+1
|
* Added a get_name() function to plugin_t, create_plugin_enumerator enumerates ↵Martin Willi2011-04-151-1/+7
| | | | over plugin_t
* Removed superfluous parameter to printf.Tobias Brunner2011-04-141-1/+1
|
* commas, commas, ..Andreas Steffen2010-11-251-2/+2
|
* Migrated attr_sql_plugin_t to INIT/METHOD macrosAndreas Steffen2010-11-251-10/+13
|
* Build dedicated plugin lists for each strongSwan componentMartin Willi2010-08-121-1/+1
|
* we need some orderingAndreas Steffen2010-07-121-1/+3
|
* changed ordering of statusattr outputAndreas Steffen2010-07-121-8/+6
|
* fixed alignment of captionAndreas Steffen2010-07-121-2/+2
|
* output identities correctlyAndreas Steffen2010-07-121-7/+11
|
* Added support for named attribute groupsHeiko Hund2010-07-095-81/+341
| | | | | | Add the possibility to group attributes by a name and assign these groups to connections. This allows a more granular configuration of which client will receive what atrributes.
* Don't fail with an error if an attribute that is to be deleted does not existHeiko Hund2010-06-181-2/+0
|
* fixed configuration attribute type determinationAndreas Steffen2010-06-021-22/+15
|
* ipsec pool --statusattr [--hexout] outputs attribute values in correct ↵Andreas Steffen2010-06-014-41/+117
| | | | format if known
* added unity_def_domain keyword tip ipsec poolAndreas Steffen2010-05-311-0/+1
|
* added --leases command line option to synopsisAndreas Steffen2010-05-291-1/+1
|
* added --showattr command line option to synopsysAndreas Steffen2010-05-291-1/+1
|
* several subnets can be concatenatedAndreas Steffen2010-05-222-27/+49
|
* added --showattr command to usage()Andreas Steffen2010-05-221-0/+5
|
* oops, removed stray parenthesisAndreas Steffen2010-05-201-1/+1
|