aboutsummaryrefslogtreecommitdiffstats
path: root/src/libhydra/plugins/attr/attr_provider.c
Commit message (Collapse)AuthorAgeFilesLines
* attr: Don't shift the 32-bit netmask by 32Tobias Brunner2014-04-091-3/+6
| | | | | | | | | | This is undefined behavior as per the C99 standard (sentence 1185): "If the value of the right operand is negative or is greater or equal to the width of the promoted left operand, the behavior is undefined." Apparently shifts may be done modulo the width on some platforms so a shift by 32 would not shift at all.
* attr: Silently skip over load optionTobias Brunner2014-02-121-0/+4
|
* libhydra: Use lib->ns instead of hydra->daemonTobias Brunner2014-02-121-2/+2
|
* attr: Fix handling of invalid IPs listed after valid onesTobias Brunner2013-06-051-1/+1
| | | | | Invalid IPs listed after a valid one resulted in an attribute of the same type but with invalid data.
* attr: fix a compiler warning that family is used uninitialized (seen with -Os)Martin Willi2013-06-051-2/+13
|
* Load arbitrary (non-host) attributes from strongswan.confTobias Brunner2013-03-191-21/+32
| | | | This allows to e.g. load Cisco-specific attributes that contain FQDNs.
* Moved debug.[ch] to utils folderTobias Brunner2012-10-241-1/+1
|
* Moved data structures to new collections subfolderTobias Brunner2012-10-241-1/+1
|
* Use the proper types for comma separated attributes read from strongswan.confTobias Brunner2012-09-101-27/+25
| | | | | | Attributes of different address families previously were mapped to the same attribute type (the one derived from the address family of the first address).
* Pass all configured pool names to attribute provider enumeratorMartin Willi2012-08-301-1/+1
|
* Pass a list instead of a single virtual IP to attribute enumeratorsMartin Willi2012-08-301-2/+2
|
* Support Unity split-include/exclude options in attr pluginMartin Willi2012-07-201-7/+9
|
* Revert alloc_str changesMartin Willi2011-04-211-3/+2
| | | | | | This reverts commit fdead26ffe1da8501a6ff5e0639a6f44c723e763. This reverts commit 3e2419ebe32de72d824864eb2e0e677a7c197af1. This reverts commit 17ce69b47a1efd6234960cf7d1f50712aee61db5.
* Use thread save settings alloc_str function where appropriateMartin Willi2011-04-211-2/+3
|
* Add reload support to attr pluginMartin Willi2011-04-151-18/+51
|
* Migrated attr plugin to INIT/METHOD macrosMartin Willi2011-04-151-17/+16
|
* Added support for named attribute groupsHeiko Hund2010-07-091-2/+2
| | | | | | 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.
* Support the subnet attribute in the attr pluginMartin Willi2010-06-241-2/+30
|
* Replaced some DBG_LIB with more specific groups.Tobias Brunner2010-04-061-2/+2
|
* Adding DBG_LIB to all calls of libstrongswan's version of DBG*.Tobias Brunner2010-04-061-2/+2
|
* Use daemon-specific config for the attr plugin.Tobias Brunner2010-04-061-5/+9
|
* Moved attr plugin from libcharon to libhydra.Tobias Brunner2010-04-061-0/+236