Commit Graph
100 Commits
Author SHA1 Message Date
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
Tobias Brunner 7a4d3fa81c maemo: Don't overwrite location of libexec. 2011-08-05 14:29:23 +02:00
Tobias Brunner 6b444c5934 Migrated peer_cfg_t to INIT/METHOD macros. 2011-08-03 15:17:34 +02:00
Tobias Brunner 846f846a39 Added tnc Doxygen group to libcharon. 2011-08-03 11:01:08 +02:00
Tobias Brunner 3cc54439c1 Moved PEN to libstrongswan Doxygen group. 2011-08-03 11:01:03 +02:00
Tobias Brunner ac8bb6498a Doxygen group for BIO added. 2011-08-03 10:54:32 +02:00
Tobias Brunner 0057427008 Disable policy history for pluto.
pluto tracks usage of policies already in its own way.
2011-08-02 18:34:49 +02:00
Tobias Brunner 889a62a8d4 pluto: --debug-kernel aliasing was not fully complete. 2011-08-02 18:15:50 +02:00
Tobias Brunner b29ed3715c jhash.h is not part of the distribution anymore. 2011-08-02 16:14:16 +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
Tobias Brunner 088d73b7b0 File lists in Android.mk files updated. 2011-07-29 17:40:29 +02:00
Tobias Brunner 241cf8e791 Update fallback drop policies if required. 2011-07-29 12:34:51 +02:00
Tobias Brunner 2e370a300d Allow routing table IDs > 255 when filtering them. 2011-07-29 12:16:18 +02:00
Tobias Brunner 50937e8b80 DUMM: Allow addresses to be configured with net prefix. 2011-07-29 12:14:02 +02:00
Tobias Brunner 0511c93d46 Fixed host_create_from_subnet when no prefix is given. 2011-07-29 12:11:20 +02:00
Tobias Brunner f1c1965d64 Install fallback drop policies for all three directions. 2011-07-28 16:56:15 +02:00
Tobias Brunner d7a59f1976 Install fallback drop policies to avoid transmitting unencrypted packets.
During the update of a CHILD_SA (e.g. caused by MOBIKE) the old policy
is first uninstalled and then the new one is installed.  In the short
time in between, where no policy is available in the kernel, unencrypted
packets could have been transmitted.
2011-07-27 13:44:33 +02:00
Tobias Brunner fbedc6a45b Remove policies in kernel interfaces based on their priority.
This allows to unroute a connection while the same connection is
currently established.  In this case both CHILD_SAs share the same
reqid but the installed policies have different priorities.
2011-07-27 13:41:35 +02:00
Tobias Brunner a2e377fcfd Added missing include in mysql plugin.
This was previously pulled in via linked_list.h->iterator.h->library.h.
2011-07-26 15:47:01 +02:00
Tobias Brunner 45945fa137 Added tnc, imc, imv debug message groups to man page. 2011-07-26 09:38:13 +02:00
Tobias Brunner 446ff101c2 Added a log message when roam jobs get created. 2011-07-21 19:44:42 +02:00
Tobias Brunner cbf5c2c61c Readded docs for some arguments to global functions.
Those were overzealously removed in 28623fc538.
2011-07-21 18:38:43 +02:00
Tobias Brunner 92032fd4d6 Fixed sleep command in two test cases. 2011-07-21 16:34:37 +02:00
Tobias Brunner 107ea60f5c Added NEWS about job priorities and IKE_SA_INIT dropping. 2011-07-21 16:26:30 +02:00
Tobias Brunner 4f3ca916c5 Documentation about job priorities added to man page.
Also includes docs about IKE_SA_INIT dropping.
2011-07-21 16:17:08 +02:00
Tobias Brunner f3bb1bd039 Fixed common misspellings.
Mostly found by 'codespell'.
2011-07-20 16:14:10 +02:00
Tobias Brunner 20a44a5c66 Removed old ikev2bis draft. 2011-07-20 15:57:29 +02:00
Tobias Brunner 355728110a Added missing load-tester options to man page. 2011-07-18 19:01:18 +02:00
Tobias Brunner d604e79185 Count running load-tester threads properly. 2011-07-18 18:46:50 +02:00
Tobias Brunner ebbdc3250b Fix load-tester.shutdown_when_complete option.
It didn't work when used together with delete_after_established=yes.
2011-07-18 18:46:50 +02:00
Tobias Brunner 369c2e1dee Fix listener registration in load-tester plugin.
This fixes the load-tester.shutdown_when_complete option.
2011-07-18 18:46:50 +02:00
Tobias Brunner 93095183dd Added news about policy history. 2011-07-06 13:03:45 +02:00
Tobias Brunner 17927ca615 Record usage history of policies in PF_KEY kernel interface.
The implementation is nearly the same as in the Netlink kernel interface.
2011-07-06 12:56:34 +02:00
Tobias Brunner 4e9e4372f5 Simplified destruction of policy_sa_t objects in Netlink interface. 2011-07-06 12:49:54 +02:00
Tobias Brunner 0c2ce1905a Adapted shunt manager to changed kernel interface (reqid in del_policy). 2011-07-06 12:48:26 +02:00
Tobias Brunner 674bc34322 Some code cleanup in Netlink kernel interface. 2011-07-06 09:43:46 +02:00
Tobias Brunner 108357b106 Some code cleanup in PF_KEY kernel interface. 2011-07-06 09:43:46 +02:00