OpenBSD CVS

CVS log for src/sbin/isakmpd/dpd.c


[BACK] Up to [local] / src / sbin / isakmpd

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.20 / (download) - annotate - [select for diffs], Tue Dec 5 20:31:45 2017 UTC (6 years, 6 months ago) by jca
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, HEAD
Changes since 1.19: +12 -12 lines
Diff to previous 1.19 (colored)

Use clock_gettime(CLOCK_MONOTONIC) to schedule timers

From Scott Cheloha, ok tb@

Revision 1.19 / (download) - annotate - [select for diffs], Thu Dec 10 17:27:00 2015 UTC (8 years, 6 months ago) by mmcc
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.18: +2 -3 lines
Diff to previous 1.18 (colored)

Remove NULL-checks before free(). ok tb@

Revision 1.18 / (download) - annotate - [select for diffs], Thu Jan 23 01:04:28 2014 UTC (10 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Remove a mid-layer which acts like arc4random isn't fairly standard.
ok mikeb

Revision 1.17 / (download) - annotate - [select for diffs], Wed Jan 22 03:09:31 2014 UTC (10 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.16: +1 -3 lines
Diff to previous 1.16 (colored)

improve randomization.  remove some junk debugging features that are
fundamentally broken.
ok jsing mikeb

Revision 1.16 / (download) - annotate - [select for diffs], Mon Jul 24 11:45:44 2006 UTC (17 years, 10 months ago) by ho
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Style; return is not a function. hshoexer@ ok.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jun 2 19:35:55 2006 UTC (18 years ago) by hshoexer
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Big spelling cleanup, no binary change.  From david@

Revision 1.14 / (download) - annotate - [select for diffs], Wed Oct 26 20:10:48 2005 UTC (18 years, 7 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.13: +14 -8 lines
Diff to previous 1.13 (colored)

don't send DPD messages before the exchange is finialized, otherwise
we have a race between DPD and exchange timeouts and both will release
the SA and corrupt the SA list. ok hshoexer@, ho@

Revision 1.13 / (download) - annotate - [select for diffs], Wed May 4 10:05:01 2005 UTC (19 years, 1 month ago) by hshoexer
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored)

clean up KEY_API() wrapper.

ok ho@

Revision 1.12 / (download) - annotate - [select for diffs], Fri Apr 8 21:14:49 2005 UTC (19 years, 2 months ago) by cloder
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Make DPD vendor ID u_int8_t, not char.  Gets rid of a warning in
-pedantic mode.  OK hshoexer

Revision 1.11 / (download) - annotate - [select for diffs], Fri Apr 8 19:40:02 2005 UTC (19 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.10: +1 -5 lines
Diff to previous 1.10 (colored)

USE_DEBUG is bye bye

Revision 1.10 / (download) - annotate - [select for diffs], Mon Apr 4 19:31:11 2005 UTC (19 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.9: +7 -9 lines
Diff to previous 1.9 (colored)

spacing; ok cloder

Revision 1.9 / (download) - annotate - [select for diffs], Thu Feb 24 16:16:46 2005 UTC (19 years, 3 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.8: +1 -5 lines
Diff to previous 1.8 (colored)

disable the SA dpd timer on sa_free(). this avoid a race
between DPD and initial contact (double free); ok hshoexer

Revision 1.8 / (download) - annotate - [select for diffs], Thu Feb 24 16:05:42 2005 UTC (19 years, 3 months ago) by markus
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

dpd_find_sa: only ready SAs, otherwise DPD will delete SAs owned by
an exchange; ok hshoexer

Revision 1.7 / (download) - annotate - [select for diffs], Tue Dec 28 15:15:08 2004 UTC (19 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.6: +6 -3 lines
Diff to previous 1.6 (colored)

proper portable C; ok hshoexer

Revision 1.6 / (download) - annotate - [select for diffs], Mon Dec 13 11:41:28 2004 UTC (19 years, 5 months ago) by markus
Branch: MAIN
Changes since 1.5: +3 -1 lines
Diff to previous 1.5 (colored)

make sure the isakmpd_s has id_r/s set; ok hshoexer, ho

Revision 1.5 / (download) - annotate - [select for diffs], Wed Dec 8 16:08:10 2004 UTC (19 years, 6 months ago) by markus
Branch: MAIN
Changes since 1.4: +13 -3 lines
Diff to previous 1.4 (colored)

1. allow up to DPD_RETRANS_MAX retransmitted R_U_THERE messages.
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

Revision 1.4 / (download) - annotate - [select for diffs], Tue Aug 10 15:59:10 2004 UTC (19 years, 10 months ago) by ho
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.3: +220 -200 lines
Diff to previous 1.3 (colored)

Better implementation of the Dead Peer Detection protocol, RFC 3706.
hshoexer@ ok.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Aug 8 19:11:06 2004 UTC (19 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.2: +4 -5 lines
Diff to previous 1.2 (colored)

spacing

Revision 1.2 / (download) - annotate - [select for diffs], Sun Jun 20 17:17:34 2004 UTC (19 years, 11 months ago) by ho
Branch: MAIN
Changes since 1.1: +3 -5 lines
Diff to previous 1.1 (colored)

Make the payload array in struct message dynamic, since we need to handle
payloads in the private range, such as the pre-RFC NAT-D/NAT-OA.
Replace TAILQ_FIRST(&msg->payload[i]) instances with function calls.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Jun 20 15:20:06 2004 UTC (19 years, 11 months ago) by ho
Branch: MAIN

A start towards Dead Peer Detection (DPD) support, as specified in RFC 3706

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.