aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/sql
Commit message (Collapse)AuthorAgeFilesLines
* sql: Use qualified names in SQL query statementsTobias Brunner2017-07-052-49/+54
| | | | | | | VIRTUAL is a new reserved keyword in MySQL 5.7.6 that caused some of these queries to fail. Fixes #2359.
* sql: Remove redundant enumerator allocationTobias Brunner2017-05-261-1/+1
| | | | | | Interestingly, this doesn't show up in the regression tests because the compiler removes the first assignment (and thus the allocation) due to -O2 that's included in our default CFLAGS.
* Migrate all enumerators to venumerate() interface changeTobias Brunner2017-05-262-43/+63
|
* child-cfg: Use flags for boolean optionsTobias Brunner2017-05-231-2/+2
| | | | Makes it potentially easier to add new flags.
* peer-cfg: Store mediated_by as name and not peer-cfg referenceTobias Brunner2017-02-161-3/+7
| | | | | | | | | This way updates to the mediation config are respected and the order in which configs are configured/loaded does not matter. The SQL plugin currently maintains the strong relationship between mediated and mediation connection (we could theoretically change that to a string too).
* peer-cfg: Use struct to pass data to constructorTobias Brunner2016-04-091-6/+24
|
* child-cfg: Use struct to pass data to constructorTobias Brunner2016-04-091-5/+15
|
* Use standard unsigned integer typesAndreas Steffen2016-03-241-1/+1
|
* libhydra: Remove empty unused libraryTobias Brunner2016-03-031-1/+0
|
* sql: Also do a reversed ID matchTobias Brunner2015-08-171-2/+9
| | | | | | | This is required for the case where IDr is not sent (i.e. is %any). The backend manager does the same. Fixes #1044.
* sql: Fix memory leak in SQL loggerTobias Brunner2015-07-281-0/+1
|
* plugins: Don't link with -rdynamic on WindowsMartin Willi2014-06-041-1/+1
|
* ike: Add an additional but separate AEAD proposal to CHILD configMartin Willi2014-05-161-0/+1
| | | | | | | This currently has no effect: We don't include AEAD algorithms in the default ESP proposal, as we don't know if it is supported by the backend. But as we hopefully get an algorithm query mechanism on kernel interfaces some day, we add the appropriate functionality nonetheless.
* ike: Add an additional but separate AEAD proposal to IKE config, if supportedMartin Willi2014-05-161-0/+1
|
* libcharon: Use lib->ns instead of charon->nameTobias Brunner2014-02-122-2/+2
|
* pool: Install SQL schemas from src/poolTobias Brunner2014-02-123-567/+0
| | | | | This allows us to install the schemas if either the attr-sql or sql plugin is enabled, since both use the same schema (at least in parts).
* sql: Set default values for some fields in addresses tableTobias Brunner2014-02-122-6/+6
|
* sql: Install SQL schemas in /usr/share/strongswan/templates/databaseTobias Brunner2014-02-121-0/+3
|
* sql: Remove unused cred.sql snippetTobias Brunner2014-02-121-24/+0
|
* sql: Don't use MyISAM engine and set collation/charset for all tablesTobias Brunner2013-10-111-26/+25
| | | | The MyISAM engine doesn't support transactions.
* ike: support multiple addresses, ranges and subnets in IKE address configMartin Willi2013-09-041-4/+2
| | | | | | | Replace the allowany semantic by a more powerful subnet and IP range matching. Multiple addresses, DNS names, subnets and ranges can be specified in a comma separated list. Initiators ignore the ranges/subnets, responders match configurations against all addresses, ranges and subnets.
* peer-cfg: add a pull/push mode option to use with mode configMartin Willi2013-09-041-1/+1
|
* automake: replace INCLUDES by AM_CPPFLAGSMartin Willi2013-07-181-2/+6
| | | | | | 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.
* sql: Use plugin features with dependency to database backendTobias Brunner2013-06-111-33/+62
|
* Add a DSCP configuration value to IKE configsMartin Willi2013-02-061-2/+1
|
* Added an option that allows to force IKEv1 fragmentationTobias Brunner2013-01-121-1/+2
|
* Use a connection specific option to en-/disable IKEv1 fragmentationTobias Brunner2012-12-241-1/+1
|
* 'signal' is a keyword in MySQL 5.5Tobias Brunner2012-11-071-1/+2
| | | | Fixes #251.
* Remove version argument on peer_cfg constructor, use ike_cfg version insteadMartin Willi2012-10-241-1/+1
|
* Add IKE version information to ike_cfg_tMartin Willi2012-10-241-2/+3
|
* Handle comma separated pools as multiple pool names in SQL pluginMartin Willi2012-08-301-1/+9
|
* Support multiple address pools configured on a peer_cfgMartin Willi2012-08-301-1/+5
|
* Support multiple virtual IPs on peer_cfg and ike_sa classesMartin Willi2012-08-301-1/+5
|
* Replaced usages of CHARON_*_PORT with calls to get_port().Tobias Brunner2012-08-081-1/+1
|
* Make the UDP ports charon listens for packets on (and uses as source ports) ↵Tobias Brunner2012-08-081-1/+1
| | | | configurable.
* Don't modify the message string passed to logger, as it gets reusedMartin Willi2012-07-131-1/+1
|
* implemented the right|leftallowany featureAndreas Steffen2012-06-081-1/+2
|
* make IKEv1 DPD timeout configurable in charonAndreas Steffen2012-05-171-1/+1
|
* Use name from initialization to access settings in libcharon.Tobias Brunner2012-05-032-2/+3
| | | | Also fixes several whitespace errors.
* Loggers specify what log messages they want to receive during registration.Tobias Brunner2012-05-021-6/+11
| | | | | | | This also allows us to generate the log message only once for all loggers that need it (avoids calls to custom printf specifier callbacks). To update the log levels loggers can simply be registered again.
* Use a separate interface for loggers.Tobias Brunner2012-05-023-14/+14
| | | | | | | | The new interface does not allow loggers to unregister themselves from the bus. This allows us to use a rwlock_t for them. The latter also means that loggers can now be called concurrently by multiple threads.
* Added an aggressive mode peer_cfg optionMartin Willi2012-03-201-1/+1
|
* Use enum to define IKE version on peer_cfg_t.Tobias Brunner2012-03-201-1/+1
| | | | Replaced all those magic numbers.
* Syntax error in sqlite.sql fixed.Tobias Brunner2011-11-041-1/+1
|
* Migrated sql_logger_t to INIT/METHOD macros.Tobias Brunner2011-10-041-20/+18
|
* Fixed syntax in MySQL script.Tobias Brunner2011-08-081-2/+3
|
* 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-0/+7
| | | | over plugin_t
* Added a TFC padding option to child_cfgMartin Willi2010-12-201-1/+1
|
* stupid typoAndreas Steffen2010-12-051-1/+1
|