Commit Graph

1082 Commits

Author SHA1 Message Date
Tobias Brunner 039a976745 Log messages with a loglevel > 1 to ANDROID_LOG_DEBUG. 2011-10-18 15:05:51 +02:00
Andreas Steffen 3c9dd593bb fixed copy-and-paste error 2011-10-17 14:08:50 +02:00
Andreas Steffen 0ebcbc017c Add features support to eap-radius plugin 2011-10-15 07:34:07 +02:00
Andreas Steffen 88f3fc97fe Add features support to eap-peap plugin 2011-10-14 22:33:06 +02:00
Andreas Steffen f21398fa84 Add features support to eap-tnc plugin 2011-10-14 21:14:49 +02:00
Andreas Steffen 9e65c13e63 Add features support to eap-gtc plugin 2011-10-14 17:41:08 +02:00
Tobias Brunner cfa15a71d9 Source files in Android.mk updated. 2011-10-14 17:36:20 +02:00
Andreas Steffen 6022b1558a Add features support to eap-md5 plugin 2011-10-14 17:31:16 +02:00
Andreas Steffen e0f4f26ded Add features support to eap-ttls plugin 2011-10-14 17:20:33 +02:00
Andreas Steffen aa1ecd7b83 Add features support to eap-identity plugin 2011-10-14 17:20:10 +02:00
Andreas Steffen 3732fe9e38 Add features support to eap-tls plugin 2011-10-14 16:37:21 +02:00
Martin Willi 67c1d36554 Add features support tp eap-simaka-reauth plugin 2011-10-14 10:05:49 +02:00
Martin Willi e9655e7417 Add features support to eap-simaka-pseudonym plugin 2011-10-14 10:05:49 +02:00
Martin Willi f91cba1874 Add features support to eap-simaka-sql plugin 2011-10-14 10:05:49 +02:00
Martin Willi 9894b91ca9 Don't load eap-sim-file plugin if no valid triplet file found 2011-10-14 10:05:49 +02:00
Martin Willi 9099e4fd3c Add features support to eap-sim-pcsc plugin 2011-10-14 10:05:49 +02:00
Martin Willi 5f17a09323 Add features support to eap-sim-file plugin 2011-10-14 10:05:48 +02:00
Martin Willi 49458758f6 Add features support to eap-sim plugin 2011-10-14 10:05:48 +02:00
Martin Willi 1cb9a6d8ba Add features support to eap-aka-3gpp2 plugin 2011-10-14 10:05:48 +02:00
Martin Willi 4ae99247b5 Add features support to eap-aka plugin 2011-10-14 10:05:48 +02:00
Martin Willi 756b504e40 Add features support to socket-raw plugin 2011-10-14 10:05:48 +02:00
Martin Willi 85d11ce9bd Add features support to socket-dynamic plugin 2011-10-14 10:05:48 +02:00
Martin Willi 8c5aacc270 Add features support to socket-default plugin 2011-10-14 10:05:48 +02:00
Martin Willi 8b6881cfc5 Added socket plugin feature loading callback 2011-10-14 10:05:48 +02:00
Tobias Brunner c293c87761 Don't use union members directly in plugin_feature_t. 2011-10-14 10:05:47 +02:00
Martin Willi 48b7234f58 Add features support to eap-mschapv2 2011-10-14 10:05:45 +02:00
Martin Willi 2d2ffa58f6 Added a listplugins stroke command to show plugin features 2011-10-14 10:05:44 +02:00
Martin Willi fa7c8338ca Plugin enumerator enumerates over loaded features, too 2011-10-14 10:05:44 +02:00
Martin Willi 36b4f05b14 Added a generic callback to register EAP methods using plugin features 2011-10-14 10:05:44 +02:00
Martin Willi 9cd7f384ba Include library.h in plugin.h 2011-10-14 10:04:45 +02:00
Tobias Brunner 0ad58f013a Enable socket-raw on Android if pluto is enabled. 2011-10-13 19:25:06 +02:00
Tobias Brunner 03ef4e3461 Android does not support 'struct in6_pktinfo'. 2011-10-13 19:23:10 +02:00
Tobias Brunner 9227a3b3fa Use separate plugin lists for pluto and charon on Android. 2011-10-13 18:34:43 +02:00
Tobias Brunner 635724f6ab Enable the stroke plugin on Android. 2011-10-11 16:30:20 +02:00
Tobias Brunner ddce93206e Fixed initialization of android plugin. 2011-10-11 16:30:20 +02:00
Tobias Brunner f7ce74983d Removed unneeded include.
This is not available on Android and redirects to <fcntl.h> on Ubuntu.
2011-10-11 16:30:20 +02:00
Tobias Brunner d3bd67239f Added fallback to ipsec.secrets parser if glob(3) is not available. 2011-10-11 16:30:20 +02:00
Martin Willi dc299da8e5 Added additional debug info to peer config matching 2011-10-11 09:46:24 +02:00
Tobias Brunner d46f857511 Fixed unintentional fall-through in task_manager.
Reported by Howard Windsor.
2011-10-06 13:55:50 +02:00
Tobias Brunner 4437914ae0 Correctly install DNS servers on Android if frontend is not used. 2011-10-05 15:04:24 +02:00
Tobias Brunner 6c974a4fe3 Allow the Android plugin to load even if the control socket is not available. 2011-10-05 14:18:00 +02:00
Tobias Brunner 055a823d08 Made create_endpoint_notify_create() private. 2011-10-04 15:59:20 +02:00
Tobias Brunner bdc8d0aa90 Migrated eap_aka_3gpp2_functions_t to INIT/METHOD macros. 2011-10-04 15:28:41 +02:00
Tobias Brunner 4ceda4b79b Migrated eap_aka_3gpp2_provider_t to INIT/METHOD macros. 2011-10-04 15:24:00 +02:00
Tobias Brunner 1664e3eb06 Migrated eap_aka_3gpp2_card_t to INIT/METHOD macros. 2011-10-04 15:20:31 +02:00
Tobias Brunner ecdbab8a20 Migrated eap_simaka_reauth_provider_t to INIT/METHOD macros. 2011-10-04 15:16:02 +02:00
Tobias Brunner fcf37d30c8 Migrated eap_simaka_reauth_card_t to INIT/METHOD macros. 2011-10-04 15:07:04 +02:00
Tobias Brunner 3d7d5f7c53 Migrated eap_simaka_pseudonym_provider_t to INIT/METHOD macros. 2011-10-04 15:01:18 +02:00
Tobias Brunner 0146a4a661 Migrated eap_simaka_pseudonym_card_t to INIT/METHOD macros. 2011-10-04 14:57:11 +02:00
Tobias Brunner eab73e7157 Migrated medsrv_creds_t to INIT/METHOD macros. 2011-10-04 14:49:12 +02:00
Tobias Brunner e306510552 Migrated medsrv_config_t to INIT/METHOD macros. 2011-10-04 14:48:57 +02:00
Tobias Brunner 3837aadf4c Migrated uci_config_t to INIT/METHOD macros. 2011-10-04 14:34:25 +02:00
Tobias Brunner d3e4e92e4a Migrated uci_parser_t to INIT/METHOD macros. 2011-10-04 14:34:25 +02:00
Tobias Brunner 66633c0580 Migrated uci_creds_t to INIT/METHOD macros. 2011-10-04 14:34:25 +02:00
Tobias Brunner e751bc9aab Migrated uci_control_t to INIT/METHOD macros. 2011-10-04 12:12:04 +02:00
Tobias Brunner 3c6f06a7d4 Migrated medcli_creds_t to INIT/METHOD macros. 2011-10-04 12:08:40 +02:00
Tobias Brunner d4b989068c Migrated medcli_config_t to INIT/METHOD macros. 2011-10-04 12:02:29 +02:00
Tobias Brunner b12734d86a Migrated medcli_listener_t to INIT/METHOD macros. 2011-10-04 11:55:28 +02:00
Tobias Brunner 13e5a32a1e Migrated parser_t to INIT/METHOD macros. 2011-10-04 11:50:22 +02:00
Tobias Brunner 4f9dc66be2 Migrated sql_logger_t to INIT/METHOD macros. 2011-10-04 10:21:25 +02:00
Tobias Brunner d7c552a25e Fixed compilation of ike_me_t. 2011-10-04 10:19:10 +02:00
Tobias Brunner 4459ae8cf5 Fixed compiler warnings for endpoint_notify_t. 2011-10-04 10:17:36 +02:00
Andreas Steffen 4fb6b7a12c Migrated child_delete to INIT/METHOD macros 2011-10-04 08:05:27 +02:00
Andreas Steffen 0fc9dd1194 Migrated child_rekey to INIT/METHOD macros 2011-10-04 07:10:46 +02:00
Andreas Steffen ad8f42e898 Migrated ike_auth_lifetime to INIT/METHOD macros 2011-10-04 06:47:35 +02:00
Andreas Steffen 27d7641641 Migrated ike_cert_post to INIT/METHOD macros 2011-10-04 05:59:09 +02:00
Andreas Steffen 08f9f44176 Migrated ike_cert_pre to INIT/METHOD macros 2011-10-04 05:54:08 +02:00
Andreas Steffen 1bf77c8168 Migrated ike_config to INIT/METHOD macros 2011-10-03 23:55:15 +02:00
Andreas Steffen 2e89c3413b Migrated ike_delete to INIT/METHOD macros 2011-10-03 23:49:44 +02:00
Andreas Steffen 6dab816eb2 Migrated ike_dpd to INIT/METHOD macros 2011-10-03 22:37:44 +02:00
Andreas Steffen c73694e7fb Migrated ike_init to INIT/METHOD macros 2011-10-03 22:28:32 +02:00
Andreas Steffen bb6bbe6ddd Migrated ike_me to INIT/METHOD macros 2011-10-03 22:19:46 +02:00
Andreas Steffen 6ade8d6163 Migrated ike_natd to INIT/METHOD macros 2011-10-03 22:06:56 +02:00
Andreas Steffen 7db8fd0d9a Migrated ike_reauth to INIT/METHOD macros 2011-10-03 21:38:04 +02:00
Andreas Steffen 6b44a99f9e Migrated endpoint_notify to INIT/METHOD macros 2011-10-03 21:30:49 +02:00
Tobias Brunner 8107d9f480 Fix locking in nm_creds_t.create_shared_enumerator. 2011-10-03 19:32:14 +02:00
Tobias Brunner 65a071568c Migrated nm_creds_t to INIT/METHOD macros. 2011-10-03 19:29:27 +02:00
Tobias Brunner 72f5310087 Migrated nm_handler_t to INIT/METHOD macros. 2011-10-03 19:13:13 +02:00
Tobias Brunner 673ce4da9b Migrated stroke_cred_t to INIT/METHOD macros. 2011-10-03 19:04:19 +02:00
Tobias Brunner 0d430d4f54 Migrated stroke_socket_t to INIT/METHOD macros. 2011-10-03 18:56:21 +02:00
Tobias Brunner a36e175ade Migrated initiate_mediation_job_t to INIT/METHOD macros. 2011-10-03 18:53:14 +02:00
Tobias Brunner 17a5861a6e Migrated mediation_job_t to INIT/METHOD macros. 2011-10-03 18:47:25 +02:00
Tobias Brunner b0eb026c05 Migrated mediation_manager_t to INIT/METHOD macros. 2011-10-03 18:42:29 +02:00
Tobias Brunner 02846e5e7f Migrated connect_manager_t to INIT/METHOD macros. 2011-10-03 18:32:12 +02:00
Tobias Brunner 6401b18f12 Migrated ike_sa_id_t to INIT/METHOD macros. 2011-10-03 18:01:05 +02:00
Tobias Brunner 4b7c63cf52 Send AT_NEXT_PSEUDONYM also if an AT_NEXT_REAUTH_ID is already added. 2011-09-13 11:09:07 +02:00
Martin Willi f8437dd8d2 Clear traps during shutdown before unloading kernel plugins 2011-09-12 13:02:51 +02:00
Martin Willi e6816e4670 Add missing semicolon 2011-09-12 13:01:40 +02:00
Tobias Brunner f35578acb1 Renamed 'use' database column as that is a keyword in MySQL.
Reported by Stefan Tomas.
2011-09-01 09:59:37 +02:00
Martin Willi d0e1b237be Properly remove listener when listen() times out 2011-08-31 16:50:06 +02:00
Thomas Jarosch 88d180c7d8 Fix file descriptor leak
Credit goes to "cppcheck".

Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
2011-08-29 09:10:28 +02:00
Martin Willi 8e3f14baab bus->listen() and the controller wrappers accept a timeout to wait for callbacks 2011-08-26 10:44:25 +02:00
Andreas Steffen 4a2ecc4147 support optional SSL passphrase for Axis2/C connection 2011-08-24 21:27:34 +02:00
Andreas Steffen a8bbdb1f26 log entry for outbound hash-and-url 2011-08-24 06:05:44 +02:00
Martin Willi 3f455c739d Added a certexpire empty_string option 2011-08-22 18:42:33 +02:00
Martin Willi e64fdfa172 Implemented CSV export functionality in certexpire plugin 2011-08-22 18:42:33 +02:00
Martin Willi d2aeb8fdfd Added generic cron style callback execution to certexpire plugin 2011-08-22 18:42:33 +02:00
Martin Willi f4bdc6a3aa Cache trustchain lifetimes for export 2011-08-22 18:42:33 +02:00
Martin Willi b274f20a1d Register a certexpire listener collecting trustchain information 2011-08-22 18:42:33 +02:00
Martin Willi ba2201edf0 Added plugin stub of certexpire plugin 2011-08-22 18:42:32 +02:00
Martin Willi bff1025201 Don't rekey but delete CHILD_SA to resying against NATed Windows clients 2011-08-19 09:16:17 +02:00
Martin Willi f54bcf35af Sync newer IKE_SA condition/extension flags in ha plugin 2011-08-19 09:16:16 +02:00
Martin Willi 61cf9f512c Try to detect Windows Clients by looking for INTERNAL_IP4/6_SERVER attribute 2011-08-19 09:16:16 +02:00
Andreas Steffen f69f067958 fix double delete of old IKE_SA during reauthentication 2011-08-16 23:25:45 +02:00
Andreas Steffen a022f0863d increased message buffer to cope with NCP's innumerable UNITY Configuration Payloads 2011-08-16 23:22:20 +02:00
Andreas Steffen 65d5f6bc2b some more typos 2011-08-15 21:43:26 +02:00
Tobias Brunner 7ebf021d37 typos: initator->initiator, authenticaion->authentication. 2011-08-15 16:31:04 +02:00
Andreas Steffen 7e85bbda19 implement MAP client certificate authentication 2011-08-12 15:16:05 +02:00
Andreas Steffen c7b8512cc0 cosmetics 2011-08-12 13:18:49 +02:00
Andreas Steffen 537205fa9d implemented enforcement-report metadata 2011-08-12 13:16:02 +02:00
Andreas Steffen ae8a984b5a use EAP identity 2011-08-12 11:34:56 +02:00
Andreas Steffen d6a69acba4 defined mapping of IKEv2 identity types to IF-MAP identity types 2011-08-12 11:07:29 +02:00
Tobias Brunner 9af9c6772b If we close a duplicate SA, it is also no authentication failure. 2011-08-12 10:11:39 +02:00
Tobias Brunner d9eaecd373 If local authentication fails, it is not really a peer auth failure. 2011-08-12 10:04:02 +02:00
Tobias Brunner ccbe380377 Throw an alert if authentication of the peer fails (not only for initiator). 2011-08-12 10:04:02 +02:00
Tobias Brunner 7ab19d571d Throw an alert when the peer address cannot be resolved during initiation. 2011-08-12 09:59:27 +02:00
Tobias Brunner ff4b25f9b7 Throw an alert via bus_t when remote authentication fails. 2011-08-12 09:59:27 +02:00
Andreas Steffen d0a9173ec9 support capability metadata 2011-08-11 15:06:19 +02:00
Andreas Steffen 3205e3be7a define server_cert in strongswan.conf 2011-08-10 09:29:35 +02:00
Andreas Steffen dcae107b5a getting rid of axis2.html configuration 2011-08-10 09:29:34 +02:00
Andreas Steffen 9d690477c9 output PEP device addresses as metadata 2011-08-10 09:29:34 +02:00
Andreas Steffen e37f1fd6b7 classify an EAP identity as a username 2011-08-10 09:29:34 +02:00
Andreas Steffen e016913725 refactoring of tnc-ifmap plugin 2011-08-10 09:29:34 +02:00
Andreas Steffen 5144463634 publish all IKE_SA metadata after tnc-ifmap plugin reload 2011-08-10 09:29:34 +02:00
Andreas Steffen 8c78772a05 implemented tnc-ifmap reload method 2011-08-10 09:29:34 +02:00
Andreas Steffen cc7cfbc16e moved ifmap code into tnc_ifmap_soap 2011-08-10 09:29:34 +02:00
Andreas Steffen 2c5e71b0c5 free device_name in destroy() 2011-08-10 09:29:34 +02:00
Andreas Steffen 1bae34e1a0 set device_name via strongswan.conf 2011-08-10 09:29:34 +02:00
Andreas Steffen d0236f9353 fixed delete filters 2011-08-10 09:29:34 +02:00
Andreas Steffen a3686ce33a check for publishReceived response 2011-08-10 09:29:34 +02:00
Andreas Steffen 046db4f242 added authenticated-by metadata 2011-08-10 09:29:34 +02:00
Andreas Steffen 55c0c5956c first working publish of metadata 2011-08-10 09:29:34 +02:00
Andreas Steffen 024d2522d5 added some XML syntax checking 2011-08-10 09:29:34 +02:00
Andreas Steffen d13db9f99d implemented purgePublisher command 2011-08-10 09:29:34 +02:00
Andreas Steffen 875f217625 fixed typo 2011-08-10 09:29:34 +02:00
Andreas Steffen 9d267f7111 combined newSession and newSessionResult 2011-08-10 09:29:33 +02:00
Andreas Steffen 7ab854adf9 newSession and endSession work 2011-08-10 09:29:33 +02:00
Andreas Steffen c77af76807 created tnc-ifmap plugin 2011-08-10 09:29:33 +02:00
Tobias Brunner 1d5aae4b53 Fixed syntax in MySQL script. 2011-08-08 16:15:28 +02:00
Martin Willi efee3ed80f Migrated all SIM/AKA code to libsimaka, use SIM and AKA backend managers registered by name 2011-08-08 13:36:56 +02:00
Martin Willi 4c199e6f81 Add a non-clonig variant of eap_payload_create_data 2011-08-08 13:36:55 +02:00
Tobias Brunner 6b444c5934 Migrated peer_cfg_t to INIT/METHOD macros. 2011-08-03 15:17:34 +02:00
Martin Willi 61e13630f8 Show error code of Microsoft specific error notify 2011-08-03 12:01:15 +02:00
Martin Willi 06912a5eb4 Added Microsoft specific error notify 2011-08-03 12:00:50 +02:00
Tobias Brunner 846f846a39 Added tnc Doxygen group to libcharon. 2011-08-03 11:01:08 +02:00
Martin Willi caa451557f ha plugin does not need Linux headers anymore 2011-08-02 17:08:41 +02:00
Martin Willi 6e5118e9e3 Check for kernel version and use appropriate jhash version in HA plugin 2011-08-02 17:00:59 +02:00
Tobias Brunner 5baaaa5ed5 Properly initialize ike_sa_t. 2011-08-01 13:08:15 +02:00
Tobias Brunner acf380bc05 Properly initialize the UCI plugin. 2011-08-01 13:06:09 +02:00
Tobias Brunner aeb6590bda Build libtncif on Android. 2011-07-29 17:41:14 +02:00