Commit Graph
48 Commits
Author SHA1 Message Date
Tobias Brunner f05b427265 Moved debug.[ch] to utils folder 2012-10-24 16:00:51 +02:00
Tobias Brunner 2e7cc07ecd Moved host_t and host_resolver_t to a new networking subfolder 2012-10-24 15:06:18 +02:00
Tobias Brunner a05f3b2021 Make sure first argument is an int when using %.*s to print e.g. chunks 2012-09-28 18:01:49 +02:00
Martin Willi 28a3d5bfbd Pass full pool list to release_address 2012-09-11 16:18:28 +02:00
Martin Willi 594c58e111 Pass the full list of pools to acquire_address, enumerate in providers
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.
2012-09-11 16:18:28 +02:00
Martin Willi 13f11ccf46 Don't parse comma separated pool names in attr-sql
We now handle multiple pools at a deeper level, making that special
handling obsolete. Comma separated pools are parsed in stroke.
2012-08-30 16:43:44 +02:00
Martin Willi d55fe264d1 Pass all configured pool names to attribute provider enumerator 2012-08-30 16:43:43 +02:00
Martin Willi feb8550401 Pass a list instead of a single virtual IP to attribute enumerators 2012-08-30 16:43:42 +02:00
Tobias Brunner 35a1986142 Fixed additional typos in comments and log messages. 2012-01-12 11:42:42 +01:00
Tobias Brunner 866858527d Fix 'ipsec pool --status' for empty pools. 2011-11-04 15:07:54 +01:00
Andreas Steffen 784ce91d8b Migrated sql_attribute to INIT/METHOD macros 2011-09-29 23:35:32 +02:00
Tobias Brunner 7b12521679 Removed superfluous parameter missed in e5e5bcc92f. 2011-05-02 17:13:14 +02:00
Martin Willi 4778655726 Cast size_t len arguments to %.*s to int 2011-04-20 13:08:32 +02:00
Tobias Brunner 00b9f755f8 pool: Proper cleanup in error cases when adding addresses from a file. 2011-04-19 13:48:50 +02:00
Tobias Brunner e5143952f0 pool: Proper handling of address family when adding addresses. 2011-04-19 13:48:50 +02:00
Tobias Brunner 119fc2d3d7 Added missing break statement. 2011-04-19 13:48:50 +02:00
Martin Willi c55818ebb0 Added a (not yet implemented) plugin_t method to reload plugin configuration 2011-04-15 10:07:13 +02:00
Martin Willi 787b5884aa Added a get_name() function to plugin_t, create_plugin_enumerator enumerates over plugin_t 2011-04-15 10:07:12 +02:00
Tobias Brunner e5e5bcc92f Removed superfluous parameter to printf. 2011-04-14 18:11:46 +02:00
Andreas Steffen 5b2547c7a7 commas, commas, .. 2010-11-25 23:25:01 +01:00
Andreas Steffen bd801f1b97 Migrated attr_sql_plugin_t to INIT/METHOD macros 2010-11-25 22:49:44 +01:00
Martin Willi 8f01815143 Build dedicated plugin lists for each strongSwan component 2010-08-12 14:46:57 +02:00
Andreas Steffen c1918dc28f we need some ordering 2010-07-12 22:44:27 +02:00
Andreas Steffen c13a4b4030 changed ordering of statusattr output 2010-07-12 22:38:18 +02:00
Andreas Steffen 1cecc6a6ef fixed alignment of caption 2010-07-12 20:48:14 +02:00
Andreas Steffen cb0a9d58a3 output identities correctly 2010-07-12 20:28:34 +02:00
Heiko Hund ec7adea007 Added support for named attribute groups
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.
2010-07-09 13:09:31 +02:00
Heiko Hund 341372d525 Don't fail with an error if an attribute that is to be deleted does not exist 2010-06-18 05:01:06 +02:00
Andreas Steffen c77f4b305e fixed configuration attribute type determination 2010-06-02 11:52:17 +02:00
Andreas Steffen 616b13c7a5 ipsec pool --statusattr [--hexout] outputs attribute values in correct format if known 2010-06-01 16:47:56 +02:00
Andreas Steffen 185d8b7335 added unity_def_domain keyword tip ipsec pool 2010-05-31 16:47:06 +02:00
Andreas Steffen d9c751daac added --leases command line option to synopsis 2010-05-29 13:29:23 +02:00
Andreas Steffen 751379e5e8 added --showattr command line option to synopsys 2010-05-29 13:23:20 +02:00
Andreas Steffen e2bd6b616e several subnets can be concatenated 2010-05-22 22:53:24 +02:00
Andreas Steffen 2111dc1b84 added --showattr command to usage() 2010-05-22 10:46:15 +02:00
Andreas Steffen 3e3059ba7c oops, removed stray parenthesis 2010-05-20 17:39:10 +02:00
Andreas Steffen 36c1650b19 range check for configuration attribute types 2010-05-20 17:35:10 +02:00
Andreas Steffen c2d10df6e7 implement ipsec pool -showattr function 2010-05-20 17:24:43 +02:00
Andreas Steffen 05f1096cd8 removed deprecated use of ipsec pool --attr|del dns|nbns from usage() 2010-05-20 16:30:15 +02:00
Andreas Steffen ad6dbc41e5 management of any attribute by ipsec pool 2010-05-19 21:51:21 +02:00
Tobias Brunner 257e27df07 Fixing out-of-tree build after adding dependency to config.status. 2010-04-29 13:29:53 +02:00
Martin Willi b0e789035c Users of PLUGINS depend on config.status, rebuilding them if plugin configuration is updated 2010-04-29 11:28:27 +02:00
Tobias Brunner 894936ce9e Replaced some DBG_LIB with more specific groups. 2010-04-06 12:47:40 +02:00
Tobias Brunner 8b0e09103b Adding DBG_LIB to all calls of libstrongswan's version of DBG*. 2010-04-06 12:47:40 +02:00
Tobias Brunner 58f86d0f0f Changed all usages of lib->attributes to hydra->attributes. 2010-03-24 18:54:26 +01:00
Tobias Brunner 83218f0d65 Fixing Doxygen for libhydra. 2010-03-24 18:53:10 +01:00
Tobias Brunner bde5163ae0 Moving attr-sql config in strongswan.conf to libhydra. 2010-03-24 18:53:09 +01:00
Tobias Brunner 75dc019252 Moving attr-sql plugin from libstrongswan to libhydra. 2010-03-24 18:53:09 +01:00