OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.24 / (download) - annotate - [select for diffs], Sun Jan 16 14:30:11 2022 UTC (2 years, 4 months ago) by naddy
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, HEAD
Changes since 1.23: +2 -3 lines
Diff to previous 1.23 (colored)

isakmpd: fix -Wunused-but-set-variable warnings

ok guenther@

Revision 1.23 / (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_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
Changes since 1.22: +4 -5 lines
Diff to previous 1.22 (colored)

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

Revision 1.22 / (download) - annotate - [select for diffs], Wed Jan 22 03:09:31 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.21: +1 -3 lines
Diff to previous 1.21 (colored)

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

Revision 1.19.4.1 / (download) - annotate - [select for diffs], Fri May 18 21:34:43 2007 UTC (17 years ago) by ckuethe
Branch: OPENBSD_4_0
Changes since 1.19: +4 -1 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Original Commit by hshoexer@, original commit message:
===========================================================================
Fix interop-issue with vpn peers that start reyking on port 4500 when
NAT-T is used.  Solves problems with cisco and openswan.

Tested by todd@ (cisco interop), ok ho@

Original fix with Stefan Roth (stefan dot roth at siemens dot com),
thanks!
===========================================================================

Revision 1.19.6.1 / (download) - annotate - [select for diffs], Fri May 18 21:34:07 2007 UTC (17 years ago) by ckuethe
Branch: OPENBSD_4_1
Changes since 1.19: +3 -5 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Original Commit by hshoexer@, original commit message:
===========================================================================
Fix interop-issue with vpn peers that start reyking on port 4500 when
NAT-T is used.  Solves problems with cisco and openswan.

Tested by todd@ (cisco interop), ok ho@

Original fix with Stefan Roth (stefan dot roth at siemens dot com),
thanks!
===========================================================================

Revision 1.21 / (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.20: +3 -5 lines
Diff to previous 1.20 (colored)

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

ok hshoexer@

Revision 1.20 / (download) - annotate - [select for diffs], Sun Apr 15 19:37:46 2007 UTC (17 years, 1 month ago) by hshoexer
Branch: MAIN
Changes since 1.19: +4 -1 lines
Diff to previous 1.19 (colored)

Fix interop-issue with vpn peers that start reyking on port 4500 when
NAT-T is used.  Solves problems with cisco and openswan.

Tested by todd@ (cisco interop), ok ho@

Original fix with Stefan Roth (stefan dot roth at siemens dot com),
thanks!

Revision 1.19 / (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_0_BASE, OPENBSD_3_9_BASE, OPENBSD_3_9
Branch point for: OPENBSD_4_1, OPENBSD_4_0
Changes since 1.18: +2 -3 lines
Diff to previous 1.18 (colored)

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

Revision 1.18 / (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.17: +13 -1 lines
Diff to previous 1.17 (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.17 / (download) - annotate - [select for diffs], Sat Jun 4 21:54:55 2005 UTC (19 years ago) by hshoexer
Branch: MAIN
Changes since 1.16: +1 -2 lines
Diff to previous 1.16 (colored)

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

ok cloder

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

Fix memory leaks. OK hshoexer

Revision 1.15 / (download) - annotate - [select for diffs], Fri Apr 8 23:15:26 2005 UTC (19 years, 2 months ago) by hshoexer
Branch: MAIN
Changes since 1.14: +5 -6 lines
Diff to previous 1.14 (colored)

get rid of sysdep_sa_len

ok cloder@

Revision 1.14 / (download) - annotate - [select for diffs], Fri Apr 8 16:07:22 2005 UTC (19 years, 2 months ago) by cloder
Branch: MAIN
Changes since 1.13: +1 -3 lines
Diff to previous 1.13 (colored)

Remove references to LINUX_IPSEC

Revision 1.13 / (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.12: +2 -2 lines
Diff to previous 1.12 (colored)

spacing; ok cloder

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

No need for err.h. hshoexer@ ok

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

remove unused variable.

Revision 1.10 / (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.9: +4 -4 lines
Diff to previous 1.9 (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.9 / (download) - annotate - [select for diffs], Wed Oct 20 15:00:45 2004 UTC (19 years, 7 months ago) by hshoexer
Branch: MAIN
Changes since 1.8: +6 -5 lines
Diff to previous 1.8 (colored)

fix potential memleaks & small cleanup.  found by patrick latifi, thanks!

ok ho

Revision 1.8 / (download) - annotate - [select for diffs], Fri Sep 24 13:31:04 2004 UTC (19 years, 8 months ago) by ho
Branch: MAIN
Changes since 1.7: +7 -3 lines
Diff to previous 1.7 (colored)

Don't process NAT-T keepalives. Noted by Kamel Messaoudi. hshoexer@ ok

Revision 1.7 / (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.6: +4 -4 lines
Diff to previous 1.6 (colored)

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

Revision 1.6 / (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.5: +2 -2 lines
Diff to previous 1.5 (colored)

spacing

Revision 1.5 / (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.4: +18 -39 lines
Diff to previous 1.4 (colored)

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

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jul 7 09:13:01 2004 UTC (19 years, 11 months ago) by hshoexer
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

compile cleanly with -Wsign-compare; while around, kill a space

ok ho@

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jun 21 23:27:10 2004 UTC (19 years, 11 months ago) by ho
Branch: MAIN
Changes since 1.2: +28 -17 lines
Diff to previous 1.2 (colored)

Implement NAT-T keepalive messages.

Revision 1.2 / (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.1: +6 -5 lines
Diff to previous 1.1 (colored)

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

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

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

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.