aboutsummaryrefslogtreecommitdiffstats
path: root/src/libhydra/plugins/attr_sql/sql_attribute.c
Commit message (Collapse)AuthorAgeFilesLines
* attr-sql: Move plugin to libcharonMartin Willi2015-02-201-475/+0
|
* attr-sql: Use namespace for attr-sql config, with fallbackTobias Brunner2014-02-121-1/+1
|
* attr-sql: Use a serializable transaction when inserting identitiesTobias Brunner2013-10-111-12/+5
|
* 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.
* 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-241-1/+1
|
* 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
|
* Migrated sql_attribute to INIT/METHOD macrosAndreas Steffen2011-09-291-29/+25
|
* Added support for named attribute groupsHeiko Hund2010-07-091-8/+109
| | | | | | 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.
* Replaced some DBG_LIB with more specific groups.Tobias Brunner2010-04-061-3/+3
|
* Adding DBG_LIB to all calls of libstrongswan's version of DBG*.Tobias Brunner2010-04-061-4/+4
|
* Moving attr-sql config in strongswan.conf to libhydra.Tobias Brunner2010-03-241-1/+1
|
* Moving attr-sql plugin from libstrongswan to libhydra.Tobias Brunner2010-03-241-0/+384