OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.41 / (download) - annotate - [select for diffs], Mon Jan 15 09:54:48 2018 UTC (6 years, 4 months ago) by mpi
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.40: +2 -2 lines
Diff to previous 1.40 (colored)

Spacing, no object change.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Jan 4 14:21:00 2018 UTC (6 years, 4 months ago) by mpi
Branch: MAIN
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

space -> tab

No object change.

Revision 1.39 / (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_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, 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.38: +2 -2 lines
Diff to previous 1.38 (colored)

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

Revision 1.38 / (download) - annotate - [select for diffs], Mon Apr 16 13:01:39 2007 UTC (17 years, 1 month ago) by moritz
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
Changes since 1.37: +2 -3 lines
Diff to previous 1.37 (colored)

There's no point in checking ptr for NULL before doing free(ptr)
since free(NULL) is just fine.

ok hshoexer@

Revision 1.37 / (download) - annotate - [select for diffs], Fri Apr 8 22:32:10 2005 UTC (19 years, 1 month ago) by cloder
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.36: +1 -3 lines
Diff to previous 1.36 (colored)

Make deterministic randomness (only ever used for testing) a compile-time
option.  Reduces chances of somehow setting regrand when it's not supposed
to be set.  Remove "-r" option from man page.  Also xref certpatch(8) while
we are in there.  And remove some include sysdep.h where it is no longer
needed.
OK hshoexer

Revision 1.36 / (download) - annotate - [select for diffs], Wed Apr 6 16:00:20 2005 UTC (19 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored)

knf, ok cloder

Revision 1.35 / (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.34: +2 -2 lines
Diff to previous 1.34 (colored)

spacing; ok cloder

Revision 1.34 / (download) - annotate - [select for diffs], Sun Aug 8 19:11:06 2004 UTC (19 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

spacing

Revision 1.33 / (download) - annotate - [select for diffs], Sun Jun 20 17:17:35 2004 UTC (19 years, 11 months ago) by ho
Branch: MAIN
Changes since 1.32: +4 -7 lines
Diff to previous 1.32 (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.32 / (download) - annotate - [select for diffs], Tue Jun 15 15:53:13 2004 UTC (19 years, 11 months ago) by hshoexer
Branch: MAIN
Changes since 1.31: +4 -1 lines
Diff to previous 1.31 (colored)

also use MSG_AUTHENTICATED flag.

ok ho@

Revision 1.31 / (download) - annotate - [select for diffs], Mon Jun 14 09:55:41 2004 UTC (19 years, 11 months ago) by ho
Branch: MAIN
Changes since 1.30: +27 -17 lines
Diff to previous 1.30 (colored)

KNF, style, 80c, etc. hshoexer@ ok

Revision 1.30 / (download) - annotate - [select for diffs], Wed Jun 9 14:02:44 2004 UTC (19 years, 11 months ago) by ho
Branch: MAIN
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)

Style nits. hshoexer@ ok

Revision 1.29 / (download) - annotate - [select for diffs], Sun May 23 18:17:56 2004 UTC (20 years ago) by hshoexer
Branch: MAIN
Changes since 1.28: +172 -141 lines
Diff to previous 1.28 (colored)

More KNF.  Mainly spaces and line-wraps, no binary change.

ok ho@

Revision 1.28 / (download) - annotate - [select for diffs], Thu Apr 15 18:39:26 2004 UTC (20 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.27: +766 -845 lines
Diff to previous 1.27 (colored)

partial move to KNF.  More to come.  This has happened because there
are a raft of source code auditors who are willing to help improve this
code only if this is done, and hey, isakmpd does need our standard
auditing process.  ok ho hshoexer

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Wed Mar 17 15:05:03 2004 UTC (20 years, 2 months ago) by brad
Branch: OPENBSD_3_3
Changes since 1.23: +3 -1 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

MFC:
Fix by hshoexer@

Fix payload handling flaws found by cloder@.  Based on initial patch by
cloder@.

ok deraadt@ hshoexer@

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Wed Mar 17 14:59:17 2004 UTC (20 years, 2 months ago) by brad
Branch: OPENBSD_3_4
Changes since 1.25: +3 -1 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

MFC:
Fix by hshoexer@

Fix payload handling flaws found by cloder@.  Based on initial patch by
cloder@.

ok deraadt@ hshoexer@

Revision 1.27 / (download) - annotate - [select for diffs], Thu Mar 11 16:56:11 2004 UTC (20 years, 2 months ago) by hshoexer
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.26: +3 -1 lines
Diff to previous 1.26 (colored)

Fix a memleak.

ok ho@

Revision 1.26 / (download) - annotate - [select for diffs], Thu Dec 4 21:13:35 2003 UTC (20 years, 6 months ago) by miod
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

Typos

Revision 1.25 / (download) - annotate - [select for diffs], Tue Jun 10 16:41:29 2003 UTC (20 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE
Branch point for: OPENBSD_3_4
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

boring cleanups

Revision 1.24 / (download) - annotate - [select for diffs], Tue Jun 3 14:28:16 2003 UTC (21 years ago) by ho
Branch: MAIN
Changes since 1.23: +1 -6 lines
Diff to previous 1.23 (colored)

Remove clauses 3 and 4. With approval from Niklas Hallqvist and
Niels Provos.

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Thu Mar 20 19:39:44 2003 UTC (21 years, 2 months ago) by margarida
Branch: OPENBSD_3_2
Changes since 1.22: +4 -2 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Pull patch from current:
Fix by ho@.
Proper id_string for SET/ACK responder, plus attr payload fixes.

ok millert@ markus@ ho@

Revision 1.23 / (download) - annotate - [select for diffs], Thu Jan 9 12:46:45 2003 UTC (21 years, 4 months ago) by ho
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE
Branch point for: OPENBSD_3_3
Changes since 1.22: +4 -2 lines
Diff to previous 1.22 (colored)

Proper id_string for SET/ACK responder, plus attr payload fixes.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Aug 23 18:01:33 2002 UTC (21 years, 9 months ago) by ho
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE
Branch point for: OPENBSD_3_2
Changes since 1.21: +2 -1 lines
Diff to previous 1.21 (colored)

Small cleanup.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Jul 16 11:15:53 2002 UTC (21 years, 10 months ago) by markus
Branch: MAIN
Changes since 1.20: +1 -1 lines
Diff to previous 1.20 (colored)

fix $OpenBSD Tag

Revision 1.20 / (download) - annotate - [select for diffs], Sun Jun 9 08:13:06 2002 UTC (21 years, 11 months ago) by todd
Branch: MAIN
Changes since 1.19: +13 -13 lines
Diff to previous 1.19 (colored)

rm trailing whitespace

Revision 1.19 / (download) - annotate - [select for diffs], Sun Jun 9 04:25:31 2002 UTC (21 years, 11 months ago) by ho
Branch: MAIN
Changes since 1.18: +7 -6 lines
Diff to previous 1.18 (colored)

Mark attr payload as handled. Also make sure the correct payload
length is returned.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Jun 9 01:23:55 2002 UTC (21 years, 11 months ago) by ho
Branch: MAIN
Changes since 1.17: +45 -45 lines
Diff to previous 1.17 (colored)

Bad me. Make sure it compiles before commit.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Jun 9 01:15:20 2002 UTC (21 years, 11 months ago) by ho
Branch: MAIN
Changes since 1.16: +63 -6 lines
Diff to previous 1.16 (colored)

CFG_REQUEST

Revision 1.16 / (download) - annotate - [select for diffs], Sun Jun 9 00:48:53 2002 UTC (21 years, 11 months ago) by ho
Branch: MAIN
Changes since 1.15: +6 -6 lines
Diff to previous 1.15 (colored)

Style.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Jun 9 00:44:55 2002 UTC (21 years, 11 months ago) by ho
Branch: MAIN
Changes since 1.14: +151 -118 lines
Diff to previous 1.14 (colored)

Tighten the code to work for both SET/ACK and REQ/REPLY modes.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Jun 8 23:16:49 2002 UTC (21 years, 11 months ago) by ho
Branch: MAIN
Changes since 1.13: +304 -327 lines
Diff to previous 1.13 (colored)

Factor out hash operations, some other cleanup.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Jun 8 17:35:06 2002 UTC (21 years, 11 months ago) by ho
Branch: MAIN
Changes since 1.12: +71 -30 lines
Diff to previous 1.12 (colored)

a bit more for the responder cases

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jun 7 21:59:22 2002 UTC (21 years, 11 months ago) by ho
Branch: MAIN
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

Avoid some gcc3 warnings. From David Krause <openbsd@davidkrause.com>

Revision 1.11 / (download) - annotate - [select for diffs], Fri Jun 7 20:26:22 2002 UTC (21 years, 11 months ago) by ho
Branch: MAIN
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored)

Also allocate space for the attribute header.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Jun 7 19:53:19 2002 UTC (21 years, 11 months ago) by ho
Branch: MAIN
Changes since 1.9: +347 -45 lines
Diff to previous 1.9 (colored)

Start for support of IKECFG in SET/ACK mode. Server side only so far.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Jun 6 19:03:10 2002 UTC (22 years ago) by ho
Branch: MAIN
Changes since 1.8: +123 -57 lines
Diff to previous 1.8 (colored)

Answer requests for netmasks, subnets, and dhcp-servers as well. Add
debug and warning messages for missing/bad values. Rewrite it a bit.
niklas@ ok.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Jun 1 07:44:21 2002 UTC (22 years ago) by deraadt
Branch: MAIN
Changes since 1.7: +11 -9 lines
Diff to previous 1.7 (colored)

size_t must be cast to (unsigned long) and printed using %lu

Revision 1.7 / (download) - annotate - [select for diffs], Fri Oct 26 12:03:07 2001 UTC (22 years, 7 months ago) by ho
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)

Just rename sockaddr_data/len functions to sockaddr_addrdata/addrlen.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Aug 27 03:10:55 2001 UTC (22 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

un-bork

Revision 1.5 / (download) - annotate - [select for diffs], Thu Aug 23 19:44:28 2001 UTC (22 years, 9 months ago) by niklas
Branch: MAIN
Changes since 1.4: +27 -14 lines
Diff to previous 1.4 (colored)

Use ipsec_id_string as the section name for IKE mode config.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jul 25 15:18:14 2001 UTC (22 years, 10 months ago) by markus
Branch: MAIN
Changes since 1.3: +41 -23 lines
Diff to previous 1.3 (colored)

CFG mode changes: send attributes of size 0 if attribute is not available
fix several if statements, ok ho@

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jul 4 07:41:19 2001 UTC (22 years, 11 months ago) by niklas
Branch: MAIN
Changes since 1.2: +27 -30 lines
Diff to previous 1.2 (colored)

Better IPv6/IPv4 integration

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jul 4 07:29:10 2001 UTC (22 years, 11 months ago) by niklas
Branch: MAIN
Changes since 1.1: +2 -7 lines
Diff to previous 1.1 (colored)

IPv6

Revision 1.1 / (download) - annotate - [select for diffs], Sun Jul 1 20:43:39 2001 UTC (22 years, 11 months ago) by niklas
Branch: MAIN

ISAKMP configuration, a.k.a IKECFG or "mode-config", protocol implementation.
Disabled, has no configuration mechanism yet.  This will be used for roaming
users, who are going to get parameters like IP-address and nameserver from its
peer, very much like DHCP, but securily inside an ISAKMP connection and still
in time before negotiation of IPsec connections.  You may see stylistic fixes
in this commit too.  Add some not yet used Makefile magic to deal with DNSSEC-
enabled OpenSSL too.  The IKECFG code work was sponsered by Gatespace Inc.
Thank you!  Configuration will come very soon, btw.

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.