OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.72 / (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.71: +2 -2 lines
Diff to previous 1.71 (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.71 / (download) - annotate - [select for diffs], Tue Jan 22 09:25:29 2019 UTC (5 years, 4 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.70: +2 -2 lines
Diff to previous 1.70 (colored)

PF_ROUTE -> AF_ROUTE in the scattered sock()/setsockopt() calls
where the "wrong" #define was used.

ok dlg@

Revision 1.70 / (download) - annotate - [select for diffs], Tue Dec 5 20:31:45 2017 UTC (6 years, 5 months ago) by jca
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.69: +5 -7 lines
Diff to previous 1.69 (colored)

Use clock_gettime(CLOCK_MONOTONIC) to schedule timers

From Scott Cheloha, ok tb@

Revision 1.69 / (download) - annotate - [select for diffs], Thu Aug 20 22:02:21 2015 UTC (8 years, 9 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
Changes since 1.68: +2 -2 lines
Diff to previous 1.68 (colored)

<stdlib.h> is included, so do not need to cast result from
malloc, calloc, realloc*
ok krw millert

Revision 1.68 / (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.67: +1 -20 lines
Diff to previous 1.67 (colored)

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

Revision 1.67 / (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.66: +2 -25 lines
Diff to previous 1.66 (colored)

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

Revision 1.66 / (download) - annotate - [select for diffs], Wed Apr 24 13:46:09 2013 UTC (11 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.65: +2 -18 lines
Diff to previous 1.65 (colored)

remove old backwards random junk
ok mikeb

Revision 1.65 / (download) - annotate - [select for diffs], Thu Jun 25 15:40:55 2009 UTC (14 years, 11 months ago) by claudio
Branch: MAIN
CVS Tags: 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
Changes since 1.64: +3 -1 lines
Diff to previous 1.64 (colored)

Add missing RTM_VERSION check. This is needed before accessing other data
from routing messages retrieved via routing socket or sysctl.
Tested and OK sthen@, OK henning@

Revision 1.64 / (download) - annotate - [select for diffs], Fri Jun 5 22:40:23 2009 UTC (14 years, 11 months ago) by chris
Branch: MAIN
Changes since 1.63: +2 -2 lines
Diff to previous 1.63 (colored)

rtm->rtm_hdrlen conversion

ok claudio@, henning@

Revision 1.63 / (download) - annotate - [select for diffs], Fri Nov 24 13:52:14 2006 UTC (17 years, 6 months ago) by reyk
Branch: MAIN
CVS Tags: 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
Changes since 1.62: +32 -1 lines
Diff to previous 1.62 (colored)

add support to tag ipsec traffic belonging to specific IKE-initiated
phase 2 traffic. this allows policy-based filtering of encrypted and
unencrypted ipsec traffic with pf(4). see ipsec.conf(5) and
isakmpd.conf(5) for details and examples.

this is work in progress and still needs some testing and feedback,
but it is safe to put it in now.

ok hshoexer@

Revision 1.62 / (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_4_0_BASE, OPENBSD_4_0
Changes since 1.61: +7 -7 lines
Diff to previous 1.61 (colored)

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

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

Big spelling cleanup, no binary change.  From david@

Revision 1.60 / (download) - annotate - [select for diffs], Wed Dec 28 10:57:35 2005 UTC (18 years, 5 months ago) by hshoexer
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.59: +1 -37 lines
Diff to previous 1.59 (colored)

remove some unused functions and an unused variable found by lint.

ok markus@

Revision 1.59 / (download) - annotate - [select for diffs], Tue Nov 15 21:49:04 2005 UTC (18 years, 6 months ago) by cloder
Branch: MAIN
Changes since 1.58: +24 -1 lines
Diff to previous 1.58 (colored)

Add a new raw2hex function and yank out several pieces of code in other
places that were doing this.  Prodding deraadt.  OK hshoexer.

Revision 1.58 / (download) - annotate - [select for diffs], Mon Jul 25 14:56:42 2005 UTC (18 years, 10 months ago) by hshoexer
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.57: +16 -1 lines
Diff to previous 1.57 (colored)

output some more information on UI command "S"

ok ho@

Revision 1.57 / (download) - annotate - [select for diffs], Fri Apr 8 23:15:26 2005 UTC (19 years, 1 month ago) by hshoexer
Branch: MAIN
Changes since 1.56: +7 -7 lines
Diff to previous 1.56 (colored)

get rid of sysdep_sa_len

ok cloder@

Revision 1.56 / (download) - annotate - [select for diffs], Fri Apr 8 22:32:10 2005 UTC (19 years, 1 month ago) by cloder
Branch: MAIN
Changes since 1.55: +21 -4 lines
Diff to previous 1.55 (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.55 / (download) - annotate - [select for diffs], Fri Apr 8 18:52:23 2005 UTC (19 years, 1 month ago) by hshoexer
Branch: MAIN
Changes since 1.54: +1 -5 lines
Diff to previous 1.54 (colored)

zap USE_DEFAULT_ROUTE

Revision 1.54 / (download) - annotate - [select for diffs], Fri Apr 8 16:09:25 2005 UTC (19 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (colored)

kill USE_OLD_SOCKADDR

Revision 1.53 / (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.52: +9 -10 lines
Diff to previous 1.52 (colored)

spacing; ok cloder

Revision 1.52 / (download) - annotate - [select for diffs], Thu Mar 10 21:39:21 2005 UTC (19 years, 2 months ago) by hshoexer
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.51: +1 -36 lines
Diff to previous 1.51 (colored)

remove dead code, noted by ho@

Revision 1.51 / (download) - annotate - [select for diffs], Fri Mar 4 16:51:52 2005 UTC (19 years, 3 months ago) by hshoexer
Branch: MAIN
Changes since 1.50: +24 -1 lines
Diff to previous 1.50 (colored)

remove unused function udp_decode_port(), add modified version as text2port() to
utilities.

ok cloder ho

Revision 1.50 / (download) - annotate - [select for diffs], Sun Feb 27 13:12:12 2005 UTC (19 years, 3 months ago) by hshoexer
Branch: MAIN
Changes since 1.49: +4 -4 lines
Diff to previous 1.49 (colored)

where possible, use bzero instead of memset

ok cloder henning

Revision 1.49 / (download) - annotate - [select for diffs], Tue Dec 14 10:17:28 2004 UTC (19 years, 5 months ago) by mcbride
Branch: MAIN
Changes since 1.48: +146 -10 lines
Diff to previous 1.48 (colored)

Allow the Address, Network, or Netmask values of the <IPsec-ID> to be
specified with an interface name (in which case the first address is used)
or the keyword 'default' (in which case the address is selected based on the
default route). eg:

[roadwarrior-ip]
ID-type=                IPV4_ADDR
Address=                default

ok ho@ hshoexer@

Revision 1.48 / (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_6_BASE, OPENBSD_3_6
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored)

spacing

Revision 1.47 / (download) - annotate - [select for diffs], Fri Jul 30 10:45:27 2004 UTC (19 years, 10 months ago) by ho
Branch: MAIN
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored)

Style.

Revision 1.46 / (download) - annotate - [select for diffs], Fri Jun 25 19:42:38 2004 UTC (19 years, 11 months ago) by mcbride
Branch: MAIN
Changes since 1.45: +1 -61 lines
Diff to previous 1.45 (colored)

Remove HAVE_GETNAMEINFO alternate code. Compiled binary is unchanged.

ok msf@ hshoexer@ itojun@ ho@

Revision 1.45 / (download) - annotate - [select for diffs], Wed Jun 23 03:01:53 2004 UTC (19 years, 11 months ago) by hshoexer
Branch: MAIN
Changes since 1.44: +1 -27 lines
Diff to previous 1.44 (colored)

Avoid stat before open.  Do open and fstat instead.
Remove check_file_secrecy() as it is obsoleted be check_file_secrecy_fd().

ok ho@

Revision 1.44 / (download) - annotate - [select for diffs], Wed Jun 23 01:17:29 2004 UTC (19 years, 11 months ago) by ho
Branch: MAIN
Changes since 1.43: +12 -1 lines
Diff to previous 1.43 (colored)

Make compiling with Boehm's gc possible again.

Revision 1.43 / (download) - annotate - [select for diffs], Sun Jun 20 15:24:05 2004 UTC (19 years, 11 months ago) by ho
Branch: MAIN
Changes since 1.42: +17 -2 lines
Diff to previous 1.42 (colored)

NAT-Traversal for isakmpd. Work in progress...
hshoexer@ ok.

Revision 1.42 / (download) - annotate - [select for diffs], Wed Jun 16 15:08:20 2004 UTC (19 years, 11 months ago) by hshoexer
Branch: MAIN
Changes since 1.41: +4 -2 lines
Diff to previous 1.41 (colored)

Fix wrong pointer dereference and plug memleak.  Found and patch by
Patrick Latifi.  Thanks!

ok ho@

Revision 1.41 / (download) - annotate - [select for diffs], Mon Jun 14 09:55:42 2004 UTC (19 years, 11 months ago) by ho
Branch: MAIN
Changes since 1.40: +5 -3 lines
Diff to previous 1.40 (colored)

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

Revision 1.40 / (download) - annotate - [select for diffs], Mon May 24 14:54:50 2004 UTC (20 years ago) by hshoexer
Branch: MAIN
Changes since 1.39: +6 -6 lines
Diff to previous 1.39 (colored)

Use correct function names in log messages.  Kill some spaces.

ok deraadt@ ho@

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

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

ok ho@

Revision 1.38 / (download) - annotate - [select for diffs], Sun May 23 16:14:22 2004 UTC (20 years ago) by deraadt
Branch: MAIN
Changes since 1.37: +28 -1 lines
Diff to previous 1.37 (colored)

stat before open is flawed

Revision 1.37 / (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.36: +294 -321 lines
Diff to previous 1.36 (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.36 / (download) - annotate - [select for diffs], Wed Apr 7 22:45:49 2004 UTC (20 years, 1 month ago) by ho
Branch: MAIN
Changes since 1.35: +4 -4 lines
Diff to previous 1.35 (colored)

-Wsign-compare nits. hshoexer@ ok.

Revision 1.35 / (download) - annotate - [select for diffs], Sun Dec 14 14:50:23 2003 UTC (20 years, 5 months ago) by ho
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.34: +17 -1 lines
Diff to previous 1.34 (colored)

Log the actual port for src and dst, don't assume it's always 500.

Revision 1.34 / (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.33: +1 -6 lines
Diff to previous 1.33 (colored)

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

Revision 1.33 / (download) - annotate - [select for diffs], Thu May 15 00:28:53 2003 UTC (21 years ago) by ho
Branch: MAIN
Changes since 1.32: +4 -3 lines
Diff to previous 1.32 (colored)

Start of privilege separation for isakmpd.
There are some kinks left, so keep it default disabled for now.
markus@ says ok to commit.

Revision 1.32 / (download) - annotate - [select for diffs], Thu Mar 13 10:31:44 2003 UTC (21 years, 2 months ago) by ho
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.31: +5 -4 lines
Diff to previous 1.31 (colored)

Avoid "j += snprintf()". niklas@ ok.

Revision 1.31 / (download) - annotate - [select for diffs], Thu Mar 6 14:22:13 2003 UTC (21 years, 3 months ago) by cedric
Branch: MAIN
Changes since 1.30: +3 -1 lines
Diff to previous 1.30 (colored)

fix text2sockaddr() when HAVE_GETNAMEINFO is false and port is NULL.
ok ho@

Revision 1.30 / (download) - annotate - [select for diffs], Thu Mar 6 09:56:25 2003 UTC (21 years, 3 months ago) by ho
Branch: MAIN
Changes since 1.29: +3 -2 lines
Diff to previous 1.29 (colored)

Less ambiguous l-value usage. Noted by cedric@

Revision 1.29 / (download) - annotate - [select for diffs], Thu Jan 9 02:51:59 2003 UTC (21 years, 4 months ago) by ho
Branch: MAIN
Changes since 1.28: +7 -5 lines
Diff to previous 1.28 (colored)

Don't write past the end of the address buffer. Found by Theo.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Jun 9 08:13:07 2002 UTC (21 years, 11 months ago) by todd
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

rm trailing whitespace

Revision 1.27 / (download) - annotate - [select for diffs], Tue May 28 11:23:20 2002 UTC (22 years ago) by ho
Branch: MAIN
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

off_t to size_t change for printf format and malloc. Pointed out by <greg@nest.cx>

Revision 1.26 / (download) - annotate - [select for diffs], Wed Jan 23 18:44:48 2002 UTC (22 years, 4 months ago) by ho
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.25: +6 -5 lines
Diff to previous 1.25 (colored)

the last few sprintf -> snprintf

Revision 1.25 / (download) - annotate - [select for diffs], Wed Jan 23 17:10:09 2002 UTC (22 years, 4 months ago) by ho
Branch: MAIN
Changes since 1.24: +6 -5 lines
Diff to previous 1.24 (colored)

less strcpy/strcat

Revision 1.24 / (download) - annotate - [select for diffs], Sat Jan 19 20:12:02 2002 UTC (22 years, 4 months ago) by angelos
Branch: MAIN
Changes since 1.23: +10 -2 lines
Diff to previous 1.23 (colored)

Fix bogosity with sa_len value assignment...I wonder how this ever
worked (but it did, until very recently).

Revision 1.23 / (download) - annotate - [select for diffs], Fri Oct 26 13:29:26 2001 UTC (22 years, 7 months ago) by ho
Branch: MAIN
Changes since 1.22: +10 -18 lines
Diff to previous 1.22 (colored)

Change to use sysdep_sa_len() function.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Oct 26 12:03:07 2001 UTC (22 years, 7 months ago) by ho
Branch: MAIN
Changes since 1.21: +10 -8 lines
Diff to previous 1.21 (colored)

Just rename sockaddr_data/len functions to sockaddr_addrdata/addrlen.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Jul 3 23:39:01 2001 UTC (22 years, 11 months ago) by angelos
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.20: +10 -48 lines
Diff to previous 1.20 (colored)

Fix policy information for IPv6 subnet/range cases. This is ugly, I'll
have to find another way of dealing with IPv6 addresses.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Jul 1 19:59:13 2001 UTC (22 years, 11 months ago) by niklas
Branch: MAIN
Changes since 1.19: +96 -29 lines
Diff to previous 1.19 (colored)

strict strtol checking.  text2sockaddr/sockaddr2text implementations
for systems without get{addr,name}info calls.  Some style police.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Jul 1 14:23:30 2001 UTC (22 years, 11 months ago) by ho
Branch: MAIN
Changes since 1.18: +3 -4 lines
Diff to previous 1.18 (colored)

Get the 'default:' case right too.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Jul 1 05:42:05 2001 UTC (22 years, 11 months ago) by angelos
Branch: MAIN
Changes since 1.17: +3 -2 lines
Diff to previous 1.17 (colored)

Fix remote_negotiation_address attribute; fix sockaddr2text() return
value when zero-filling; log_error()->log_print() consistently.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Jun 29 22:59:41 2001 UTC (22 years, 11 months ago) by angelos
Branch: MAIN
Changes since 1.16: +3 -2 lines
Diff to previous 1.16 (colored)

Fix address byte ordering issue, ho@ ok

Revision 1.16 / (download) - annotate - [select for diffs], Fri Jun 29 04:52:22 2001 UTC (22 years, 11 months ago) by ho
Branch: MAIN
Changes since 1.15: +14 -9 lines
Diff to previous 1.15 (colored)

Style fix as per niklas@'s suggestion.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jun 29 04:12:01 2001 UTC (22 years, 11 months ago) by ho
Branch: MAIN
Changes since 1.14: +116 -8 lines
Diff to previous 1.14 (colored)

Initial IPv6 support. (niklas@ ok)

Revision 1.14 / (download) - annotate - [select for diffs], Wed Jun 27 05:16:49 2001 UTC (22 years, 11 months ago) by ho
Branch: MAIN
Changes since 1.13: +17 -5 lines
Diff to previous 1.13 (colored)

sockaddr2text w/o HAVE_GETNAMEINFO

Revision 1.13 / (download) - annotate - [select for diffs], Wed Jun 27 00:10:35 2001 UTC (22 years, 11 months ago) by ho
Branch: MAIN
Changes since 1.12: +95 -3 lines
Diff to previous 1.12 (colored)

A few more functions to help with IPv6 support. By Niklas and me.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Tue May 8 12:45:26 2001 UTC (23 years ago) by ho
Branch: OPENBSD_2_8
Changes since 1.10: +24 -7 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Pull in isakmpd from 2.9 to 2.8 branch.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Apr 5 23:02:02 2001 UTC (23 years, 2 months ago) by ho
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.11: +4 -1 lines
Diff to previous 1.11 (colored)

let check_file_secrecy() set errno

Revision 1.11 / (download) - annotate - [select for diffs], Thu Nov 23 12:57:15 2000 UTC (23 years, 6 months ago) by niklas
Branch: MAIN
Changes since 1.10: +21 -7 lines
Diff to previous 1.10 (colored)

Merge with EOM 1.23

author: niklas
style nits

author: angelos
Typecast so compiler shuts up.

author: ho
Use stat(), not lstat().

author: niklas
style and removal of unused, unneeded code

Revision 1.10 / (download) - annotate - [select for diffs], Fri Oct 27 19:22:36 2000 UTC (23 years, 7 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE
Branch point for: OPENBSD_2_8
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

conf.c: Merge with EOM 1.46
util.c: Merge EOM diff 1.20 - 1.21, i.e. 1.19 is still left to be merged

author: ho
Use stat(), not lstat().

Revision 1.9 / (download) - annotate - [select for diffs], Mon Oct 16 23:27:03 2000 UTC (23 years, 7 months ago) by niklas
Branch: MAIN
Changes since 1.8: +54 -2 lines
Diff to previous 1.8 (colored)

Merge with EOM 1.19

author: angelos
Correct byte-order handling in encode/decode_128, add function prototypes.

author: angelos
A few more auxiliary routines.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Oct 13 13:22:02 2000 UTC (23 years, 7 months ago) by niklas
Branch: MAIN
Changes since 1.7: +40 -2 lines
Diff to previous 1.7 (colored)

regress/b2n/Makefile: Merge with EOM 1.12
regress/ec2n/Makefile: Merge with EOM 1.9
conf.c: Merge with EOM 1.40
util.c: Merge with EOM 1.17

author: ho
Add file permission check to private key file. Split out check function to util.c.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Oct 7 06:59:39 2000 UTC (23 years, 8 months ago) by niklas
Branch: MAIN
Changes since 1.6: +3 -2 lines
Diff to previous 1.6 (colored)

Merge with EOM 1.16

author: itojun
need string.h for netbsd/alpha

Revision 1.6 / (download) - annotate - [select for diffs], Thu Aug 5 22:40:37 1999 UTC (24 years, 10 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.5: +8 -2 lines
Diff to previous 1.5 (colored)

regress/rsakeygen/Makefile: Merge with EOM 1.5
sysdep/openbsd/sysdep.c: Merge with EOM 1.8
cookie.c: Merge with EOM 1.21
util.c: Merge with EOM 1.15
util.h: Merge with EOM 1.7

author: niklas
Move regrand var to util.c, and get the decl from util.h, do not update the
cookie secret if in deterministic mode.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Apr 19 19:54:54 1999 UTC (25 years, 1 month ago) by niklas
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

./app.c: Merge with EOM 1.5
./gmp_util.c: Merge with EOM 1.3
./asn_useful.c: Merge with EOM 1.11
./attribute.c: Merge with EOM 1.9
./constants.c: Merge with EOM 1.7
./doi.h: Merge with EOM 1.25
./doi.c: Merge with EOM 1.4
./field.c: Merge with EOM 1.9
./init.c: Merge with EOM 1.13
./isakmp_doi.c: Merge with EOM 1.35
./prf.c: Merge with EOM 1.6
./util.c: Merge with EOM 1.14
./app.h: Merge with EOM 1.4
./conf.h: Merge with EOM 1.8
./ipsec.h: Merge with EOM 1.34
./ipsec_doi.h: Merge with EOM 1.10
./pkcs.h: Merge with EOM 1.8
./sysdep.h: Merge with EOM 1.15

1999 copyrights

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

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

Revision 1.3 / (download) - annotate - [select for diffs], Tue Nov 17 11:10:22 1998 UTC (25 years, 6 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:44:04 1998 UTC (25 years, 6 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:49 1998 UTC (25 years, 6 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:49 1998 UTC (25 years, 6 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.