OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.95 / (download) - annotate - [select for diffs], Tue Jul 22 09:45:56 2008 UTC (15 years, 10 months ago) by bluhm
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, 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, HEAD
Changes since 1.94: +13 -13 lines
Diff to previous 1.94 (colored)

If isakmpd is started with -4 or -6, virtual_get_default() may
return NULL.  This happens if isakmpd is configured for the other
address family.  Add a NULL pointer check and initialize rv.
ok hshoexer

Revision 1.94 / (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_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.93: +5 -9 lines
Diff to previous 1.93 (colored)

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

ok hshoexer@

Revision 1.93 / (download) - annotate - [select for diffs], Thu Feb 2 14:33:53 2006 UTC (18 years, 4 months ago) by hshoexer
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
Changes since 1.92: +2 -3 lines
Diff to previous 1.92 (colored)

Small cleanup to avoid gotos, from Andrey Matveev.
ok moritz@

Revision 1.92 / (download) - annotate - [select for diffs], Thu Oct 27 08:19:59 2005 UTC (18 years, 7 months ago) by hshoexer
Branch: MAIN
Changes since 1.91: +7 -2 lines
Diff to previous 1.91 (colored)

Do not touch LIST_* macro internals.

with otto@, ok ho@

Revision 1.91 / (download) - annotate - [select for diffs], Thu Aug 25 09:57:58 2005 UTC (18 years, 9 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.90: +14 -1 lines
Diff to previous 1.90 (colored)

read the information from the INADDR_ANY socket and do not loop if
a new IP appears (cf udp.c, rev 1.74), ok ho@ hshoexer@ cloder@ deraadt@

Revision 1.90 / (download) - annotate - [select for diffs], Sat Jun 4 21:54:55 2005 UTC (19 years ago) by hshoexer
Branch: MAIN
Changes since 1.89: +1 -2 lines
Diff to previous 1.89 (colored)

undo last commit, all memory is already freed by udp_remove()

ok cloder

Revision 1.89 / (download) - annotate - [select for diffs], Wed Jun 1 23:03:56 2005 UTC (19 years ago) by cloder
Branch: MAIN
Changes since 1.88: +2 -1 lines
Diff to previous 1.88 (colored)

Fix memory leaks. OK hshoexer

Revision 1.88 / (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.87: +15 -16 lines
Diff to previous 1.87 (colored)

get rid of sysdep_sa_len

ok cloder@

Revision 1.87 / (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.86: +1 -3 lines
Diff to previous 1.86 (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.86 / (download) - annotate - [select for diffs], Fri Apr 8 16:07:22 2005 UTC (19 years, 1 month ago) by cloder
Branch: MAIN
Changes since 1.85: +1 -3 lines
Diff to previous 1.85 (colored)

Remove references to LINUX_IPSEC

Revision 1.85 / (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.84: +5 -6 lines
Diff to previous 1.84 (colored)

spacing; ok cloder

Revision 1.84 / (download) - annotate - [select for diffs], Sat Mar 5 12:21:34 2005 UTC (19 years, 3 months ago) by ho
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.83: +1 -2 lines
Diff to previous 1.83 (colored)

No need for err.h. hshoexer@ ok

Revision 1.83 / (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.82: +0 -33 lines
Diff to previous 1.82 (colored)

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

ok cloder ho

Revision 1.82 / (download) - annotate - [select for diffs], Fri Mar 4 16:09:59 2005 UTC (19 years, 3 months ago) by hshoexer
Branch: MAIN
Changes since 1.81: +2 -3 lines
Diff to previous 1.81 (colored)

remove unused variable.

noticed by and ok markus

Revision 1.81 / (download) - annotate - [select for diffs], Fri Feb 25 14:14:31 2005 UTC (19 years, 3 months ago) by hshoexer
Branch: MAIN
Changes since 1.80: +2 -3 lines
Diff to previous 1.80 (colored)

Zap -P option.  It has never done anything.  While there tweak descripton of
-N.

zap -P ok ho@

Revision 1.80 / (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.79: +5 -4 lines
Diff to previous 1.79 (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.79 / (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.78: +2 -2 lines
Diff to previous 1.78 (colored)

spacing

Revision 1.78 / (download) - annotate - [select for diffs], Tue Aug 3 10:54:09 2004 UTC (19 years, 10 months ago) by ho
Branch: MAIN
Changes since 1.77: +9 -12 lines
Diff to previous 1.77 (colored)

Rewrite the transport reference count code to avoid leaks.
hshoexer@ ok.

Revision 1.77 / (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.76: +1 -6 lines
Diff to previous 1.76 (colored)

Remove HAVE_GETNAMEINFO alternate code. Compiled binary is unchanged.

ok msf@ hshoexer@ itojun@ ho@

Revision 1.76 / (download) - annotate - [select for diffs], Mon Jun 21 13:09:01 2004 UTC (19 years, 11 months ago) by ho
Branch: MAIN
Changes since 1.75: +29 -6 lines
Diff to previous 1.75 (colored)

Port floating (500->4500) for p1 and p2 exchanges.

Revision 1.75 / (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.74: +109 -422 lines
Diff to previous 1.74 (colored)

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

Revision 1.74 / (download) - annotate - [select for diffs], Thu Jun 17 19:36:36 2004 UTC (19 years, 11 months ago) by hshoexer
Branch: MAIN
Changes since 1.73: +7 -4 lines
Diff to previous 1.73 (colored)

Plug a memleak. Found and fixed (and some cleanup) by Patrick Latifi.
Thanks!

ok ho@

Revision 1.73 / (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.72: +3 -2 lines
Diff to previous 1.72 (colored)

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

Revision 1.72 / (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.71: +2 -2 lines
Diff to previous 1.71 (colored)

Style nits. hshoexer@ ok

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

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

ok ho@

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

remove excessive monitor_ prefixes

Revision 1.69 / (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.68: +612 -681 lines
Diff to previous 1.68 (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.68 / (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.67: +3 -3 lines
Diff to previous 1.67 (colored)

-Wsign-compare nits. hshoexer@ ok.

Revision 1.67 / (download) - annotate - [select for diffs], Mon Mar 29 16:32:19 2004 UTC (20 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.66: +4 -2 lines
Diff to previous 1.66 (colored)

memory mishandling; from ho

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

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

ok ho@ deraadt@ markus@

Revision 1.65 / (download) - annotate - [select for diffs], Fri Sep 26 11:29:11 2003 UTC (20 years, 8 months ago) by cedric
Branch: MAIN
Changes since 1.64: +12 -1 lines
Diff to previous 1.64 (colored)

don't listen to INADDR_ANY if Listen-on is specified.
patch from markus@, ok ho@

Revision 1.64 / (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, OPENBSD_3_4
Changes since 1.63: +2 -2 lines
Diff to previous 1.63 (colored)

boring cleanups

Revision 1.63 / (download) - annotate - [select for diffs], Wed Jun 4 07:31:17 2003 UTC (21 years ago) by ho
Branch: MAIN
Changes since 1.62: +1 -6 lines
Diff to previous 1.62 (colored)

Remove the rest of clauses 3 and 4. Approved by Niklas Hallqvist, Angelos
D. Keromytis and Niels Provos.

Revision 1.62 / (download) - annotate - [select for diffs], Tue Jun 3 12:51:39 2003 UTC (21 years ago) by ho
Branch: MAIN
Changes since 1.61: +2 -2 lines
Diff to previous 1.61 (colored)

Cleanup. Use 'sizeof variable' instead of magic constants.

Revision 1.61 / (download) - annotate - [select for diffs], Sun May 18 20:06:14 2003 UTC (21 years ago) by ho
Branch: MAIN
Changes since 1.60: +9 -8 lines
Diff to previous 1.60 (colored)

struct sockaddr is not large enough in itself to contain the address
value. Switching to sockaddr_storage makes interface rescanning work
properly. niklas@ ok.

Revision 1.60 / (download) - annotate - [select for diffs], Sun May 18 18:16:34 2003 UTC (21 years ago) by ho
Branch: MAIN
Changes since 1.59: +5 -1 lines
Diff to previous 1.59 (colored)

Sysdep for native Linux IPSec, 2.5 and later. From Thomas Walpuski, with
various tweaks by me. niklas@ ok.

Revision 1.59 / (download) - annotate - [select for diffs], Thu May 15 00:28:53 2003 UTC (21 years ago) by ho
Branch: MAIN
Changes since 1.58: +3 -2 lines
Diff to previous 1.58 (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.58 / (download) - annotate - [select for diffs], Wed Feb 12 15:11:31 2003 UTC (21 years, 3 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.57: +26 -18 lines
Diff to previous 1.57 (colored)

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

Revision 1.57 / (download) - annotate - [select for diffs], Tue Dec 3 20:05:10 2002 UTC (21 years, 6 months ago) by ho
Branch: MAIN
Changes since 1.56: +51 -24 lines
Diff to previous 1.56 (colored)

Add -4/-6 cmdline options to select what address family (IPv4,v6) to use.
niklas@ ok.

Revision 1.56 / (download) - annotate - [select for diffs], Wed Sep 11 09:50:44 2002 UTC (21 years, 8 months ago) by ho
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.55: +2 -2 lines
Diff to previous 1.55 (colored)

signed vs unsigned, some void * arithmetic, from -pedantic. niklas@ ok.

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

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

Revision 1.54 / (download) - annotate - [select for diffs], Thu Jan 3 16:27:41 2002 UTC (22 years, 5 months ago) by ho
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.53: +7 -7 lines
Diff to previous 1.53 (colored)

str[n]{cpy,cat} -> strl{cpy,cat}, sprintf -> snprintf

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

Change to use sysdep_sa_len() function.

Revision 1.52 / (download) - annotate - [select for diffs], Tue Oct 9 14:53:05 2001 UTC (22 years, 7 months ago) by ho
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 (colored)

Print correct portnr in warning msg.

Revision 1.51 / (download) - annotate - [select for diffs], Sat Aug 25 22:13:27 2001 UTC (22 years, 9 months ago) by niklas
Branch: MAIN
Changes since 1.50: +14 -13 lines
Diff to previous 1.50 (colored)

Style

Revision 1.50 / (download) - annotate - [select for diffs], Thu Aug 23 23:32:35 2001 UTC (22 years, 9 months ago) by angelos
Branch: MAIN
Changes since 1.49: +17 -17 lines
Diff to previous 1.49 (colored)

Make the wildcard address use SO_REUSEPORT, so multiple instances of
isakmpd can run on the same machine and reuse the wildcard
address. This is intended mostly for debugging and testing purposes,
so multiple listener issues are not relevant.

Revision 1.49 / (download) - annotate - [select for diffs], Thu Aug 23 23:11:02 2001 UTC (22 years, 9 months ago) by angelos
Branch: MAIN
Changes since 1.48: +50 -40 lines
Diff to previous 1.48 (colored)

Reinitialize transports on SIGUP.

Revision 1.48 / (download) - annotate - [select for diffs], Mon Aug 13 14:33:35 2001 UTC (22 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.47: +5 -5 lines
Diff to previous 1.47 (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.47 / (download) - annotate - [select for diffs], Sun Aug 12 15:48:44 2001 UTC (22 years, 9 months ago) by angelos
Branch: MAIN
Changes since 1.46: +10 -3 lines
Diff to previous 1.46 (colored)

Don't coredump if the kernel doesn't support IPv6.

Revision 1.46 / (download) - annotate - [select for diffs], Sat Aug 11 10:13:32 2001 UTC (22 years, 9 months ago) by angelos
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

Check socket >= 0. We should also be going through the list of cloned
transports and invalidating (somehow) those whose socket should not be
used.

Revision 1.45 / (download) - annotate - [select for diffs], Sat Aug 11 09:57:30 2001 UTC (22 years, 9 months ago) by angelos
Branch: MAIN
Changes since 1.44: +111 -22 lines
Diff to previous 1.44 (colored)

When a message is received on the wildcard (default) transport,
re-examine the interface list; new addresses are bound to, and sockets
to deleted addresses are closed.

This only occurs if the Listen-to directive in isakmpd.conf is *not*
used.

Revision 1.44 / (download) - annotate - [select for diffs], Fri Jul 6 14:37:11 2001 UTC (22 years, 11 months ago) by ho
Branch: MAIN
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored)

Style.

Revision 1.43 / (download) - annotate - [select for diffs], Thu Jul 5 12:36:57 2001 UTC (22 years, 11 months ago) by ho
Branch: MAIN
Changes since 1.42: +9 -2 lines
Diff to previous 1.42 (colored)

Add prototypes and some other various cleanup.

Revision 1.42 / (download) - annotate - [select for diffs], Tue Jul 3 07:54:20 2001 UTC (22 years, 11 months ago) by ho
Branch: MAIN
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored)

Slightly more verbose error messages.

Revision 1.41 / (download) - annotate - [select for diffs], Sun Jul 1 20:29:39 2001 UTC (22 years, 11 months ago) by niklas
Branch: MAIN
Changes since 1.40: +50 -22 lines
Diff to previous 1.40 (colored)

strtol strictness.  Style.  Do not use dst end on an unconnected socket.
This should fix the IPv6 work for this round,
There has been code by ho@ too in most my recent commits, we did this on
Boston Logan airport, on our way home from !c2k1, the OpenBSD hackathon.

Revision 1.40 / (download) - annotate - [select for diffs], Sun Jul 1 06:00:32 2001 UTC (22 years, 11 months ago) by angelos
Branch: MAIN
Changes since 1.39: +5 -6 lines
Diff to previous 1.39 (colored)

Pass the right arguments to getnameinfo()

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

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

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

Fix address byte ordering issue, ho@ ok

Revision 1.37 / (download) - annotate - [select for diffs], Fri Jun 29 22:43:40 2001 UTC (22 years, 11 months ago) by ho
Branch: MAIN
Changes since 1.36: +1 -2 lines
Diff to previous 1.36 (colored)

Removing a debugging printout...

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

setsockopt flags needs to be IPv6 aware

Revision 1.35 / (download) - annotate - [select for diffs], Fri Jun 29 20:45:39 2001 UTC (22 years, 11 months ago) by angelos
Branch: MAIN
Changes since 1.34: +19 -18 lines
Diff to previous 1.34 (colored)

Set the port *before* the comparison.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Jun 29 20:38:16 2001 UTC (22 years, 11 months ago) by angelos
Branch: MAIN
Changes since 1.33: +5 -2 lines
Diff to previous 1.33 (colored)

LOG_DBG in hash_get, and if sysdep_cleartext() fails bail out of
initializing socket.

Revision 1.33 / (download) - annotate - [select for diffs], Fri Jun 29 20:22:58 2001 UTC (22 years, 11 months ago) by niklas
Branch: MAIN
Changes since 1.32: +21 -5 lines
Diff to previous 1.32 (colored)

Create an IPv6 default transport

Revision 1.32 / (download) - annotate - [select for diffs], Fri Jun 29 19:41:43 2001 UTC (22 years, 11 months ago) by ho
Branch: MAIN
Changes since 1.31: +169 -109 lines
Diff to previous 1.31 (colored)

IPv6 support, by niklas@ and me.

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

Change get_src/get_dst API as we get the length with sa_len.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Jun 7 08:14:21 2001 UTC (23 years ago) by angelos
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

Print the right port on error message.

Revision 1.23.2.2 / (download) - annotate - [select for diffs], Tue May 8 12:45:26 2001 UTC (23 years, 1 month ago) by ho
Branch: OPENBSD_2_8
Changes since 1.23.2.1: +6 -7 lines
Diff to previous 1.23.2.1 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

Pull in isakmpd from 2.9 to 2.8 branch.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Apr 9 22:09:53 2001 UTC (23 years, 1 month ago) by ho
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

More style fixes...

Revision 1.28 / (download) - annotate - [select for diffs], Tue Mar 6 22:17:21 2001 UTC (23 years, 3 months ago) by angelos
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

Don't use the source for both sides!

Revision 1.27 / (download) - annotate - [select for diffs], Sat Jan 27 12:03:36 2001 UTC (23 years, 4 months ago) by niklas
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

(c) 2001

Revision 1.26 / (download) - annotate - [select for diffs], Fri Jan 26 12:12:52 2001 UTC (23 years, 4 months ago) by niklas
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

Pedantic style police

Revision 1.25 / (download) - annotate - [select for diffs], Fri Jan 26 11:08:08 2001 UTC (23 years, 4 months ago) by niklas
Branch: MAIN
Changes since 1.24: +2 -3 lines
Diff to previous 1.24 (colored)

Merge with EOM 1.57

author: niklas
Remove unused constant

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Mon Dec 11 05:28:49 2000 UTC (23 years, 5 months ago) by jason
Branch: OPENBSD_2_8
Changes since 1.23: +8 -7 lines
Diff to previous 1.23 (colored)

Pull in patch from current:
Fix (niklas, angelos):
Merge with EOM 1.56

author: niklas
style nits

author: angelos
Print and use correct port when looking at listening sockets.
Don't setup unnecessary flows on the receiver side.

author: angelos
Careful on the type used by inet_ntoa()

author: niklas
byte ordering

Revision 1.24 / (download) - annotate - [select for diffs], Thu Nov 23 12:56:51 2000 UTC (23 years, 6 months ago) by niklas
Branch: MAIN
Changes since 1.23: +9 -8 lines
Diff to previous 1.23 (colored)

Merge with EOM 1.56

author: niklas
style nits

author: angelos
Print and use correct port when looking at listening sockets.
Don't setup unnecessary flows on the receiver side.

author: angelos
Careful on the type used by inet_ntoa()

author: niklas
byte ordering

Revision 1.23 / (download) - annotate - [select for diffs], Mon Oct 16 23:27:23 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.22: +13 -7 lines
Diff to previous 1.22 (colored)

Merge with EOM 1.52

author: niklas
ifdef HAVE_GETNAMINFO

author: angelos
That comment doesn't justify an XXX mark :-)

Revision 1.22 / (download) - annotate - [select for diffs], Thu Aug 3 07:23:55 2000 UTC (23 years, 10 months ago) by niklas
Branch: MAIN
Changes since 1.21: +30 -3 lines
Diff to previous 1.21 (colored)

udp.c: Merge with EOM 1.50
transport.h: Merge with EOM 1.16

author: provos
provide transport dependent ID decoding; hope indentation is right now ;)

Revision 1.21 / (download) - annotate - [select for diffs], Fri Apr 7 22:04:58 2000 UTC (24 years, 2 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.20: +4 -2 lines
Diff to previous 1.20 (colored)

Merge with EOM 1.49

author: ho
Missing #ifndef linux

Revision 1.20 / (download) - annotate - [select for diffs], Wed Mar 8 08:43:16 2000 UTC (24 years, 3 months ago) by niklas
Branch: MAIN
Changes since 1.19: +7 -2 lines
Diff to previous 1.19 (colored)

Merge with EOM 1.48

author: ho
Do not crash if user forgot address field.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Feb 25 17:23:42 2000 UTC (24 years, 3 months ago) by niklas
Branch: MAIN
Changes since 1.18: +4 -3 lines
Diff to previous 1.18 (colored)

regress/crypto/Makefile: Merge with EOM 1.5
regress/dh/Makefile: Merge with EOM 1.7
regress/group/Makefile: Merge with EOM 1.9
regress/prf/Makefile: Merge with EOM 1.4
regress/rsakeygen/Makefile: Merge with EOM 1.8
regress/x509/Makefile: Merge with EOM 1.10
Makefile: Merge with EOM 1.62
attribute.c: Merge with EOM 1.10
sa.c: Merge with EOM 1.99
conf.c: Merge with EOM 1.20
crypto.c: Merge with EOM 1.28
isakmpd.c: Merge with EOM 1.45
connection.c: Merge with EOM 1.19
doi.h: Merge with EOM 1.28
field.c: Merge with EOM 1.11
exchange.c: Merge with EOM 1.116
ike_auth.c: Merge with EOM 1.44
pf_key_v2.c: Merge with EOM 1.37
ike_phase_1.c: Merge with EOM 1.22
ipsec.c: Merge with EOM 1.118
isakmp_doi.c: Merge with EOM 1.40
log.c: Merge with EOM 1.26
log.h: Merge with EOM 1.18
math_group.c: Merge with EOM 1.23
message.c: Merge with EOM 1.144
pf_encap.c: Merge with EOM 1.70
policy.c: Merge with EOM 1.18
timer.c: Merge with EOM 1.13
transport.c: Merge with EOM 1.41
udp.c: Merge with EOM 1.47
ui.c: Merge with EOM 1.37
x509.c: Merge with EOM 1.36

author: niklas
Made debug logging a compile time selectable feature

Revision 1.18 / (download) - annotate - [select for diffs], Tue Feb 1 02:46:19 2000 UTC (24 years, 4 months ago) by niklas
Branch: MAIN
Changes since 1.17: +3 -2 lines
Diff to previous 1.17 (colored)

apps/certpatch/certpatch.8: Merge with EOM 1.4
apps/certpatch/certpatch.c: Merge with EOM 1.6
exchange.c: Merge with EOM 1.114
ike_quick_mode.c: Merge with EOM 1.110
ike_phase_1.c: Merge with EOM 1.16
ike_auth.c: Merge with EOM 1.41
ike_aggressive.c: Merge with EOM 1.4
libcrypto.c: Merge with EOM 1.10
libcrypto.h: Merge with EOM 1.10
isakmpd.8: Merge with EOM 1.19
isakmpd.c: Merge with EOM 1.42
ipsec.h: Merge with EOM 1.40
init.c: Merge with EOM 1.22
message.c: Merge with EOM 1.143
message.h: Merge with EOM 1.49
sa.c: Merge with EOM 1.98
sa.h: Merge with EOM 1.54
policy.c: Merge with EOM 1.14
pf_key_v2.c: Merge with EOM 1.36
x509.c: Merge with EOM 1.32
x509.h: Merge with EOM 1.9
udp.c: Merge with EOM 1.46

author: niklas
Angelos copyrights

Revision 1.17 / (download) - annotate - [select for diffs], Wed Jan 26 15:22:17 2000 UTC (24 years, 4 months ago) by niklas
Branch: MAIN
Changes since 1.16: +5 -6 lines
Diff to previous 1.16 (colored)

Merge with EOM 1.45

date: 2000/01/25 06:51:20;  author: angelos;  state: Exp;  lines: +2 -3
Unneeded variable.

date: 2000/01/25 06:50:51;  author: angelos;  state: Exp;  lines: +1 -27
Didn't realize there was a sysdep_cleartext() for setting the BYPASS
flags for socket security levels. Remove reduntant setsockopt() code.

date: 2000/01/11 04:47:41;  author: angelos;  state: Exp;  lines: +30 -4
Set IPSEC_LEVEL_BYPASS on all our sockets, so IKE packets don't
accidentally get encrypted.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Oct 1 14:08:05 1999 UTC (24 years, 8 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.15: +42 -4 lines
Diff to previous 1.15 (colored)

Merge with EOM 1.42

author: niklas
Do not consider down interfaces or ones with bad addresses

Revision 1.15 / (download) - annotate - [select for diffs], Sat Jun 5 23:11:19 1999 UTC (25 years ago) by niklas
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Merge with EOM 1.41, RCSIds

Revision 1.14 / (download) - annotate - [select for diffs], Sat Jun 5 22:54:42 1999 UTC (25 years ago) by niklas
Branch: MAIN
Changes since 1.13: +3 -1 lines
Diff to previous 1.13 (colored)

Use the Listen-on address as local address if Local-address
not given, but Listen-on is.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Apr 30 11:46:59 1999 UTC (25 years, 1 month ago) by niklas
Branch: MAIN
Changes since 1.12: +7 -5 lines
Diff to previous 1.12 (colored)

Merge with EOM 1.40

author: niklas
inet_ntoa returns a static, do not call twice in an expression

Revision 1.12 / (download) - annotate - [select for diffs], Tue Apr 27 21:09:01 1999 UTC (25 years, 1 month ago) by niklas
Branch: MAIN
Changes since 1.11: +5 -6 lines
Diff to previous 1.11 (colored)

Merge with EOM 1.39

author: niklas
reference transport when doing listen sockets.  Style + remove old comment

Revision 1.11 / (download) - annotate - [select for diffs], Mon Apr 19 20:55:09 1999 UTC (25 years, 1 month ago) by niklas
Branch: MAIN
Changes since 1.10: +27 -4 lines
Diff to previous 1.10 (colored)

./udp.c: Merge with EOM 1.38

Add LOG_REPORT to always go to logchannel regardless of level; misc small fixes

Move transport-independent reporting to transport_report instead.  Also
report the socket fd for UDP transports.  A derived transport class is always
aligned with the transport superclass, so there is no need to search for
the udp_transport that matches a given transport.

Add udp_report for transport_report

Garbage collect transports via refcounting.  Fix commentary.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Apr 5 21:00:08 1999 UTC (25 years, 2 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.9: +4 -3 lines
Diff to previous 1.9 (colored)

Merge with EOM 1.34
Mem leak plugging.

1999 copyrights

Revision 1.9 / (download) - annotate - [select for diffs], Wed Mar 31 23:47:12 1999 UTC (25 years, 2 months ago) by niklas
Branch: MAIN
Changes since 1.8: +52 -8 lines
Diff to previous 1.8 (colored)

Merge with EOM 1.32
Implement Local-address binding

Revision 1.8 / (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.7: +15 -2 lines
Diff to previous 1.7 (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.7 / (download) - annotate - [select for diffs], Fri Feb 26 03:51:33 1999 UTC (25 years, 3 months ago) by niklas
Branch: MAIN
Changes since 1.6: +71 -13 lines
Diff to previous 1.6 (colored)

Merge from the Ericsson repository
| revision 1.30
| date: 1999/02/25 11:39:25;  author: niklas;  state: Exp;  lines: +3 -1
| include sysdep.h everywhere
| ----------------------------
| revision 1.29
| date: 1999/02/24 15:45:38;  author: niklas;  state: Exp;  lines: +17 -5
| Use correct socket options for sharing of ports
| ----------------------------
| revision 1.28
| date: 1999/02/24 12:17:02;  author: niklas;  state: Exp;  lines: +2 -3
| Set extra transport flags after initialization
| ----------------------------
| revision 1.27
| date: 1999/02/14 00:16:07;  author: niklas;  state: Exp;  lines: +51 -8
| New fd_set API.  Listen on chosen interfaces only.
| ----------------------------
| revision 1.26
| date: 1999/01/31 01:23:22;  author: niklas;  state: Exp;  lines: +3 -1
| commentary
| ----------------------------

Revision 1.6 / (download) - annotate - [select for diffs], Tue Dec 22 02:25:15 1998 UTC (25 years, 5 months ago) by niklas
Branch: MAIN
Changes since 1.5: +36 -23 lines
Diff to previous 1.5 (colored)

Generalize udp port decoding.  Remove unneeded decls.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Dec 22 01:46:04 1998 UTC (25 years, 5 months ago) by niklas
Branch: MAIN
Changes since 1.4: +12 -71 lines
Diff to previous 1.4 (colored)

Remove obsolete connection code.  Use strtol instead of atoi

Revision 1.4 / (download) - annotate - [select for diffs], Mon Dec 21 01:02:27 1998 UTC (25 years, 5 months ago) by niklas
Branch: MAIN
Changes since 1.3: +77 -6 lines
Diff to previous 1.3 (colored)

Last months worth of work on isakmpd, lots done

Revision 1.3 / (download) - annotate - [select for diffs], Tue Nov 17 11:10:21 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.