Commit Graph

6896 Commits

Author SHA1 Message Date
Tobias Brunner 6045eaa54a pluto: Fixed potential memory leak in atoaddr. 2011-04-14 18:11:45 +02:00
Tobias Brunner 862ef49f85 Fixed potential memory leak when processing routes from the kernel. 2011-04-14 18:11:45 +02:00
Tobias Brunner 29388829fa Do proper cleanup in error case in pki req. 2011-04-14 18:11:45 +02:00
Tobias Brunner 3fe6c0b27e Do proper cleanup in some error cases in pki signcrl. 2011-04-14 18:11:44 +02:00
Tobias Brunner 809750d72b pluto: Fixed potential memory leak when processing requested virtual IPs. 2011-04-14 18:10:52 +02:00
Tobias Brunner 267d47d6f2 pluto: Properly free buffer in error cases in read_packet. 2011-04-14 18:10:27 +02:00
Tobias Brunner 3c0c321776 Neither rekey nor del can be NULL. 2011-04-14 18:10:27 +02:00
Tobias Brunner cc2429d9a2 In scanf the maxmium length of %s does not include the null-terminator. 2011-04-14 18:10:27 +02:00
Tobias Brunner bac28c73ed starter_conn_t.id is an unsigned long. 2011-04-14 18:10:27 +02:00
Tobias Brunner e51cae33a9 Fix compiler warnings at creation of CRL cache filenames.
This was not really a problem because ptr is the first member of a chunk_t
and it contains a null-terminated string at that point.  But it's clearer
this way.
2011-04-14 18:10:27 +02:00
Tobias Brunner 1f02bdc8d3 Fixed output in ietf_attributes_t.get_string. 2011-04-14 18:10:26 +02:00
Tobias Brunner 64f4237b1e Fix "set nexthop to him when instantiating rightallowyes template with leftnexthop == right"
This fixes commit 280f6b1ab2.
2011-04-14 18:10:26 +02:00
Andreas Steffen a9ee43e96a added TLS renegotiation_info extension 2011-04-14 16:54:46 +02:00
Martin Willi 2a277867be Show full blown traffic selector in log_ts hook 2011-04-14 09:21:58 +02:00
Tobias Brunner aee071ed8b Fixed check for member of stroke_msg_t in pop_string.
Because of the cast to char** the length of the message was multiplied
by sizeof(char*), i.e. 4 or 8 bytes (depending on the architecture) instead
of by 1 (sizeof(char)).
2011-04-13 18:18:03 +02:00
Tobias Brunner e54a2bd20e pluto: Properly initialize a.continuation. 2011-04-12 17:39:11 +02:00
Tobias Brunner 2cec32e8eb pluto: Properly initialize ta.encrypter. 2011-04-12 17:22:50 +02:00
Tobias Brunner 7f1fb6b69d pluto: Fixed off by one error when reading private keys. 2011-04-12 15:54:29 +02:00
Tobias Brunner 24e0595437 Removed unused variables. 2011-04-12 14:44:49 +02:00
Martin Willi f486bf2666 Fix compiler warning after fetcher_t.fetch signature change 2011-04-12 09:29:24 +02:00
Andreas Steffen 7bc718ff3b version bump to 4.5.2dr5 2011-04-11 06:24:31 +02:00
Andreas Steffen 1ee7440bce updated NEWS 2011-04-11 06:23:52 +02:00
Martin Willi 8dad3072c6 Use an IV size of zero for DES in ECB mode 2011-04-08 14:55:46 +02:00
Martin Willi 6dc36a73e2 Fixed debug statement if algorithm benchmarking enabled 2011-04-08 14:55:10 +02:00
Andreas Steffen 1ef7a2ef94 with the 2.6.38 kernel alice is preferred for handling the IKE connections 2011-04-08 07:50:20 +02:00
Duncan Salerno be4caf7d3e fixed bit mask 2011-04-07 21:41:41 +02:00
Andreas Steffen 01b39fe900 added EAP-PEAP options to strongswan.conf 2011-04-06 20:08:56 +02:00
Andreas Steffen e4444c7b4a define MSCHAPv2 as default phase2 algorithm for EAP-PEAP 2011-04-06 20:07:59 +02:00
Andreas Steffen 7346114e9c added ikev2/rw-eap-peap-mschapv2 scenario 2011-04-06 19:44:58 +02:00
Andreas Steffen 35e2a87e1e added ikev2/rw-eap-peap-md5 scenario 2011-04-06 19:44:30 +02:00
Andreas Steffen 119b0a45a1 added ikev2/rw-eap-peap-radius scenario 2011-04-06 19:42:52 +02:00
Andreas Steffen 30c42831a0 allow multi-pass authentication schemes as e.g. MSCHAPv2 2011-04-06 19:39:00 +02:00
Andreas Steffen c98ed04de0 display EAP identifiers in HEX format 2011-04-06 17:34:27 +02:00
Andreas Steffen 0ef9744123 no EAP identifier offset required in build() function 2011-04-06 17:33:01 +02:00
Andreas Steffen 915aa1f198 added missing function pointers in eap_identity_create_server() 2011-04-06 15:47:49 +02:00
Andreas Steffen 1be296dfb2 implemented the PEAP tunneling protocol as an EAP plugin 2011-04-06 14:42:02 +02:00
Andreas Steffen 0e83847088 added get|set_identifier() methods to eap_tnc_t 2011-04-06 07:50:42 +02:00
Andreas Steffen 555a8ca238 added EAP identifier to debug output 2011-04-05 20:53:46 +02:00
Andreas Steffen 934216df2d added get|set_identifier() methods to eap_tls_t and eap_ttls_t 2011-04-05 18:35:22 +02:00
Andreas Steffen 1bee89d339 added TLS_PURPOSE_EAP_PEAP 2011-04-05 18:16:28 +02:00
Andreas Steffen 6f69fb0134 implemented get|set_identifier() for tls_eap_t 2011-04-05 18:14:58 +02:00
Andreas Steffen 2e44a2753f eap_packet_t definition moved to libstrongswan/eap/eap.h 2011-04-05 18:04:45 +02:00
Andreas Steffen 6f05ad829a added EAP PEAP and MSTLV protocols 2011-04-05 17:59:49 +02:00
Andreas Steffen dcfb8177b3 implemented get|set_identifier() for eap_sim_t 2011-04-05 17:01:28 +02:00
Andreas Steffen 125fadb3e0 Migrated eap_sim plugin to INIT/METHOD macros 2011-04-05 16:12:38 +02:00
Andreas Steffen ab5e087309 implemented get|set_identifier() for eap_radius_t 2011-04-05 15:57:00 +02:00
Andreas Steffen 07313dbe38 store EAP identifier on peer side 2011-04-05 15:45:51 +02:00
Andreas Steffen 1b80fdd9e0 implemented get|set_identifier() for eap_aka_t 2011-04-05 15:40:20 +02:00
Martin Willi 2f02375a82 Added support for DES_ECB to af-alg, required for eap-mschapv2 2011-04-05 15:20:38 +02:00
Andreas Steffen b5240b7c64 Migrated eap_aka plugin to INIT/METHOD macros 2011-04-05 15:20:22 +02:00