Spelling fixes
* accumulating * acquire * alignment * appropriate * argument * assign * attribute * authenticate * authentication * authenticator * authority * auxiliary * brackets * callback * camellia * can't * cancelability * certificate * choinyambuu * chunk * collector * collision * communicating * compares * compatibility * compressed * confidentiality * configuration * connection * consistency * constraint * construction * constructor * database * decapsulated * declaration * decrypt * derivative * destination * destroyed * details * devised * dynamic * ecapsulation * encoded * encoding * encrypted * enforcing * enumerator * establishment * excluded * exclusively * exited * expecting * expire * extension * filter * firewall * foundation * fulfillment * gateways * hashing * hashtable * heartbeats * identifier * identifiers * identities * identity * implementers * indicating * initialize * initiate * initiation * initiator * inner * instantiate * legitimate * libraries * libstrongswan * logger * malloc * manager * manually * measurement * mechanism * message * network * nonexistent * object * occurrence * optional * outgoing * packages * packets * padding * particular * passphrase * payload * periodically * policies * possible * previously * priority * proposal * protocol * provide * provider * pseudo * pseudonym * public * qualifier * quantum * quintuplets * reached * reading * recommendation to * recommendation * recursive * reestablish * referencing * registered * rekeying * reliable * replacing * representing * represents * request * request * resolver * result * resulting * resynchronization * retriable * revocation * right * rollback * rule * rules * runtime * scenario * scheduled * security * segment * service * setting * signature * specific * specified * speed * started * steffen * strongswan * subjectaltname * supported * threadsafe * traffic * tremendously * treshold * unique * uniqueness * unknown * until * upper * using * validator * verification * version * version * warrior Closes strongswan/strongswan#164.
This commit is contained in:
committed by
Tobias Brunner
parent
baf29263d5
commit
b3ab7a48cc
@@ -149,7 +149,7 @@ struct private_child_sa_t {
|
||||
uint32_t unique_id;
|
||||
|
||||
/**
|
||||
* Whether FWD policieis in the outbound direction should be installed
|
||||
* Whether FWD policies in the outbound direction should be installed
|
||||
*/
|
||||
bool policies_fwd_out;
|
||||
|
||||
|
||||
@@ -497,7 +497,7 @@ struct child_sa_t {
|
||||
uint32_t (*get_rekey_spi)(child_sa_t *this);
|
||||
|
||||
/**
|
||||
* Update hosts and ecapulation mode in the kernel SAs and policies.
|
||||
* Update hosts and ecapsulation mode in the kernel SAs and policies.
|
||||
*
|
||||
* @param me the new local host
|
||||
* @param other the new remote host
|
||||
|
||||
@@ -49,7 +49,7 @@ extern enum_name_t *eap_role_names;
|
||||
* responses. An EAP method may need multiple exchanges before succeeding, and
|
||||
* the eap_authentication may use multiple EAP methods to authenticate a peer.
|
||||
* To accomplish these requirements, all EAP methods have their own
|
||||
* implementation while the eap_authenticatior uses one or more of these
|
||||
* implementation while the eap_authenticator uses one or more of these
|
||||
* EAP methods. Sending of EAP(SUCCESS/FAILURE) message is not the job
|
||||
* of the method, the eap_authenticator does this.
|
||||
* An EAP method may establish a MSK, this is used the complete the
|
||||
@@ -162,7 +162,7 @@ struct eap_method_t {
|
||||
* Constructors for server and peers are identical, to support both roles
|
||||
* of a EAP method, a plugin needs register two constructors in the
|
||||
* eap_manager_t.
|
||||
* The passed identites are of type ID_EAP and valid only during the
|
||||
* The passed identities are of type ID_EAP and valid only during the
|
||||
* constructor invocation.
|
||||
*
|
||||
* @param server ID of the server to use for credential lookup
|
||||
|
||||
@@ -237,7 +237,7 @@ struct private_ike_sa_t {
|
||||
uint32_t keepalive_interval;
|
||||
|
||||
/**
|
||||
* The schedueld keep alive job, if any
|
||||
* The scheduled keep alive job, if any
|
||||
*/
|
||||
send_keepalive_job_t *keepalive_job;
|
||||
|
||||
|
||||
@@ -248,7 +248,7 @@ enum ike_condition_t {
|
||||
* Timing information and statistics to query from an SA
|
||||
*/
|
||||
enum statistic_t {
|
||||
/** Timestamp of SA establishement */
|
||||
/** Timestamp of SA establishment */
|
||||
STAT_ESTABLISHED = 0,
|
||||
/** Timestamp of scheduled rekeying */
|
||||
STAT_REKEY,
|
||||
@@ -766,7 +766,7 @@ struct ike_sa_t {
|
||||
* to the CHILD_SA.
|
||||
*
|
||||
* @param child_cfg child config to create CHILD from
|
||||
* @param reqid reqid to use for CHILD_SA, 0 assigne uniquely
|
||||
* @param reqid reqid to use for CHILD_SA, 0 assign uniquely
|
||||
* @param tsi source of triggering packet
|
||||
* @param tsr destination of triggering packet.
|
||||
* @return
|
||||
@@ -1036,7 +1036,7 @@ struct ike_sa_t {
|
||||
status_t (*reauth) (ike_sa_t *this);
|
||||
|
||||
/**
|
||||
* Restablish the IKE_SA.
|
||||
* Reestablish the IKE_SA.
|
||||
*
|
||||
* Reestablish an IKE_SA after it has been closed.
|
||||
*
|
||||
@@ -1140,7 +1140,7 @@ struct ike_sa_t {
|
||||
/**
|
||||
* Remove the task the given enumerator points to.
|
||||
*
|
||||
* @note This should be used with caution, in partciular, for tasks in the
|
||||
* @note This should be used with caution, in particular, for tasks in the
|
||||
* active and passive queues.
|
||||
*
|
||||
* @param enumerator enumerator created with the method above
|
||||
@@ -1155,7 +1155,7 @@ struct ike_sa_t {
|
||||
void (*flush_queue)(ike_sa_t *this, task_queue_t queue);
|
||||
|
||||
/**
|
||||
* Queue a task for initiaton to the task manager.
|
||||
* Queue a task for initiation to the task manager.
|
||||
*
|
||||
* @param task task to queue
|
||||
*/
|
||||
|
||||
@@ -128,10 +128,10 @@ struct ike_sa_id_t {
|
||||
* @param ike_version major IKE version
|
||||
* @param initiator_spi initiators SPI
|
||||
* @param responder_spi responders SPI
|
||||
* @param is_initiaor TRUE if we are the original initiator
|
||||
* @param is_initiator TRUE if we are the original initiator
|
||||
* @return ike_sa_id_t object
|
||||
*/
|
||||
ike_sa_id_t * ike_sa_id_create(uint8_t ike_version, uint64_t initiator_spi,
|
||||
uint64_t responder_spi, bool is_initiaor);
|
||||
uint64_t responder_spi, bool is_initiator);
|
||||
|
||||
#endif /** IKE_SA_ID_H_ @}*/
|
||||
|
||||
@@ -1813,7 +1813,7 @@ METHOD(ike_sa_manager_t, checkin, void,
|
||||
* entry as checked out while we release the lock so no other
|
||||
* thread can acquire it. Since it is not yet in the list of
|
||||
* connected peers that will not cause a deadlock as no other
|
||||
* caller of check_unqiueness() will try to check out this SA */
|
||||
* caller of check_uniqueness() will try to check out this SA */
|
||||
entry->checked_out = thread_current();
|
||||
unlock_single_segment(this, segment);
|
||||
|
||||
@@ -1909,7 +1909,7 @@ METHOD(ike_sa_manager_t, checkin_and_destroy, void,
|
||||
}
|
||||
else
|
||||
{
|
||||
DBG1(DBG_MGR, "tried to checkin and delete nonexisting IKE_SA");
|
||||
DBG1(DBG_MGR, "tried to checkin and delete nonexistent IKE_SA");
|
||||
ike_sa->destroy(ike_sa);
|
||||
}
|
||||
charon->bus->set_sa(charon->bus, NULL);
|
||||
|
||||
@@ -62,7 +62,7 @@ struct keymat_v1_t {
|
||||
*
|
||||
* @param proposal selected algorithms
|
||||
* @param dh diffie hellman key, NULL if none used
|
||||
* @param spi_i SPI chosen by initiatior
|
||||
* @param spi_i SPI chosen by initiator
|
||||
* @param spi_r SPI chosen by responder
|
||||
* @param nonce_i quick mode initiator nonce
|
||||
* @param nonce_r quick mode responder nonce
|
||||
@@ -95,7 +95,7 @@ struct keymat_v1_t {
|
||||
/**
|
||||
* Get HASH data for authentication.
|
||||
*
|
||||
* @param initiatior TRUE to create HASH_I, FALSE for HASH_R
|
||||
* @param initiator TRUE to create HASH_I, FALSE for HASH_R
|
||||
* @param dh public DH value of peer to create HASH for
|
||||
* @param dh_other others public DH value
|
||||
* @param ike_sa_id IKE_SA identifier
|
||||
|
||||
@@ -88,7 +88,7 @@ struct private_phase1_t {
|
||||
};
|
||||
|
||||
/**
|
||||
* Get the first authentcation config from peer config
|
||||
* Get the first authentication config from peer config
|
||||
*/
|
||||
static auth_cfg_t *get_auth_cfg(peer_cfg_t *peer_cfg, bool local)
|
||||
{
|
||||
|
||||
@@ -85,7 +85,7 @@ METHOD(task_t, process_r, status_t,
|
||||
bool found = FALSE;
|
||||
|
||||
/* some peers send DELETE payloads for other IKE_SAs, e.g. those for expired
|
||||
* ones after a rekeyeing, make sure the SPIs match */
|
||||
* ones after a rekeying, make sure the SPIs match */
|
||||
id = this->ike_sa->get_id(this->ike_sa);
|
||||
payloads = message->create_payload_enumerator(message);
|
||||
while (payloads->enumerate(payloads, &payload))
|
||||
|
||||
@@ -352,7 +352,7 @@ METHOD(task_t, process_i, status_t,
|
||||
status_t result = NEED_MORE;
|
||||
|
||||
if (!this->ike_sa->supports_extension(this->ike_sa, EXT_NATT))
|
||||
{ /* we didn't receive VIDs inidcating support for NAT-T */
|
||||
{ /* we didn't receive VIDs indicating support for NAT-T */
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ typedef struct pubkey_authenticator_t pubkey_authenticator_t;
|
||||
#include <sa/authenticator.h>
|
||||
|
||||
/**
|
||||
* Implementation of authenticator_t using public key authenitcation.
|
||||
* Implementation of authenticator_t using public key authentication.
|
||||
*/
|
||||
struct pubkey_authenticator_t {
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ struct private_connect_manager_t {
|
||||
connect_manager_t public;
|
||||
|
||||
/**
|
||||
* Lock for exclusivly accessing the manager.
|
||||
* Lock for exclusively accessing the manager.
|
||||
*/
|
||||
mutex_t *mutex;
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ struct private_keymat_v2_t {
|
||||
chunk_t skd;
|
||||
|
||||
/**
|
||||
* Key to build outging authentication data (SKp)
|
||||
* Key to build outgoing authentication data (SKp)
|
||||
*/
|
||||
chunk_t skp_build;
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ struct peer_t {
|
||||
/** sa id of the peer, NULL if offline */
|
||||
ike_sa_id_t *ike_sa_id;
|
||||
|
||||
/** list of peer ids that reuested this peer */
|
||||
/** list of peer ids that requested this peer */
|
||||
linked_list_t *requested_by;
|
||||
};
|
||||
|
||||
@@ -74,7 +74,7 @@ struct private_mediation_manager_t {
|
||||
mediation_manager_t public;
|
||||
|
||||
/**
|
||||
* Lock for exclusivly accessing the manager.
|
||||
* Lock for exclusively accessing the manager.
|
||||
*/
|
||||
mutex_t *mutex;
|
||||
|
||||
|
||||
@@ -1174,7 +1174,7 @@ static void send_auth_failed_informational(private_ike_auth_t *this,
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if strict constraint fullfillment required to continue current auth
|
||||
* Check if strict constraint fulfillment required to continue current auth
|
||||
*/
|
||||
static bool require_strict(private_ike_auth_t *this, bool mutual_eap)
|
||||
{
|
||||
|
||||
@@ -91,7 +91,7 @@ METHOD(task_t, process_i, status_t,
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if this delete happened after a rekey collsion
|
||||
* Check if this delete happened after a rekey collision
|
||||
*/
|
||||
static bool after_rekey_collision(private_ike_delete_t *this)
|
||||
{
|
||||
|
||||
@@ -404,7 +404,7 @@ METHOD(task_t, build_r, status_t,
|
||||
if (this->callback)
|
||||
{
|
||||
/* we got a callback from the mediation server, initiate the
|
||||
* queued mediated connecction */
|
||||
* queued mediated connection */
|
||||
charon->connect_manager->check_and_initiate(
|
||||
charon->connect_manager,
|
||||
this->ike_sa->get_id(this->ike_sa),
|
||||
|
||||
@@ -313,7 +313,7 @@ METHOD(task_t, build_i, status_t,
|
||||
/* source may be any, we have 3 possibilities to get our source address:
|
||||
* 1. It is defined in the config => use the one of the IKE_SA
|
||||
* 2. We do a routing lookup in the kernel interface
|
||||
* 3. Include all possbile addresses
|
||||
* 3. Include all possible addresses
|
||||
*/
|
||||
host = message->get_source(message);
|
||||
if (!host->is_anyaddr(host) || force_encap(ike_cfg))
|
||||
|
||||
@@ -233,7 +233,7 @@ struct task_manager_t {
|
||||
* If a message is processed outside of the manager, this call increments
|
||||
* the message ID counters of the task manager.
|
||||
*
|
||||
* @param inititate TRUE to increment the initiating ID
|
||||
* @param initiate TRUE to increment the initiating ID
|
||||
*/
|
||||
void (*incr_mid)(task_manager_t *this, bool initiate);
|
||||
|
||||
@@ -280,7 +280,7 @@ struct task_manager_t {
|
||||
/**
|
||||
* Remove the task the given enumerator points to.
|
||||
*
|
||||
* @note This should be used with caution, in partciular, for tasks in the
|
||||
* @note This should be used with caution, in particular, for tasks in the
|
||||
* active and passive queues.
|
||||
*
|
||||
* @param enumerator enumerator created with the method above
|
||||
|
||||
Reference in New Issue
Block a user