Moving charon to libcharon.
authorTobias Brunner <tobias@strongswan.org>
Fri, 12 Mar 2010 15:45:46 +0000 (16:45 +0100)
committerTobias Brunner <tobias@strongswan.org>
Fri, 19 Mar 2010 12:34:52 +0000 (13:34 +0100)
960 files changed:
src/charon/.gitignore [deleted file]
src/charon/Android.mk [deleted file]
src/charon/Makefile.am [deleted file]
src/charon/bus/bus.c [deleted file]
src/charon/bus/bus.h [deleted file]
src/charon/bus/listeners/file_logger.c [deleted file]
src/charon/bus/listeners/file_logger.h [deleted file]
src/charon/bus/listeners/listener.h [deleted file]
src/charon/bus/listeners/sys_logger.c [deleted file]
src/charon/bus/listeners/sys_logger.h [deleted file]
src/charon/config/auth_cfg.c [deleted file]
src/charon/config/auth_cfg.h [deleted file]
src/charon/config/backend.h [deleted file]
src/charon/config/backend_manager.c [deleted file]
src/charon/config/backend_manager.h [deleted file]
src/charon/config/child_cfg.c [deleted file]
src/charon/config/child_cfg.h [deleted file]
src/charon/config/ike_cfg.c [deleted file]
src/charon/config/ike_cfg.h [deleted file]
src/charon/config/peer_cfg.c [deleted file]
src/charon/config/peer_cfg.h [deleted file]
src/charon/config/proposal.c [deleted file]
src/charon/config/proposal.h [deleted file]
src/charon/control/controller.c [deleted file]
src/charon/control/controller.h [deleted file]
src/charon/credentials/credential_manager.c [deleted file]
src/charon/credentials/credential_manager.h [deleted file]
src/charon/credentials/credential_set.h [deleted file]
src/charon/credentials/sets/auth_cfg_wrapper.c [deleted file]
src/charon/credentials/sets/auth_cfg_wrapper.h [deleted file]
src/charon/credentials/sets/cert_cache.c [deleted file]
src/charon/credentials/sets/cert_cache.h [deleted file]
src/charon/credentials/sets/ocsp_response_wrapper.c [deleted file]
src/charon/credentials/sets/ocsp_response_wrapper.h [deleted file]
src/charon/daemon.c [deleted file]
src/charon/daemon.h [deleted file]
src/charon/debug [deleted file]
src/charon/encoding/generator.c [deleted file]
src/charon/encoding/generator.h [deleted file]
src/charon/encoding/message.c [deleted file]
src/charon/encoding/message.h [deleted file]
src/charon/encoding/parser.c [deleted file]
src/charon/encoding/parser.h [deleted file]
src/charon/encoding/payloads/auth_payload.c [deleted file]
src/charon/encoding/payloads/auth_payload.h [deleted file]
src/charon/encoding/payloads/cert_payload.c [deleted file]
src/charon/encoding/payloads/cert_payload.h [deleted file]
src/charon/encoding/payloads/certreq_payload.c [deleted file]
src/charon/encoding/payloads/certreq_payload.h [deleted file]
src/charon/encoding/payloads/configuration_attribute.c [deleted file]
src/charon/encoding/payloads/configuration_attribute.h [deleted file]
src/charon/encoding/payloads/cp_payload.c [deleted file]
src/charon/encoding/payloads/cp_payload.h [deleted file]
src/charon/encoding/payloads/delete_payload.c [deleted file]
src/charon/encoding/payloads/delete_payload.h [deleted file]
src/charon/encoding/payloads/eap_payload.c [deleted file]
src/charon/encoding/payloads/eap_payload.h [deleted file]
src/charon/encoding/payloads/encodings.c [deleted file]
src/charon/encoding/payloads/encodings.h [deleted file]
src/charon/encoding/payloads/encryption_payload.c [deleted file]
src/charon/encoding/payloads/encryption_payload.h [deleted file]
src/charon/encoding/payloads/endpoint_notify.c [deleted file]
src/charon/encoding/payloads/endpoint_notify.h [deleted file]
src/charon/encoding/payloads/id_payload.c [deleted file]
src/charon/encoding/payloads/id_payload.h [deleted file]
src/charon/encoding/payloads/ike_header.c [deleted file]
src/charon/encoding/payloads/ike_header.h [deleted file]
src/charon/encoding/payloads/ke_payload.c [deleted file]
src/charon/encoding/payloads/ke_payload.h [deleted file]
src/charon/encoding/payloads/nonce_payload.c [deleted file]
src/charon/encoding/payloads/nonce_payload.h [deleted file]
src/charon/encoding/payloads/notify_payload.c [deleted file]
src/charon/encoding/payloads/notify_payload.h [deleted file]
src/charon/encoding/payloads/payload.c [deleted file]
src/charon/encoding/payloads/payload.h [deleted file]
src/charon/encoding/payloads/proposal_substructure.c [deleted file]
src/charon/encoding/payloads/proposal_substructure.h [deleted file]
src/charon/encoding/payloads/sa_payload.c [deleted file]
src/charon/encoding/payloads/sa_payload.h [deleted file]
src/charon/encoding/payloads/traffic_selector_substructure.c [deleted file]
src/charon/encoding/payloads/traffic_selector_substructure.h [deleted file]
src/charon/encoding/payloads/transform_attribute.c [deleted file]
src/charon/encoding/payloads/transform_attribute.h [deleted file]
src/charon/encoding/payloads/transform_substructure.c [deleted file]
src/charon/encoding/payloads/transform_substructure.h [deleted file]
src/charon/encoding/payloads/ts_payload.c [deleted file]
src/charon/encoding/payloads/ts_payload.h [deleted file]
src/charon/encoding/payloads/unknown_payload.c [deleted file]
src/charon/encoding/payloads/unknown_payload.h [deleted file]
src/charon/encoding/payloads/vendor_id_payload.c [deleted file]
src/charon/encoding/payloads/vendor_id_payload.h [deleted file]
src/charon/kernel/kernel_interface.c [deleted file]
src/charon/kernel/kernel_interface.h [deleted file]
src/charon/kernel/kernel_ipsec.c [deleted file]
src/charon/kernel/kernel_ipsec.h [deleted file]
src/charon/kernel/kernel_net.h [deleted file]
src/charon/network/packet.c [deleted file]
src/charon/network/packet.h [deleted file]
src/charon/network/receiver.c [deleted file]
src/charon/network/receiver.h [deleted file]
src/charon/network/sender.c [deleted file]
src/charon/network/sender.h [deleted file]
src/charon/network/socket.h [deleted file]
src/charon/network/socket_manager.c [deleted file]
src/charon/network/socket_manager.h [deleted file]
src/charon/plugins/android/Makefile.am [deleted file]
src/charon/plugins/android/android_handler.c [deleted file]
src/charon/plugins/android/android_handler.h [deleted file]
src/charon/plugins/android/android_plugin.c [deleted file]
src/charon/plugins/android/android_plugin.h [deleted file]
src/charon/plugins/attr/Makefile.am [deleted file]
src/charon/plugins/attr/attr_plugin.c [deleted file]
src/charon/plugins/attr/attr_plugin.h [deleted file]
src/charon/plugins/attr/attr_provider.c [deleted file]
src/charon/plugins/attr/attr_provider.h [deleted file]
src/charon/plugins/eap_aka/Makefile.am [deleted file]
src/charon/plugins/eap_aka/eap_aka_peer.c [deleted file]
src/charon/plugins/eap_aka/eap_aka_peer.h [deleted file]
src/charon/plugins/eap_aka/eap_aka_plugin.c [deleted file]
src/charon/plugins/eap_aka/eap_aka_plugin.h [deleted file]
src/charon/plugins/eap_aka/eap_aka_server.c [deleted file]
src/charon/plugins/eap_aka/eap_aka_server.h [deleted file]
src/charon/plugins/eap_aka_3gpp2/Makefile.am [deleted file]
src/charon/plugins/eap_aka_3gpp2/eap_aka_3gpp2_card.c [deleted file]
src/charon/plugins/eap_aka_3gpp2/eap_aka_3gpp2_card.h [deleted file]
src/charon/plugins/eap_aka_3gpp2/eap_aka_3gpp2_functions.c [deleted file]
src/charon/plugins/eap_aka_3gpp2/eap_aka_3gpp2_functions.h [deleted file]
src/charon/plugins/eap_aka_3gpp2/eap_aka_3gpp2_plugin.c [deleted file]
src/charon/plugins/eap_aka_3gpp2/eap_aka_3gpp2_plugin.h [deleted file]
src/charon/plugins/eap_aka_3gpp2/eap_aka_3gpp2_provider.c [deleted file]
src/charon/plugins/eap_aka_3gpp2/eap_aka_3gpp2_provider.h [deleted file]
src/charon/plugins/eap_gtc/Makefile.am [deleted file]
src/charon/plugins/eap_gtc/eap_gtc.c [deleted file]
src/charon/plugins/eap_gtc/eap_gtc.h [deleted file]
src/charon/plugins/eap_gtc/eap_gtc_plugin.c [deleted file]
src/charon/plugins/eap_gtc/eap_gtc_plugin.h [deleted file]
src/charon/plugins/eap_identity/Makefile.am [deleted file]
src/charon/plugins/eap_identity/eap_identity.c [deleted file]
src/charon/plugins/eap_identity/eap_identity.h [deleted file]
src/charon/plugins/eap_identity/eap_identity_plugin.c [deleted file]
src/charon/plugins/eap_identity/eap_identity_plugin.h [deleted file]
src/charon/plugins/eap_md5/Makefile.am [deleted file]
src/charon/plugins/eap_md5/eap_md5.c [deleted file]
src/charon/plugins/eap_md5/eap_md5.h [deleted file]
src/charon/plugins/eap_md5/eap_md5_plugin.c [deleted file]
src/charon/plugins/eap_md5/eap_md5_plugin.h [deleted file]
src/charon/plugins/eap_mschapv2/Makefile.am [deleted file]
src/charon/plugins/eap_mschapv2/eap_mschapv2.c [deleted file]
src/charon/plugins/eap_mschapv2/eap_mschapv2.h [deleted file]
src/charon/plugins/eap_mschapv2/eap_mschapv2_plugin.c [deleted file]
src/charon/plugins/eap_mschapv2/eap_mschapv2_plugin.h [deleted file]
src/charon/plugins/eap_radius/Makefile.am [deleted file]
src/charon/plugins/eap_radius/eap_radius.c [deleted file]
src/charon/plugins/eap_radius/eap_radius.h [deleted file]
src/charon/plugins/eap_radius/eap_radius_plugin.c [deleted file]
src/charon/plugins/eap_radius/eap_radius_plugin.h [deleted file]
src/charon/plugins/eap_radius/radius_client.c [deleted file]
src/charon/plugins/eap_radius/radius_client.h [deleted file]
src/charon/plugins/eap_radius/radius_message.c [deleted file]
src/charon/plugins/eap_radius/radius_message.h [deleted file]
src/charon/plugins/eap_sim/Makefile.am [deleted file]
src/charon/plugins/eap_sim/eap_sim_peer.c [deleted file]
src/charon/plugins/eap_sim/eap_sim_peer.h [deleted file]
src/charon/plugins/eap_sim/eap_sim_plugin.c [deleted file]
src/charon/plugins/eap_sim/eap_sim_plugin.h [deleted file]
src/charon/plugins/eap_sim/eap_sim_server.c [deleted file]
src/charon/plugins/eap_sim/eap_sim_server.h [deleted file]
src/charon/plugins/eap_sim_file/Makefile.am [deleted file]
src/charon/plugins/eap_sim_file/eap_sim_file_card.c [deleted file]
src/charon/plugins/eap_sim_file/eap_sim_file_card.h [deleted file]
src/charon/plugins/eap_sim_file/eap_sim_file_plugin.c [deleted file]
src/charon/plugins/eap_sim_file/eap_sim_file_plugin.h [deleted file]
src/charon/plugins/eap_sim_file/eap_sim_file_provider.c [deleted file]
src/charon/plugins/eap_sim_file/eap_sim_file_provider.h [deleted file]
src/charon/plugins/eap_sim_file/eap_sim_file_triplets.c [deleted file]
src/charon/plugins/eap_sim_file/eap_sim_file_triplets.h [deleted file]
src/charon/plugins/eap_simaka_pseudonym/Makefile.am [deleted file]
src/charon/plugins/eap_simaka_pseudonym/eap_simaka_pseudonym_card.c [deleted file]
src/charon/plugins/eap_simaka_pseudonym/eap_simaka_pseudonym_card.h [deleted file]
src/charon/plugins/eap_simaka_pseudonym/eap_simaka_pseudonym_plugin.c [deleted file]
src/charon/plugins/eap_simaka_pseudonym/eap_simaka_pseudonym_plugin.h [deleted file]
src/charon/plugins/eap_simaka_pseudonym/eap_simaka_pseudonym_provider.c [deleted file]
src/charon/plugins/eap_simaka_pseudonym/eap_simaka_pseudonym_provider.h [deleted file]
src/charon/plugins/eap_simaka_reauth/Makefile.am [deleted file]
src/charon/plugins/eap_simaka_reauth/eap_simaka_reauth_card.c [deleted file]
src/charon/plugins/eap_simaka_reauth/eap_simaka_reauth_card.h [deleted file]
src/charon/plugins/eap_simaka_reauth/eap_simaka_reauth_plugin.c [deleted file]
src/charon/plugins/eap_simaka_reauth/eap_simaka_reauth_plugin.h [deleted file]
src/charon/plugins/eap_simaka_reauth/eap_simaka_reauth_provider.c [deleted file]
src/charon/plugins/eap_simaka_reauth/eap_simaka_reauth_provider.h [deleted file]
src/charon/plugins/kernel_klips/Makefile.am [deleted file]
src/charon/plugins/kernel_klips/kernel_klips_ipsec.c [deleted file]
src/charon/plugins/kernel_klips/kernel_klips_ipsec.h [deleted file]
src/charon/plugins/kernel_klips/kernel_klips_plugin.c [deleted file]
src/charon/plugins/kernel_klips/kernel_klips_plugin.h [deleted file]
src/charon/plugins/kernel_klips/pfkeyv2.h [deleted file]
src/charon/plugins/kernel_netlink/Makefile.am [deleted file]
src/charon/plugins/kernel_netlink/kernel_netlink_ipsec.c [deleted file]
src/charon/plugins/kernel_netlink/kernel_netlink_ipsec.h [deleted file]
src/charon/plugins/kernel_netlink/kernel_netlink_net.c [deleted file]
src/charon/plugins/kernel_netlink/kernel_netlink_net.h [deleted file]
src/charon/plugins/kernel_netlink/kernel_netlink_plugin.c [deleted file]
src/charon/plugins/kernel_netlink/kernel_netlink_plugin.h [deleted file]
src/charon/plugins/kernel_netlink/kernel_netlink_shared.c [deleted file]
src/charon/plugins/kernel_netlink/kernel_netlink_shared.h [deleted file]
src/charon/plugins/kernel_pfkey/Makefile.am [deleted file]
src/charon/plugins/kernel_pfkey/kernel_pfkey_ipsec.c [deleted file]
src/charon/plugins/kernel_pfkey/kernel_pfkey_ipsec.h [deleted file]
src/charon/plugins/kernel_pfkey/kernel_pfkey_plugin.c [deleted file]
src/charon/plugins/kernel_pfkey/kernel_pfkey_plugin.h [deleted file]
src/charon/plugins/kernel_pfroute/Makefile.am [deleted file]
src/charon/plugins/kernel_pfroute/kernel_pfroute_net.c [deleted file]
src/charon/plugins/kernel_pfroute/kernel_pfroute_net.h [deleted file]
src/charon/plugins/kernel_pfroute/kernel_pfroute_plugin.c [deleted file]
src/charon/plugins/kernel_pfroute/kernel_pfroute_plugin.h [deleted file]
src/charon/plugins/load_tester/Makefile.am [deleted file]
src/charon/plugins/load_tester/load_tester_config.c [deleted file]
src/charon/plugins/load_tester/load_tester_config.h [deleted file]
src/charon/plugins/load_tester/load_tester_creds.c [deleted file]
src/charon/plugins/load_tester/load_tester_creds.h [deleted file]
src/charon/plugins/load_tester/load_tester_diffie_hellman.c [deleted file]
src/charon/plugins/load_tester/load_tester_diffie_hellman.h [deleted file]
src/charon/plugins/load_tester/load_tester_ipsec.c [deleted file]
src/charon/plugins/load_tester/load_tester_ipsec.h [deleted file]
src/charon/plugins/load_tester/load_tester_listener.c [deleted file]
src/charon/plugins/load_tester/load_tester_listener.h [deleted file]
src/charon/plugins/load_tester/load_tester_plugin.c [deleted file]
src/charon/plugins/load_tester/load_tester_plugin.h [deleted file]
src/charon/plugins/medcli/Makefile.am [deleted file]
src/charon/plugins/medcli/medcli_config.c [deleted file]
src/charon/plugins/medcli/medcli_config.h [deleted file]
src/charon/plugins/medcli/medcli_creds.c [deleted file]
src/charon/plugins/medcli/medcli_creds.h [deleted file]
src/charon/plugins/medcli/medcli_listener.c [deleted file]
src/charon/plugins/medcli/medcli_listener.h [deleted file]
src/charon/plugins/medcli/medcli_plugin.c [deleted file]
src/charon/plugins/medcli/medcli_plugin.h [deleted file]
src/charon/plugins/medcli/mysql.sql [deleted file]
src/charon/plugins/medsrv/Makefile.am [deleted file]
src/charon/plugins/medsrv/medsrv_config.c [deleted file]
src/charon/plugins/medsrv/medsrv_config.h [deleted file]
src/charon/plugins/medsrv/medsrv_creds.c [deleted file]
src/charon/plugins/medsrv/medsrv_creds.h [deleted file]
src/charon/plugins/medsrv/medsrv_plugin.c [deleted file]
src/charon/plugins/medsrv/medsrv_plugin.h [deleted file]
src/charon/plugins/medsrv/mysql.sql [deleted file]
src/charon/plugins/medsrv/test.sql [deleted file]
src/charon/plugins/nm/.gitignore [deleted file]
src/charon/plugins/nm/Makefile.am [deleted file]
src/charon/plugins/nm/gnome/.gitignore [deleted file]
src/charon/plugins/nm/gnome/Makefile.am [deleted file]
src/charon/plugins/nm/gnome/NEWS [deleted file]
src/charon/plugins/nm/gnome/auth-dialog/.gitignore [deleted file]
src/charon/plugins/nm/gnome/auth-dialog/Makefile.am [deleted file]
src/charon/plugins/nm/gnome/auth-dialog/main.c [deleted file]
src/charon/plugins/nm/gnome/autogen.sh [deleted file]
src/charon/plugins/nm/gnome/configure.ac [deleted file]
src/charon/plugins/nm/gnome/debian/.gitignore [deleted file]
src/charon/plugins/nm/gnome/debian/changelog [deleted file]
src/charon/plugins/nm/gnome/debian/compat [deleted file]
src/charon/plugins/nm/gnome/debian/control [deleted file]
src/charon/plugins/nm/gnome/debian/copyright [deleted file]
src/charon/plugins/nm/gnome/debian/docs [deleted file]
src/charon/plugins/nm/gnome/debian/network-manager-strongswan.postinst [deleted file]
src/charon/plugins/nm/gnome/debian/rules [deleted file]
src/charon/plugins/nm/gnome/m4/.gitignore [deleted file]
src/charon/plugins/nm/gnome/m4/compiler_warnings.m4 [deleted file]
src/charon/plugins/nm/gnome/nm-strongswan-service.conf [deleted file]
src/charon/plugins/nm/gnome/nm-strongswan-service.name.in [deleted file]
src/charon/plugins/nm/gnome/po/.gitignore [deleted file]
src/charon/plugins/nm/gnome/po/ChangeLog [deleted file]
src/charon/plugins/nm/gnome/po/LINGUAS [deleted file]
src/charon/plugins/nm/gnome/po/POTFILES.in [deleted file]
src/charon/plugins/nm/gnome/po/de.po [deleted file]
src/charon/plugins/nm/gnome/properties/Makefile.am [deleted file]
src/charon/plugins/nm/gnome/properties/nm-strongswan-dialog.glade [deleted file]
src/charon/plugins/nm/gnome/properties/nm-strongswan.c [deleted file]
src/charon/plugins/nm/gnome/properties/nm-strongswan.h [deleted file]
src/charon/plugins/nm/nm_creds.c [deleted file]
src/charon/plugins/nm/nm_creds.h [deleted file]
src/charon/plugins/nm/nm_handler.c [deleted file]
src/charon/plugins/nm/nm_handler.h [deleted file]
src/charon/plugins/nm/nm_plugin.c [deleted file]
src/charon/plugins/nm/nm_plugin.h [deleted file]
src/charon/plugins/nm/nm_service.c [deleted file]
src/charon/plugins/nm/nm_service.h [deleted file]
src/charon/plugins/resolve/Makefile.am [deleted file]
src/charon/plugins/resolve/resolve_handler.c [deleted file]
src/charon/plugins/resolve/resolve_handler.h [deleted file]
src/charon/plugins/resolve/resolve_plugin.c [deleted file]
src/charon/plugins/resolve/resolve_plugin.h [deleted file]
src/charon/plugins/smp/Makefile.am [deleted file]
src/charon/plugins/smp/schema.xml [deleted file]
src/charon/plugins/smp/smp.c [deleted file]
src/charon/plugins/smp/smp.h [deleted file]
src/charon/plugins/socket_default/Makefile.am [deleted file]
src/charon/plugins/socket_default/socket_default_plugin.c [deleted file]
src/charon/plugins/socket_default/socket_default_plugin.h [deleted file]
src/charon/plugins/socket_default/socket_default_socket.c [deleted file]
src/charon/plugins/socket_default/socket_default_socket.h [deleted file]
src/charon/plugins/socket_dynamic/Makefile.am [deleted file]
src/charon/plugins/socket_dynamic/socket_dynamic_plugin.c [deleted file]
src/charon/plugins/socket_dynamic/socket_dynamic_plugin.h [deleted file]
src/charon/plugins/socket_dynamic/socket_dynamic_socket.c [deleted file]
src/charon/plugins/socket_dynamic/socket_dynamic_socket.h [deleted file]
src/charon/plugins/socket_raw/Makefile.am [deleted file]
src/charon/plugins/socket_raw/socket_raw_plugin.c [deleted file]
src/charon/plugins/socket_raw/socket_raw_plugin.h [deleted file]
src/charon/plugins/socket_raw/socket_raw_socket.c [deleted file]
src/charon/plugins/socket_raw/socket_raw_socket.h [deleted file]
src/charon/plugins/sql/Makefile.am [deleted file]
src/charon/plugins/sql/cred.sql [deleted file]
src/charon/plugins/sql/mysql.sql [deleted file]
src/charon/plugins/sql/sql_config.c [deleted file]
src/charon/plugins/sql/sql_config.h [deleted file]
src/charon/plugins/sql/sql_cred.c [deleted file]
src/charon/plugins/sql/sql_cred.h [deleted file]
src/charon/plugins/sql/sql_logger.c [deleted file]
src/charon/plugins/sql/sql_logger.h [deleted file]
src/charon/plugins/sql/sql_plugin.c [deleted file]
src/charon/plugins/sql/sql_plugin.h [deleted file]
src/charon/plugins/sql/sqlite.sql [deleted file]
src/charon/plugins/sql/test.sql [deleted file]
src/charon/plugins/stroke/Makefile.am [deleted file]
src/charon/plugins/stroke/stroke_attribute.c [deleted file]
src/charon/plugins/stroke/stroke_attribute.h [deleted file]
src/charon/plugins/stroke/stroke_ca.c [deleted file]
src/charon/plugins/stroke/stroke_ca.h [deleted file]
src/charon/plugins/stroke/stroke_config.c [deleted file]
src/charon/plugins/stroke/stroke_config.h [deleted file]
src/charon/plugins/stroke/stroke_control.c [deleted file]
src/charon/plugins/stroke/stroke_control.h [deleted file]
src/charon/plugins/stroke/stroke_cred.c [deleted file]
src/charon/plugins/stroke/stroke_cred.h [deleted file]
src/charon/plugins/stroke/stroke_list.c [deleted file]
src/charon/plugins/stroke/stroke_list.h [deleted file]
src/charon/plugins/stroke/stroke_plugin.c [deleted file]
src/charon/plugins/stroke/stroke_plugin.h [deleted file]
src/charon/plugins/stroke/stroke_shared_key.c [deleted file]
src/charon/plugins/stroke/stroke_shared_key.h [deleted file]
src/charon/plugins/stroke/stroke_socket.c [deleted file]
src/charon/plugins/stroke/stroke_socket.h [deleted file]
src/charon/plugins/uci/Makefile.am [deleted file]
src/charon/plugins/uci/uci_config.c [deleted file]
src/charon/plugins/uci/uci_config.h [deleted file]
src/charon/plugins/uci/uci_control.c [deleted file]
src/charon/plugins/uci/uci_control.h [deleted file]
src/charon/plugins/uci/uci_creds.c [deleted file]
src/charon/plugins/uci/uci_creds.h [deleted file]
src/charon/plugins/uci/uci_parser.c [deleted file]
src/charon/plugins/uci/uci_parser.h [deleted file]
src/charon/plugins/uci/uci_plugin.c [deleted file]
src/charon/plugins/uci/uci_plugin.h [deleted file]
src/charon/plugins/unit_tester/Makefile.am [deleted file]
src/charon/plugins/unit_tester/tests.h [deleted file]
src/charon/plugins/unit_tester/tests/test_agent.c [deleted file]
src/charon/plugins/unit_tester/tests/test_auth_info.c [deleted file]
src/charon/plugins/unit_tester/tests/test_cert.c [deleted file]
src/charon/plugins/unit_tester/tests/test_chunk.c [deleted file]
src/charon/plugins/unit_tester/tests/test_curl.c [deleted file]
src/charon/plugins/unit_tester/tests/test_enumerator.c [deleted file]
src/charon/plugins/unit_tester/tests/test_id.c [deleted file]
src/charon/plugins/unit_tester/tests/test_med_db.c [deleted file]
src/charon/plugins/unit_tester/tests/test_mutex.c [deleted file]
src/charon/plugins/unit_tester/tests/test_mysql.c [deleted file]
src/charon/plugins/unit_tester/tests/test_pool.c [deleted file]
src/charon/plugins/unit_tester/tests/test_rsa_gen.c [deleted file]
src/charon/plugins/unit_tester/tests/test_sqlite.c [deleted file]
src/charon/plugins/unit_tester/unit_tester.c [deleted file]
src/charon/plugins/unit_tester/unit_tester.h [deleted file]
src/charon/plugins/updown/Makefile.am [deleted file]
src/charon/plugins/updown/updown_listener.c [deleted file]
src/charon/plugins/updown/updown_listener.h [deleted file]
src/charon/plugins/updown/updown_plugin.c [deleted file]
src/charon/plugins/updown/updown_plugin.h [deleted file]
src/charon/processing/jobs/acquire_job.c [deleted file]
src/charon/processing/jobs/acquire_job.h [deleted file]
src/charon/processing/jobs/callback_job.c [deleted file]
src/charon/processing/jobs/callback_job.h [deleted file]
src/charon/processing/jobs/delete_child_sa_job.c [deleted file]
src/charon/processing/jobs/delete_child_sa_job.h [deleted file]
src/charon/processing/jobs/delete_ike_sa_job.c [deleted file]
src/charon/processing/jobs/delete_ike_sa_job.h [deleted file]
src/charon/processing/jobs/inactivity_job.c [deleted file]
src/charon/processing/jobs/inactivity_job.h [deleted file]
src/charon/processing/jobs/initiate_mediation_job.c [deleted file]
src/charon/processing/jobs/initiate_mediation_job.h [deleted file]
src/charon/processing/jobs/job.h [deleted file]
src/charon/processing/jobs/mediation_job.c [deleted file]
src/charon/processing/jobs/mediation_job.h [deleted file]
src/charon/processing/jobs/migrate_job.c [deleted file]
src/charon/processing/jobs/migrate_job.h [deleted file]
src/charon/processing/jobs/process_message_job.c [deleted file]
src/charon/processing/jobs/process_message_job.h [deleted file]
src/charon/processing/jobs/rekey_child_sa_job.c [deleted file]
src/charon/processing/jobs/rekey_child_sa_job.h [deleted file]
src/charon/processing/jobs/rekey_ike_sa_job.c [deleted file]
src/charon/processing/jobs/rekey_ike_sa_job.h [deleted file]
src/charon/processing/jobs/retransmit_job.c [deleted file]
src/charon/processing/jobs/retransmit_job.h [deleted file]
src/charon/processing/jobs/roam_job.c [deleted file]
src/charon/processing/jobs/roam_job.h [deleted file]
src/charon/processing/jobs/send_dpd_job.c [deleted file]
src/charon/processing/jobs/send_dpd_job.h [deleted file]
src/charon/processing/jobs/send_keepalive_job.c [deleted file]
src/charon/processing/jobs/send_keepalive_job.h [deleted file]
src/charon/processing/jobs/update_sa_job.c [deleted file]
src/charon/processing/jobs/update_sa_job.h [deleted file]
src/charon/processing/processor.c [deleted file]
src/charon/processing/processor.h [deleted file]
src/charon/processing/scheduler.c [deleted file]
src/charon/processing/scheduler.h [deleted file]
src/charon/sa/authenticators/authenticator.c [deleted file]
src/charon/sa/authenticators/authenticator.h [deleted file]
src/charon/sa/authenticators/eap/eap_manager.c [deleted file]
src/charon/sa/authenticators/eap/eap_manager.h [deleted file]
src/charon/sa/authenticators/eap/eap_method.c [deleted file]
src/charon/sa/authenticators/eap/eap_method.h [deleted file]
src/charon/sa/authenticators/eap/sim_manager.c [deleted file]
src/charon/sa/authenticators/eap/sim_manager.h [deleted file]
src/charon/sa/authenticators/eap_authenticator.c [deleted file]
src/charon/sa/authenticators/eap_authenticator.h [deleted file]
src/charon/sa/authenticators/psk_authenticator.c [deleted file]
src/charon/sa/authenticators/psk_authenticator.h [deleted file]
src/charon/sa/authenticators/pubkey_authenticator.c [deleted file]
src/charon/sa/authenticators/pubkey_authenticator.h [deleted file]
src/charon/sa/child_sa.c [deleted file]
src/charon/sa/child_sa.h [deleted file]
src/charon/sa/connect_manager.c [deleted file]
src/charon/sa/connect_manager.h [deleted file]
src/charon/sa/ike_sa.c [deleted file]
src/charon/sa/ike_sa.h [deleted file]
src/charon/sa/ike_sa_id.c [deleted file]
src/charon/sa/ike_sa_id.h [deleted file]
src/charon/sa/ike_sa_manager.c [deleted file]
src/charon/sa/ike_sa_manager.h [deleted file]
src/charon/sa/keymat.c [deleted file]
src/charon/sa/keymat.h [deleted file]
src/charon/sa/mediation_manager.c [deleted file]
src/charon/sa/mediation_manager.h [deleted file]
src/charon/sa/task_manager.c [deleted file]
src/charon/sa/task_manager.h [deleted file]
src/charon/sa/tasks/child_create.c [deleted file]
src/charon/sa/tasks/child_create.h [deleted file]
src/charon/sa/tasks/child_delete.c [deleted file]
src/charon/sa/tasks/child_delete.h [deleted file]
src/charon/sa/tasks/child_rekey.c [deleted file]
src/charon/sa/tasks/child_rekey.h [deleted file]
src/charon/sa/tasks/ike_auth.c [deleted file]
src/charon/sa/tasks/ike_auth.h [deleted file]
src/charon/sa/tasks/ike_auth_lifetime.c [deleted file]
src/charon/sa/tasks/ike_auth_lifetime.h [deleted file]
src/charon/sa/tasks/ike_cert_post.c [deleted file]
src/charon/sa/tasks/ike_cert_post.h [deleted file]
src/charon/sa/tasks/ike_cert_pre.c [deleted file]
src/charon/sa/tasks/ike_cert_pre.h [deleted file]
src/charon/sa/tasks/ike_config.c [deleted file]
src/charon/sa/tasks/ike_config.h [deleted file]
src/charon/sa/tasks/ike_delete.c [deleted file]
src/charon/sa/tasks/ike_delete.h [deleted file]
src/charon/sa/tasks/ike_dpd.c [deleted file]
src/charon/sa/tasks/ike_dpd.h [deleted file]
src/charon/sa/tasks/ike_init.c [deleted file]
src/charon/sa/tasks/ike_init.h [deleted file]
src/charon/sa/tasks/ike_me.c [deleted file]
src/charon/sa/tasks/ike_me.h [deleted file]
src/charon/sa/tasks/ike_mobike.c [deleted file]
src/charon/sa/tasks/ike_mobike.h [deleted file]
src/charon/sa/tasks/ike_natd.c [deleted file]
src/charon/sa/tasks/ike_natd.h [deleted file]
src/charon/sa/tasks/ike_reauth.c [deleted file]
src/charon/sa/tasks/ike_reauth.h [deleted file]
src/charon/sa/tasks/ike_rekey.c [deleted file]
src/charon/sa/tasks/ike_rekey.h [deleted file]
src/charon/sa/tasks/ike_vendor.c [deleted file]
src/charon/sa/tasks/ike_vendor.h [deleted file]
src/charon/sa/tasks/task.c [deleted file]
src/charon/sa/tasks/task.h [deleted file]
src/charon/sa/trap_manager.c [deleted file]
src/charon/sa/trap_manager.h [deleted file]
src/libcharon/.gitignore [new file with mode: 0644]
src/libcharon/Android.mk [new file with mode: 0644]
src/libcharon/Makefile.am [new file with mode: 0644]
src/libcharon/bus/bus.c [new file with mode: 0644]
src/libcharon/bus/bus.h [new file with mode: 0644]
src/libcharon/bus/listeners/file_logger.c [new file with mode: 0644]
src/libcharon/bus/listeners/file_logger.h [new file with mode: 0644]
src/libcharon/bus/listeners/listener.h [new file with mode: 0644]
src/libcharon/bus/listeners/sys_logger.c [new file with mode: 0644]
src/libcharon/bus/listeners/sys_logger.h [new file with mode: 0644]
src/libcharon/config/auth_cfg.c [new file with mode: 0644]
src/libcharon/config/auth_cfg.h [new file with mode: 0644]
src/libcharon/config/backend.h [new file with mode: 0644]
src/libcharon/config/backend_manager.c [new file with mode: 0644]
src/libcharon/config/backend_manager.h [new file with mode: 0644]
src/libcharon/config/child_cfg.c [new file with mode: 0644]
src/libcharon/config/child_cfg.h [new file with mode: 0644]
src/libcharon/config/ike_cfg.c [new file with mode: 0644]
src/libcharon/config/ike_cfg.h [new file with mode: 0644]
src/libcharon/config/peer_cfg.c [new file with mode: 0644]
src/libcharon/config/peer_cfg.h [new file with mode: 0644]
src/libcharon/config/proposal.c [new file with mode: 0644]
src/libcharon/config/proposal.h [new file with mode: 0644]
src/libcharon/control/controller.c [new file with mode: 0644]
src/libcharon/control/controller.h [new file with mode: 0644]
src/libcharon/credentials/credential_manager.c [new file with mode: 0644]
src/libcharon/credentials/credential_manager.h [new file with mode: 0644]
src/libcharon/credentials/credential_set.h [new file with mode: 0644]
src/libcharon/credentials/sets/auth_cfg_wrapper.c [new file with mode: 0644]
src/libcharon/credentials/sets/auth_cfg_wrapper.h [new file with mode: 0644]
src/libcharon/credentials/sets/cert_cache.c [new file with mode: 0644]
src/libcharon/credentials/sets/cert_cache.h [new file with mode: 0644]
src/libcharon/credentials/sets/ocsp_response_wrapper.c [new file with mode: 0644]
src/libcharon/credentials/sets/ocsp_response_wrapper.h [new file with mode: 0644]
src/libcharon/daemon.c [new file with mode: 0644]
src/libcharon/daemon.h [new file with mode: 0644]
src/libcharon/debug [new file with mode: 0755]
src/libcharon/encoding/generator.c [new file with mode: 0644]
src/libcharon/encoding/generator.h [new file with mode: 0644]
src/libcharon/encoding/message.c [new file with mode: 0644]
src/libcharon/encoding/message.h [new file with mode: 0644]
src/libcharon/encoding/parser.c [new file with mode: 0644]
src/libcharon/encoding/parser.h [new file with mode: 0644]
src/libcharon/encoding/payloads/auth_payload.c [new file with mode: 0644]
src/libcharon/encoding/payloads/auth_payload.h [new file with mode: 0644]
src/libcharon/encoding/payloads/cert_payload.c [new file with mode: 0644]
src/libcharon/encoding/payloads/cert_payload.h [new file with mode: 0644]
src/libcharon/encoding/payloads/certreq_payload.c [new file with mode: 0644]
src/libcharon/encoding/payloads/certreq_payload.h [new file with mode: 0644]
src/libcharon/encoding/payloads/configuration_attribute.c [new file with mode: 0644]
src/libcharon/encoding/payloads/configuration_attribute.h [new file with mode: 0644]
src/libcharon/encoding/payloads/cp_payload.c [new file with mode: 0644]
src/libcharon/encoding/payloads/cp_payload.h [new file with mode: 0644]
src/libcharon/encoding/payloads/delete_payload.c [new file with mode: 0644]
src/libcharon/encoding/payloads/delete_payload.h [new file with mode: 0644]
src/libcharon/encoding/payloads/eap_payload.c [new file with mode: 0644]
src/libcharon/encoding/payloads/eap_payload.h [new file with mode: 0644]
src/libcharon/encoding/payloads/encodings.c [new file with mode: 0644]
src/libcharon/encoding/payloads/encodings.h [new file with mode: 0644]
src/libcharon/encoding/payloads/encryption_payload.c [new file with mode: 0644]
src/libcharon/encoding/payloads/encryption_payload.h [new file with mode: 0644]
src/libcharon/encoding/payloads/endpoint_notify.c [new file with mode: 0644]
src/libcharon/encoding/payloads/endpoint_notify.h [new file with mode: 0644]
src/libcharon/encoding/payloads/id_payload.c [new file with mode: 0644]
src/libcharon/encoding/payloads/id_payload.h [new file with mode: 0644]
src/libcharon/encoding/payloads/ike_header.c [new file with mode: 0644]
src/libcharon/encoding/payloads/ike_header.h [new file with mode: 0644]
src/libcharon/encoding/payloads/ke_payload.c [new file with mode: 0644]
src/libcharon/encoding/payloads/ke_payload.h [new file with mode: 0644]
src/libcharon/encoding/payloads/nonce_payload.c [new file with mode: 0644]
src/libcharon/encoding/payloads/nonce_payload.h [new file with mode: 0644]
src/libcharon/encoding/payloads/notify_payload.c [new file with mode: 0644]
src/libcharon/encoding/payloads/notify_payload.h [new file with mode: 0644]
src/libcharon/encoding/payloads/payload.c [new file with mode: 0644]
src/libcharon/encoding/payloads/payload.h [new file with mode: 0644]
src/libcharon/encoding/payloads/proposal_substructure.c [new file with mode: 0644]
src/libcharon/encoding/payloads/proposal_substructure.h [new file with mode: 0644]
src/libcharon/encoding/payloads/sa_payload.c [new file with mode: 0644]
src/libcharon/encoding/payloads/sa_payload.h [new file with mode: 0644]
src/libcharon/encoding/payloads/traffic_selector_substructure.c [new file with mode: 0644]
src/libcharon/encoding/payloads/traffic_selector_substructure.h [new file with mode: 0644]
src/libcharon/encoding/payloads/transform_attribute.c [new file with mode: 0644]
src/libcharon/encoding/payloads/transform_attribute.h [new file with mode: 0644]
src/libcharon/encoding/payloads/transform_substructure.c [new file with mode: 0644]
src/libcharon/encoding/payloads/transform_substructure.h [new file with mode: 0644]
src/libcharon/encoding/payloads/ts_payload.c [new file with mode: 0644]
src/libcharon/encoding/payloads/ts_payload.h [new file with mode: 0644]
src/libcharon/encoding/payloads/unknown_payload.c [new file with mode: 0644]
src/libcharon/encoding/payloads/unknown_payload.h [new file with mode: 0644]
src/libcharon/encoding/payloads/vendor_id_payload.c [new file with mode: 0644]
src/libcharon/encoding/payloads/vendor_id_payload.h [new file with mode: 0644]
src/libcharon/kernel/kernel_interface.c [new file with mode: 0644]
src/libcharon/kernel/kernel_interface.h [new file with mode: 0644]
src/libcharon/kernel/kernel_ipsec.c [new file with mode: 0644]
src/libcharon/kernel/kernel_ipsec.h [new file with mode: 0644]
src/libcharon/kernel/kernel_net.h [new file with mode: 0644]
src/libcharon/network/packet.c [new file with mode: 0644]
src/libcharon/network/packet.h [new file with mode: 0644]
src/libcharon/network/receiver.c [new file with mode: 0644]
src/libcharon/network/receiver.h [new file with mode: 0644]
src/libcharon/network/sender.c [new file with mode: 0644]
src/libcharon/network/sender.h [new file with mode: 0644]
src/libcharon/network/socket.h [new file with mode: 0644]
src/libcharon/network/socket_manager.c [new file with mode: 0644]
src/libcharon/network/socket_manager.h [new file with mode: 0644]
src/libcharon/plugins/android/Makefile.am [new file with mode: 0644]
src/libcharon/plugins/android/android_handler.c [new file with mode: 0644]
src/libcharon/plugins/android/android_handler.h [new file with mode: 0644]
src/libcharon/plugins/android/android_plugin.c [new file with mode: 0644]
src/libcharon/plugins/android/android_plugin.h [new file with mode: 0644]
src/libcharon/plugins/attr/Makefile.am [new file with mode: 0644]
src/libcharon/plugins/attr/attr_plugin.c [new file with mode: 0644]
src/libcharon/plugins/attr/attr_plugin.h [new file with mode: 0644]
src/libcharon/plugins/attr/attr_provider.c [new file with mode: 0644]
src/libcharon/plugins/attr/attr_provider.h [new file with mode: 0644]
src/libcharon/plugins/eap_aka/Makefile.am [new file with mode: 0644]
src/libcharon/plugins/eap_aka/eap_aka_peer.c [new file with mode: 0644]
src/libcharon/plugins/eap_aka/eap_aka_peer.h [new file with mode: 0644]
src/libcharon/plugins/eap_aka/eap_aka_plugin.c [new file with mode: 0644]
src/libcharon/plugins/eap_aka/eap_aka_plugin.h [new file with mode: 0644]
src/libcharon/plugins/eap_aka/eap_aka_server.c [new file with mode: 0644]
src/libcharon/plugins/eap_aka/eap_aka_server.h [new file with mode: 0644]
src/libcharon/plugins/eap_aka_3gpp2/Makefile.am [new file with mode: 0644]
src/libcharon/plugins/eap_aka_3gpp2/eap_aka_3gpp2_card.c [new file with mode: 0644]
src/libcharon/plugins/eap_aka_3gpp2/eap_aka_3gpp2_card.h [new file with mode: 0644]
src/libcharon/plugins/eap_aka_3gpp2/eap_aka_3gpp2_functions.c [new file with mode: 0644]
src/libcharon/plugins/eap_aka_3gpp2/eap_aka_3gpp2_functions.h [new file with mode: 0644]
src/libcharon/plugins/eap_aka_3gpp2/eap_aka_3gpp2_plugin.c [new file with mode: 0644]
src/libcharon/plugins/eap_aka_3gpp2/eap_aka_3gpp2_plugin.h [new file with mode: 0644]
src/libcharon/plugins/eap_aka_3gpp2/eap_aka_3gpp2_provider.c [new file with mode: 0644]
src/libcharon/plugins/eap_aka_3gpp2/eap_aka_3gpp2_provider.h [new file with mode: 0644]
src/libcharon/plugins/eap_gtc/Makefile.am [new file with mode: 0644]
src/libcharon/plugins/eap_gtc/eap_gtc.c [new file with mode: 0644]
src/libcharon/plugins/eap_gtc/eap_gtc.h [new file with mode: 0644]
src/libcharon/plugins/eap_gtc/eap_gtc_plugin.c [new file with mode: 0644]
src/libcharon/plugins/eap_gtc/eap_gtc_plugin.h [new file with mode: 0644]
src/libcharon/plugins/eap_identity/Makefile.am [new file with mode: 0644]
src/libcharon/plugins/eap_identity/eap_identity.c [new file with mode: 0644]
src/libcharon/plugins/eap_identity/eap_identity.h [new file with mode: 0644]
src/libcharon/plugins/eap_identity/eap_identity_plugin.c [new file with mode: 0644]
src/libcharon/plugins/eap_identity/eap_identity_plugin.h [new file with mode: 0644]
src/libcharon/plugins/eap_md5/Makefile.am [new file with mode: 0644]
src/libcharon/plugins/eap_md5/eap_md5.c [new file with mode: 0644]
src/libcharon/plugins/eap_md5/eap_md5.h [new file with mode: 0644]
src/libcharon/plugins/eap_md5/eap_md5_plugin.c [new file with mode: 0644]
src/libcharon/plugins/eap_md5/eap_md5_plugin.h [new file with mode: 0644]
src/libcharon/plugins/eap_mschapv2/Makefile.am [new file with mode: 0644]
src/libcharon/plugins/eap_mschapv2/eap_mschapv2.c [new file with mode: 0644]
src/libcharon/plugins/eap_mschapv2/eap_mschapv2.h [new file with mode: 0644]
src/libcharon/plugins/eap_mschapv2/eap_mschapv2_plugin.c [new file with mode: 0644]
src/libcharon/plugins/eap_mschapv2/eap_mschapv2_plugin.h [new file with mode: 0644]
src/libcharon/plugins/eap_radius/Makefile.am [new file with mode: 0644]
src/libcharon/plugins/eap_radius/eap_radius.c [new file with mode: 0644]
src/libcharon/plugins/eap_radius/eap_radius.h [new file with mode: 0644]
src/libcharon/plugins/eap_radius/eap_radius_plugin.c [new file with mode: 0644]
src/libcharon/plugins/eap_radius/eap_radius_plugin.h [new file with mode: 0644]
src/libcharon/plugins/eap_radius/radius_client.c [new file with mode: 0644]
src/libcharon/plugins/eap_radius/radius_client.h [new file with mode: 0644]
src/libcharon/plugins/eap_radius/radius_message.c [new file with mode: 0644]
src/libcharon/plugins/eap_radius/radius_message.h [new file with mode: 0644]
src/libcharon/plugins/eap_sim/Makefile.am [new file with mode: 0644]
src/libcharon/plugins/eap_sim/eap_sim_peer.c [new file with mode: 0644]
src/libcharon/plugins/eap_sim/eap_sim_peer.h [new file with mode: 0644]
src/libcharon/plugins/eap_sim/eap_sim_plugin.c [new file with mode: 0644]
src/libcharon/plugins/eap_sim/eap_sim_plugin.h [new file with mode: 0644]
src/libcharon/plugins/eap_sim/eap_sim_server.c [new file with mode: 0644]
src/libcharon/plugins/eap_sim/eap_sim_server.h [new file with mode: 0644]
src/libcharon/plugins/eap_sim_file/Makefile.am [new file with mode: 0644]
src/libcharon/plugins/eap_sim_file/eap_sim_file_card.c [new file with mode: 0644]
src/libcharon/plugins/eap_sim_file/eap_sim_file_card.h [new file with mode: 0644]
src/libcharon/plugins/eap_sim_file/eap_sim_file_plugin.c [new file with mode: 0644]
src/libcharon/plugins/eap_sim_file/eap_sim_file_plugin.h [new file with mode: 0644]
src/libcharon/plugins/eap_sim_file/eap_sim_file_provider.c [new file with mode: 0644]
src/libcharon/plugins/eap_sim_file/eap_sim_file_provider.h [new file with mode: 0644]
src/libcharon/plugins/eap_sim_file/eap_sim_file_triplets.c [new file with mode: 0644]
src/libcharon/plugins/eap_sim_file/eap_sim_file_triplets.h [new file with mode: 0644]
src/libcharon/plugins/eap_simaka_pseudonym/Makefile.am [new file with mode: 0644]
src/libcharon/plugins/eap_simaka_pseudonym/eap_simaka_pseudonym_card.c [new file with mode: 0644]
src/libcharon/plugins/eap_simaka_pseudonym/eap_simaka_pseudonym_card.h [new file with mode: 0644]
src/libcharon/plugins/eap_simaka_pseudonym/eap_simaka_pseudonym_plugin.c [new file with mode: 0644]
src/libcharon/plugins/eap_simaka_pseudonym/eap_simaka_pseudonym_plugin.h [new file with mode: 0644]
src/libcharon/plugins/eap_simaka_pseudonym/eap_simaka_pseudonym_provider.c [new file with mode: 0644]
src/libcharon/plugins/eap_simaka_pseudonym/eap_simaka_pseudonym_provider.h [new file with mode: 0644]
src/libcharon/plugins/eap_simaka_reauth/Makefile.am [new file with mode: 0644]
src/libcharon/plugins/eap_simaka_reauth/eap_simaka_reauth_card.c [new file with mode: 0644]
src/libcharon/plugins/eap_simaka_reauth/eap_simaka_reauth_card.h [new file with mode: 0644]
src/libcharon/plugins/eap_simaka_reauth/eap_simaka_reauth_plugin.c [new file with mode: 0644]
src/libcharon/plugins/eap_simaka_reauth/eap_simaka_reauth_plugin.h [new file with mode: 0644]
src/libcharon/plugins/eap_simaka_reauth/eap_simaka_reauth_provider.c [new file with mode: 0644]
src/libcharon/plugins/eap_simaka_reauth/eap_simaka_reauth_provider.h [new file with mode: 0644]
src/libcharon/plugins/kernel_klips/Makefile.am [new file with mode: 0644]
src/libcharon/plugins/kernel_klips/kernel_klips_ipsec.c [new file with mode: 0644]
src/libcharon/plugins/kernel_klips/kernel_klips_ipsec.h [new file with mode: 0644]
src/libcharon/plugins/kernel_klips/kernel_klips_plugin.c [new file with mode: 0644]
src/libcharon/plugins/kernel_klips/kernel_klips_plugin.h [new file with mode: 0644]
src/libcharon/plugins/kernel_klips/pfkeyv2.h [new file with mode: 0644]
src/libcharon/plugins/kernel_netlink/Makefile.am [new file with mode: 0644]
src/libcharon/plugins/kernel_netlink/kernel_netlink_ipsec.c [new file with mode: 0644]
src/libcharon/plugins/kernel_netlink/kernel_netlink_ipsec.h [new file with mode: 0644]
src/libcharon/plugins/kernel_netlink/kernel_netlink_net.c [new file with mode: 0644]
src/libcharon/plugins/kernel_netlink/kernel_netlink_net.h [new file with mode: 0644]
src/libcharon/plugins/kernel_netlink/kernel_netlink_plugin.c [new file with mode: 0644]
src/libcharon/plugins/kernel_netlink/kernel_netlink_plugin.h [new file with mode: 0644]
src/libcharon/plugins/kernel_netlink/kernel_netlink_shared.c [new file with mode: 0644]
src/libcharon/plugins/kernel_netlink/kernel_netlink_shared.h [new file with mode: 0644]
src/libcharon/plugins/kernel_pfkey/Makefile.am [new file with mode: 0644]
src/libcharon/plugins/kernel_pfkey/kernel_pfkey_ipsec.c [new file with mode: 0644]
src/libcharon/plugins/kernel_pfkey/kernel_pfkey_ipsec.h [new file with mode: 0644]
src/libcharon/plugins/kernel_pfkey/kernel_pfkey_plugin.c [new file with mode: 0644]
src/libcharon/plugins/kernel_pfkey/kernel_pfkey_plugin.h [new file with mode: 0644]
src/libcharon/plugins/kernel_pfroute/Makefile.am [new file with mode: 0644]
src/libcharon/plugins/kernel_pfroute/kernel_pfroute_net.c [new file with mode: 0644]
src/libcharon/plugins/kernel_pfroute/kernel_pfroute_net.h [new file with mode: 0644]
src/libcharon/plugins/kernel_pfroute/kernel_pfroute_plugin.c [new file with mode: 0644]
src/libcharon/plugins/kernel_pfroute/kernel_pfroute_plugin.h [new file with mode: 0644]
src/libcharon/plugins/load_tester/Makefile.am [new file with mode: 0644]
src/libcharon/plugins/load_tester/load_tester_config.c [new file with mode: 0644]
src/libcharon/plugins/load_tester/load_tester_config.h [new file with mode: 0644]
src/libcharon/plugins/load_tester/load_tester_creds.c [new file with mode: 0644]
src/libcharon/plugins/load_tester/load_tester_creds.h [new file with mode: 0644]
src/libcharon/plugins/load_tester/load_tester_diffie_hellman.c [new file with mode: 0644]
src/libcharon/plugins/load_tester/load_tester_diffie_hellman.h [new file with mode: 0644]
src/libcharon/plugins/load_tester/load_tester_ipsec.c [new file with mode: 0644]
src/libcharon/plugins/load_tester/load_tester_ipsec.h [new file with mode: 0644]
src/libcharon/plugins/load_tester/load_tester_listener.c [new file with mode: 0644]
src/libcharon/plugins/load_tester/load_tester_listener.h [new file with mode: 0644]
src/libcharon/plugins/load_tester/load_tester_plugin.c [new file with mode: 0644]
src/libcharon/plugins/load_tester/load_tester_plugin.h [new file with mode: 0644]
src/libcharon/plugins/medcli/Makefile.am [new file with mode: 0644]
src/libcharon/plugins/medcli/medcli_config.c [new file with mode: 0644]
src/libcharon/plugins/medcli/medcli_config.h [new file with mode: 0644]
src/libcharon/plugins/medcli/medcli_creds.c [new file with mode: 0644]
src/libcharon/plugins/medcli/medcli_creds.h [new file with mode: 0644]
src/libcharon/plugins/medcli/medcli_listener.c [new file with mode: 0644]
src/libcharon/plugins/medcli/medcli_listener.h [new file with mode: 0644]
src/libcharon/plugins/medcli/medcli_plugin.c [new file with mode: 0644]
src/libcharon/plugins/medcli/medcli_plugin.h [new file with mode: 0644]
src/libcharon/plugins/medcli/mysql.sql [new file with mode: 0644]
src/libcharon/plugins/medsrv/Makefile.am [new file with mode: 0644]
src/libcharon/plugins/medsrv/medsrv_config.c [new file with mode: 0644]
src/libcharon/plugins/medsrv/medsrv_config.h [new file with mode: 0644]
src/libcharon/plugins/medsrv/medsrv_creds.c [new file with mode: 0644]
src/libcharon/plugins/medsrv/medsrv_creds.h [new file with mode: 0644]
src/libcharon/plugins/medsrv/medsrv_plugin.c [new file with mode: 0644]
src/libcharon/plugins/medsrv/medsrv_plugin.h [new file with mode: 0644]
src/libcharon/plugins/medsrv/mysql.sql [new file with mode: 0644]
src/libcharon/plugins/medsrv/test.sql [new file with mode: 0644]
src/libcharon/plugins/nm/.gitignore [new file with mode: 0644]
src/libcharon/plugins/nm/Makefile.am [new file with mode: 0644]
src/libcharon/plugins/nm/gnome/.gitignore [new file with mode: 0644]
src/libcharon/plugins/nm/gnome/Makefile.am [new file with mode: 0644]
src/libcharon/plugins/nm/gnome/NEWS [new file with mode: 0644]
src/libcharon/plugins/nm/gnome/auth-dialog/.gitignore [new file with mode: 0644]
src/libcharon/plugins/nm/gnome/auth-dialog/Makefile.am [new file with mode: 0644]
src/libcharon/plugins/nm/gnome/auth-dialog/main.c [new file with mode: 0644]
src/libcharon/plugins/nm/gnome/autogen.sh [new file with mode: 0755]
src/libcharon/plugins/nm/gnome/configure.ac [new file with mode: 0644]
src/libcharon/plugins/nm/gnome/debian/.gitignore [new file with mode: 0644]
src/libcharon/plugins/nm/gnome/debian/changelog [new file with mode: 0644]
src/libcharon/plugins/nm/gnome/debian/compat [new file with mode: 0644]
src/libcharon/plugins/nm/gnome/debian/control [new file with mode: 0644]
src/libcharon/plugins/nm/gnome/debian/copyright [new file with mode: 0644]
src/libcharon/plugins/nm/gnome/debian/docs [new file with mode: 0644]
src/libcharon/plugins/nm/gnome/debian/network-manager-strongswan.postinst [new file with mode: 0644]
src/libcharon/plugins/nm/gnome/debian/rules [new file with mode: 0755]
src/libcharon/plugins/nm/gnome/m4/.gitignore [new file with mode: 0644]
src/libcharon/plugins/nm/gnome/m4/compiler_warnings.m4 [new file with mode: 0644]
src/libcharon/plugins/nm/gnome/nm-strongswan-service.conf [new file with mode: 0644]
src/libcharon/plugins/nm/gnome/nm-strongswan-service.name.in [new file with mode: 0644]
src/libcharon/plugins/nm/gnome/po/.gitignore [new file with mode: 0644]
src/libcharon/plugins/nm/gnome/po/ChangeLog [new file with mode: 0644]
src/libcharon/plugins/nm/gnome/po/LINGUAS [new file with mode: 0644]
src/libcharon/plugins/nm/gnome/po/POTFILES.in [new file with mode: 0644]
src/libcharon/plugins/nm/gnome/po/de.po [new file with mode: 0644]
src/libcharon/plugins/nm/gnome/properties/Makefile.am [new file with mode: 0644]
src/libcharon/plugins/nm/gnome/properties/nm-strongswan-dialog.glade [new file with mode: 0644]
src/libcharon/plugins/nm/gnome/properties/nm-strongswan.c [new file with mode: 0644]
src/libcharon/plugins/nm/gnome/properties/nm-strongswan.h [new file with mode: 0644]
src/libcharon/plugins/nm/nm_creds.c [new file with mode: 0644]
src/libcharon/plugins/nm/nm_creds.h [new file with mode: 0644]
src/libcharon/plugins/nm/nm_handler.c [new file with mode: 0644]
src/libcharon/plugins/nm/nm_handler.h [new file with mode: 0644]
src/libcharon/plugins/nm/nm_plugin.c [new file with mode: 0644]
src/libcharon/plugins/nm/nm_plugin.h [new file with mode: 0644]
src/libcharon/plugins/nm/nm_service.c [new file with mode: 0644]
src/libcharon/plugins/nm/nm_service.h [new file with mode: 0644]
src/libcharon/plugins/resolve/Makefile.am [new file with mode: 0644]
src/libcharon/plugins/resolve/resolve_handler.c [new file with mode: 0644]
src/libcharon/plugins/resolve/resolve_handler.h [new file with mode: 0644]
src/libcharon/plugins/resolve/resolve_plugin.c [new file with mode: 0644]
src/libcharon/plugins/resolve/resolve_plugin.h [new file with mode: 0644]
src/libcharon/plugins/smp/Makefile.am [new file with mode: 0644]
src/libcharon/plugins/smp/schema.xml [new file with mode: 0644]
src/libcharon/plugins/smp/smp.c [new file with mode: 0644]
src/libcharon/plugins/smp/smp.h [new file with mode: 0644]
src/libcharon/plugins/socket_default/Makefile.am [new file with mode: 0644]
src/libcharon/plugins/socket_default/socket_default_plugin.c [new file with mode: 0644]
src/libcharon/plugins/socket_default/socket_default_plugin.h [new file with mode: 0644]
src/libcharon/plugins/socket_default/socket_default_socket.c [new file with mode: 0644]
src/libcharon/plugins/socket_default/socket_default_socket.h [new file with mode: 0644]
src/libcharon/plugins/socket_dynamic/Makefile.am [new file with mode: 0644]
src/libcharon/plugins/socket_dynamic/socket_dynamic_plugin.c [new file with mode: 0644]
src/libcharon/plugins/socket_dynamic/socket_dynamic_plugin.h [new file with mode: 0644]
src/libcharon/plugins/socket_dynamic/socket_dynamic_socket.c [new file with mode: 0644]
src/libcharon/plugins/socket_dynamic/socket_dynamic_socket.h [new file with mode: 0644]
src/libcharon/plugins/socket_raw/Makefile.am [new file with mode: 0644]
src/libcharon/plugins/socket_raw/socket_raw_plugin.c [new file with mode: 0644]
src/libcharon/plugins/socket_raw/socket_raw_plugin.h [new file with mode: 0644]
src/libcharon/plugins/socket_raw/socket_raw_socket.c [new file with mode: 0644]
src/libcharon/plugins/socket_raw/socket_raw_socket.h [new file with mode: 0644]
src/libcharon/plugins/sql/Makefile.am [new file with mode: 0644]
src/libcharon/plugins/sql/cred.sql [new file with mode: 0644]
src/libcharon/plugins/sql/mysql.sql [new file with mode: 0644]
src/libcharon/plugins/sql/sql_config.c [new file with mode: 0644]
src/libcharon/plugins/sql/sql_config.h [new file with mode: 0644]
src/libcharon/plugins/sql/sql_cred.c [new file with mode: 0644]
src/libcharon/plugins/sql/sql_cred.h [new file with mode: 0644]
src/libcharon/plugins/sql/sql_logger.c [new file with mode: 0644]
src/libcharon/plugins/sql/sql_logger.h [new file with mode: 0644]
src/libcharon/plugins/sql/sql_plugin.c [new file with mode: 0644]
src/libcharon/plugins/sql/sql_plugin.h [new file with mode: 0644]
src/libcharon/plugins/sql/sqlite.sql [new file with mode: 0644]
src/libcharon/plugins/sql/test.sql [new file with mode: 0644]
src/libcharon/plugins/stroke/Makefile.am [new file with mode: 0644]
src/libcharon/plugins/stroke/stroke_attribute.c [new file with mode: 0644]
src/libcharon/plugins/stroke/stroke_attribute.h [new file with mode: 0644]
src/libcharon/plugins/stroke/stroke_ca.c [new file with mode: 0644]
src/libcharon/plugins/stroke/stroke_ca.h [new file with mode: 0644]
src/libcharon/plugins/stroke/stroke_config.c [new file with mode: 0644]
src/libcharon/plugins/stroke/stroke_config.h [new file with mode: 0644]
src/libcharon/plugins/stroke/stroke_control.c [new file with mode: 0644]
src/libcharon/plugins/stroke/stroke_control.h [new file with mode: 0644]
src/libcharon/plugins/stroke/stroke_cred.c [new file with mode: 0644]
src/libcharon/plugins/stroke/stroke_cred.h [new file with mode: 0644]
src/libcharon/plugins/stroke/stroke_list.c [new file with mode: 0644]
src/libcharon/plugins/stroke/stroke_list.h [new file with mode: 0644]
src/libcharon/plugins/stroke/stroke_plugin.c [new file with mode: 0644]
src/libcharon/plugins/stroke/stroke_plugin.h [new file with mode: 0644]
src/libcharon/plugins/stroke/stroke_shared_key.c [new file with mode: 0644]
src/libcharon/plugins/stroke/stroke_shared_key.h [new file with mode: 0644]
src/libcharon/plugins/stroke/stroke_socket.c [new file with mode: 0644]
src/libcharon/plugins/stroke/stroke_socket.h [new file with mode: 0644]
src/libcharon/plugins/uci/Makefile.am [new file with mode: 0644]
src/libcharon/plugins/uci/uci_config.c [new file with mode: 0644]
src/libcharon/plugins/uci/uci_config.h [new file with mode: 0644]
src/libcharon/plugins/uci/uci_control.c [new file with mode: 0644]
src/libcharon/plugins/uci/uci_control.h [new file with mode: 0644]
src/libcharon/plugins/uci/uci_creds.c [new file with mode: 0644]
src/libcharon/plugins/uci/uci_creds.h [new file with mode: 0644]
src/libcharon/plugins/uci/uci_parser.c [new file with mode: 0644]
src/libcharon/plugins/uci/uci_parser.h [new file with mode: 0644]
src/libcharon/plugins/uci/uci_plugin.c [new file with mode: 0644]
src/libcharon/plugins/uci/uci_plugin.h [new file with mode: 0644]
src/libcharon/plugins/unit_tester/Makefile.am [new file with mode: 0644]
src/libcharon/plugins/unit_tester/tests.h [new file with mode: 0644]
src/libcharon/plugins/unit_tester/tests/test_agent.c [new file with mode: 0644]
src/libcharon/plugins/unit_tester/tests/test_auth_info.c [new file with mode: 0644]
src/libcharon/plugins/unit_tester/tests/test_cert.c [new file with mode: 0644]
src/libcharon/plugins/unit_tester/tests/test_chunk.c [new file with mode: 0644]
src/libcharon/plugins/unit_tester/tests/test_curl.c [new file with mode: 0644]
src/libcharon/plugins/unit_tester/tests/test_enumerator.c [new file with mode: 0644]
src/libcharon/plugins/unit_tester/tests/test_id.c [new file with mode: 0644]
src/libcharon/plugins/unit_tester/tests/test_med_db.c [new file with mode: 0644]
src/libcharon/plugins/unit_tester/tests/test_mutex.c [new file with mode: 0644]
src/libcharon/plugins/unit_tester/tests/test_mysql.c [new file with mode: 0644]
src/libcharon/plugins/unit_tester/tests/test_pool.c [new file with mode: 0644]
src/libcharon/plugins/unit_tester/tests/test_rsa_gen.c [new file with mode: 0644]
src/libcharon/plugins/unit_tester/tests/test_sqlite.c [new file with mode: 0644]
src/libcharon/plugins/unit_tester/unit_tester.c [new file with mode: 0644]
src/libcharon/plugins/unit_tester/unit_tester.h [new file with mode: 0644]
src/libcharon/plugins/updown/Makefile.am [new file with mode: 0644]
src/libcharon/plugins/updown/updown_listener.c [new file with mode: 0644]
src/libcharon/plugins/updown/updown_listener.h [new file with mode: 0644]
src/libcharon/plugins/updown/updown_plugin.c [new file with mode: 0644]
src/libcharon/plugins/updown/updown_plugin.h [new file with mode: 0644]
src/libcharon/processing/jobs/acquire_job.c [new file with mode: 0644]
src/libcharon/processing/jobs/acquire_job.h [new file with mode: 0644]
src/libcharon/processing/jobs/callback_job.c [new file with mode: 0644]
src/libcharon/processing/jobs/callback_job.h [new file with mode: 0644]
src/libcharon/processing/jobs/delete_child_sa_job.c [new file with mode: 0644]
src/libcharon/processing/jobs/delete_child_sa_job.h [new file with mode: 0644]
src/libcharon/processing/jobs/delete_ike_sa_job.c [new file with mode: 0644]
src/libcharon/processing/jobs/delete_ike_sa_job.h [new file with mode: 0644]
src/libcharon/processing/jobs/inactivity_job.c [new file with mode: 0644]
src/libcharon/processing/jobs/inactivity_job.h [new file with mode: 0644]
src/libcharon/processing/jobs/initiate_mediation_job.c [new file with mode: 0644]
src/libcharon/processing/jobs/initiate_mediation_job.h [new file with mode: 0644]
src/libcharon/processing/jobs/job.h [new file with mode: 0644]
src/libcharon/processing/jobs/mediation_job.c [new file with mode: 0644]
src/libcharon/processing/jobs/mediation_job.h [new file with mode: 0644]
src/libcharon/processing/jobs/migrate_job.c [new file with mode: 0644]
src/libcharon/processing/jobs/migrate_job.h [new file with mode: 0644]
src/libcharon/processing/jobs/process_message_job.c [new file with mode: 0644]
src/libcharon/processing/jobs/process_message_job.h [new file with mode: 0644]
src/libcharon/processing/jobs/rekey_child_sa_job.c [new file with mode: 0644]
src/libcharon/processing/jobs/rekey_child_sa_job.h [new file with mode: 0644]
src/libcharon/processing/jobs/rekey_ike_sa_job.c [new file with mode: 0644]
src/libcharon/processing/jobs/rekey_ike_sa_job.h [new file with mode: 0644]
src/libcharon/processing/jobs/retransmit_job.c [new file with mode: 0644]
src/libcharon/processing/jobs/retransmit_job.h [new file with mode: 0644]
src/libcharon/processing/jobs/roam_job.c [new file with mode: 0644]
src/libcharon/processing/jobs/roam_job.h [new file with mode: 0644]
src/libcharon/processing/jobs/send_dpd_job.c [new file with mode: 0644]
src/libcharon/processing/jobs/send_dpd_job.h [new file with mode: 0644]
src/libcharon/processing/jobs/send_keepalive_job.c [new file with mode: 0644]
src/libcharon/processing/jobs/send_keepalive_job.h [new file with mode: 0644]
src/libcharon/processing/jobs/update_sa_job.c [new file with mode: 0644]
src/libcharon/processing/jobs/update_sa_job.h [new file with mode: 0644]
src/libcharon/processing/processor.c [new file with mode: 0644]
src/libcharon/processing/processor.h [new file with mode: 0644]
src/libcharon/processing/scheduler.c [new file with mode: 0644]
src/libcharon/processing/scheduler.h [new file with mode: 0644]
src/libcharon/sa/authenticators/authenticator.c [new file with mode: 0644]
src/libcharon/sa/authenticators/authenticator.h [new file with mode: 0644]
src/libcharon/sa/authenticators/eap/eap_manager.c [new file with mode: 0644]
src/libcharon/sa/authenticators/eap/eap_manager.h [new file with mode: 0644]
src/libcharon/sa/authenticators/eap/eap_method.c [new file with mode: 0644]
src/libcharon/sa/authenticators/eap/eap_method.h [new file with mode: 0644]
src/libcharon/sa/authenticators/eap/sim_manager.c [new file with mode: 0644]
src/libcharon/sa/authenticators/eap/sim_manager.h [new file with mode: 0644]
src/libcharon/sa/authenticators/eap_authenticator.c [new file with mode: 0644]
src/libcharon/sa/authenticators/eap_authenticator.h [new file with mode: 0644]
src/libcharon/sa/authenticators/psk_authenticator.c [new file with mode: 0644]
src/libcharon/sa/authenticators/psk_authenticator.h [new file with mode: 0644]
src/libcharon/sa/authenticators/pubkey_authenticator.c [new file with mode: 0644]
src/libcharon/sa/authenticators/pubkey_authenticator.h [new file with mode: 0644]
src/libcharon/sa/child_sa.c [new file with mode: 0644]
src/libcharon/sa/child_sa.h [new file with mode: 0644]
src/libcharon/sa/connect_manager.c [new file with mode: 0644]
src/libcharon/sa/connect_manager.h [new file with mode: 0644]
src/libcharon/sa/ike_sa.c [new file with mode: 0644]
src/libcharon/sa/ike_sa.h [new file with mode: 0644]
src/libcharon/sa/ike_sa_id.c [new file with mode: 0644]
src/libcharon/sa/ike_sa_id.h [new file with mode: 0644]
src/libcharon/sa/ike_sa_manager.c [new file with mode: 0644]
src/libcharon/sa/ike_sa_manager.h [new file with mode: 0644]
src/libcharon/sa/keymat.c [new file with mode: 0644]
src/libcharon/sa/keymat.h [new file with mode: 0644]
src/libcharon/sa/mediation_manager.c [new file with mode: 0644]
src/libcharon/sa/mediation_manager.h [new file with mode: 0644]
src/libcharon/sa/task_manager.c [new file with mode: 0644]
src/libcharon/sa/task_manager.h [new file with mode: 0644]
src/libcharon/sa/tasks/child_create.c [new file with mode: 0644]
src/libcharon/sa/tasks/child_create.h [new file with mode: 0644]
src/libcharon/sa/tasks/child_delete.c [new file with mode: 0644]
src/libcharon/sa/tasks/child_delete.h [new file with mode: 0644]
src/libcharon/sa/tasks/child_rekey.c [new file with mode: 0644]
src/libcharon/sa/tasks/child_rekey.h [new file with mode: 0644]
src/libcharon/sa/tasks/ike_auth.c [new file with mode: 0644]
src/libcharon/sa/tasks/ike_auth.h [new file with mode: 0644]
src/libcharon/sa/tasks/ike_auth_lifetime.c [new file with mode: 0644]
src/libcharon/sa/tasks/ike_auth_lifetime.h [new file with mode: 0644]
src/libcharon/sa/tasks/ike_cert_post.c [new file with mode: 0644]
src/libcharon/sa/tasks/ike_cert_post.h [new file with mode: 0644]
src/libcharon/sa/tasks/ike_cert_pre.c [new file with mode: 0644]
src/libcharon/sa/tasks/ike_cert_pre.h [new file with mode: 0644]
src/libcharon/sa/tasks/ike_config.c [new file with mode: 0644]
src/libcharon/sa/tasks/ike_config.h [new file with mode: 0644]
src/libcharon/sa/tasks/ike_delete.c [new file with mode: 0644]
src/libcharon/sa/tasks/ike_delete.h [new file with mode: 0644]
src/libcharon/sa/tasks/ike_dpd.c [new file with mode: 0644]
src/libcharon/sa/tasks/ike_dpd.h [new file with mode: 0644]
src/libcharon/sa/tasks/ike_init.c [new file with mode: 0644]
src/libcharon/sa/tasks/ike_init.h [new file with mode: 0644]
src/libcharon/sa/tasks/ike_me.c [new file with mode: 0644]
src/libcharon/sa/tasks/ike_me.h [new file with mode: 0644]
src/libcharon/sa/tasks/ike_mobike.c [new file with mode: 0644]
src/libcharon/sa/tasks/ike_mobike.h [new file with mode: 0644]
src/libcharon/sa/tasks/ike_natd.c [new file with mode: 0644]
src/libcharon/sa/tasks/ike_natd.h [new file with mode: 0644]
src/libcharon/sa/tasks/ike_reauth.c [new file with mode: 0644]
src/libcharon/sa/tasks/ike_reauth.h [new file with mode: 0644]
src/libcharon/sa/tasks/ike_rekey.c [new file with mode: 0644]
src/libcharon/sa/tasks/ike_rekey.h [new file with mode: 0644]
src/libcharon/sa/tasks/ike_vendor.c [new file with mode: 0644]
src/libcharon/sa/tasks/ike_vendor.h [new file with mode: 0644]
src/libcharon/sa/tasks/task.c [new file with mode: 0644]
src/libcharon/sa/tasks/task.h [new file with mode: 0644]
src/libcharon/sa/trap_manager.c [new file with mode: 0644]
src/libcharon/sa/trap_manager.h [new file with mode: 0644]

diff --git a/src/charon/.gitignore b/src/charon/.gitignore
deleted file mode 100644 (file)
index 8357dae..0000000
+++ /dev/null
@@ -1 +0,0 @@
-charon
diff --git a/src/charon/Android.mk b/src/charon/Android.mk
deleted file mode 100644 (file)
index 68647db..0000000
+++ /dev/null
@@ -1,234 +0,0 @@
-LOCAL_PATH := $(call my-dir)
-include $(CLEAR_VARS)
-
-# copy-n-paste from Makefile.am
-LOCAL_SRC_FILES := \
-       bus/bus.c bus/bus.h \
-       bus/listeners/listener.h \
-       bus/listeners/file_logger.c bus/listeners/file_logger.h \
-       bus/listeners/sys_logger.c bus/listeners/sys_logger.h \
-       config/backend_manager.c config/backend_manager.h config/backend.h \
-       config/child_cfg.c config/child_cfg.h \
-       config/ike_cfg.c config/ike_cfg.h \
-       config/peer_cfg.c config/peer_cfg.h \
-       config/proposal.c config/proposal.h \
-       config/auth_cfg.c config/auth_cfg.h \
-       control/controller.c control/controller.h \
-       daemon.c daemon.h \
-       encoding/generator.c encoding/generator.h \
-       encoding/message.c encoding/message.h \
-       encoding/parser.c encoding/parser.h \
-       encoding/payloads/auth_payload.c encoding/payloads/auth_payload.h \
-       encoding/payloads/cert_payload.c encoding/payloads/cert_payload.h \
-       encoding/payloads/certreq_payload.c encoding/payloads/certreq_payload.h \
-       encoding/payloads/configuration_attribute.c encoding/payloads/configuration_attribute.h \
-       encoding/payloads/cp_payload.c encoding/payloads/cp_payload.h \
-       encoding/payloads/delete_payload.c encoding/payloads/delete_payload.h \
-       encoding/payloads/eap_payload.c encoding/payloads/eap_payload.h \
-       encoding/payloads/encodings.c encoding/payloads/encodings.h \
-       encoding/payloads/encryption_payload.c encoding/payloads/encryption_payload.h \
-       encoding/payloads/id_payload.c encoding/payloads/id_payload.h \
-       encoding/payloads/ike_header.c encoding/payloads/ike_header.h \
-       encoding/payloads/ke_payload.c  encoding/payloads/ke_payload.h \
-       encoding/payloads/nonce_payload.c encoding/payloads/nonce_payload.h \
-       encoding/payloads/notify_payload.c encoding/payloads/notify_payload.h \
-       encoding/payloads/payload.c encoding/payloads/payload.h \
-       encoding/payloads/proposal_substructure.c encoding/payloads/proposal_substructure.h \
-       encoding/payloads/sa_payload.c encoding/payloads/sa_payload.h \
-       encoding/payloads/traffic_selector_substructure.c encoding/payloads/traffic_selector_substructure.h \
-       encoding/payloads/transform_attribute.c encoding/payloads/transform_attribute.h \
-       encoding/payloads/transform_substructure.c encoding/payloads/transform_substructure.h \
-       encoding/payloads/ts_payload.c encoding/payloads/ts_payload.h \
-       encoding/payloads/unknown_payload.c encoding/payloads/unknown_payload.h \
-       encoding/payloads/vendor_id_payload.c encoding/payloads/vendor_id_payload.h \
-       kernel/kernel_interface.c kernel/kernel_interface.h \
-       kernel/kernel_ipsec.c kernel/kernel_ipsec.h \
-       kernel/kernel_net.h \
-       network/packet.c network/packet.h \
-       network/receiver.c network/receiver.h \
-       network/sender.c network/sender.h \
-       network/socket_manager.c network/socket_manager.h network/socket.h \
-       processing/jobs/job.h \
-       processing/jobs/acquire_job.c processing/jobs/acquire_job.h \
-       processing/jobs/callback_job.c processing/jobs/callback_job.h \
-       processing/jobs/delete_child_sa_job.c processing/jobs/delete_child_sa_job.h \
-       processing/jobs/delete_ike_sa_job.c processing/jobs/delete_ike_sa_job.h \
-       processing/jobs/migrate_job.c processing/jobs/migrate_job.h \
-       processing/jobs/process_message_job.c processing/jobs/process_message_job.h \
-       processing/jobs/rekey_child_sa_job.c processing/jobs/rekey_child_sa_job.h \
-       processing/jobs/rekey_ike_sa_job.c processing/jobs/rekey_ike_sa_job.h \
-       processing/jobs/retransmit_job.c processing/jobs/retransmit_job.h \
-       processing/jobs/send_dpd_job.c processing/jobs/send_dpd_job.h \
-       processing/jobs/send_keepalive_job.c processing/jobs/send_keepalive_job.h \
-       processing/jobs/roam_job.c processing/jobs/roam_job.h \
-       processing/jobs/update_sa_job.c processing/jobs/update_sa_job.h \
-       processing/jobs/inactivity_job.c processing/jobs/inactivity_job.h \
-       processing/scheduler.c processing/scheduler.h \
-       processing/processor.c processing/processor.h  \
-       sa/authenticators/authenticator.c sa/authenticators/authenticator.h \
-       sa/authenticators/eap_authenticator.c sa/authenticators/eap_authenticator.h \
-       sa/authenticators/eap/eap_method.c sa/authenticators/eap/eap_method.h \
-       sa/authenticators/eap/eap_manager.c sa/authenticators/eap/eap_manager.h \
-       sa/authenticators/eap/sim_manager.c sa/authenticators/eap/sim_manager.h \
-       sa/authenticators/psk_authenticator.c sa/authenticators/psk_authenticator.h \
-       sa/authenticators/pubkey_authenticator.c sa/authenticators/pubkey_authenticator.h \
-       sa/child_sa.c sa/child_sa.h \
-       sa/ike_sa.c sa/ike_sa.h \
-       sa/ike_sa_id.c sa/ike_sa_id.h \
-       sa/ike_sa_manager.c sa/ike_sa_manager.h \
-       sa/task_manager.c sa/task_manager.h \
-       sa/keymat.c sa/keymat.h \
-       sa/trap_manager.c sa/trap_manager.h \
-       sa/tasks/child_create.c sa/tasks/child_create.h \
-       sa/tasks/child_delete.c sa/tasks/child_delete.h \
-       sa/tasks/child_rekey.c sa/tasks/child_rekey.h \
-       sa/tasks/ike_auth.c sa/tasks/ike_auth.h \
-       sa/tasks/ike_cert_pre.c sa/tasks/ike_cert_pre.h \
-       sa/tasks/ike_cert_post.c sa/tasks/ike_cert_post.h \
-       sa/tasks/ike_config.c sa/tasks/ike_config.h \
-       sa/tasks/ike_delete.c sa/tasks/ike_delete.h \
-       sa/tasks/ike_dpd.c sa/tasks/ike_dpd.h \
-       sa/tasks/ike_init.c sa/tasks/ike_init.h \
-       sa/tasks/ike_natd.c sa/tasks/ike_natd.h \
-       sa/tasks/ike_mobike.c sa/tasks/ike_mobike.h \
-       sa/tasks/ike_rekey.c sa/tasks/ike_rekey.h \
-       sa/tasks/ike_reauth.c sa/tasks/ike_reauth.h \
-       sa/tasks/ike_auth_lifetime.c sa/tasks/ike_auth_lifetime.h \
-       sa/tasks/ike_vendor.c sa/tasks/ike_vendor.h \
-       sa/tasks/task.c sa/tasks/task.h \
-       credentials/credential_manager.c credentials/credential_manager.h \
-       credentials/sets/auth_cfg_wrapper.c credentials/sets/auth_cfg_wrapper.h \
-       credentials/sets/ocsp_response_wrapper.c credentials/sets/ocsp_response_wrapper.h \
-       credentials/sets/cert_cache.c credentials/sets/cert_cache.h \
-       credentials/credential_set.h
-
-# adding the plugin source files (copy-n-paste from Makefile.am)
-
-LOCAL_SRC_FILES += $(call add_plugin, android, \
-       android_plugin.c android_plugin.h \
-       android_handler.c android_handler.h \
-)
-ifneq ($(call plugin_enabled, android)),)
-LOCAL_SHARED_LIBRARIES += libcutils
-endif
-
-LOCAL_SRC_FILES += $(call add_plugin, attr, \
-       attr_plugin.h attr_plugin.c \
-       attr_provider.h attr_provider.c \
-)
-
-LOCAL_SRC_FILES += $(call add_plugin, eap-aka, \
-       eap_aka_plugin.h eap_aka_plugin.c \
-       eap_aka_peer.h eap_aka_peer.c \
-       eap_aka_server.h eap_aka_server.c \
-)
-
-LOCAL_SRC_FILES += $(call add_plugin, eap-aka-3gpp2, \
-       eap_aka_3gpp2_plugin.h eap_aka_3gpp2_plugin.c \
-       eap_aka_3gpp2_card.h eap_aka_3gpp2_card.c \
-       eap_aka_3gpp2_provider.h eap_aka_3gpp2_provider.c \
-       eap_aka_3gpp2_functions.h eap_aka_3gpp2_functions.c \
-)
-ifneq ($(call plugin_enabled, eap-aka-3gpp2)),)
-LOCAL_C_INCLUDES += $(libgmp_PATH)
-LOCAL_STATIC_LIBRARIES += libgmp
-endif
-
-LOCAL_SRC_FILES += $(call add_plugin, eap-gtc, \
-       eap_gtc_plugin.h eap_gtc_plugin.c eap_gtc.h eap_gtc.c \
-)
-
-LOCAL_SRC_FILES += $(call add_plugin, eap-identity, \
-       eap_identity_plugin.h eap_identity_plugin.c eap_identity.h eap_identity.c \
-)
-
-LOCAL_SRC_FILES += $(call add_plugin, eap-md5, \
-       eap_md5_plugin.h eap_md5_plugin.c eap_md5.h eap_md5.c \
-)
-
-LOCAL_SRC_FILES += $(call add_plugin, eap-mschapv2, \
-       eap_mschapv2_plugin.h eap_mschapv2_plugin.c \
-       eap_mschapv2.h eap_mschapv2.c \
-)
-
-LOCAL_SRC_FILES += $(call add_plugin, eap-sim, \
-       eap_sim_plugin.h eap_sim_plugin.c \
-       eap_sim_peer.h eap_sim_peer.c \
-       eap_sim_server.h eap_sim_server.c \
-)
-
-LOCAL_SRC_FILES += $(call add_plugin, eap-simaka-pseudonym, \
-       eap_simaka_pseudonym_plugin.h eap_simaka_pseudonym_plugin.c \
-       eap_simaka_pseudonym_card.h eap_simaka_pseudonym_card.c \
-       eap_simaka_pseudonym_provider.h eap_simaka_pseudonym_provider.c \
-)
-
-LOCAL_SRC_FILES += $(call add_plugin, eap-simaka-reauth, \
-       eap_simaka_reauth_plugin.h eap_simaka_reauth_plugin.c \
-       eap_simaka_reauth_card.h eap_simaka_reauth_card.c \
-       eap_simaka_reauth_provider.h eap_simaka_reauth_provider.c \
-)
-
-LOCAL_SRC_FILES += $(call add_plugin, eap-sim-file, \
-       eap_sim_file_plugin.h eap_sim_file_plugin.c \
-       eap_sim_file_card.h eap_sim_file_card.c \
-       eap_sim_file_provider.h eap_sim_file_provider.c \
-       eap_sim_file_triplets.h eap_sim_file_triplets.c \
-)
-
-# adding libakasim if either eap-aka or eap-sim is enabled
-ifneq ($(or $(call plugin_enabled, eap-aka), $(call plugin_enabled, eap-sim)),)
-LOCAL_C_INCLUDES += $(LOCAL_PATH)/../libsimaka/
-LOCAL_SRC_FILES += $(addprefix ../libsimaka/, \
-               simaka_message.h simaka_message.c \
-               simaka_crypto.h simaka_crypto.c \
-       )
-endif
-
-LOCAL_SRC_FILES += $(call add_plugin, kernel-netlink, \
-       kernel_netlink_plugin.h kernel_netlink_plugin.c \
-       kernel_netlink_ipsec.h kernel_netlink_ipsec.c kernel_netlink_net.h kernel_netlink_net.c \
-       kernel_netlink_shared.h kernel_netlink_shared.c \
-)
-
-LOCAL_SRC_FILES += $(call add_plugin, load-tester, \
-       load_tester_plugin.c load_tester_plugin.h \
-       load_tester_config.c load_tester_config.h \
-       load_tester_creds.c load_tester_creds.h \
-       load_tester_ipsec.c load_tester_ipsec.h \
-       load_tester_listener.c load_tester_listener.h \
-       load_tester_diffie_hellman.c load_tester_diffie_hellman.h \
-)
-
-LOCAL_SRC_FILES += $(call add_plugin, socket-default, \
-       socket_default_socket.h socket_default_socket.c \
-       socket_default_plugin.h socket_default_plugin.c \
-)
-
-LOCAL_SRC_FILES += $(call add_plugin, socket-dynamic, \
-       socket_dynamic_plugin.h socket_dynamic_plugin.c \
-       socket_dynamic_socket.h socket_dynamic_socket.c \
-)
-
-# build charon -----------------------------------------------------------------
-
-LOCAL_C_INCLUDES += \
-       $(libvstr_PATH) \
-       $(strongswan_PATH)/src/include \
-       $(strongswan_PATH)/src/libstrongswan
-
-LOCAL_CFLAGS := $(strongswan_CFLAGS)
-
-# this is required to be able load the plugins
-LOCAL_LDFLAGS := -Wl,--export-dynamic
-
-LOCAL_MODULE := charon
-
-LOCAL_ARM_MODE := arm
-
-LOCAL_PRELINK_MODULE := false
-
-LOCAL_SHARED_LIBRARIES += libstrongswan
-
-include $(BUILD_EXECUTABLE)
-
diff --git a/src/charon/Makefile.am b/src/charon/Makefile.am
deleted file mode 100644 (file)
index 8dd8a0e..0000000
+++ /dev/null
@@ -1,396 +0,0 @@
-ipsec_PROGRAMS = charon
-
-charon_SOURCES = \
-bus/bus.c bus/bus.h \
-bus/listeners/listener.h \
-bus/listeners/file_logger.c bus/listeners/file_logger.h \
-bus/listeners/sys_logger.c bus/listeners/sys_logger.h \
-config/backend_manager.c config/backend_manager.h config/backend.h \
-config/child_cfg.c config/child_cfg.h \
-config/ike_cfg.c config/ike_cfg.h \
-config/peer_cfg.c config/peer_cfg.h \
-config/proposal.c config/proposal.h \
-config/auth_cfg.c config/auth_cfg.h \
-control/controller.c control/controller.h \
-daemon.c daemon.h \
-encoding/generator.c encoding/generator.h \
-encoding/message.c encoding/message.h \
-encoding/parser.c encoding/parser.h \
-encoding/payloads/auth_payload.c encoding/payloads/auth_payload.h \
-encoding/payloads/cert_payload.c encoding/payloads/cert_payload.h \
-encoding/payloads/certreq_payload.c encoding/payloads/certreq_payload.h \
-encoding/payloads/configuration_attribute.c encoding/payloads/configuration_attribute.h \
-encoding/payloads/cp_payload.c encoding/payloads/cp_payload.h \
-encoding/payloads/delete_payload.c encoding/payloads/delete_payload.h \
-encoding/payloads/eap_payload.c encoding/payloads/eap_payload.h \
-encoding/payloads/encodings.c encoding/payloads/encodings.h \
-encoding/payloads/encryption_payload.c encoding/payloads/encryption_payload.h \
-encoding/payloads/id_payload.c encoding/payloads/id_payload.h \
-encoding/payloads/ike_header.c encoding/payloads/ike_header.h \
-encoding/payloads/ke_payload.c  encoding/payloads/ke_payload.h \
-encoding/payloads/nonce_payload.c encoding/payloads/nonce_payload.h \
-encoding/payloads/notify_payload.c encoding/payloads/notify_payload.h \
-encoding/payloads/payload.c encoding/payloads/payload.h \
-encoding/payloads/proposal_substructure.c encoding/payloads/proposal_substructure.h \
-encoding/payloads/sa_payload.c encoding/payloads/sa_payload.h \
-encoding/payloads/traffic_selector_substructure.c encoding/payloads/traffic_selector_substructure.h \
-encoding/payloads/transform_attribute.c encoding/payloads/transform_attribute.h \
-encoding/payloads/transform_substructure.c encoding/payloads/transform_substructure.h \
-encoding/payloads/ts_payload.c encoding/payloads/ts_payload.h \
-encoding/payloads/unknown_payload.c encoding/payloads/unknown_payload.h \
-encoding/payloads/vendor_id_payload.c encoding/payloads/vendor_id_payload.h \
-kernel/kernel_interface.c kernel/kernel_interface.h \
-kernel/kernel_ipsec.c kernel/kernel_ipsec.h \
-kernel/kernel_net.h \
-network/packet.c network/packet.h \
-network/receiver.c network/receiver.h \
-network/sender.c network/sender.h \
-network/socket_manager.c network/socket_manager.h network/socket.h \
-processing/jobs/job.h \
-processing/jobs/acquire_job.c processing/jobs/acquire_job.h \
-processing/jobs/callback_job.c processing/jobs/callback_job.h \
-processing/jobs/delete_child_sa_job.c processing/jobs/delete_child_sa_job.h \
-processing/jobs/delete_ike_sa_job.c processing/jobs/delete_ike_sa_job.h \
-processing/jobs/migrate_job.c processing/jobs/migrate_job.h \
-processing/jobs/process_message_job.c processing/jobs/process_message_job.h \
-processing/jobs/rekey_child_sa_job.c processing/jobs/rekey_child_sa_job.h \
-processing/jobs/rekey_ike_sa_job.c processing/jobs/rekey_ike_sa_job.h \
-processing/jobs/retransmit_job.c processing/jobs/retransmit_job.h \
-processing/jobs/send_dpd_job.c processing/jobs/send_dpd_job.h \
-processing/jobs/send_keepalive_job.c processing/jobs/send_keepalive_job.h \
-processing/jobs/roam_job.c processing/jobs/roam_job.h \
-processing/jobs/update_sa_job.c processing/jobs/update_sa_job.h \
-processing/jobs/inactivity_job.c processing/jobs/inactivity_job.h \
-processing/scheduler.c processing/scheduler.h \
-processing/processor.c processing/processor.h  \
-sa/authenticators/authenticator.c sa/authenticators/authenticator.h \
-sa/authenticators/eap_authenticator.c sa/authenticators/eap_authenticator.h \
-sa/authenticators/eap/eap_method.c sa/authenticators/eap/eap_method.h \
-sa/authenticators/eap/eap_manager.c sa/authenticators/eap/eap_manager.h \
-sa/authenticators/eap/sim_manager.c sa/authenticators/eap/sim_manager.h \
-sa/authenticators/psk_authenticator.c sa/authenticators/psk_authenticator.h \
-sa/authenticators/pubkey_authenticator.c sa/authenticators/pubkey_authenticator.h \
-sa/child_sa.c sa/child_sa.h \
-sa/ike_sa.c sa/ike_sa.h \
-sa/ike_sa_id.c sa/ike_sa_id.h \
-sa/ike_sa_manager.c sa/ike_sa_manager.h \
-sa/task_manager.c sa/task_manager.h \
-sa/keymat.c sa/keymat.h \
-sa/trap_manager.c sa/trap_manager.h \
-sa/tasks/child_create.c sa/tasks/child_create.h \
-sa/tasks/child_delete.c sa/tasks/child_delete.h \
-sa/tasks/child_rekey.c sa/tasks/child_rekey.h \
-sa/tasks/ike_auth.c sa/tasks/ike_auth.h \
-sa/tasks/ike_cert_pre.c sa/tasks/ike_cert_pre.h \
-sa/tasks/ike_cert_post.c sa/tasks/ike_cert_post.h \
-sa/tasks/ike_config.c sa/tasks/ike_config.h \
-sa/tasks/ike_delete.c sa/tasks/ike_delete.h \
-sa/tasks/ike_dpd.c sa/tasks/ike_dpd.h \
-sa/tasks/ike_init.c sa/tasks/ike_init.h \
-sa/tasks/ike_natd.c sa/tasks/ike_natd.h \
-sa/tasks/ike_mobike.c sa/tasks/ike_mobike.h \
-sa/tasks/ike_rekey.c sa/tasks/ike_rekey.h \
-sa/tasks/ike_reauth.c sa/tasks/ike_reauth.h \
-sa/tasks/ike_auth_lifetime.c sa/tasks/ike_auth_lifetime.h \
-sa/tasks/ike_vendor.c sa/tasks/ike_vendor.h \
-sa/tasks/task.c sa/tasks/task.h \
-credentials/credential_manager.c credentials/credential_manager.h \
-credentials/sets/auth_cfg_wrapper.c credentials/sets/auth_cfg_wrapper.h \
-credentials/sets/ocsp_response_wrapper.c credentials/sets/ocsp_response_wrapper.h \
-credentials/sets/cert_cache.c credentials/sets/cert_cache.h \
-credentials/credential_set.h
-
-INCLUDES = -I${linux_headers} -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/charon
-AM_CFLAGS = -rdynamic \
-  -DIPSEC_DIR=\"${ipsecdir}\" \
-  -DIPSEC_PIDDIR=\"${piddir}\"
-charon_LDADD = $(top_builddir)/src/libstrongswan/libstrongswan.la -lm $(PTHREADLIB) $(DLLIB) $(SOCKLIB)
-
-EXTRA_DIST = Android.mk
-
-# compile options
-#################
-
-if USE_ME
-  charon_SOURCES += encoding/payloads/endpoint_notify.c encoding/payloads/endpoint_notify.h \
-    processing/jobs/initiate_mediation_job.c processing/jobs/initiate_mediation_job.h \
-    processing/jobs/mediation_job.c processing/jobs/mediation_job.h \
-    sa/connect_manager.c sa/connect_manager.h \
-    sa/mediation_manager.c sa/mediation_manager.h \
-    sa/tasks/ike_me.c sa/tasks/ike_me.h
-endif
-
-if USE_CAPABILITIES
-  charon_LDADD += -lcap
-endif
-
-if MONOLITHIC
-    lib_LTLIBRARIES = libcharon.la
-    charon_LDADD += $(top_builddir)/src/charon/libcharon.la
-    libcharon_la_SOURCES =
-    libcharon_la_LIBADD =
-endif
-
-# build optional plugins
-########################
-
-SUBDIRS =
-PLUGINS = ${libstrongswan_plugins}
-
-if USE_LOAD_TESTER
-  SUBDIRS += plugins/load_tester
-  PLUGINS += load-tester
-if MONOLITHIC
-  libcharon_la_LIBADD += plugins/load_tester/libstrongswan-load-tester.la
-endif
-endif
-
-if USE_KERNEL_PFKEY
-  SUBDIRS += plugins/kernel_pfkey
-  PLUGINS += kernel-pfkey
-if MONOLITHIC
-  libcharon_la_LIBADD += plugins/kernel_pfkey/libstrongswan-kernel-pfkey.la
-endif
-endif
-
-if USE_KERNEL_PFROUTE
-  SUBDIRS += plugins/kernel_pfroute
-  PLUGINS += kernel-pfroute
-if MONOLITHIC
-  libcharon_la_LIBADD += plugins/kernel_pfroute/libstrongswan-kernel-pfroute.la
-endif
-endif
-
-if USE_KERNEL_KLIPS
-  SUBDIRS += plugins/kernel_klips
-  PLUGINS += kernel-klips
-if MONOLITHIC
-  libcharon_la_LIBADD += plugins/kernel_klips/libstrongswan-kernel-klips.la
-endif
-endif
-
-if USE_KERNEL_NETLINK
-  SUBDIRS += plugins/kernel_netlink
-  PLUGINS += kernel-netlink
-if MONOLITHIC
-  libcharon_la_LIBADD += plugins/kernel_netlink/libstrongswan-kernel-netlink.la
-endif
-endif
-
-if USE_SOCKET_DEFAULT
-  SUBDIRS += plugins/socket_default
-  PLUGINS += socket-default
-if MONOLITHIC
-  libcharon_la_LIBADD += plugins/socket_default/libstrongswan-socket-default.la
-endif
-endif
-
-if USE_SOCKET_RAW
-  SUBDIRS += plugins/socket_raw
-  PLUGINS += socket-raw
-if MONOLITHIC
-  libcharon_la_LIBADD += plugins/socket_raw/libstrongswan-socket-raw.la
-endif
-endif
-
-if USE_SOCKET_DYNAMIC
-  SUBDIRS += plugins/socket_dynamic
-  PLUGINS += socket-dynamic
-if MONOLITHIC
-  libcharon_la_LIBADD += plugins/socket_dynamic/libstrongswan-socket-dynamic.la
-endif
-endif
-
-if USE_STROKE
-  SUBDIRS += plugins/stroke
-  PLUGINS += stroke
-if MONOLITHIC
-  libcharon_la_LIBADD += plugins/stroke/libstrongswan-stroke.la
-endif
-endif
-
-if USE_SMP
-  SUBDIRS += plugins/smp
-  PLUGINS += smp
-if MONOLITHIC
-  libcharon_la_LIBADD += plugins/smp/libstrongswan-smp.la
-endif
-endif
-
-if USE_SQL
-  SUBDIRS += plugins/sql
-  PLUGINS += sql
-if MONOLITHIC
-  libcharon_la_LIBADD += plugins/sql/libstrongswan-sql.la
-endif
-endif
-
-if USE_UPDOWN
-  SUBDIRS += plugins/updown
-  PLUGINS += updown
-if MONOLITHIC
-  libcharon_la_LIBADD += plugins/updown/libstrongswan-updown.la
-endif
-endif
-
-if USE_ATTR
-  SUBDIRS += plugins/attr
-  PLUGINS += attr
-if MONOLITHIC
-  libcharon_la_LIBADD += plugins/attr/libstrongswan-attr.la
-endif
-endif
-
-if USE_EAP_IDENTITY
-  SUBDIRS += plugins/eap_identity
-  PLUGINS += eap-identity
-if MONOLITHIC
-  libcharon_la_LIBADD += plugins/eap_identity/libstrongswan-eap-identity.la
-endif
-endif
-
-if USE_EAP_SIM
-  SUBDIRS += plugins/eap_sim
-  PLUGINS += eap-sim
-if MONOLITHIC
-  libcharon_la_LIBADD += plugins/eap_sim/libstrongswan-eap-sim.la
-endif
-endif
-
-if USE_EAP_SIM_FILE
-  SUBDIRS += plugins/eap_sim_file
-  PLUGINS += eap-sim-file
-if MONOLITHIC
-  libcharon_la_LIBADD += plugins/eap_sim_file/libstrongswan-eap-sim-file.la
-endif
-endif
-
-if USE_EAP_SIMAKA_PSEUDONYM
-  SUBDIRS += plugins/eap_simaka_pseudonym
-  PLUGINS += eap-simaka-pseudonym
-if MONOLITHIC
-  libcharon_la_LIBADD += plugins/eap_simaka_pseudonym/libstrongswan-eap-simaka-pseudonym.la
-endif
-endif
-
-if USE_EAP_SIMAKA_REAUTH
-  SUBDIRS += plugins/eap_simaka_reauth
-  PLUGINS += eap-simaka-reauth
-if MONOLITHIC
-  libcharon_la_LIBADD += plugins/eap_simaka_reauth/libstrongswan-eap-simaka-reauth.la
-endif
-endif
-
-if USE_EAP_AKA
-  SUBDIRS += plugins/eap_aka
-  PLUGINS += eap-aka
-if MONOLITHIC
-  libcharon_la_LIBADD += plugins/eap_aka/libstrongswan-eap-aka.la
-endif
-endif
-
-if USE_EAP_AKA_3GPP2
-  SUBDIRS += plugins/eap_aka_3gpp2
-  PLUGINS += eap-aka-3gpp2
-if MONOLITHIC
-  libcharon_la_LIBADD += plugins/eap_aka_3gpp2/libstrongswan-eap-aka-3gpp2.la
-endif
-endif
-
-if USE_SIMAKA
-if MONOLITHIC
-  # otherwise this library is linked to both the eap_aka and the eap_sim plugin
-  libcharon_la_LIBADD += $(top_builddir)/src/libsimaka/libsimaka.la
-endif
-endif
-
-if USE_EAP_MD5
-  SUBDIRS += plugins/eap_md5
-  PLUGINS += eap-md5
-if MONOLITHIC
-  libcharon_la_LIBADD += plugins/eap_md5/libstrongswan-eap-md5.la
-endif
-endif
-
-if USE_EAP_GTC
-  SUBDIRS += plugins/eap_gtc
-  PLUGINS += eap-gtc
-if MONOLITHIC
-  libcharon_la_LIBADD += plugins/eap_gtc/libstrongswan-eap-gtc.la
-endif
-endif
-
-if USE_EAP_MSCHAPV2
-  SUBDIRS += plugins/eap_mschapv2
-  PLUGINS += eap-mschapv2
-if MONOLITHIC
-  libcharon_la_LIBADD += plugins/eap_mschapv2/libstrongswan-eap-mschapv2.la
-endif
-endif
-
-if USE_EAP_RADIUS
-  SUBDIRS += plugins/eap_radius
-  PLUGINS += eap-radius
-if MONOLITHIC
-  libcharon_la_LIBADD += plugins/eap_radius/libstrongswan-eap-radius.la
-endif
-endif
-
-if USE_MEDSRV
-  SUBDIRS += plugins/medsrv
-  PLUGINS += medsrv
-if MONOLITHIC
-  libcharon_la_LIBADD += plugins/medsrv/libstrongswan-medsrv.la
-endif
-endif
-
-if USE_MEDCLI
-  SUBDIRS += plugins/medcli
-  PLUGINS += medcli
-if MONOLITHIC
-  libcharon_la_LIBADD += plugins/medcli/libstrongswan-medcli.la
-endif
-endif
-
-if USE_NM
-  SUBDIRS += plugins/nm
-  PLUGINS += nm
-if MONOLITHIC
-  libcharon_la_LIBADD += plugins/nm/libstrongswan-nm.la
-endif
-endif
-
-if USE_RESOLVE
-  SUBDIRS += plugins/resolve
-  PLUGINS += resolve
-if MONOLITHIC
-  libcharon_la_LIBADD += plugins/resolve/libstrongswan-resolve.la
-endif
-endif
-
-if USE_ANDROID
-  SUBDIRS += plugins/android
-  PLUGINS += android
-if MONOLITHIC
-  libcharon_la_LIBADD += plugins/android/libstrongswan-android.la
-endif
-endif
-
-if USE_UCI
-  SUBDIRS += plugins/uci
-  PLUGINS += uci
-if MONOLITHIC
-  libcharon_la_LIBADD += plugins/uci/libstrongswan-uci.la
-endif
-endif
-
-if USE_UNIT_TESTS
-  SUBDIRS += plugins/unit_tester
-  PLUGINS += unit-tester
-if MONOLITHIC
-  libcharon_la_LIBADD += plugins/unit_tester/libstrongswan-unit-tester.la
-endif
-endif
-
-AM_CFLAGS += -DPLUGINS=\""${PLUGINS}\""
-
diff --git a/src/charon/bus/bus.c b/src/charon/bus/bus.c
deleted file mode 100644 (file)
index 524a776..0000000
+++ /dev/null
@@ -1,753 +0,0 @@
-/*
- * Copyright (C) 2006 Martin Willi
- * Hochschule fuer Technik Rapperswil
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 2 of the License, or (at your
- * option) any later version.  See <http://www.fsf.org/copyleft/gpl.txt>.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * for more details.
- */
-
-#include "bus.h"
-
-#include <stdint.h>
-
-#include <daemon.h>
-#include <threading/thread.h>
-#include <threading/thread_value.h>
-#include <threading/condvar.h>
-#include <threading/mutex.h>
-
-ENUM(debug_names, DBG_DMN, DBG_LIB,
-       "DMN",
-       "MGR",
-       "IKE",
-       "CHD",
-       "JOB",
-       "CFG",
-       "KNL",
-       "NET",
-       "ENC",
-       "LIB",
-);
-
-ENUM(debug_lower_names, DBG_DMN, DBG_LIB,
-       "dmn",
-       "mgr",
-       "ike",
-       "chd",
-       "job",
-       "cfg",
-       "knl",
-       "net",
-       "enc",
-       "lib",
-);
-
-typedef struct private_bus_t private_bus_t;
-
-/**
- * Private data of a bus_t object.
- */
-struct private_bus_t {
-       /**
-        * Public part of a bus_t object.
-        */
-       bus_t public;
-
-       /**
-        * List of registered listeners as entry_t's
-        */
-       linked_list_t *listeners;
-
-       /**
-        * mutex to synchronize active listeners, recursively
-        */
-       mutex_t *mutex;
-
-       /**
-        * Thread local storage the threads IKE_SA
-        */
-       thread_value_t *thread_sa;
-};
-
-typedef struct entry_t entry_t;
-
-/**
- * a listener entry, either active or passive
- */
-struct entry_t {
-
-       /**
-        * registered listener interface
-        */
-       listener_t *listener;
-
-       /**
-        * is this a active listen() call with a blocking thread
-        */
-       bool blocker;
-
-       /**
-        * are we currently calling this listener
-        */
-       int calling;
-
-       /**
-        * condvar where active listeners wait
-        */
-       condvar_t *condvar;
-};
-
-/**
- * create a listener entry
- */
-static entry_t *entry_create(listener_t *listener, bool blocker)
-{
-       entry_t *this = malloc_thing(entry_t);
-
-       this->listener = listener;
-       this->blocker = blocker;
-       this->calling = 0;
-       this->condvar = condvar_create(CONDVAR_TYPE_DEFAULT);
-
-       return this;
-}
-
-/**
- * destroy an entry_t
- */
-static void entry_destroy(entry_t *entry)
-{
-       entry->condvar->destroy(entry->condvar);
-       free(entry);
-}
-
-/**
- * Implementation of bus_t.add_listener.
- */
-static void add_listener(private_bus_t *this, listener_t *listener)
-{
-       this->mutex->lock(this->mutex);
-       this->listeners->insert_last(this->listeners, entry_create(listener, FALSE));
-       this->mutex->unlock(this->mutex);
-}
-
-/**
- * Implementation of bus_t.remove_listener.
- */
-static void remove_listener(private_bus_t *this, listener_t *listener)
-{
-       enumerator_t *enumerator;
-       entry_t *entry;
-
-       this->mutex->lock(this->mutex);
-       enumerator = this->listeners->create_enumerator(this->listeners);
-       while (enumerator->enumerate(enumerator, &entry))
-       {
-               if (entry->listener == listener)
-               {
-                       this->listeners->remove_at(this->listeners, enumerator);
-                       entry_destroy(entry);
-                       break;
-               }
-       }
-       enumerator->destroy(enumerator);
-       this->mutex->unlock(this->mutex);
-}
-
-typedef struct cleanup_data_t cleanup_data_t;
-
-/**
- * data to remove a listener using thread_cleanup_t handler
- */
-struct cleanup_data_t {
-       /** bus instance */
-       private_bus_t *this;
-       /** listener entry */
-       entry_t *entry;
-};
-
-/**
- * thread_cleanup_t handler to remove a listener
- */
-static void listener_cleanup(cleanup_data_t *data)
-{
-       data->this->listeners->remove(data->this->listeners, data->entry, NULL);
-       entry_destroy(data->entry);
-}
-
-/**
- * Implementation of bus_t.listen.
- */
-static void listen_(private_bus_t *this, listener_t *listener, job_t *job)
-{
-       bool old;
-       cleanup_data_t data;
-
-       data.this = this;
-       data.entry = entry_create(listener, TRUE);
-
-       this->mutex->lock(this->mutex);
-       this->listeners->insert_last(this->listeners, data.entry);
-       charon->processor->queue_job(charon->processor, job);
-       thread_cleanup_push((thread_cleanup_t)this->mutex->unlock, this->mutex);
-       thread_cleanup_push((thread_cleanup_t)listener_cleanup, &data);
-       old = thread_cancelability(TRUE);
-       while (data.entry->blocker)
-       {
-               data.entry->condvar->wait(data.entry->condvar, this->mutex);
-       }
-       thread_cancelability(old);
-       thread_cleanup_pop(FALSE);
-       /* unlock mutex */
-       thread_cleanup_pop(TRUE);
-       entry_destroy(data.entry);
-}
-
-/**
- * Implementation of bus_t.set_sa.
- */
-static void set_sa(private_bus_t *this, ike_sa_t *ike_sa)
-{
-       this->thread_sa->set(this->thread_sa, ike_sa);
-}
-
-/**
- * Implementation of bus_t.get_sa
- */
-static ike_sa_t* get_sa(private_bus_t *this)
-{
-       return this->thread_sa->get(this->thread_sa);
-}
-
-/**
- * data associated to a signal, passed to callback
- */
-typedef struct {
-       /** associated IKE_SA */
-       ike_sa_t *ike_sa;
-       /** invoking thread */
-       long thread;
-       /** debug group */
-       debug_t group;
-       /** debug level */
-       level_t level;
-       /** format string */
-       char *format;
-       /** argument list */
-       va_list args;
-} log_data_t;
-
-/**
- * listener->log() invocation as a list remove callback
- */
-static bool log_cb(entry_t *entry, log_data_t *data)
-{
-       va_list args;
-
-       if (entry->calling || !entry->listener->log)
-       {       /* avoid recursive calls */
-               return FALSE;
-       }
-       entry->calling++;
-       va_copy(args, data->args);
-       if (!entry->listener->log(entry->listener, data->group, data->level,
-                                                         data->thread, data->ike_sa, data->format, args))
-       {
-               if (entry->blocker)
-               {
-                       entry->blocker = FALSE;
-                       entry->condvar->signal(entry->condvar);
-               }
-               else
-               {
-                       entry_destroy(entry);
-               }
-               va_end(args);
-               entry->calling--;
-               return TRUE;
-       }
-       va_end(args);
-       entry->calling--;
-       return FALSE;
-}
-
-/**
- * Implementation of bus_t.vlog.
- */
-static void vlog(private_bus_t *this, debug_t group, level_t level,
-                                char* format, va_list args)
-{
-       log_data_t data;
-
-       data.ike_sa = this->thread_sa->get(this->thread_sa);
-       data.thread = thread_current_id();
-       data.group = group;
-       data.level = level;
-       data.format = format;
-       va_copy(data.args, args);
-
-       this->mutex->lock(this->mutex);
-       /* We use the remove() method to invoke all listeners. This is cheap and
-        * does not require an allocation for this performance critical function. */
-       this->listeners->remove(this->listeners, &data, (void*)log_cb);
-       this->mutex->unlock(this->mutex);
-
-       va_end(data.args);
-}
-
-/**
- * Implementation of bus_t.log.
- */
-static void log_(private_bus_t *this, debug_t group, level_t level,
-                                char* format, ...)
-{
-       va_list args;
-
-       va_start(args, format);
-       vlog(this, group, level, format, args);
-       va_end(args);
-}
-
-/**
- * unregister a listener
- */
-static void unregister_listener(private_bus_t *this, entry_t *entry,
-                                                               enumerator_t *enumerator)
-{
-       if (entry->blocker)
-       {
-               entry->blocker = FALSE;
-               entry->condvar->signal(entry->condvar);
-       }
-       else
-       {
-               entry_destroy(entry);
-       }
-       this->listeners->remove_at(this->listeners, enumerator);
-}
-
-/**
- * Implementation of bus_t.alert
- */
-static void alert(private_bus_t *this, alert_t alert, ...)
-{
-       enumerator_t *enumerator;
-       ike_sa_t *ike_sa;
-       entry_t *entry;
-       va_list args;
-       bool keep;
-
-       ike_sa = this->thread_sa->get(this->thread_sa);
-
-       this->mutex->lock(this->mutex);
-       enumerator = this->listeners->create_enumerator(this->listeners);
-       while (enumerator->enumerate(enumerator, &entry))
-       {
-               if (entry->calling || !entry->listener->alert)
-               {
-                       continue;
-               }
-               entry->calling++;
-               va_start(args, alert);
-               keep = entry->listener->alert(entry->listener, ike_sa, alert, args);
-               va_end(args);
-               entry->calling--;
-               if (!keep)
-               {
-                       unregister_listener(this, entry, enumerator);
-               }
-       }
-       enumerator->destroy(enumerator);
-       this->mutex->unlock(this->mutex);
-}
-
-/**
- * Implementation of bus_t.ike_state_change
- */
-static void ike_state_change(private_bus_t *this, ike_sa_t *ike_sa,
-                                                        ike_sa_state_t state)
-{
-       enumerator_t *enumerator;
-       entry_t *entry;
-       bool keep;
-
-       this->mutex->lock(this->mutex);
-       enumerator = this->listeners->create_enumerator(this->listeners);
-       while (enumerator->enumerate(enumerator, &entry))
-       {
-               if (entry->calling || !entry->listener->ike_state_change)
-               {
-                       continue;
-               }
-               entry->calling++;
-               keep = entry->listener->ike_state_change(entry->listener, ike_sa, state);
-               entry->calling--;
-               if (!keep)
-               {
-                       unregister_listener(this, entry, enumerator);
-               }
-       }
-       enumerator->destroy(enumerator);
-       this->mutex->unlock(this->mutex);
-}
-
-/**
- * Implementation of bus_t.child_state_change
- */
-static void child_state_change(private_bus_t *this, child_sa_t *child_sa,
-                                                          child_sa_state_t state)
-{
-       enumerator_t *enumerator;
-       ike_sa_t *ike_sa;
-       entry_t *entry;
-       bool keep;
-
-       ike_sa = this->thread_sa->get(this->thread_sa);
-
-       this->mutex->lock(this->mutex);
-       enumerator = this->listeners->create_enumerator(this->listeners);
-       while (enumerator->enumerate(enumerator, &entry))
-       {
-               if (entry->calling || !entry->listener->child_state_change)
-               {
-                       continue;
-               }
-               entry->calling++;
-               keep = entry->listener->child_state_change(entry->listener, ike_sa,
-                                                                                                  child_sa, state);
-               entry->calling--;
-               if (!keep)
-               {
-                       unregister_listener(this, entry, enumerator);
-               }
-       }
-       enumerator->destroy(enumerator);
-       this->mutex->unlock(this->mutex);
-}
-
-/**
- * Implementation of bus_t.message
- */
-static void message(private_bus_t *this, message_t *message, bool incoming)
-{
-       enumerator_t *enumerator;
-       ike_sa_t *ike_sa;
-       entry_t *entry;
-       bool keep;
-
-       ike_sa = this->thread_sa->get(this->thread_sa);
-
-       this->mutex->lock(this->mutex);
-       enumerator = this->listeners->create_enumerator(this->listeners);
-       while (enumerator->enumerate(enumerator, &entry))
-       {
-               if (entry->calling || !entry->listener->message)
-               {
-                       continue;
-               }
-               entry->calling++;
-               keep = entry->listener->message(entry->listener, ike_sa,
-                                                                               message, incoming);
-               entry->calling--;
-               if (!keep)
-               {
-                       unregister_listener(this, entry, enumerator);
-               }
-       }
-       enumerator->destroy(enumerator);
-       this->mutex->unlock(this->mutex);
-}
-
-/**
- * Implementation of bus_t.ike_keys
- */
-static void ike_keys(private_bus_t *this, ike_sa_t *ike_sa,
-                                        diffie_hellman_t *dh, chunk_t nonce_i, chunk_t nonce_r,
-                                        ike_sa_t *rekey)
-{
-       enumerator_t *enumerator;
-       entry_t *entry;
-       bool keep;
-
-       this->mutex->lock(this->mutex);
-       enumerator = this->listeners->create_enumerator(this->listeners);
-       while (enumerator->enumerate(enumerator, &entry))
-       {
-               if (entry->calling || !entry->listener->ike_keys)
-               {
-                       continue;
-               }
-               entry->calling++;
-               keep = entry->listener->ike_keys(entry->listener, ike_sa, dh,
-                                                                                nonce_i, nonce_r, rekey);
-               entry->calling--;
-               if (!keep)
-               {
-                       unregister_listener(this, entry, enumerator);
-               }
-       }
-       enumerator->destroy(enumerator);
-       this->mutex->unlock(this->mutex);
-}
-
-/**
- * Implementation of bus_t.child_keys
- */
-static void child_keys(private_bus_t *this, child_sa_t *child_sa,
-                                          diffie_hellman_t *dh, chunk_t nonce_i, chunk_t nonce_r)
-{
-       enumerator_t *enumerator;
-       ike_sa_t *ike_sa;
-       entry_t *entry;
-       bool keep;
-
-       ike_sa = this->thread_sa->get(this->thread_sa);
-
-       this->mutex->lock(this->mutex);
-       enumerator = this->listeners->create_enumerator(this->listeners);
-       while (enumerator->enumerate(enumerator, &entry))
-       {
-               if (entry->calling || !entry->listener->child_keys)
-               {
-                       continue;
-               }
-               entry->calling++;
-               keep = entry->listener->child_keys(entry->listener, ike_sa, child_sa,
-                                                                                  dh, nonce_i, nonce_r);
-               entry->calling--;
-               if (!keep)
-               {
-                       unregister_listener(this, entry, enumerator);
-               }
-       }
-       enumerator->destroy(enumerator);
-       this->mutex->unlock(this->mutex);
-}
-
-/**
- * Implementation of bus_t.child_updown
- */
-static void child_updown(private_bus_t *this, child_sa_t *child_sa, bool up)
-{
-       enumerator_t *enumerator;
-       ike_sa_t *ike_sa;
-       entry_t *entry;
-       bool keep;
-
-       ike_sa = this->thread_sa->get(this->thread_sa);
-
-       this->mutex->lock(this->mutex);
-       enumerator = this->listeners->create_enumerator(this->listeners);
-       while (enumerator->enumerate(enumerator, &entry))
-       {
-               if (entry->calling || !entry->listener->child_updown)
-               {
-                       continue;
-               }
-               entry->calling++;
-               keep = entry->listener->child_updown(entry->listener,
-                                                                                        ike_sa, child_sa, up);
-               entry->calling--;
-               if (!keep)
-               {
-                       unregister_listener(this, entry, enumerator);
-               }
-       }
-       enumerator->destroy(enumerator);
-       this->mutex->unlock(this->mutex);
-}
-
-/**
- * Implementation of bus_t.child_rekey
- */
-static void child_rekey(private_bus_t *this, child_sa_t *old, child_sa_t *new)
-{
-       enumerator_t *enumerator;
-       ike_sa_t *ike_sa;
-       entry_t *entry;
-       bool keep;
-
-       ike_sa = this->thread_sa->get(this->thread_sa);
-
-       this->mutex->lock(this->mutex);
-       enumerator = this->listeners->create_enumerator(this->listeners);
-       while (enumerator->enumerate(enumerator, &entry))
-       {
-               if (entry->calling || !entry->listener->child_rekey)
-               {
-                       continue;
-               }
-               entry->calling++;
-               keep = entry->listener->child_rekey(entry->listener, ike_sa, old, new);
-               entry->calling--;
-               if (!keep)
-               {
-                       unregister_listener(this, entry, enumerator);
-               }
-       }
-       enumerator->destroy(enumerator);
-       this->mutex->unlock(this->mutex);
-}
-
-/**
- * Implementation of bus_t.ike_updown
- */
-static void ike_updown(private_bus_t *this, ike_sa_t *ike_sa, bool up)
-{
-       enumerator_t *enumerator;
-       entry_t *entry;
-       bool keep;
-
-       this->mutex->lock(this->mutex);
-       enumerator = this->listeners->create_enumerator(this->listeners);
-       while (enumerator->enumerate(enumerator, &entry))
-       {
-               if (entry->calling || !entry->listener->ike_updown)
-               {
-                       continue;
-               }
-               entry->calling++;
-               keep = entry->listener->ike_updown(entry->listener, ike_sa, up);
-               entry->calling--;
-               if (!keep)
-               {
-                       unregister_listener(this, entry, enumerator);
-               }
-       }
-       enumerator->destroy(enumerator);
-       this->mutex->unlock(this->mutex);
-
-       /* a down event for IKE_SA implicitly downs all CHILD_SAs */
-       if (!up)
-       {
-               iterator_t *iterator;
-               child_sa_t *child_sa;
-
-               iterator = ike_sa->create_child_sa_iterator(ike_sa);
-               while (iterator->iterate(iterator, (void**)&child_sa))
-               {
-                       child_updown(this, child_sa, FALSE);
-               }
-               iterator->destroy(iterator);
-       }
-}
-
-/**
- * Implementation of bus_t.ike_rekey
- */
-static void ike_rekey(private_bus_t *this, ike_sa_t *old, ike_sa_t *new)
-{
-       enumerator_t *enumerator;
-       entry_t *entry;
-       bool keep;
-
-       this->mutex->lock(this->mutex);
-       enumerator = this->listeners->create_enumerator(this->listeners);
-       while (enumerator->enumerate(enumerator, &entry))
-       {
-               if (entry->calling || !entry->listener->ike_rekey)
-               {
-                       continue;
-               }
-               entry->calling++;
-               keep = entry->listener->ike_rekey(entry->listener, old, new);
-               entry->calling--;
-               if (!keep)
-               {
-                       unregister_listener(this, entry, enumerator);
-               }
-       }
-       enumerator->destroy(enumerator);
-       this->mutex->unlock(this->mutex);
-}
-
-/**
- * Implementation of bus_t.authorize
- */
-static bool authorize(private_bus_t *this, bool final)
-{
-       enumerator_t *enumerator;
-       ike_sa_t *ike_sa;
-       entry_t *entry;
-       bool keep, success = TRUE;
-
-       ike_sa = this->thread_sa->get(this->thread_sa);
-
-       this->mutex->lock(this->mutex);
-       enumerator = this->listeners->create_enumerator(this->listeners);
-       while (enumerator->enumerate(enumerator, &entry))
-       {
-               if (entry->calling || !entry->listener->authorize)
-               {
-                       continue;
-               }
-               entry->calling++;
-               keep = entry->listener->authorize(entry->listener, ike_sa,
-                                                                                 final, &success);
-               entry->calling--;
-               if (!keep)
-               {
-                       unregister_listener(this, entry, enumerator);
-               }
-               if (!success)
-               {
-                       break;
-               }
-       }
-       enumerator->destroy(enumerator);
-       this->mutex->unlock(this->mutex);
-       return success;
-}
-
-/**
- * Implementation of bus_t.destroy.
- */
-static void destroy(private_bus_t *this)
-{
-       this->thread_sa->destroy(this->thread_sa);
-       this->mutex->destroy(this->mutex);
-       this->listeners->destroy_function(this->listeners, (void*)entry_destroy);
-       free(this);
-}
-
-/*
- * Described in header.
- */
-bus_t *bus_create()
-{
-       private_bus_t *this = malloc_thing(private_bus_t);
-
-       this->public.add_listener = (void(*)(bus_t*,listener_t*))add_listener;
-       this->public.remove_listener = (void(*)(bus_t*,listener_t*))remove_listener;
-       this->public.listen = (void(*)(bus_t*, listener_t *listener, job_t *job))listen_;
-       this->public.set_sa = (void(*)(bus_t*,ike_sa_t*))set_sa;
-       this->public.get_sa = (ike_sa_t*(*)(bus_t*))get_sa;
-       this->public.log = (void(*)(bus_t*,debug_t,level_t,char*,...))log_;
-       this->public.vlog = (void(*)(bus_t*,debug_t,level_t,char*,va_list))vlog;
-       this->public.alert = (void(*)(bus_t*, alert_t alert, ...))alert;
-       this->public.ike_state_change = (void(*)(bus_t*,ike_sa_t*,ike_sa_state_t))ike_state_change;
-       this->public.child_state_change = (void(*)(bus_t*,child_sa_t*,child_sa_state_t))child_state_change;
-       this->public.message = (void(*)(bus_t*, message_t *message, bool incoming))message;
-       this->public.ike_keys = (void(*)(bus_t*, ike_sa_t *ike_sa, diffie_hellman_t *dh, chunk_t nonce_i, chunk_t nonce_r, ike_sa_t *rekey))ike_keys;
-       this->public.child_keys = (void(*)(bus_t*, child_sa_t *child_sa, diffie_hellman_t *dh, chunk_t nonce_i, chunk_t nonce_r))child_keys;
-       this->public.ike_updown = (void(*)(bus_t*, ike_sa_t *ike_sa, bool up))ike_updown;
-       this->public.ike_rekey = (void(*)(bus_t*, ike_sa_t *old, ike_sa_t *new))ike_rekey;
-       this->public.child_updown = (void(*)(bus_t*, child_sa_t *child_sa, bool up))child_updown;
-       this->public.child_rekey = (void(*)(bus_t*, child_sa_t *old, child_sa_t *new))child_rekey;
-       this->public.authorize = (bool(*)(bus_t*, bool final))authorize;
-       this->public.destroy = (void(*)(bus_t*)) destroy;
-
-       this->listeners = linked_list_create();
-       this->mutex = mutex_create(MUTEX_TYPE_RECURSIVE);
-       this->thread_sa = thread_value_create(NULL);
-
-       return &this->public;
-}
-
diff --git a/src/charon/bus/bus.h b/src/charon/bus/bus.h
deleted file mode 100644 (file)
index af59a14..0000000
+++ /dev/null
@@ -1,338 +0,0 @@
-/*
- * Copyright (C) 2006-2009 Martin Willi
- * Hochschule fuer Technik Rapperswil
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 2 of the License, or (at your
- * option) any later version.  See <http://www.fsf.org/copyleft/gpl.txt>.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * for more details.
- */
-
-/**
- * @defgroup bus bus
- * @{ @ingroup charon
- */
-
-#ifndef BUS_H_
-#define BUS_H_
-
-typedef enum debug_t debug_t;
-typedef enum level_t level_t;
-typedef enum alert_t alert_t;
-typedef struct bus_t bus_t;
-
-#include <stdarg.h>
-
-#include <sa/ike_sa.h>
-#include <sa/child_sa.h>
-#include <processing/jobs/job.h>
-#include <bus/listeners/listener.h>
-
-/**
- * Debug message group.
- */
-enum debug_t {
-       /** daemon main loop */
-       DBG_DMN,
-       /** IKE_SA_MANAGER */
-       DBG_MGR,
-       /** IKE_SA */
-       DBG_IKE,
-       /** CHILD_SA */
-       DBG_CHD,
-       /** job processing */
-       DBG_JOB,
-       /** configuration backends */
-       DBG_CFG,
-       /** kernel interface */
-       DBG_KNL,
-       /** networking/sockets */
-       DBG_NET,
-       /** message encoding/decoding */
-       DBG_ENC,
-       /** libstrongswan via logging hook */
-       DBG_LIB,
-       /** number of groups */
-       DBG_MAX,
-       /** pseudo group with all groups */
-       DBG_ANY = DBG_MAX,
-};
-
-/**
- * short names of debug message group.
- */
-extern enum_name_t *debug_names;
-
-/**
- * short names of debug message group, lower case.
- */
-extern enum_name_t *debug_lower_names;
-
-/**
- * Debug levels used to control output verbosity.
- */
-enum level_t {
-       /** absolutely silent */
-       LEVEL_SILENT =  -1,
-       /** most important auditing logs */
-       LEVEL_AUDIT =    0,
-       /** control flow */
-       LEVEL_CTRL =     1,
-       /** diagnose problems */
-       LEVEL_DIAG =     2,
-       /** raw binary blobs */
-       LEVEL_RAW =      3,
-       /** including sensitive data (private keys) */
-       LEVEL_PRIVATE =  4,
-};
-
-#ifndef DEBUG_LEVEL
-# define DEBUG_LEVEL 4
-#endif /* DEBUG_LEVEL */
-
-#if DEBUG_LEVEL >= 0
-#define DBG0(group, format, ...) charon->bus->log(charon->bus, group, 0, format, ##__VA_ARGS__)
-#endif /* DEBUG_LEVEL >= 0 */
-#if DEBUG_LEVEL >= 1
-#define DBG1(group, format, ...) charon->bus->log(charon->bus, group, 1, format, ##__VA_ARGS__)
-#endif /* DEBUG_LEVEL >= 1 */
-#if DEBUG_LEVEL >= 2
-#define DBG2(group, format, ...) charon->bus->log(charon->bus, group, 2, format, ##__VA_ARGS__)
-#endif /* DEBUG_LEVEL >= 2 */
-#if DEBUG_LEVEL >= 3
-#define DBG3(group, format, ...) charon->bus->log(charon->bus, group, 3, format, ##__VA_ARGS__)
-#endif /* DEBUG_LEVEL >= 3 */
-#if DEBUG_LEVEL >= 4
-#define DBG4(group, format, ...) charon->bus->log(charon->bus, group, 4, format, ##__VA_ARGS__)
-#endif /* DEBUG_LEVEL >= 4 */
-
-#ifndef DBG0
-# define DBG0(...) {}
-#endif /* DBG0 */
-#ifndef DBG1
-# define DBG1(...) {}
-#endif /* DBG1 */
-#ifndef DBG2
-# define DBG2(...) {}
-#endif /* DBG2 */
-#ifndef DBG3
-# define DBG3(...) {}
-#endif /* DBG3 */
-#ifndef DBG4
-# define DBG4(...) {}
-#endif /* DBG4 */
-
-/**
- * Kind of alerts to raise.
- */
-enum alert_t {
-       /* a RADIUS server did not respond, no additional arguments */
-       ALERT_RADIUS_NOT_RESPONDING,
-       /* a shutdown signal has been received, argument is a int with the signal */
-       ALERT_SHUTDOWN_SIGNAL,
-};
-
-/**
- * The bus receives events and sends them to all registered listeners.
- *
- * Any events sent to are delivered to all registered listeners. Threads
- * may wait actively to events using the blocking listen() call.
- */
-struct bus_t {
-
-       /**
-        * Register a listener to the bus.
-        *
-        * A registered listener receives all events which are sent to the bus.
-        * The listener is passive; the thread which emitted the event
-        * processes the listener routine.
-        *
-        * @param listener      listener to register.
-        */
-       void (*add_listener) (bus_t *this, listener_t *listener);
-
-       /**
-        * Unregister a listener from the bus.
-        *
-        * @param listener      listener to unregister.
-        */
-       void (*remove_listener) (bus_t *this, listener_t *listener);
-
-       /**
-        * Register a listener and block the calling thread.
-        *
-        * This call registers a listener and blocks the calling thread until
-        * its listeners function returns FALSE. This allows to wait for certain
-        * events. The associated job is executed after the listener has been
-        * registered: This allows to listen on events we initiate with the job,
-        * without missing any events to job may fire.
-        *
-        * @param listener      listener to register
-        * @param job           job to execute asynchronously when registered, or NULL
-        */
-       void (*listen)(bus_t *this, listener_t *listener, job_t *job);
-
-       /**
-        * Set the IKE_SA the calling thread is using.
-        *
-        * To associate an received log message to an IKE_SA without passing it as
-        * parameter each time, the thread registers the currenlty used IKE_SA
-        * during check-out. Before check-in, the thread unregisters the IKE_SA.
-        * This IKE_SA is stored per-thread, so each thread has its own IKE_SA
-        * registered.
-        *
-        * @param ike_sa        ike_sa to register, or NULL to unregister
-        */
-       void (*set_sa) (bus_t *this, ike_sa_t *ike_sa);
-
-       /**
-        * Get the IKE_SA the calling thread is currently using.
-        *
-        * If a thread currently does not know what IKE_SA it is processing,
-        * it can call get_sa() to look up the SA set during checkout via set_sa().
-        *
-        * @return                      registered ike_sa, NULL if none registered
-        */
-       ike_sa_t* (*get_sa)(bus_t *this);
-
-       /**
-        * Send a log message to the bus.
-        *
-        * The signal specifies the type of the event occured. The format string
-        * specifies an additional informational or error message with a
-        * printf() like variable argument list.
-        * Use the DBG() macros.
-        *
-        * @param group         debugging group
-        * @param level         verbosity level of the signal
-        * @param format        printf() style format string
-        * @param ...           printf() style argument list
-        */
-       void (*log)(bus_t *this, debug_t group, level_t level, char* format, ...);
-
-       /**
-        * Send a log message to the bus using va_list arguments.
-        *
-        * Same as bus_t.signal(), but uses va_list argument list.
-        *
-        * @param group         kind of the signal (up, down, rekeyed, ...)
-        * @param level         verbosity level of the signal
-        * @param format        printf() style format string
-        * @param args          va_list arguments
-        */
-       void (*vlog)(bus_t *this, debug_t group, level_t level,
-                                char* format, va_list args);
-
-       /**
-        * Raise an alert over the bus.
-        *
-        * @param alert         kind of alert
-        * @param ...           alert specific attributes
-        */
-       void (*alert)(bus_t *this, alert_t alert, ...);
-
-       /**
-        * Send a IKE_SA state change event to the bus.
-        *
-        * @param ike_sa        IKE_SA which changes its state
-        * @param state         new state IKE_SA changes to
-        */
-       void (*ike_state_change)(bus_t *this, ike_sa_t *ike_sa,
-                                                        ike_sa_state_t state);
-       /**
-        * Send a CHILD_SA state change event to the bus.
-        *
-        * @param child_sa      CHILD_SA which changes its state
-        * @param state         new state CHILD_SA changes to
-        */
-       void (*child_state_change)(bus_t *this, child_sa_t *child_sa,
-                                                          child_sa_state_t state);
-       /**
-        * Message send/receive hook.
-        *
-        * @param message       message to send/receive
-        * @param incoming      TRUE for incoming messages, FALSE for outgoing
-        */
-       void (*message)(bus_t *this, message_t *message, bool incoming);
-
-       /**
-        * IKE_SA authorization hook.
-        *
-        * @param final         TRUE if this is the final invocation
-        * @return                      TRUE to establish IKE_SA, FALSE to send AUTH_FAILED
-        */
-       bool (*authorize)(bus_t *this, bool final);
-
-       /**
-        * IKE_SA keymat hook.
-        *
-        * @param ike_sa        IKE_SA this keymat belongs to
-        * @param dh            diffie hellman shared secret
-        * @param nonce_i       initiators nonce
-        * @param nonce_r       responders nonce
-        * @param rekey         IKE_SA we are rekeying, if any
-        */
-       void (*ike_keys)(bus_t *this, ike_sa_t *ike_sa, diffie_hellman_t *dh,
-                                        chunk_t nonce_i, chunk_t nonce_r, ike_sa_t *rekey);
-       /**
-        * CHILD_SA keymat hook.
-        *
-        * @param child_sa      CHILD_SA this keymat is used for
-        * @param dh            diffie hellman shared secret
-        * @param nonce_i       initiators nonce
-        * @param nonce_r       responders nonce
-        */
-       void (*child_keys)(bus_t *this, child_sa_t *child_sa, diffie_hellman_t *dh,
-                                          chunk_t nonce_i, chunk_t nonce_r);
-
-       /**
-        * IKE_SA up/down hook.
-        *
-        * @param ike_sa        IKE_SA coming up/going down
-        * @param up            TRUE for an up event, FALSE for a down event
-        */
-       void (*ike_updown)(bus_t *this, ike_sa_t *ike_sa, bool up);
-
-       /**
-        * IKE_SA rekeying hook.
-        *
-        * @param old           rekeyed and obsolete IKE_SA
-        * @param new           new IKE_SA replacing old
-        */
-       void (*ike_rekey)(bus_t *this, ike_sa_t *old, ike_sa_t *new);
-
-       /**
-        * CHILD_SA up/down hook.
-        *
-        * @param child_sa      CHILD_SA coming up/going down
-        * @param up            TRUE for an up event, FALSE for a down event
-        */
-       void (*child_updown)(bus_t *this, child_sa_t *child_sa, bool up);
-
-       /**
-        * CHILD_SA rekeying hook.
-        *
-        * @param old           rekeyed and obsolete CHILD_SA
-        * @param new           new CHILD_SA replacing old
-        */
-       void (*child_rekey)(bus_t *this, child_sa_t *old, child_sa_t *new);
-
-       /**
-        * Destroy the event bus.
-        */
-       void (*destroy) (bus_t *this);
-};
-
-/**
- * Create the event bus which forwards events to its listeners.
- *
- * @return             event bus instance
- */
-bus_t *bus_create();
-
-#endif /** BUS_H_ @}*/
diff --git a/src/charon/bus/listeners/file_logger.c b/src/charon/bus/listeners/file_logger.c
deleted file mode 100644 (file)
index 12587de..0000000
+++ /dev/null
@@ -1,125 +0,0 @@
-/*
- * Copyright (C) 2006 Martin Willi
- * Hochschule fuer Technik Rapperswil
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 2 of the License, or (at your
- * option) any later version.  See <http://www.fsf.org/copyleft/gpl.txt>.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * for more details.
- */
-
-#include <stdio.h>
-#include <string.h>
-
-#include "file_logger.h"
-
-
-typedef struct private_file_logger_t private_file_logger_t;
-
-/**
- * Private data of a file_logger_t object
- */
-struct private_file_logger_t {
-
-       /**
-        * Public data.
-        */
-       file_logger_t public;
-
-       /**
-        * output file
-        */
-       FILE *out;
-
-       /**
-        * Maximum level to log, for each group
-        */
-       level_t levels[DBG_MAX];
-};
-
-/**
- * Implementation of bus_listener_t.log.
- */
-static bool log_(private_file_logger_t *this, debug_t group, level_t level,
-                                int thread, ike_sa_t* ike_sa, char *format, va_list args)
-{
-       if (level <= this->levels[group])
-       {
-               char buffer[8192];
-               char *current = buffer, *next;
-
-               /* write in memory buffer first */
-               vsnprintf(buffer, sizeof(buffer), format, args);
-
-               /* prepend a prefix in front of every line */
-               while (current)
-               {
-                       next = strchr(current, '\n');
-                       if (next)
-                       {
-                               *(next++) = '\0';
-                       }
-                       fprintf(this->out, "%.2d[%N] %s\n",
-                                       thread, debug_names, group, current);
-                       current = next;
-               }
-       }
-       /* always stay registered */
-       return TRUE;
-}
-
-/**
- * Implementation of file_logger_t.set_level.
- */
-static void set_level(private_file_logger_t *this, debug_t group, level_t level)
-{
-       if (group < DBG_ANY)
-       {
-               this->levels[group] = level;
-       }
-       else
-       {
-               for (group = 0; group < DBG_MAX; group++)
-               {
-                       this->levels[group] = level;
-               }
-       }
-}
-
-/**
- * Implementation of file_logger_t.destroy.
- */
-static void destroy(private_file_logger_t *this)
-{
-       if (this->out != stdout && this->out != stderr)
-       {
-               fclose(this->out);
-       }
-       free(this);
-}
-
-/*
- * Described in header.
- */
-file_logger_t *file_logger_create(FILE *out)
-{
-       private_file_logger_t *this = malloc_thing(private_file_logger_t);
-
-       /* public functions */
-       memset(&this->public.listener, 0, sizeof(listener_t));
-       this->public.listener.log = (bool(*)(listener_t*,debug_t,level_t,int,ike_sa_t*,char*,va_list))log_;
-       this->public.set_level = (void(*)(file_logger_t*,debug_t,level_t))set_level;
-       this->public.destroy = (void(*)(file_logger_t*))destroy;
-
-       /* private variables */
-       this->out = out;
-       set_level(this, DBG_ANY, LEVEL_SILENT);
-
-       return &this->public;
-}
-
diff --git a/src/charon/bus/listeners/file_logger.h b/src/charon/bus/listeners/file_logger.h
deleted file mode 100644 (file)
index bd443fd..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Copyright (C) 2006 Martin Willi
- * Hochschule fuer Technik Rapperswil
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 2 of the License, or (at your
- * option) any later version.  See <http://www.fsf.org/copyleft/gpl.txt>.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * for more details.
- */
-
-/**
- * @defgroup file_logger file_logger
- * @{ @ingroup listeners
- */
-
-#ifndef FILE_LOGGER_H_
-#define FILE_LOGGER_H_
-
-#include <bus/listeners/listener.h>
-
-typedef struct file_logger_t file_logger_t;
-
-/**
- * Logger to files which implements listener_t.
- */
-struct file_logger_t {
-
-       /**
-        * Implements the listener_t interface.
-        */
-       listener_t listener;
-
-       /**
-        * Set the loglevel for a debug group.
-        *
-        * @param group         debug group to set
-        * @param level         max level to log (0..4)
-        */
-       void (*set_level) (file_logger_t *this, debug_t group, level_t level);
-
-       /**
-        * Destroys a file_logger_t object.
-        */
-       void (*destroy) (file_logger_t *this);
-};
-
-/**
- * Constructor to create a file_logger_t object.
- *
- * @param out          FILE to write to
- * @return                     file_logger_t object
- */
-file_logger_t *file_logger_create(FILE *out);
-
-#endif /** FILE_LOGGER_H_ @}*/
diff --git a/src/charon/bus/listeners/listener.h b/src/charon/bus/listeners/listener.h
deleted file mode 100644 (file)
index 67e36be..0000000
+++ /dev/null
@@ -1,178 +0,0 @@
-/*
- * Copyright (C) 2009 Martin Willi
- * Hochschule fuer Technik Rapperswil
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 2 of the License, or (at your
- * option) any later version.  See <http://www.fsf.org/copyleft/gpl.txt>.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * for more details.
- */
-
-/**
- * @defgroup listener listener
- * @{ @ingroup listeners
- */
-
-#ifndef LISTENER_H_
-#define LISTENER_H_
-
-typedef struct listener_t listener_t;
-
-#include <bus/bus.h>
-
-/**
- * Listener interface, listens to events if registered to the bus.
- */
-struct listener_t {
-
-       /**
-        * Log a debugging message.
-        *
-        * The implementing signal function returns TRUE to stay registered
-        * to the bus, or FALSE to unregister itself.
-        * Calling bus_t.log() inside of a registered listener is possible,
-        * but the bus does not invoke listeners recursively.
-        *
-        * @param group         kind of the signal (up, down, rekeyed, ...)
-        * @param level         verbosity level of the signal
-        * @param thread        ID of the thread raised this signal
-        * @param ike_sa        IKE_SA associated to the event
-        * @param format        printf() style format string
-        * @param args          vprintf() style va_list argument list
-        " @return                      TRUE to stay registered, FALSE to unregister
-        */
-       bool (*log)(listener_t *this, debug_t group, level_t level, int thread,
-                               ike_sa_t *ike_sa, char* format, va_list args);
-
-       /**
-        * Hook called if a critical alert is risen.
-        *
-        * @param ike_sa        IKE_SA associated to the alert, if any
-        * @param alert         kind of alert
-        * @param ...           alert specific argument list
-        " @return                      TRUE to stay registered, FALSE to unregister
-        */
-       bool (*alert)(listener_t *this, ike_sa_t *ike_sa,
-                                 alert_t alert, va_list args);
-
-       /**
-        * Handle state changes in an IKE_SA.
-        *
-        * @param ike_sa        IKE_SA which changes its state
-        * @param state         new IKE_SA state this IKE_SA changes to
-        * @return                      TRUE to stay registered, FALSE to unregister
-        */
-       bool (*ike_state_change)(listener_t *this, ike_sa_t *ike_sa,
-                                                        ike_sa_state_t state);
-
-       /**
-        * Handle state changes in a CHILD_SA.
-        *
-        * @param ike_sa        IKE_SA containing the affected CHILD_SA
-        * @param child_sa      CHILD_SA which changes its state
-        * @param state         new CHILD_SA state this CHILD_SA changes to
-        * @return                      TRUE to stay registered, FALSE to unregister
-        */
-       bool (*child_state_change)(listener_t *this, ike_sa_t *ike_sa,
-                                                          child_sa_t *child_sa, child_sa_state_t state);
-
-       /**
-        * Hook called for received/sent messages of an IKE_SA.
-        *
-        * @param ike_sa        IKE_SA sending/receving a message
-        * @param message       message object
-        * @param incoming      TRUE for incoming messages, FALSE for outgoing
-        * @return                      TRUE to stay registered, FALSE to unregister
-        */
-       bool (*message)(listener_t *this, ike_sa_t *ike_sa, message_t *message,
-                                       bool incoming);
-
-       /**
-        * Hook called with IKE_SA key material.
-        *
-        * @param ike_sa        IKE_SA this keymat belongs to
-        * @param dh            diffie hellman shared secret
-        * @param nonce_i       initiators nonce
-        * @param nonce_r       responders nonce
-        * @param rekey         IKE_SA we are rekeying, if any
-        * @return                      TRUE to stay registered, FALSE to unregister
-        */
-       bool (*ike_keys)(listener_t *this, ike_sa_t *ike_sa, diffie_hellman_t *dh,
-                                        chunk_t nonce_i, chunk_t nonce_r, ike_sa_t *rekey);
-
-       /**
-        * Hook called with CHILD_SA key material.
-        *
-        * @param ike_sa        IKE_SA the child sa belongs to
-        * @param child_sa      CHILD_SA this keymat is used for
-        * @param dh            diffie hellman shared secret
-        * @param nonce_i       initiators nonce
-        * @param nonce_r       responders nonce
-        * @return                      TRUE to stay registered, FALSE to unregister
-        */
-       bool (*child_keys)(listener_t *this, ike_sa_t *ike_sa, child_sa_t *child_sa,
-                                          diffie_hellman_t *dh, chunk_t nonce_i, chunk_t nonce_r);
-
-       /**
-        * Hook called if an IKE_SA gets up or down.
-        *
-        * @param ike_sa        IKE_SA coming up/going down
-        * @param up            TRUE for an up event, FALSE for a down event
-        * @return                      TRUE to stay registered, FALSE to unregister
-        */
-       bool (*ike_updown)(listener_t *this, ike_sa_t *ike_sa, bool up);
-
-       /**
-        * Hook called when an IKE_SA gets rekeyed.
-        *
-        * @param old           rekeyed IKE_SA getting obsolete
-        * @param new           new IKE_SA replacing old
-        * @return                      TRUE to stay registered, FALSE to unregister
-        */
-       bool (*ike_rekey)(listener_t *this, ike_sa_t *old, ike_sa_t *new);
-
-       /**
-        * Hook called when a CHILD_SA gets up or down.
-        *
-        * @param ike_sa        IKE_SA containing the handled CHILD_SA
-        * @param child_sa      CHILD_SA coming up/going down
-        * @param up            TRUE for an up event, FALSE for a down event
-        * @return                      TRUE to stay registered, FALSE to unregister
-        */
-       bool (*child_updown)(listener_t *this, ike_sa_t *ike_sa,
-                                                child_sa_t *child_sa, bool up);
-
-       /**
-        * Hook called when an CHILD_SA gets rekeyed.
-        *
-        * @param ike_sa        IKE_SA containing the rekeyed CHILD_SA
-        * @param old           rekeyed CHILD_SA getting obsolete
-        * @param new           new CHILD_SA replacing old
-        * @return                      TRUE to stay registered, FALSE to unregister
-        */
-       bool (*child_rekey)(listener_t *this, ike_sa_t *ike_sa,
-                                               child_sa_t *old, child_sa_t *new);
-
-       /**
-        * Hook called to invoke additional authorization rules.
-        *
-        * An authorization hook gets invoked several times: After each
-        * authentication round, the hook gets invoked with with final = FALSE.
-        * After authentication is complete and the peer configuration is selected,
-        * it is invoked again, but with final = TRUE.
-        *
-        * @param ike_sa        IKE_SA to authorize
-        * @param final         TRUE if this is the final hook invocation
-        * @param success       set to TRUE to complete IKE_SA, FALSE abort
-        * @return                      TRUE to stay registered, FALSE to unregister
-        */
-       bool (*authorize)(listener_t *this, ike_sa_t *ike_sa,
-                                         bool final, bool *success);
-};
-
-#endif /** LISTENER_H_ @}*/
diff --git a/src/charon/bus/listeners/sys_logger.c b/src/charon/bus/listeners/sys_logger.c
deleted file mode 100644 (file)
index 11421ad..0000000
+++ /dev/null
@@ -1,121 +0,0 @@
-/*
- * Copyright (C) 2006 Martin Willi
- * Hochschule fuer Technik Rapperswil
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 2 of the License, or (at your
- * option) any later version.  See <http://www.fsf.org/copyleft/gpl.txt>.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * for more details.
- */
-
-#include <stdio.h>
-#include <string.h>
-
-#include "sys_logger.h"
-
-
-typedef struct private_sys_logger_t private_sys_logger_t;
-
-/**
- * Private data of a sys_logger_t object
- */
-struct private_sys_logger_t {
-
-       /**
-        * Public data.
-        */
-       sys_logger_t public;
-
-       /**
-        * syslog facility to use
-        */
-       int facility;
-
-       /**
-        * Maximum level to log, for each group
-        */
-       level_t levels[DBG_MAX];
-};
-
-/**
- * Implementation of listener_t.log.
- */
-static bool log_(private_sys_logger_t *this, debug_t group, level_t level,
-                                int thread, ike_sa_t* ike_sa, char *format, va_list args)
-{
-       if (level <= this->levels[group])
-       {
-               char buffer[8192];
-               char *current = buffer, *next;
-
-               /* write in memory buffer first */
-               vsnprintf(buffer, sizeof(buffer), format, args);
-
-               /* do a syslog with every line */
-               while (current)
-               {
-                       next = strchr(current, '\n');
-                       if (next)
-                       {
-                               *(next++) = '\0';
-                       }
-                       syslog(this->facility|LOG_INFO, "%.2d[%N] %s\n",
-                                  thread, debug_names, group, current);
-                       current = next;
-               }
-       }
-       /* always stay registered */
-       return TRUE;
-}
-
-/**
- * Implementation of sys_logger_t.set_level.
- */
-static void set_level(private_sys_logger_t *this, debug_t group, level_t level)
-{
-       if (group < DBG_ANY)
-       {
-               this->levels[group] = level;
-       }
-       else
-       {
-               for (group = 0; group < DBG_MAX; group++)
-               {
-                       this->levels[group] = level;
-               }
-       }
-}
-
-/**
- * Implementation of sys_logger_t.destroy.
- */
-static void destroy(private_sys_logger_t *this)
-{
-       closelog();
-       free(this);
-}
-
-/*
- * Described in header.
- */
-sys_logger_t *sys_logger_create(int facility)
-{
-       private_sys_logger_t *this = malloc_thing(private_sys_logger_t);
-
-       /* public functions */
-       memset(&this->public.listener, 0, sizeof(listener_t));
-       this->public.listener.log = (bool(*)(listener_t*,debug_t,level_t,int,ike_sa_t*,char*,va_list))log_;
-       this->public.set_level = (void(*)(sys_logger_t*,debug_t,level_t))set_level;
-       this->public.destroy = (void(*)(sys_logger_t*))destroy;
-
-       /* private variables */
-       this->facility = facility;
-       set_level(this, DBG_ANY, LEVEL_SILENT);
-
-       return &this->public;
-}
diff --git a/src/charon/bus/listeners/sys_logger.h b/src/charon/bus/listeners/sys_logger.h
deleted file mode 100644 (file)
index 730890d..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * Copyright (C) 2006 Martin Willi
- * Hochschule fuer Technik Rapperswil
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 2 of the License, or (at your
- * option) any later version.  See <http://www.fsf.org/copyleft/gpl.txt>.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * for more details.
- */
-
-/**
- * @defgroup sys_logger sys_logger
- * @{ @ingroup listeners
- */
-
-#ifndef SYS_LOGGER_H_
-#define SYS_LOGGER_H_
-
-#include <syslog.h>
-
-#include <bus/listeners/listener.h>
-
-typedef struct sys_logger_t sys_logger_t;
-
-/**
- * Logger for syslog which implements listener_t.
- */
-struct sys_logger_t {
-
-       /**
-        * Implements the listener_t interface.
-        */
-       listener_t listener;
-
-       /**
-        * Set the loglevel for a debug group.
-        *
-        * @param group         debug group to set
-        * @param level         max level to log (0..4)
-        */
-       void (*set_level) (sys_logger_t *this, debug_t group, level_t level);
-
-       /**
-        * Destroys a sys_logger_t object.
-        */
-       void (*destroy) (sys_logger_t *this);
-};
-
-/**
- * Constructor to create a sys_logger_t object.
- *
- * @param facility     syslog facility to use
- * @return                     sys_logger_t object
- */
-sys_logger_t *sys_logger_create(int facility);
-
-#endif /** SYS_LOGGER_H_ @}*/
diff --git a/src/charon/config/auth_cfg.c b/src/charon/config/auth_cfg.c
deleted file mode 100644 (file)
index 94362c7..0000000
+++ /dev/null
@@ -1,768 +0,0 @@
-/*
- * Copyright (C) 2007-2009 Martin Willi
- * Copyright (C) 2008 Tobias Brunner
- * Hochschule fuer Technik Rapperswil
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 2 of the License, or (at your
- * option) any later version.  See <http://www.fsf.org/copyleft/gpl.txt>.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * for more details.
- */
-
-#include "auth_cfg.h"
-
-#include <daemon.h>
-#include <utils/linked_list.h>
-#include <utils/identification.h>
-#include <credentials/certificates/certificate.h>
-
-ENUM(auth_rule_names, AUTH_RULE_IDENTITY, AUTH_HELPER_SUBJECT_HASH_URL,
-       "RULE_IDENTITY",
-       "RULE_AUTH_CLASS",
-       "RULE_EAP_IDENTITY",
-       "RULE_EAP_TYPE",
-       "RULE_EAP_VENDOR",
-       "RULE_CA_CERT",
-       "RULE_IM_CERT",
-       "RULE_SUBJECT_CERT",
-       "RULE_CRL_VALIDATION",
-       "RULE_OCSP_VALIDATION",
-       "RULE_AC_GROUP",
-       "HELPER_IM_CERT",
-       "HELPER_SUBJECT_CERT",
-       "HELPER_IM_HASH_URL",
-       "HELPER_SUBJECT_HASH_URL",
-);
-
-typedef struct private_auth_cfg_t private_auth_cfg_t;
-
-/**
- * private data of item_set
- */
-struct private_auth_cfg_t {
-
-       /**
-        * public functions
-        */
-       auth_cfg_t public;
-
-       /**
-        * list of entry_t
-        */
-       linked_list_t *entries;
-};
-
-typedef struct entry_t entry_t;
-
-struct entry_t {
-       /** rule type */
-       auth_rule_t type;
-       /** associated value */
-       void *value;
-};
-
-/**
- * enumerator for auth_cfg_t.create_enumerator()
- */
-typedef struct {
-       /** implements enumerator_t */
-       enumerator_t public;
-       /** inner enumerator from linked_list_t */
-       enumerator_t *inner;
-       /** current entry */
-       entry_t *current;
-} entry_enumerator_t;
-
-/**
- * enumerate function for item_enumerator_t
- */
-static bool enumerate(entry_enumerator_t *this, auth_rule_t *type, void **value)
-{
-       entry_t *entry;
-
-       if (this->inner->enumerate(this->inner, &entry))
-       {
-               this->current = entry;
-               *type = entry->type;
-               *value = entry->value;
-               return TRUE;
-       }
-       return FALSE;
-}
-
-/**
- * destroy function for item_enumerator_t
- */
-static void entry_enumerator_destroy(entry_enumerator_t *this)
-{
-       this->inner->destroy(this->inner);
-       free(this);
-}
-
-/**
- * Implementation of auth_cfg_t.create_enumerator.
- */
-static enumerator_t* create_enumerator(private_auth_cfg_t *this)
-{
-       entry_enumerator_t *enumerator;
-
-       enumerator = malloc_thing(entry_enumerator_t);
-       enumerator->inner = this->entries->create_enumerator(this->entries);
-       enumerator->public.enumerate = (void*)enumerate;
-       enumerator->public.destroy = (void*)entry_enumerator_destroy;
-       enumerator->current = NULL;
-       return &enumerator->public;
-}
-
-/**
- * Destroy the value associated with an entry
- */
-static void destroy_entry_value(entry_t *entry)
-{
-       switch (entry->type)
-       {
-               case AUTH_RULE_IDENTITY:
-               case AUTH_RULE_EAP_IDENTITY:
-               case AUTH_RULE_AC_GROUP:
-               {
-                       identification_t *id = (identification_t*)entry->value;
-                       id->destroy(id);
-                       break;
-               }
-               case AUTH_RULE_CA_CERT:
-               case AUTH_RULE_IM_CERT:
-               case AUTH_RULE_SUBJECT_CERT:
-               case AUTH_HELPER_IM_CERT:
-               case AUTH_HELPER_SUBJECT_CERT:
-               {
-                       certificate_t *cert = (certificate_t*)entry->value;
-                       cert->destroy(cert);
-                       break;
-               }
-               case AUTH_HELPER_IM_HASH_URL:
-               case AUTH_HELPER_SUBJECT_HASH_URL:
-               {
-                       free(entry->value);
-                       break;
-               }
-               case AUTH_RULE_AUTH_CLASS:
-               case AUTH_RULE_EAP_TYPE:
-               case AUTH_RULE_EAP_VENDOR:
-               case AUTH_RULE_CRL_VALIDATION:
-               case AUTH_RULE_OCSP_VALIDATION:
-                       break;
-       }
-}
-
-/**
- * Implementation of auth_cfg_t.replace.
- */
-static void replace(auth_cfg_t *this, entry_enumerator_t *enumerator,
-                                       auth_rule_t type, ...)
-{
-       if (enumerator->current)
-       {
-               va_list args;
-
-               va_start(args, type);
-
-               destroy_entry_value(enumerator->current);
-               enumerator->current->type = type;
-               switch (type)
-               {
-                       case AUTH_RULE_AUTH_CLASS:
-                       case AUTH_RULE_EAP_TYPE:
-                       case AUTH_RULE_EAP_VENDOR:
-                       case AUTH_RULE_CRL_VALIDATION:
-                       case AUTH_RULE_OCSP_VALIDATION:
-                               /* integer type */
-                               enumerator->current->value = (void*)(uintptr_t)va_arg(args, u_int);
-                               break;
-                       case AUTH_RULE_IDENTITY:
-                       case AUTH_RULE_EAP_IDENTITY:
-                       case AUTH_RULE_AC_GROUP:
-                       case AUTH_RULE_CA_CERT:
-                       case AUTH_RULE_IM_CERT:
-                       case AUTH_RULE_SUBJECT_CERT:
-                       case AUTH_HELPER_IM_CERT:
-                       case AUTH_HELPER_SUBJECT_CERT:
-                       case AUTH_HELPER_IM_HASH_URL:
-                       case AUTH_HELPER_SUBJECT_HASH_URL:
-                               /* pointer type */
-                               enumerator->current->value = va_arg(args, void*);
-                               break;
-               }
-               va_end(args);
-       }
-}
-
-/**
- * Implementation of auth_cfg_t.get.
- */
-static void* get(private_auth_cfg_t *this, auth_rule_t type)
-{
-       enumerator_t *enumerator;
-       void *current_value, *best_value = NULL;
-       auth_rule_t current_type;
-       bool found = FALSE;
-
-       enumerator = create_enumerator(this);
-       while (enumerator->enumerate(enumerator, &current_type, &current_value))
-       {
-               if (type == current_type)
-               {
-                       if (type == AUTH_RULE_CRL_VALIDATION ||
-                               type == AUTH_RULE_OCSP_VALIDATION)
-                       {       /* for CRL/OCSP validation, always get() the highest value */
-                               if (!found || current_value > best_value)
-                               {
-                                       best_value = current_value;
-                               }
-                               found = TRUE;
-                               continue;
-                       }
-                       best_value = current_value;
-                       found = TRUE;
-                       break;
-               }
-       }
-       enumerator->destroy(enumerator);
-       if (found)
-       {
-               return best_value;
-       }
-       switch (type)
-       {
-               /* use some sane defaults if we don't find an entry */
-               case AUTH_RULE_AUTH_CLASS:
-                       return (void*)AUTH_CLASS_ANY;
-               case AUTH_RULE_EAP_TYPE:
-                       return (void*)EAP_NAK;
-               case AUTH_RULE_EAP_VENDOR:
-                       return (void*)0;
-               case AUTH_RULE_CRL_VALIDATION:
-               case AUTH_RULE_OCSP_VALIDATION:
-                       return (void*)VALIDATION_FAILED;
-               case AUTH_RULE_IDENTITY:
-               case AUTH_RULE_EAP_IDENTITY:
-               case AUTH_RULE_AC_GROUP:
-               case AUTH_RULE_CA_CERT:
-               case AUTH_RULE_IM_CERT:
-               case AUTH_RULE_SUBJECT_CERT:
-               case AUTH_HELPER_IM_CERT:
-               case AUTH_HELPER_SUBJECT_CERT:
-               case AUTH_HELPER_IM_HASH_URL:
-               case AUTH_HELPER_SUBJECT_HASH_URL:
-               default:
-                       return NULL;
-       }
-}
-
-/**
- * Implementation of auth_cfg_t.add.
- */
-static void add(private_auth_cfg_t *this, auth_rule_t type, ...)
-{
-       entry_t *entry = malloc_thing(entry_t);
-       va_list args;
-
-       va_start(args, type);
-       entry->type = type;
-       switch (type)
-       {
-               case AUTH_RULE_AUTH_CLASS:
-               case AUTH_RULE_EAP_TYPE:
-               case AUTH_RULE_EAP_VENDOR:
-               case AUTH_RULE_CRL_VALIDATION:
-               case AUTH_RULE_OCSP_VALIDATION:
-                       /* integer type */
-                       entry->value = (void*)(uintptr_t)va_arg(args, u_int);
-                       break;
-               case AUTH_RULE_IDENTITY:
-               case AUTH_RULE_EAP_IDENTITY:
-               case AUTH_RULE_AC_GROUP:
-               case AUTH_RULE_CA_CERT:
-               case AUTH_RULE_IM_CERT:
-               case AUTH_RULE_SUBJECT_CERT:
-               case AUTH_HELPER_IM_CERT:
-               case AUTH_HELPER_SUBJECT_CERT:
-               case AUTH_HELPER_IM_HASH_URL:
-               case AUTH_HELPER_SUBJECT_HASH_URL:
-                       /* pointer type */
-                       entry->value = va_arg(args, void*);
-                       break;
-       }
-       va_end(args);
-       this->entries->insert_last(this->entries, entry);
-}
-
-/**
- * Implementation of auth_cfg_t.complies.
- */
-static bool complies(private_auth_cfg_t *this, auth_cfg_t *constraints,
-                                        bool log_error)
-{
-       enumerator_t *e1, *e2;
-       bool success = TRUE;
-       auth_rule_t t1, t2;
-       void *value;
-
-       e1 = constraints->create_enumerator(constraints);
-       while (e1->enumerate(e1, &t1, &value))
-       {
-               switch (t1)
-               {
-                       case AUTH_RULE_CA_CERT:
-                       case AUTH_RULE_IM_CERT:
-                       {
-                               certificate_t *c1, *c2;
-
-                               c1 = (certificate_t*)value;
-
-                               success = FALSE;
-                               e2 = create_enumerator(this);
-                               while (e2->enumerate(e2, &t2, &c2))
-                               {
-                                       if ((t2 == AUTH_RULE_CA_CERT || t2 == AUTH_RULE_IM_CERT) &&
-                                               c1->equals(c1, c2))
-                                       {
-                                               success = TRUE;
-                                       }
-                               }
-                               e2->destroy(e2);
-                               if (!success && log_error)
-                               {
-                                       DBG1(DBG_CFG, "constraint check failed: peer not "
-                                                "authenticated by CA '%Y'.", c1->get_subject(c1));
-                               }
-                               break;
-                       }
-                       case AUTH_RULE_SUBJECT_CERT:
-                       {
-                               certificate_t *c1, *c2;
-
-                               c1 = (certificate_t*)value;
-                               c2 = get(this, AUTH_RULE_SUBJECT_CERT);
-                               if (!c2 || !c1->equals(c1, c2))
-                               {
-                                       success = FALSE;
-                                       if (log_error)
-                                       {
-                                               DBG1(DBG_CFG, "constraint check failed: peer not "
-                                                        "authenticated with peer cert '%Y'.",
-                                                        c1->get_subject(c1));
-                                       }
-                               }
-                               break;
-                       }
-                       case AUTH_RULE_CRL_VALIDATION:
-                       case AUTH_RULE_OCSP_VALIDATION:
-                       {
-                               cert_validation_t validated, required;
-
-                               required = (uintptr_t)value;
-                               validated = (uintptr_t)get(this, t1);
-                               switch (required)
-                               {
-                                       case VALIDATION_FAILED:
-                                               /* no constraint */
-                                               break;
-                                       case VALIDATION_SKIPPED:
-                                               if (validated == VALIDATION_SKIPPED)
-                                               {
-                                                       break;
-                                               }
-                                               /* FALL */
-                                       case VALIDATION_GOOD:
-                                               if (validated == VALIDATION_GOOD)
-                                               {
-                                                       break;
-                                               }
-                                               /* FALL */
-                                       default:
-                                               success = FALSE;
-                                               if (log_error)
-                                               {
-                                                       DBG1(DBG_CFG, "constraint check failed: %N is %N, "
-                                                                "but requires at least %N", auth_rule_names,
-                                                                t1, cert_validation_names, validated,
-                                                                cert_validation_names, required);
-                                               }
-                                               break;
-                               }
-                               break;
-                       }
-                       case AUTH_RULE_IDENTITY:
-                       case AUTH_RULE_EAP_IDENTITY:
-                       {
-                               identification_t *id1, *id2;
-
-                               id1 = (identification_t*)value;
-                               id2 = get(this, t1);
-                               if (!id2 || !id2->matches(id2, id1))
-                               {
-                                       success = FALSE;
-                                       if (log_error)
-                                       {
-                                               DBG1(DBG_CFG, "constraint check failed: %sidentity '%Y'"
-                                                        " required ", t1 == AUTH_RULE_IDENTITY ? "" :
-                                                        "EAP ", id1);
-                                       }
-                               }
-                               break;
-                       }
-                       case AUTH_RULE_AUTH_CLASS:
-                       {
-                               if ((uintptr_t)value != AUTH_CLASS_ANY &&
-                                       (uintptr_t)value != (uintptr_t)get(this, t1))
-                               {
-                                       success = FALSE;
-                                       if (log_error)
-                                       {
-                                               DBG1(DBG_CFG, "constraint requires %N authentication, "
-                                                        "but %N was used", auth_class_names, (uintptr_t)value,
-                                                        auth_class_names, (uintptr_t)get(this, t1));
-                                       }
-                               }
-                               break;
-                       }
-                       case AUTH_RULE_EAP_TYPE:
-                       {
-                               if ((uintptr_t)value != (uintptr_t)get(this, t1))
-                               {
-                                       success = FALSE;
-                                       if (log_error)
-                                       {
-                                               DBG1(DBG_CFG, "constraint requires %N, "
-                                                        "but %N was used", eap_type_names, (uintptr_t)value,
-                                                        eap_type_names,  (uintptr_t)get(this, t1));
-                                       }
-                               }
-                               break;
-                       }
-                       case AUTH_RULE_EAP_VENDOR:
-                       {
-                               if ((uintptr_t)value != (uintptr_t)get(this, t1))
-                               {
-                                       success = FALSE;
-                                       if (log_error)
-                                       {
-                                               DBG1(DBG_CFG, "constraint requires EAP vendor %d, "
-                                                        "but %d was used", (uintptr_t)value,
-                                                        (uintptr_t)get(this, t1));
-                                       }
-                               }
-                               break;
-                       }
-                       case AUTH_RULE_AC_GROUP:
-                       {
-                               success = FALSE;
-                               if (log_error)
-                               {
-          &nb