redesigned IKE_SA using a transaction mechanism:
authorMartin Willi <martin@strongswan.org>
Wed, 5 Jul 2006 10:53:20 +0000 (10:53 -0000)
committerMartin Willi <martin@strongswan.org>
Wed, 5 Jul 2006 10:53:20 +0000 (10:53 -0000)
commit3dd3c5f39e57ef2f402870136579f7478a4eba34
tree7438497060efb7eafe2eb866930adc5026a171d4
parentb12af2ead628521c8c55638b4f1eedc311864435
redesigned IKE_SA using a transaction mechanism:
  removed old state machine
  reimplemented IKE_SA setup and delete
  implemented dead peer detection
  implemented keep-alives
  a lot of fixes
  no rekeying yet
71 files changed:
src/charon/Makefile.am
src/charon/config/configuration.c
src/charon/config/configuration.h
src/charon/config/connections/connection.c
src/charon/config/policies/policy.c
src/charon/config/proposal.c
src/charon/daemon.c
src/charon/doc/Todo-list.txt
src/charon/encoding/message.c
src/charon/encoding/message.h
src/charon/encoding/payloads/cert_payload.c
src/charon/encoding/payloads/ke_payload.c
src/charon/encoding/payloads/ke_payload.h
src/charon/encoding/payloads/nonce_payload.h
src/charon/encoding/payloads/notify_payload.c
src/charon/encoding/payloads/notify_payload.h
src/charon/encoding/payloads/payload.c
src/charon/encoding/payloads/payload.h
src/charon/encoding/payloads/proposal_substructure.c
src/charon/encoding/payloads/sa_payload.c
src/charon/network/interfaces.c
src/charon/network/interfaces.h
src/charon/network/socket.c
src/charon/queues/jobs/delete_half_open_ike_sa_job.c
src/charon/queues/jobs/delete_half_open_ike_sa_job.h
src/charon/queues/jobs/incoming_packet_job.c
src/charon/queues/jobs/initiate_ike_sa_job.c
src/charon/queues/jobs/retransmit_request_job.c
src/charon/queues/jobs/send_dpd_job.c
src/charon/queues/jobs/send_keepalive_job.c
src/charon/queues/send_queue.c
src/charon/sa/authenticator.c
src/charon/sa/authenticator.h
src/charon/sa/child_sa.c
src/charon/sa/ike_sa.c
src/charon/sa/ike_sa.h
src/charon/sa/ike_sa_id.c
src/charon/sa/ike_sa_manager.c
src/charon/sa/states/create_child_sa_requested.c [deleted file]
src/charon/sa/states/create_child_sa_requested.h [deleted file]
src/charon/sa/states/delete_child_sa_requested.c [deleted file]
src/charon/sa/states/delete_child_sa_requested.h [deleted file]
src/charon/sa/states/delete_ike_sa_requested.c [deleted file]
src/charon/sa/states/delete_ike_sa_requested.h [deleted file]
src/charon/sa/states/ike_auth_requested.c [deleted file]
src/charon/sa/states/ike_auth_requested.h [deleted file]
src/charon/sa/states/ike_sa_established.c [deleted file]
src/charon/sa/states/ike_sa_established.h [deleted file]
src/charon/sa/states/ike_sa_init_requested.c [deleted file]
src/charon/sa/states/ike_sa_init_requested.h [deleted file]
src/charon/sa/states/ike_sa_init_responded.c [deleted file]
src/charon/sa/states/ike_sa_init_responded.h [deleted file]
src/charon/sa/states/initiator_init.c [deleted file]
src/charon/sa/states/initiator_init.h [deleted file]
src/charon/sa/states/responder_init.c [deleted file]
src/charon/sa/states/responder_init.h [deleted file]
src/charon/sa/states/state.c [deleted file]
src/charon/sa/states/state.h [deleted file]
src/charon/sa/transactions/dead_peer_detection.c [new file with mode: 0644]
src/charon/sa/transactions/dead_peer_detection.h [new file with mode: 0644]
src/charon/sa/transactions/delete_ike_sa.c [new file with mode: 0644]
src/charon/sa/transactions/delete_ike_sa.h [new file with mode: 0644]
src/charon/sa/transactions/ike_auth.c [new file with mode: 0644]
src/charon/sa/transactions/ike_auth.h [new file with mode: 0644]
src/charon/sa/transactions/ike_sa_init.c [new file with mode: 0644]
src/charon/sa/transactions/ike_sa_init.h [new file with mode: 0644]
src/charon/sa/transactions/transaction.c [new file with mode: 0644]
src/charon/sa/transactions/transaction.h [new file with mode: 0644]
src/charon/testing/generator_test.c
src/charon/testing/parser_test.c
src/charon/threads/stroke_interface.c