strongswan.git
10 years agoFixed common misspellings.
Tobias Brunner [Wed, 20 Jul 2011 13:57:53 +0000 (15:57 +0200)]
Fixed common misspellings.

Mostly found by 'codespell'.

10 years agoRemoved old ikev2bis draft.
Tobias Brunner [Wed, 20 Jul 2011 13:57:29 +0000 (15:57 +0200)]
Removed old ikev2bis draft.

10 years agoAdded missing load-tester options to man page.
Tobias Brunner [Mon, 18 Jul 2011 17:01:18 +0000 (19:01 +0200)]
Added missing load-tester options to man page.

10 years agoCount running load-tester threads properly.
Tobias Brunner [Mon, 18 Jul 2011 16:45:13 +0000 (18:45 +0200)]
Count running load-tester threads properly.

10 years agoFix load-tester.shutdown_when_complete option.
Tobias Brunner [Mon, 18 Jul 2011 16:42:47 +0000 (18:42 +0200)]
Fix load-tester.shutdown_when_complete option.

It didn't work when used together with delete_after_established=yes.

10 years agoFix listener registration in load-tester plugin.
Tobias Brunner [Mon, 18 Jul 2011 16:42:21 +0000 (18:42 +0200)]
Fix listener registration in load-tester plugin.

This fixes the load-tester.shutdown_when_complete option.

10 years agoremoved stray code
Andreas Steffen [Mon, 18 Jul 2011 08:22:29 +0000 (10:22 +0200)]
removed stray code

10 years agoadded libimcv.plugins.imv_scanner options to strongswan.conf
Andreas Steffen [Sun, 17 Jul 2011 09:07:30 +0000 (11:07 +0200)]
added libimcv.plugins.imv_scanner options to strongswan.conf

10 years agoadded ikev2/net2net-esn scenario
Andreas Steffen [Sat, 16 Jul 2011 12:12:23 +0000 (14:12 +0200)]
added ikev2/net2net-esn scenario

10 years agoadded log and status output for ESN
Andreas Steffen [Sat, 16 Jul 2011 09:09:38 +0000 (11:09 +0200)]
added log and status output for ESN

10 years agoadded IKEv2 exchange type IKE_SESSION_RESUME from RFC 5723
Andreas Steffen [Fri, 15 Jul 2011 05:48:36 +0000 (07:48 +0200)]
added IKEv2 exchange type IKE_SESSION_RESUME from RFC 5723

10 years agoversion bump to 4.5.3rc1
Andreas Steffen [Thu, 14 Jul 2011 21:27:07 +0000 (23:27 +0200)]
version bump to 4.5.3rc1

10 years agoalice is now master in the ha/both-active scenario
Andreas Steffen [Thu, 14 Jul 2011 15:31:47 +0000 (17:31 +0200)]
alice is now master in the ha/both-active scenario

10 years agoshort form changed
Andreas Steffen [Thu, 14 Jul 2011 14:49:41 +0000 (16:49 +0200)]
short form changed

10 years agoFix parentheses in write() to CLUSTERIP control files
Martin Willi [Thu, 14 Jul 2011 13:56:10 +0000 (15:56 +0200)]
Fix parentheses in write() to CLUSTERIP control files

10 years agoshunt manager installs policies with %any hosts
Andreas Steffen [Thu, 14 Jul 2011 11:51:36 +0000 (13:51 +0200)]
shunt manager installs policies with %any hosts

10 years agoadded HOME_AGENT_ADDRESS CP attribute type
Andreas Steffen [Thu, 14 Jul 2011 09:05:13 +0000 (11:05 +0200)]
added HOME_AGENT_ADDRESS CP attribute type

10 years agofixed typo
Andreas Steffen [Thu, 14 Jul 2011 08:53:37 +0000 (10:53 +0200)]
fixed typo

10 years agoupdated IANA IKEv2 Notify Message Types
Andreas Steffen [Thu, 14 Jul 2011 08:51:24 +0000 (10:51 +0200)]
updated IANA IKEv2 Notify Message Types

10 years agoNEWS for the 4.5.3dr8 release
Andreas Steffen [Thu, 14 Jul 2011 07:25:36 +0000 (09:25 +0200)]
NEWS for the 4.5.3dr8 release

10 years agocheck if violating_ports have been assigned
Andreas Steffen [Wed, 13 Jul 2011 21:05:22 +0000 (23:05 +0200)]
check if violating_ports have been assigned

10 years agosupport of error_offset in PA-TNC INVALID PARAMETER error messages
Andreas Steffen [Wed, 13 Jul 2011 20:18:32 +0000 (22:18 +0200)]
support of error_offset in PA-TNC INVALID PARAMETER error messages

10 years agoadd relative PB-TNC message offset
Andreas Steffen [Wed, 13 Jul 2011 16:59:35 +0000 (18:59 +0200)]
add relative PB-TNC message offset

10 years agoreturn offset value
Andreas Steffen [Wed, 13 Jul 2011 16:58:58 +0000 (18:58 +0200)]
return offset value

10 years agoadd PID/Program Name to netstat output
Andreas Steffen [Thu, 7 Jul 2011 07:22:27 +0000 (09:22 +0200)]
add PID/Program Name to netstat output

10 years agoadapted tnc scenarios to new imcvs library path
Andreas Steffen [Wed, 6 Jul 2011 19:55:17 +0000 (21:55 +0200)]
adapted tnc scenarios to new imcvs library path

10 years agoinstall IMC and IMV dynamic libraries in imcvs directory
Andreas Steffen [Wed, 6 Jul 2011 19:53:40 +0000 (21:53 +0200)]
install IMC and IMV dynamic libraries in imcvs directory

10 years agoAdded news about policy history.
Tobias Brunner [Wed, 6 Jul 2011 11:03:45 +0000 (13:03 +0200)]
Added news about policy history.

10 years agoRecord usage history of policies in PF_KEY kernel interface.
Tobias Brunner [Wed, 6 Jul 2011 10:56:34 +0000 (12:56 +0200)]
Record usage history of policies in PF_KEY kernel interface.

The implementation is nearly the same as in the Netlink kernel interface.

10 years agoSimplified destruction of policy_sa_t objects in Netlink interface.
Tobias Brunner [Wed, 6 Jul 2011 10:49:54 +0000 (12:49 +0200)]
Simplified destruction of policy_sa_t objects in Netlink interface.

10 years agoAdapted shunt manager to changed kernel interface (reqid in del_policy).
Tobias Brunner [Wed, 6 Jul 2011 10:48:26 +0000 (12:48 +0200)]
Adapted shunt manager to changed kernel interface (reqid in del_policy).

10 years agoSome code cleanup in Netlink kernel interface.
Tobias Brunner [Fri, 1 Jul 2011 09:58:19 +0000 (11:58 +0200)]
Some code cleanup in Netlink kernel interface.

10 years agoSome code cleanup in PF_KEY kernel interface.
Tobias Brunner [Tue, 28 Jun 2011 09:39:56 +0000 (11:39 +0200)]
Some code cleanup in PF_KEY kernel interface.

10 years agoReduce memory usage of policy history caching.
Tobias Brunner [Mon, 27 Jun 2011 09:00:48 +0000 (11:00 +0200)]
Reduce memory usage of policy history caching.

Only cache data as needed (e.g. traffic selectors only for forward
policies) and at most once for each IPsec SA.

10 years agoUse has_more in decrypt_payloads instead of calling enumerate twice.
Tobias Brunner [Thu, 9 Jun 2011 07:55:44 +0000 (09:55 +0200)]
Use has_more in decrypt_payloads instead of calling enumerate twice.

10 years agoAdded linked_list_t.has_more which checks if any elements follow an enumerator's...
Tobias Brunner [Thu, 9 Jun 2011 07:53:12 +0000 (09:53 +0200)]
Added linked_list_t.has_more which checks if any elements follow an enumerator's current position.

10 years agoMake sure the enumerator stops after all items have been enumerated.
Tobias Brunner [Thu, 9 Jun 2011 07:49:28 +0000 (09:49 +0200)]
Make sure the enumerator stops after all items have been enumerated.

This also changes how insert_before behaves, before enumeration items
are inserted first, after enumeration last.

10 years agoKeep the mutex locked as long as possible when deleting policies.
Tobias Brunner [Wed, 8 Jun 2011 16:27:48 +0000 (18:27 +0200)]
Keep the mutex locked as long as possible when deleting policies.

This change tries to prevent a race condition where a thread tries to
install the same policy another thread is currently deleting. If the
second thread releases the mutex in del_policy too early the first
thread could assume the policy does not exist (as it is not cached
anymore) but would not be able to actually install it if the second
thread was not yet able to delete it.

10 years agoProperly unlock the policy if no change in the kernel is required.
Tobias Brunner [Wed, 8 Jun 2011 11:58:33 +0000 (13:58 +0200)]
Properly unlock the policy if no change in the kernel is required.

10 years agoMake sure access to policy is thread-safe during installation of route.
Tobias Brunner [Tue, 7 Jun 2011 13:21:59 +0000 (15:21 +0200)]
Make sure access to policy is thread-safe during installation of route.

10 years agoLinked list style cleanups
Martin Willi [Tue, 7 Jun 2011 08:16:22 +0000 (08:16 +0000)]
Linked list style cleanups

10 years agoFinally removed deprecated iterator_t.
Tobias Brunner [Thu, 19 May 2011 17:38:46 +0000 (19:38 +0200)]
Finally removed deprecated iterator_t.

10 years agoRemoved unneeded and confusing insert_after method from linked_list_t.
Tobias Brunner [Thu, 19 May 2011 17:26:06 +0000 (19:26 +0200)]
Removed unneeded and confusing insert_after method from linked_list_t.

10 years agoReplaced more complex iterator usages.
Tobias Brunner [Thu, 19 May 2011 16:52:57 +0000 (18:52 +0200)]
Replaced more complex iterator usages.

10 years agoAdded a function to reset the enumerator of a linked list.
Tobias Brunner [Thu, 19 May 2011 16:13:38 +0000 (18:13 +0200)]
Added a function to reset the enumerator of a linked list.

10 years agoReplaced ike_sa_t.create_additional_address_iterator with enumerator.
Tobias Brunner [Thu, 19 May 2011 16:05:53 +0000 (18:05 +0200)]
Replaced ike_sa_t.create_additional_address_iterator with enumerator.

10 years agoReplaced ike_sa_t.create_child_sa_iterator with enumerator.
Tobias Brunner [Thu, 19 May 2011 15:27:32 +0000 (17:27 +0200)]
Replaced ike_sa_t.create_child_sa_iterator with enumerator.

This required two new methods on ike_sa_t. One returns the number of
CHILD_SAs and one allows to remove a CHILD_SA.

10 years agoReplaced pkcs7_t.create_certificate_iterator with enumerator.
Tobias Brunner [Thu, 19 May 2011 14:30:43 +0000 (16:30 +0200)]
Replaced pkcs7_t.create_certificate_iterator with enumerator.

The method is currently not used.

10 years agoReplaced simple iterator usages.
Tobias Brunner [Thu, 19 May 2011 14:18:30 +0000 (16:18 +0200)]
Replaced simple iterator usages.

10 years ago"this" removed from comments.
Tobias Brunner [Thu, 19 May 2011 12:00:49 +0000 (14:00 +0200)]
"this" removed from comments.

10 years agoRecord the history of a policy installed in the kernel.
Tobias Brunner [Fri, 13 May 2011 15:08:11 +0000 (17:08 +0200)]
Record the history of a policy installed in the kernel.

This allows to properly delete a policy e.g. if reauth=yes and
auto=route, because reqids are increased during reauthentication.

It also avoids overriding an installed policy with a trap policy.

10 years agoAdd the reqid to kernel_ipsec_t.del_policy.
Tobias Brunner [Fri, 13 May 2011 10:50:29 +0000 (12:50 +0200)]
Add the reqid to kernel_ipsec_t.del_policy.

10 years agoAdded a replace function to linked_list_t.
Tobias Brunner [Fri, 13 May 2011 09:52:49 +0000 (11:52 +0200)]
Added a replace function to linked_list_t.

10 years agoAdded an insert_after and insert_before function to linked_list_t.
Tobias Brunner [Fri, 13 May 2011 09:51:58 +0000 (11:51 +0200)]
Added an insert_after and insert_before function to linked_list_t.

10 years agoMigrated linked_list_t to INIT/METHOD macros.
Tobias Brunner [Fri, 13 May 2011 08:56:31 +0000 (10:56 +0200)]
Migrated linked_list_t to INIT/METHOD macros.

10 years agoCache the most recent reqid in the PF_KEY kernel interface.
Tobias Brunner [Tue, 10 May 2011 12:00:03 +0000 (14:00 +0200)]
Cache the most recent reqid in the PF_KEY kernel interface.

This makes the PF_KEY kernel interface behave the same as the Netlink
kernel interface.

10 years agocorrected description of shunt-policies scenario
Andreas Steffen [Tue, 5 Jul 2011 20:07:42 +0000 (22:07 +0200)]
corrected description of shunt-policies scenario

10 years agoinstall PASS and DROP shunt policies via PFKEYv2 interface
Andreas Steffen [Tue, 5 Jul 2011 19:57:27 +0000 (21:57 +0200)]
install PASS and DROP shunt policies via PFKEYv2 interface

10 years agoAdded news about library dir change.
Tobias Brunner [Tue, 5 Jul 2011 13:26:50 +0000 (15:26 +0200)]
Added news about library dir change.

10 years agoDon't install the libraries directly in lib/.
Tobias Brunner [Wed, 8 Jun 2011 13:49:15 +0000 (15:49 +0200)]
Don't install the libraries directly in lib/.

Instead use a subdirectory (prefix/lib/ipsec by default). Also moved the
plugins from libexec to a subdirectory of that dir.

10 years agoignore ports of IPv4 and IPv6 loopback interfaces
Andreas Steffen [Tue, 5 Jul 2011 07:16:01 +0000 (09:16 +0200)]
ignore ports of IPv4 and IPv6 loopback interfaces

10 years agofixed UTF-8 representation of polish reason string
Andreas Steffen [Tue, 5 Jul 2011 05:44:46 +0000 (07:44 +0200)]
fixed UTF-8 representation of polish reason string

10 years agoversion bump to 4.5.3dr8
Andreas Steffen [Tue, 5 Jul 2011 05:37:36 +0000 (07:37 +0200)]
version bump to 4.5.3dr8

10 years agodelete orphan file
Andreas Steffen [Mon, 4 Jul 2011 21:02:06 +0000 (23:02 +0200)]
delete orphan file

10 years agostart and stop apache server on dave
Andreas Steffen [Mon, 4 Jul 2011 20:40:46 +0000 (22:40 +0200)]
start and stop apache server on dave

10 years agoadded ITA Scanner IMC/IMV pair to tnccs-11-radius-block scenario
Andreas Steffen [Mon, 4 Jul 2011 20:32:34 +0000 (22:32 +0200)]
added ITA Scanner IMC/IMV pair to tnccs-11-radius-block scenario

10 years agofixed debug statement
Andreas Steffen [Mon, 4 Jul 2011 20:27:46 +0000 (22:27 +0200)]
fixed debug statement

10 years agoadded ITA Scanner IMC/IMV pair to tnccs-20 and tnccs-20-block scenarios
Andreas Steffen [Mon, 4 Jul 2011 19:44:22 +0000 (21:44 +0200)]
added ITA Scanner IMC/IMV pair to tnccs-20 and tnccs-20-block scenarios

10 years agoadded ITA Scanner IMC/IMV pair which detects open server ports on TNC clients
Andreas Steffen [Mon, 4 Jul 2011 19:40:25 +0000 (21:40 +0200)]
added ITA Scanner IMC/IMV pair which detects open server ports on TNC clients

10 years agoadded support if the IETF port filter attribute
Andreas Steffen [Fri, 1 Jul 2011 16:10:33 +0000 (18:10 +0200)]
added support if the IETF port filter attribute

10 years agoagain a bitwise or is required
Andreas Steffen [Thu, 30 Jun 2011 20:26:36 +0000 (22:26 +0200)]
again a bitwise or is required

10 years agoversion bump to 4.5.3dr7
Andreas Steffen [Wed, 29 Jun 2011 14:51:33 +0000 (16:51 +0200)]
version bump to 4.5.3dr7

10 years agofixed sql/shunt-policies scenario
Andreas Steffen [Wed, 29 Jun 2011 06:23:58 +0000 (08:23 +0200)]
fixed sql/shunt-policies scenario

10 years agoimplemented PASS and DROP shunt policies
Andreas Steffen [Tue, 28 Jun 2011 17:42:54 +0000 (19:42 +0200)]
implemented PASS and DROP shunt policies

10 years agoInitialize trap_manager listener with INIT macro, too
Martin Willi [Tue, 28 Jun 2011 15:19:20 +0000 (17:19 +0200)]
Initialize trap_manager listener with INIT macro, too

10 years agoMigrated trap_manager_t to INIT/METHOD macros
Andreas Steffen [Tue, 28 Jun 2011 12:42:29 +0000 (14:42 +0200)]
Migrated trap_manager_t to INIT/METHOD macros

10 years agoversion bump to 4.5.3dr6
Andreas Steffen [Mon, 27 Jun 2011 20:35:20 +0000 (22:35 +0200)]
version bump to 4.5.3dr6

10 years agooops, should have been a bitwise and
Andreas Steffen [Sat, 25 Jun 2011 12:57:49 +0000 (14:57 +0200)]
oops, should have been a bitwise and

10 years agofixed copy-and-paste error
Andreas Steffen [Sat, 25 Jun 2011 12:21:20 +0000 (14:21 +0200)]
fixed copy-and-paste error

10 years agooutput all known PA-TNC subtype names
Andreas Steffen [Fri, 24 Jun 2011 15:31:47 +0000 (17:31 +0200)]
output all known PA-TNC subtype names

10 years agoadded tnc/tnccs-20-server-retry scenario
Andreas Steffen [Thu, 23 Jun 2011 17:59:27 +0000 (19:59 +0200)]
added tnc/tnccs-20-server-retry scenario

10 years agorenamed tncss-20-retry scenario to tnccs-20-client-retry
Andreas Steffen [Thu, 23 Jun 2011 17:59:00 +0000 (19:59 +0200)]
renamed tncss-20-retry scenario to tnccs-20-client-retry

10 years agorefactoring of change_state()
Andreas Steffen [Thu, 23 Jun 2011 17:52:30 +0000 (19:52 +0200)]
refactoring of change_state()

10 years agoimplemented server-initiated handshake retry in IMC/IMV Test pair
Andreas Steffen [Thu, 23 Jun 2011 13:23:53 +0000 (15:23 +0200)]
implemented server-initiated handshake retry in IMC/IMV Test pair

10 years agonotify IMVs about handshake retries
Andreas Steffen [Thu, 23 Jun 2011 13:22:41 +0000 (15:22 +0200)]
notify IMVs about handshake retries

10 years agoversion bump to 4.5.3dr5
Andreas Steffen [Sun, 19 Jun 2011 21:27:43 +0000 (23:27 +0200)]
version bump to 4.5.3dr5

10 years agoadded libimcv options to strongswan.conf
Andreas Steffen [Sat, 18 Jun 2011 12:08:37 +0000 (14:08 +0200)]
added libimcv options to strongswan.conf

10 years agosome cosmetics
Andreas Steffen [Thu, 16 Jun 2011 09:34:52 +0000 (11:34 +0200)]
some cosmetics

10 years agofixed XML parsing of TNCCS 1.1 ReasonString message
Andreas Steffen [Thu, 16 Jun 2011 09:30:38 +0000 (11:30 +0200)]
fixed XML parsing of TNCCS 1.1 ReasonString message

10 years agorestablish the lost links to the TNC@FHH project
Andreas Steffen [Wed, 15 Jun 2011 12:16:58 +0000 (14:16 +0200)]
restablish the lost links to the TNC@FHH project

10 years agofixed some descriptions
Andreas Steffen [Wed, 15 Jun 2011 12:07:16 +0000 (14:07 +0200)]
fixed some descriptions

10 years agoadded the tnc/tnccs-20-retry scenario
Andreas Steffen [Wed, 15 Jun 2011 12:06:48 +0000 (14:06 +0200)]
added the tnc/tnccs-20-retry scenario

10 years agoclear reason strings after delivering them
Andreas Steffen [Wed, 15 Jun 2011 11:53:53 +0000 (13:53 +0200)]
clear reason strings after delivering them

10 years agoimplemented handshake retry on the client side
Andreas Steffen [Wed, 15 Jun 2011 11:09:19 +0000 (13:09 +0200)]
implemented handshake retry on the client side

10 years agoWe actually need to link against libz, as neo libraries are often static
Martin Willi [Wed, 15 Jun 2011 10:23:21 +0000 (12:23 +0200)]
We actually need to link against libz, as neo libraries are often static

This reverts commit 3c0630a797a18ad353167e56feb21476b4553834.

10 years agoSet cookies for the complete domain
Martin Willi [Wed, 15 Jun 2011 10:22:41 +0000 (12:22 +0200)]
Set cookies for the complete domain

10 years agoMigrated libfast to INIT/METHOD macros
Martin Willi [Wed, 15 Jun 2011 09:25:53 +0000 (11:25 +0200)]
Migrated libfast to INIT/METHOD macros

10 years agoadded missing single quotes
Andreas Steffen [Tue, 14 Jun 2011 15:26:54 +0000 (17:26 +0200)]
added missing single quotes

10 years agofixed the IF-TNCCS 1.1 ReasonString XML encoding
Andreas Steffen [Tue, 14 Jun 2011 13:58:03 +0000 (15:58 +0200)]
fixed the IF-TNCCS 1.1 ReasonString XML encoding

10 years agosend a reason string only if action recommendation is not allow
Andreas Steffen [Tue, 14 Jun 2011 13:45:34 +0000 (15:45 +0200)]
send a reason string only if action recommendation is not allow