OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.26 / (download) - annotate - [select for diffs], Fri Jun 28 13:32:44 2019 UTC (4 years, 11 months ago) by deraadt
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, HEAD
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

When system calls indicate an error they return -1, not some arbitrary
value < 0.  errno is only updated in this case.  Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Apr 8 22:32:10 2005 UTC (19 years, 2 months ago) by cloder
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, 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, 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, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.24: +1 -3 lines
Diff to previous 1.24 (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.24 / (download) - annotate - [select for diffs], Fri Apr 8 16:11:11 2005 UTC (19 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.23: +1 -92 lines
Diff to previous 1.23 (colored)

kill HAVE_GETIFADDRS

Revision 1.23 / (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.22: +3 -3 lines
Diff to previous 1.22 (colored)

spacing; ok cloder

Revision 1.22 / (download) - annotate - [select for diffs], Mon Jun 14 09:55:41 2004 UTC (20 years ago) by ho
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.21: +3 -2 lines
Diff to previous 1.21 (colored)

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

Revision 1.21 / (download) - annotate - [select for diffs], Sun May 23 18:17:55 2004 UTC (20 years ago) by hshoexer
Branch: MAIN
Changes since 1.20: +12 -9 lines
Diff to previous 1.20 (colored)

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

ok ho@

Revision 1.20 / (download) - annotate - [select for diffs], Sun May 23 16:14:37 2004 UTC (20 years ago) by deraadt
Branch: MAIN
Changes since 1.19: +4 -3 lines
Diff to previous 1.19 (colored)

remove excessive monitor_ prefixes

Revision 1.19 / (download) - annotate - [select for diffs], Thu Apr 15 18:39:25 2004 UTC (20 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.18: +71 -78 lines
Diff to previous 1.18 (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.18 / (download) - annotate - [select for diffs], Tue Apr 13 21:48:15 2004 UTC (20 years, 2 months ago) by hshoexer
Branch: MAIN
Changes since 1.17: +2 -1 lines
Diff to previous 1.17 (colored)

Add missing #include.  Found by Stefan Paletta.

ok henning@ ho@

Revision 1.17 / (download) - annotate - [select for diffs], Fri Mar 19 14:04:43 2004 UTC (20 years, 2 months ago) by hshoexer
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Add missing bits to make already present privsep code work.  Enable privsep.

ok ho@ deraadt@ markus@

Revision 1.16 / (download) - annotate - [select for diffs], Thu Nov 6 16:12:07 2003 UTC (20 years, 7 months ago) by ho
Branch: MAIN
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

Style nits.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Sep 25 14:15:15 2003 UTC (20 years, 8 months ago) by cloder
Branch: MAIN
Changes since 1.14: +4 -2 lines
Diff to previous 1.14 (colored)

Fix one case of set length before realloc.  Fix another case of
foo = realloc(foo...) and avoid possible memory leaks.  Avoid
leaving things pointing to freed memory on failure.

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

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

Revision 1.13 / (download) - annotate - [select for diffs], Wed Feb 12 15:11:31 2003 UTC (21 years, 4 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.12: +8 -8 lines
Diff to previous 1.12 (colored)

better error checking on bind(); from Alexander_Bluhm at genua.de; ok ho@

Revision 1.12 / (download) - annotate - [select for diffs], Fri Aug 23 17:24:19 2002 UTC (21 years, 9 months ago) by ho
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Another format tweak

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

rm trailing whitespace

Revision 1.10 / (download) - annotate - [select for diffs], Fri Oct 26 13:29:26 2001 UTC (22 years, 7 months ago) by ho
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.9: +2 -6 lines
Diff to previous 1.9 (colored)

Change to use sysdep_sa_len() function.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Aug 13 14:33:35 2001 UTC (22 years, 10 months ago) by itojun
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.8: +22 -3 lines
Diff to previous 1.8 (colored)

use getifaddrs(3) rather than SIOCGIFCONF.  in fact, if_map() does not do
the right thing on certain set of interface addresses.  SIOCGIFCONF is
the worst possible ioctl API...

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jul 18 20:56:35 2001 UTC (22 years, 10 months ago) by markus
Branch: MAIN
Changes since 1.7: +3 -1 lines
Diff to previous 1.7 (colored)

protect #define MAX(); ok ho@

Revision 1.7 / (download) - annotate - [select for diffs], Fri Oct 1 14:08:26 1999 UTC (24 years, 8 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.6: +10 -4 lines
Diff to previous 1.6 (colored)

Merge with EOM 1.12

author: niklas
Better error reporting.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Apr 5 20:59:49 1999 UTC (25 years, 2 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.5: +9 -4 lines
Diff to previous 1.5 (colored)

Merge with EOM 1.11
We need log.h

Plug memleak

1999 copyrights

Revision 1.5 / (download) - annotate - [select for diffs], Tue Mar 2 15:12:00 1999 UTC (25 years, 3 months ago) by niklas
Branch: MAIN
Changes since 1.4: +6 -2 lines
Diff to previous 1.4 (colored)

if.c: Merge with EOM 1.8
Deal with old socket APIs

udp.c: Merge with EOM 1.31
Deal with old socket APIs

message.c: Merge with EOM 1.107
Remove unnecessary system dependent include

Revision 1.4 / (download) - annotate - [select for diffs], Fri Feb 26 03:37:08 1999 UTC (25 years, 3 months ago) by niklas
Branch: MAIN
Changes since 1.3: +4 -2 lines
Diff to previous 1.3 (colored)

Merge from the Ericsson repository
| revision 1.7
| date: 1999/02/25 11:39:00;  author: niklas;  state: Exp;  lines: +3 -1
| include sysdep.h everywhere
| ----------------------------

Revision 1.3 / (download) - annotate - [select for diffs], Tue Nov 17 11:10:12 1998 UTC (25 years, 7 months ago) by niklas
Branch: MAIN
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)

Add RCS Ids from the EOM repository

Revision 1.2 / (download) - annotate - [select for diffs], Sun Nov 15 00:43:54 1998 UTC (25 years, 7 months ago) by niklas
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)

openBSD RCS IDs

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Nov 15 00:03:48 1998 UTC (25 years, 7 months ago) by niklas
Branch: NIKLAS
CVS Tags: NIKLAS_981114
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Initial import of isakmpd, an IKE (ISAKMP/Oakley) implementation for the
OpenBSD IPSEC stack by me, Niklas Hallqvist and Niels Provos, funded by
Ericsson Radio Systems.  It is not yet complete or usable in a real scenario
but the missing pieces will soon be there.  The early commit is for people
who wants early access and who are not afraid of looking at source.
isakmpd interops with Cisco, Timestep, SSH & Pluto (Linux FreeS/WAN) so
far, so it is not that incomplete.  It is really mostly configuration that
is lacking.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Nov 15 00:03:48 1998 UTC (25 years, 7 months ago) by niklas
Branch: MAIN

Initial revision

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.