Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bus: Add a handle_vips() hook invoked after handling configuration attributes | Martin Willi | 2014-06-17 | 1 | -0/+1 |
| | | | | | | | | | Similar to assign_vips() used by a peer assigning virtual IPs to the other peer, the handle_vips() hook gets invoked on a peers after receiving attributes. On release of the same attributes the hook gets invoked again. This is useful to inspect handled attributes, as the ike_updown() hook is invoked after authentication, when attributes have not been handled yet. | ||||
* | ike: Create an enumerator for (un-)handled configuration attributes on IKE_SA | Martin Willi | 2014-06-16 | 1 | -0/+21 |
| | |||||
* | ike: Store unhandled attributes on IKE_SA as well | Martin Willi | 2014-06-16 | 1 | -2/+5 |
| | |||||
* | ikev2: Apply extensions and conditions before starting rekeying | Martin Willi | 2014-04-17 | 1 | -0/+6 |
| | | | | | | The extensions and conditions apply to the rekeyed IKE_SA as well, so we should migrate them. Especially when using algorithms from private space, we need EXT_STRONGSWAN to properly select these algorithms during IKE rekeying. | ||||
* | ikev2: Add inherit_pre() to apply config and hosts before IKE_SA rekeying | Martin Willi | 2014-04-17 | 1 | -2/+14 |
| | |||||
* | libcharon: Use lib->ns instead of charon->name | Tobias Brunner | 2014-02-12 | 1 | -3/+3 |
| | |||||
* | ike: Simplify error handling if name resolution failed | Tobias Brunner | 2014-01-23 | 1 | -16/+3 |
| | | | | | | | This avoids a second name resolution attempt just to determine if %any etc. was configured. Fixes #440. | ||||
* | ike: Use proper hostname(s) when name resolution failed | Tobias Brunner | 2014-01-23 | 1 | -1/+1 |
| | | | | | | Was wrong since 0edce687675df8f10f4026fa12a8fc3b3dd003f5. Fixes #440. | ||||
* | ike_sa: Defer task manager destruction after child destruction | Thomas Egerer | 2014-01-16 | 1 | -1/+5 |
| | | | | | | | | | | This patch exports the task manager's flush to allow flushing of all queues with one function call from ike_sa->destroy. It allows the access of intact children during task destructoin (see git-commit e44ebdcf) and allows the access of the task manager in child_state_change hook. Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com> | ||||
* | ike: Don't immediately DPD after deferred DELETEs following IKE_SA rekeying | Martin Willi | 2013-11-01 | 1 | -0/+8 |
| | | | | | | | Some peers seem to defer DELETEs a few seconds after rekeying the IKE_SA, which is perfectly valid. For short(er) DPD delays, this leads to the situation where we send a DPD request during set_state(), but the IKE_SA has no hosts set yet. Avoid that DPD by resetting the INBOUND timestamp during set_state(). | ||||
* | ike-sa: Resolve hosts before reestablishing an IKE_SA | Tobias Brunner | 2013-09-23 | 1 | -0/+2 |
| | |||||
* | ike-cfg: remove the to be obsoleted allow any parameter in get_my/other_addr | Martin Willi | 2013-09-04 | 1 | -1/+1 |
| | |||||
* | ike-sa: use ike_cfg resolver functions | Martin Willi | 2013-09-04 | 1 | -16/+12 |
| | |||||
* | ike: Fix reestablishing SAs if no child-creating tasks are queued | Tobias Brunner | 2013-07-18 | 1 | -2/+5 |
| | |||||
* | ike-sa: uninstall CHILD_SAs before removing virtual IPs | Martin Willi | 2013-07-18 | 1 | -1/+8 |
| | | | | | | a3854d83 changed cleanup order. But we should remove CHILD_SAs first, as routes for CHILD_SAs might get deleted while removing virtual IPs, resulting in an error when a CHILD_SA tries to uninstall its route. | ||||
* | ike: Migrate queued CHILD_SA-creating tasks when reestablishing an IKE_SA | Tobias Brunner | 2013-07-17 | 1 | -1/+39 |
| | |||||
* | ike-sa: use arrays instead of linked lists in long lived collections | Martin Willi | 2013-07-17 | 1 | -116/+98 |
| | | | | This saves about 1.5KB of memory per IKE_SA. | ||||
* | ike: Resolve hosts only for address families currently supported | Tobias Brunner | 2013-07-05 | 1 | -3/+16 |
| | |||||
* | Reuse reqid when restarting CHILD_SAs for dpd|closeaction=restart | Tobias Brunner | 2013-07-01 | 1 | -1/+2 |
| | |||||
* | Reuse reqid for trap policies installed for dpd|closeaction=hold | Tobias Brunner | 2013-07-01 | 1 | -1/+2 |
| | |||||
* | Use ref_get() to make sure IKE_SA unique IDs are unique | Martin Willi | 2013-06-11 | 1 | -2/+2 |
| | |||||
* | Don't unset IKE_SA on bus before we released virtual IPs and attributes | Martin Willi | 2013-05-06 | 1 | -10/+8 |
| | |||||
* | emit a single assig_vips bus message for all VIPs | Andreas Steffen | 2013-04-06 | 1 | -6/+8 |
| | |||||
* | ifmap plugin subscribes to assing_vip bus signal | Andreas Steffen | 2013-04-06 | 1 | -0/+6 |
| | |||||
* | Raise an alert if an IKE_SA could not have been reauthenticated and expires | Martin Willi | 2013-03-14 | 1 | -0/+4 |
| | |||||
* | child_sa_t.get_usestats() can additionally return the number of processed ↵ | Martin Willi | 2013-03-14 | 1 | -1/+1 |
| | | | | packets | ||||
* | Without MOBIKE, update remote host only if it is behind NAT | Martin Willi | 2013-03-01 | 1 | -2/+3 |
| | |||||
* | Move initial message dropping to task manager | Martin Willi | 2013-02-25 | 1 | -18/+0 |
| | | | | | | | When the last request message of the initial tunnel setup is retransmitted, we must retransmit the response instead of ignoring the request. Fixes #295. | ||||
* | Set configured DSCP value while generating IKE packets | Martin Willi | 2013-02-06 | 1 | -1/+26 |
| | |||||
* | Allow ID_PROT/AGGRESSIVE messages for established IKE_SAs if they contain ↵ | Tobias Brunner | 2012-12-24 | 1 | -1/+2 |
| | | | | | | | fragments Other implementations send fragments always in an initial message type even for transaction or quick mode exchanges. | ||||
* | Inherit virtual IP and attributes from old to new, not from new to old | Martin Willi | 2012-12-10 | 1 | -5/+5 |
| | |||||
* | Don't wait while removing external IPs used for load testing | Martin Willi | 2012-11-29 | 1 | -2/+3 |
| | |||||
* | Install virtual IPs via interface name, and use an interface lookup where ↵ | Martin Willi | 2012-11-29 | 1 | -5/+16 |
| | | | | required | ||||
* | Add an optional kernel-interface parameter to install IPs with a custom prefix | Martin Willi | 2012-11-29 | 1 | -4/+4 |
| | |||||
* | Moved data structures to new collections subfolder | Tobias Brunner | 2012-10-24 | 1 | -1/+1 |
| | |||||
* | Added a new alert that is raised if peer does not respond to initial IKE message | Tobias Brunner | 2012-10-16 | 1 | -0/+2 |
| | |||||
* | IKE_AUTH_LIFETIME task is not defined if IKEv2 is disabled | Tobias Brunner | 2012-09-25 | 1 | -1/+4 |
| | | | | Fixes #229. | ||||
* | Pass full pool list to release_address | Martin Willi | 2012-09-11 | 1 | -13/+8 |
| | |||||
* | Only initiate an exchange from send_dpd() if a task was actually queued | Tobias Brunner | 2012-09-07 | 1 | -2/+8 |
| | | | | | Otherwise, the initiator would prematurely initiate Quick Mode if it has DPD enabled and XAuth is used. | ||||
* | Trigger ike_updown event caused by retransmits only after reestablish() has ↵ | Tobias Brunner | 2012-09-06 | 1 | -0/+4 |
| | | | | | | | | been called This allows listeners to migrate to the new IKE_SA with the ike_reestablish event without having to worry about an ike_updown event for the old IKE_SA. | ||||
* | Add ike_reestablish() event that is triggered when an IKE_SA is reestablished | Tobias Brunner | 2012-09-06 | 1 | -0/+1 |
| | | | | | This is particularly useful during reauthentication to get the new IKE_SA. | ||||
* | Add a new condition to mark IKE_SAs that are currently being reauthenticated | Tobias Brunner | 2012-09-06 | 1 | -9/+4 |
| | |||||
* | Clear virtual IPs before storing assigned ones on the IKE_SA | Tobias Brunner | 2012-09-05 | 1 | -0/+18 |
| | | | | | Otherwise we'll end up with duplicate or invalid VIPs stored on the IKE_SA. | ||||
* | Support multiple address pools configured on a peer_cfg | Martin Willi | 2012-08-30 | 1 | -4/+14 |
| | |||||
* | Support multiple virtual IPs on peer_cfg and ike_sa classes | Martin Willi | 2012-08-30 | 1 | -45/+39 |
| | |||||
* | Increase log verbosity when sending NAT keep-alives | Tobias Brunner | 2012-08-08 | 1 | -1/+1 |
| | |||||
* | Replaced usages of CHARON_*_PORT with calls to get_port(). | Tobias Brunner | 2012-08-08 | 1 | -4/+7 |
| | |||||
* | Use send_no_marker to send NAT keepalives. | Tobias Brunner | 2012-08-08 | 1 | -1/+1 |
| | |||||
* | Make the UDP ports charon listens for packets on (and uses as source ports) ↵ | Tobias Brunner | 2012-08-08 | 1 | -4/+4 |
| | | | | configurable. | ||||
* | Block XAuth transaction on established IKE_SAs, but allow Mode Config | Martin Willi | 2012-08-03 | 1 | -1/+0 |
| |