summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/dpd.c
AgeCommit message (Collapse)Author
2006-07-24Style; return is not a function. hshoexer@ ok.Hakan Olsson
2006-06-02Big spelling cleanup, no binary change. From david@Hans-Joerg Hoexer
2005-10-26don't send DPD messages before the exchange is finialized, otherwiseMarkus Friedl
we have a race between DPD and exchange timeouts and both will release the SA and corrupt the SA list. ok hshoexer@, ho@
2005-05-04clean up KEY_API() wrapper.Hans-Joerg Hoexer
ok ho@
2005-04-08Make DPD vendor ID u_int8_t, not char. Gets rid of a warning inChad Loder
-pedantic mode. OK hshoexer
2005-04-08USE_DEBUG is bye byeTheo de Raadt
2005-04-04spacing; ok cloderTheo de Raadt
2005-02-24disable the SA dpd timer on sa_free(). this avoid a raceMarkus Friedl
between DPD and initial contact (double free); ok hshoexer
2005-02-24dpd_find_sa: only ready SAs, otherwise DPD will delete SAs owned byMarkus Friedl
an exchange; ok hshoexer
2004-12-28proper portable C; ok hshoexerTheo de Raadt
2004-12-13make sure the isakmpd_s has id_r/s set; ok hshoexer, hoMarkus Friedl
2004-12-081. allow up to DPD_RETRANS_MAX retransmitted R_U_THERE messages.Markus Friedl
2. reset dpd_failcount when switching to DPD_TIMER_NORMAL. 3. ignore DPD timeouts on SAs that are marked SA_FLAG_REPLACED. ok hshoexer, ho
2004-08-10Better implementation of the Dead Peer Detection protocol, RFC 3706.Hakan Olsson
hshoexer@ ok.
2004-08-08spacingTheo de Raadt
2004-06-20Make the payload array in struct message dynamic, since we need to handleHakan Olsson
payloads in the private range, such as the pre-RFC NAT-D/NAT-OA. Replace TAILQ_FIRST(&msg->payload[i]) instances with function calls.
2004-06-20A start towards Dead Peer Detection (DPD) support, as specified in RFC 3706Hakan Olsson