Commit Graph
100 Commits
Author SHA1 Message Date
Tobias Brunner c293c87761 Don't use union members directly in plugin_feature_t. 2011-10-14 10:05:47 +02:00
Tobias Brunner ef80de6010 Unload plugins which we were not able to load any features from. 2011-10-14 10:05:46 +02:00
Tobias Brunner 40e856fada Fixed comment of create_plugin_enumerator. 2011-10-14 10:05:46 +02:00
Tobias Brunner 076aa51fc9 Easier to understand test for soft dependencies in dependencies_satisfied. 2011-10-14 10:05:46 +02:00
Tobias Brunner 1cde0a5127 Make build of pluto and starter optional on Android. 2011-10-13 19:25:57 +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 c27c9529b7 Enable XAUTH plugin on Android. 2011-10-13 18:39:01 +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 504c524c13 Added Android.mk for whack. 2011-10-13 18:33:03 +02:00
Tobias Brunner 4490804f13 Build pluto on Android.
Does not fully compile.
2011-10-13 18:29:36 +02:00
Tobias Brunner d205046af3 util.h is a system header in Android < 2.x. 2011-10-13 18:24:00 +02:00
Tobias Brunner 68fcf91778 Unused variable removed. 2011-10-13 14:34:34 +02:00
Tobias Brunner 4a4cf41b9a Make sure /proc/$$/fd exists.
This avoids the error message generated by enumerator_create_directory().
2011-10-13 11:22:40 +02:00
Tobias Brunner 5051bd23eb Only close open file descriptors on Linux. 2011-10-13 11:21:57 +02:00
Tobias Brunner 652ddf5ce2 starter: Close open file descriptors after forking.
This avoids problems with Android's adb which leaves several file
descriptors open when executing processes.
2011-10-13 11:19:17 +02:00
Tobias Brunner 9a8fdc159a Added a replacement for closefrom (available on *BSD). 2011-10-13 11:19:12 +02:00
Tobias Brunner aa82ae3aa4 starter: Only create self-signed certificate if scepclient is built. 2011-10-12 16:37:21 +02:00
Tobias Brunner e9f23d6264 Build ipsec on Android.
Note: this does not fully work as [ (or even test) is not supported on
Android by default.
2011-10-11 16:30:21 +02:00
Tobias Brunner 59ae6fd6f2 ipsec: Allow the shell in the shebang to be changed. 2011-10-11 16:30:20 +02:00
Tobias Brunner b66a3b3d28 Build starter on Android. 2011-10-11 16:30:20 +02:00
Tobias Brunner b3b1419e06 Build stroke on Android. 2011-10-11 16:30:20 +02:00
Tobias Brunner dcd9970de6 Build libfreeswan on Android. 2011-10-11 16:30:20 +02:00
Tobias Brunner 635724f6ab Enable the stroke plugin on Android. 2011-10-11 16:30:20 +02:00
Tobias Brunner 2421ac9e98 getpass(3) is not supported on Android.
No replacement yet.
2011-10-11 16:30:20 +02:00
Tobias Brunner eae49aff88 Added some variables to the top Android.mk. 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
Tobias Brunner 187a5faf64 starter: Updated gitignores after LEX/YACC change. 2011-10-10 20:07:37 +02:00
Tobias Brunner 6f4eaa41a7 starter: Use automake LEX/YACC automatisms. 2011-10-10 19:31:04 +02:00
Tobias Brunner e01fed7eb3 starter: fallback include handling without glob(3). 2011-10-10 18:05:44 +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 28bcbc297f openssl: Adding support for key usage x509 extension. 2011-10-05 15:10:12 +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 439cb93ce9 Check for RTA_TABLE in configure. 2011-10-04 18:46:51 +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 339fe4fda3 Migrated gateway_controller_t to INIT/METHOD macros. 2011-10-04 11:33:38 +02:00
Tobias Brunner cd27d66788 Migrated config_controller_t to INIT/METHOD macros. 2011-10-04 11:31:31 +02:00
Tobias Brunner 4ad6b41a07 Migrated auth_controller_t to INIT/METHOD macros. 2011-10-04 11:29:34 +02:00
Tobias Brunner 542afcb078 Migrated ikesa_controller_t to INIT/METHOD macros. 2011-10-04 11:27:26 +02:00
Tobias Brunner a17eb787de Migrated control_controller_t to INIT/METHOD macros. 2011-10-04 11:25:22 +02:00
Tobias Brunner 62d4707b20 Migrated storage_t to INIT/METHOD macros. 2011-10-04 11:22:41 +02:00
Tobias Brunner 61ea6e0738 Migrated xml_t to INIT/METHOD macros. 2011-10-04 11:20:46 +02:00
Tobias Brunner 99c0fa208f Migrated gateway_t to INIT/METHOD macros. 2011-10-04 11:13:37 +02:00
Tobias Brunner 152d835d83 Fixed gateway_t.request declaration. 2011-10-04 11:13:05 +02:00
Tobias Brunner 758aa810ce Migrated manager_t to INIT/METHOD macros. 2011-10-04 10:56:16 +02:00
Tobias Brunner 2b7f89b1fa Migrated peer_controller_t to INIT/METHOD macros. 2011-10-04 10:52:00 +02:00
Tobias Brunner 3ced86840c Migrated user_controller_t to INIT/METHOD macros. 2011-10-04 10:49:33 +02:00
Tobias Brunner acf058251d Migrated user_t to INIT/METHOD macros. 2011-10-04 10:45:05 +02:00
Tobias Brunner 06a04c3ca4 Use top_builddir to reference libstrongswan for medsrv.cgi. 2011-10-04 10:40:37 +02:00
Tobias Brunner c47008dbd7 Migrated auth_filter_t to INIT/METHOD macros. 2011-10-04 10:40:37 +02:00
Tobias Brunner ff72edaf59 Fixed line endings in medsrv/filter/auth_filter.[ch]. 2011-10-04 10:40:21 +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
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 e6c824959c Migrated dumm_t to INIT/METHOD macros. 2011-10-03 16:35:15 +02:00
Tobias Brunner 3df8e57e9a Migrated iface_t to INIT/METHOD macros. 2011-10-03 16:25:45 +02:00
Tobias Brunner 59e1c865f4 Migrated cowfs_t to INIT/METHOD macros. 2011-10-03 16:19:21 +02:00
Tobias Brunner e6cf719ce9 Migrated mconsole_t to INIT/METHOD macros. 2011-10-03 16:15:37 +02:00
Tobias Brunner 41100c2429 Migrated guest_t to INIT/METHOD macros. 2011-10-03 16:11:55 +02:00
Tobias Brunner d6c8c0caa8 Migrated bridge_t to INIT/METHOD macros. 2011-10-03 15:59:20 +02:00
Tobias Brunner c8541efe70 Migrated thread_t to INIT/METHOD macros. 2011-10-03 15:54:36 +02:00
Tobias Brunner f5808078cb Migrated mutex_t to INIT/METHOD macros. 2011-10-03 15:45:17 +02:00
Tobias Brunner 7fa43a9036 Migrated rwlock_t to INIT/METHOD macros. 2011-10-03 15:31:04 +02:00
Tobias Brunner 242f7c857f Migrated thread_value_t to INIT/METHOD macros. 2011-10-03 14:57:07 +02:00
Tobias Brunner 21ee300d5c pluto: Handle SIGINT to terminate properly when run with --nofork in a console. 2011-09-28 13:57:59 +02:00
Tobias Brunner 192f714076 pluto: Check for processes with the PID stored in pluto.pid. 2011-09-28 13:57:59 +02:00
Tobias Brunner 0b706426a5 starter: Check for processes with PIDs stored in pid files. 2011-09-28 13:57:59 +02:00
Tobias Brunner 6d36f8b60a Make sure the PID read from charon.pid is null-terminated. 2011-09-28 13:57:59 +02:00
Tobias Brunner de13eab0e6 Documented the strict flag (!) for ike and esp options in ipsec.conf. 2011-09-26 17:51:53 +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