Commit Graph
100 Commits
Author SHA1 Message Date
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
Tobias Brunner 7213abcbfb PTS log group documented in man pages. 2011-09-12 15:07:20 +02:00
Tobias Brunner 5b217e4994 Document charon's default log levels in ipsec.conf(5). 2011-09-12 15:07:20 +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
Tobias Brunner 7ebf021d37 typos: initator->initiator, authenticaion->authentication. 2011-08-15 16:31:04 +02:00
Tobias Brunner 19e12db79c pluto: Some whitespace cleanup. 2011-08-15 15:53:26 +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
Tobias Brunner 45048eae23 Verify that executables are available and set (pluto|charon)start accordingly.
Some distributions enable both daemons but then distribute the
executables in two separate packages.  If only one package is installed
but both daemons are enabled in ipsec.conf, starter will try to start
the non existing daemon over and over again, and will each time readd
the configs to the other daemon.
2011-08-11 13:38:05 +02:00
Tobias Brunner 1d5aae4b53 Fixed syntax in MySQL script. 2011-08-08 16:15:28 +02:00
Tobias Brunner 6820ae78c1 maemo: New upstream release. 2011-08-05 14:45:17 +02:00
Tobias Brunner c5c10a2409 maemo: Define _GNU_SOURCE to make llabs available.
llabs is defined in C99, thus requires e.g. _USE_ISOC99 to be defined.
features.h on Maemo defines _USE_ISOC99 in fewer cases than newer versions
of it do on other platforms.
2011-08-05 14:40:01 +02:00
Tobias Brunner d135a5a5a3 maemo: Libraries are installed in lib/ipsec, binaries in libexec not lib. 2011-08-05 14:31:45 +02:00