Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed some typos, courtesy of codespell | Tobias Brunner | 2017-11-15 | 1 | -1/+1 |
| | |||||
* | ike: Reset local SPI if retrying to connect in state IKE_CONNECTING | Tobias Brunner | 2017-09-04 | 1 | -3/+5 |
| | | | | | | | | | | | | | | In case we send retransmits for an IKE_SA_INIT where we propose a DH group the responder will reject we might later receive delayed responses that either contain INVALID_KE_PAYLOAD notifies with the group we already use or, if we retransmitted an IKE_SA_INIT with the requested group but then had to restart again, a KE payload with a group different from the one we proposed. So far we didn't change the initiator SPI when restarting the connection, i.e. these delayed responses were processed and might have caused fatal errors due to a failed DH negotiation or because of the internal retry counter in the ike-init task. Changing the initiator SPI avoids that as we won't process the delayed responses anymore that caused this confusion. | ||||
* | ikev2: Negotiate support for IKE message ID synchronisation during IKE_AUTH | Tobias Brunner | 2017-02-08 | 1 | -0/+5 |
| | |||||
* | ike: Publish getter for the current message ID on IKE_SA | Tobias Brunner | 2017-02-08 | 1 | -1/+12 |
| | |||||
* | ikev2: Add possibility to delay initiation of a queued task | Tobias Brunner | 2016-06-17 | 1 | -2/+11 |
| | | | | | | | | | | | Such a task is not initiated unless a certain time has passed. This allows delaying certain tasks but avoids problems if we'd do this via a scheduled job (e.g. if the IKE_SA is rekeyed in the meantime). If the IKE_SA is rekeyed the delay of such tasks is reset when the tasks are adopted i.e. they get executed immediately on the new IKE_SA. This hasn't been implemented for IKEv1 yet. | ||||
* | ike: Reduce RETRY_INTERVAL a bit | Tobias Brunner | 2016-06-17 | 1 | -2/+2 |
| | | | | Retry exchanges between 5 and 15 seconds after a temporary failure. | ||||
* | ikev2: Add a new state to track rekeyed IKE_SAs | Tobias Brunner | 2016-06-17 | 1 | -0/+5 |
| | | | | | | | | | This makes handling such IKE_SAs more specifically compared to keeping them in state IKE_CONNECTING or IKE_ESTABLISHED (which we did when we lost a collision - even triggering the ike_updown event), or using IKE_REKEYING for them, which would also be ambiguous. For instance, we can now reject anything but DELETES for such SAs. | ||||
* | Use standard unsigned integer types | Andreas Steffen | 2016-03-24 | 1 | -13/+13 |
| | |||||
* | ike-sa: Add condition to suspend online certificate revocation checks for an ↵ | Tobias Brunner | 2016-03-10 | 1 | -0/+5 |
| | | | | IKE_SA | ||||
* | ike-sa: Add method to verify certificates in completed authentication rounds | Tobias Brunner | 2016-03-10 | 1 | -0/+8 |
| | |||||
* | ike-sa: Add limit for the number of redirects within a defined time period | Tobias Brunner | 2016-03-04 | 1 | -0/+10 |
| | |||||
* | ike-sa: Add redirect() method to actively redirect an IKE_SA | Tobias Brunner | 2016-03-04 | 1 | -0/+9 |
| | |||||
* | ike-sa: Add a condition to mark redirected IKE_SAs | Tobias Brunner | 2016-03-04 | 1 | -0/+5 |
| | |||||
* | ike-sa: Keep track of the address of the gateway that redirected us | Tobias Brunner | 2016-03-04 | 1 | -0/+7 |
| | |||||
* | ikev2: Handle REDIRECT notifies during IKE_SA_INIT | Tobias Brunner | 2016-03-04 | 1 | -0/+10 |
| | |||||
* | ike-sa: Add new extension for IKEv2 redirection (RFC 5685) | Tobias Brunner | 2016-03-04 | 1 | -1/+6 |
| | |||||
* | ike: Keep track of send keepalive jobs to avoid scheduling more than one per ↵ | Tobias Brunner | 2016-03-03 | 1 | -1/+3 |
| | | | | IKE_SA | ||||
* | ikev2: Enable signature authentication by transmitting supported hash algorithms | Tobias Brunner | 2015-03-04 | 1 | -0/+5 |
| | |||||
* | ikev2: Trigger make-before-break reauthentication instead of reauth task | Martin Willi | 2015-02-20 | 1 | -2/+3 |
| | |||||
* | ikev1: Add fragmentation support for Windows peers | Volker Rümelin | 2014-10-10 | 1 | -1/+1 |
| | | | | | | | | I still think ipsec/l2tp with fragmentation support is a useful fallback option in case the Windows IKEv2 connection fails because of fragmentation problems. Tested with Windows XP, 7 and 8.1. | ||||
* | ikev2: Negotiate support for IKEv2 fragmentation | Tobias Brunner | 2014-10-10 | 1 | -1/+1 |
| | |||||
* | ike: Move fragmentation to ike_sa_t | Tobias Brunner | 2014-10-10 | 1 | -6/+24 |
| | | | | | | | | | The message() hook on bus_t is now called exactly once before (plain) and once after fragmenting (!plain), not twice for the complete message and again for each individual fragment, as was the case in earlier iterations. For inbound messages the hook is called once for each fragment (!plain) and twice for the reassembled message. | ||||
* | ike: Create an enumerator for (un-)handled configuration attributes on IKE_SA | Martin Willi | 2014-06-16 | 1 | -0/+11 |
| | |||||
* | ike: Store unhandled attributes on IKE_SA as well | Martin Willi | 2014-06-16 | 1 | -0/+3 |
| | |||||
* | ikev2: Add inherit_pre() to apply config and hosts before IKE_SA rekeying | Martin Willi | 2014-04-17 | 1 | -1/+11 |
| | |||||
* | Fix various API doc issues and typos | Tobias Brunner | 2013-07-18 | 1 | -7/+5 |
| | | | | Partially based on an old patch by Adrian-Ken Rueegsegger. | ||||
* | Fix IKE SA inherit API doc | Adrian-Ken Rueegsegger | 2013-01-22 | 1 | -2/+1 |
| | |||||
* | Detect a peer's support for IKE fragmentation | Tobias Brunner | 2012-12-24 | 1 | -0/+5 |
| | | | | Fragments are accepted even if this vendor ID is not seen. | ||||
* | Add support for draft-ietf-ipsec-nat-t-ike-03 and earlier | Volker Rümelin | 2012-12-19 | 1 | -0/+7 |
| | | | | | This adds support for early versions of the draft that eventually resulted in RFC 3947. | ||||
* | Moved packet_t and tun_device_t to networking folder | Tobias Brunner | 2012-10-24 | 1 | -1/+1 |
| | |||||
* | Add a new condition to mark IKE_SAs that are currently being reauthenticated | Tobias Brunner | 2012-09-06 | 1 | -0/+5 |
| | |||||
* | Clear virtual IPs before storing assigned ones on the IKE_SA | Tobias Brunner | 2012-09-05 | 1 | -0/+7 |
| | | | | | Otherwise we'll end up with duplicate or invalid VIPs stored on the IKE_SA. | ||||
* | Support multiple virtual IPs on peer_cfg and ike_sa classes | Martin Willi | 2012-08-30 | 1 | -5/+5 |
| | |||||
* | Moved packet_t to libstrongswan | Tobias Brunner | 2012-08-08 | 1 | -0/+1 |
| | |||||
* | support Cisco Unity VID | Andreas Steffen | 2012-06-25 | 1 | -0/+5 |
| | |||||
* | Avoid queueing more than one retry initiate job. | Tobias Brunner | 2012-05-30 | 1 | -0/+9 |
| | |||||
* | Wrap task managers flush_queue() in IKE_SA | Martin Willi | 2012-05-21 | 1 | -0/+7 |
| | |||||
* | Merge branch 'ikev1-clean' into ikev1-master | Martin Willi | 2012-03-20 | 1 | -6/+52 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.in man/ipsec.conf.5.in src/libcharon/daemon.c src/libcharon/plugins/eap_ttls/eap_ttls_peer.c src/libcharon/plugins/eap_radius/eap_radius_accounting.c src/libcharon/plugins/eap_radius/eap_radius_forward.c src/libcharon/plugins/farp/farp_listener.c src/libcharon/sa/ike_sa.c src/libcharon/sa/keymat.c src/libcharon/sa/task_manager.c src/libcharon/sa/trap_manager.c src/libstrongswan/plugins/x509/x509_cert.c src/libstrongswan/utils.h Applied lost changes of moved files keymat.c and task_manager.c. Updated listener_t.message hook signature in new plugins. | ||||
| * | Disable DPD checking for peers not supporting it | Martin Willi | 2012-03-20 | 1 | -0/+5 |
| | | |||||
| * | Set a condition flag if peer has been authenticated using XAuth | Martin Willi | 2012-03-20 | 1 | -0/+5 |
| | | |||||
| * | Do not query CHILD_SA during delete if they already expired | Martin Willi | 2012-03-20 | 1 | -1/+3 |
| | | |||||
| * | Separated libcharon/sa directory with ikev1 and ikev2 subfolders | Martin Willi | 2012-03-20 | 1 | -1/+1 |
| | | |||||
| * | Remove executable flag from source code files | Martin Willi | 2012-03-20 | 1 | -0/+0 |
| | | |||||
| * | Replace xauth_request task with a new stub where we reimplement it | Martin Willi | 2012-03-20 | 1 | -5/+8 |
| | | |||||
| * | Handling of initial contact | Clavister OpenSource | 2012-03-20 | 1 | -0/+5 |
| | | |||||
| * | IKEv1 XAuth: Adding "initiate" flag parameter to the initiate_xauth method, ↵ | Clavister OpenSource | 2012-03-20 | 1 | -1/+1 |
| | | | | | | | | signalling whether or not to call the task_manager->initiate method after queueing the task. | ||||
| * | Handle IKEv1 NAT-T vendor ID payload (only RFC 3947 for now). | Tobias Brunner | 2012-03-20 | 1 | -1/+1 |
| | | |||||
| * | IKEv1 XAuth: Add "initiate xauth" method, which adds the xauth task into the ↵ | Clavister OpenSource | 2012-03-20 | 1 | -0/+5 |
| | | | | | | | | queue for initiation. | ||||
| * | Addded ike_sa_t.set_statistic to set timestamps from task manager. | Tobias Brunner | 2012-03-20 | 1 | -0/+8 |
| | | |||||
| * | Revert "IKEv1 XAuth: Temporarilty add an "initiate_later" flag to the task ↵ | Clavister OpenSource | 2012-03-20 | 1 | -5/+0 |
| | | | | | | | | | | | | | | | | | | | | manager. When set to TRUE it will cause "initiate" to be called when the current process_response call is finished. This change should be reverted once we have a better method in place." This reverts commit c6c28f4ac522dd8afb457847bca79eee77f78706. Revert "IKEv1 XAuth: Added temporary "initiate_xauth" public method to ike_sa_t. This allows us to initiate an XAuth password authentication exchange after responding to the final message of Main Mode. This change should be reverted once we have a better method to initiate this exchange." This reverts commit 5529dc50477e25df9dd5f3c442bb1521c0baf225. |