OpenBSD CVS

CVS log for src/sys/netinet/Attic/ip_esp_old.c


[BACK] Up to [local] / src / sys / netinet

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.39, Thu Jan 27 08:09:11 2000 UTC (24 years, 4 months ago) by angelos
Branch: MAIN
CVS Tags: UBC_SYNC_B, UBC_SYNC_A, SMP_SYNC_B, SMP_SYNC_A, SMP, HEAD
Changes since 1.38: +1 -1 lines
FILE REMOVED

Merge "old" and "new" ESP and AH in two files (one for each).
Fix a couple of buglets with ingress flow deletion.
tcpdump on enc0 should now show all outgoing packets *before* being
processed, and all incoming packets *after* being processed.

Good to be in Canada (land of the free commits).

Revision 1.38 / (download) - annotate - [select for diffs], Mon Dec 6 07:14:35 1999 UTC (24 years, 6 months ago) by angelos
Branch: MAIN
CVS Tags: kame_19991208
Changes since 1.37: +4 -3 lines
Diff to previous 1.37 (colored)

New ESP code that's v4 and v6 friendly.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Oct 29 02:10:02 1999 UTC (24 years, 7 months ago) by angelos
Branch: MAIN
Changes since 1.36: +2 -3 lines
Diff to previous 1.36 (colored)

Get rid of unnecessary third argument in *_output routines of IPsec.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Oct 6 22:27:57 1999 UTC (24 years, 8 months ago) by jason
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.35: +3 -2 lines
Diff to previous 1.35 (colored)

M_EXT isn't the only test for a cluster any more: also test ext_ref

Revision 1.35 / (download) - annotate - [select for diffs], Fri Jun 18 07:24:04 1999 UTC (25 years ago) by deraadt
Branch: MAIN
Changes since 1.34: +15 -85 lines
Diff to previous 1.34 (colored)

split out transforms; some debugging done but there may still be bugs in
the new key init/zero functions

Revision 1.34 / (download) - annotate - [select for diffs], Sun May 16 21:48:33 1999 UTC (25 years, 1 month ago) by niklas
Branch: MAIN
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

spltdb introduced, protection for tdb lists and related structures, so
they won't disappear behind our back by an expiration.  Cleanup expiration
logic too.

Revision 1.33 / (download) - annotate - [select for diffs], Wed May 12 22:58:48 1999 UTC (25 years, 1 month ago) by ho
Branch: MAIN
Changes since 1.32: +18 -18 lines
Diff to previous 1.32 (colored)

Follow local indentation style.

Revision 1.32 / (download) - annotate - [select for diffs], Wed May 12 21:11:42 1999 UTC (25 years, 1 month ago) by ho
Branch: MAIN
Changes since 1.31: +35 -2 lines
Diff to previous 1.31 (colored)

Fix problem with data corruption for retransmitted TCP packets
in an IPSec ESP tunnel. OpenBSD PR 819.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Mar 24 17:00:46 1999 UTC (25 years, 2 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.30: +5 -13 lines
Diff to previous 1.30 (colored)

Implement lifetime expiration notifications.  Fix some typos.  Remove statics.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Feb 25 20:14:41 1999 UTC (25 years, 3 months ago) by angelos
Branch: MAIN
Changes since 1.29: +13 -1 lines
Diff to previous 1.29 (colored)

Bzero key information before free'ing it, just for paranoia's sake.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Feb 24 23:45:50 1999 UTC (25 years, 3 months ago) by angelos
Branch: MAIN
Changes since 1.28: +5 -3 lines
Diff to previous 1.28 (colored)

Update copyright; remove a few annoying debugging printfs.

Btw, OpenBSD hit 25000 commits a couple commits ago.

Revision 1.28 / (download) - annotate - [select for diffs], Wed Feb 24 22:33:03 1999 UTC (25 years, 3 months ago) by angelos
Branch: MAIN
Changes since 1.27: +178 -272 lines
Diff to previous 1.27 (colored)

Remove encap.h include; saner debugging printfs; fix buglets; work with
pfkeyv2.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Feb 12 00:46:11 1999 UTC (25 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

angelos cannot spell small words

Revision 1.26 / (download) - annotate - [select for diffs], Mon Jan 11 22:52:10 1999 UTC (25 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.25: +31 -24 lines
Diff to previous 1.25 (colored)

remove panic() calls, consistent error reporting

Revision 1.25 / (download) - annotate - [select for diffs], Mon Jan 11 05:12:30 1999 UTC (25 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

panic prints a newline for you, don't do it in the panic string

Revision 1.24 / (download) - annotate - [select for diffs], Fri Jan 8 21:40:27 1999 UTC (25 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.23: +24 -20 lines
Diff to previous 1.23 (colored)

do not use random bits when not necessary, remove 8-byte block dependence

Revision 1.23 / (download) - annotate - [select for diffs], Wed Nov 25 09:56:51 1998 UTC (25 years, 6 months ago) by niklas
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

Better error code for too large packets

Revision 1.22 / (download) - annotate - [select for diffs], Wed Nov 25 02:30:59 1998 UTC (25 years, 6 months ago) by niklas
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

typo in diagnostic

Revision 1.21 / (download) - annotate - [select for diffs], Wed Nov 25 02:01:27 1998 UTC (25 years, 6 months ago) by niklas
Branch: MAIN
Changes since 1.20: +12 -2 lines
Diff to previous 1.20 (colored)

Add checks of packets getting to big after transforms.
Also make sure some more error conditions get told to the caller.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Jul 30 08:41:21 1998 UTC (25 years, 10 months ago) by provos
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.19: +7 -1 lines
Diff to previous 1.19 (colored)

fixing a stupid bug I introduced when trying to improve the encryption
performance by avoiding unnecessary copies. There was a problem when two
subsequent mbufs were != 0 mod blocksize and the next < blocksize, so we
lost the rest of the last mbuf as IV.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Jun 11 14:17:23 1998 UTC (26 years ago) by provos
Branch: MAIN
Changes since 1.18: +15 -5 lines
Diff to previous 1.18 (colored)

fix a mbuf chain corruption which happened when m_pullup was called on an
mbuf in the middle of the chain and had to MGET a new one.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Jun 3 09:50:22 1998 UTC (26 years ago) by provos
Branch: MAIN
Changes since 1.17: +36 -90 lines
Diff to previous 1.17 (colored)

cleanup debug printfs

Revision 1.17 / (download) - annotate - [select for diffs], Mon May 18 21:10:45 1998 UTC (26 years, 1 month ago) by provos
Branch: MAIN
Changes since 1.16: +25 -19 lines
Diff to previous 1.16 (colored)

first step to the setsockopt/getsockopt interface as described in
draft-mcdonald-simple-ipsec-api, kernel notifies (EMT_REQUESTSA) signal
userland key management applications when security services are requested.
this is only for outgoing connections at the moment, incoming packets
are not yet checked against the selected socket policy.

Revision 1.16 / (download) - annotate - [select for diffs], Tue May 5 08:54:50 1998 UTC (26 years, 1 month ago) by provos
Branch: MAIN
Changes since 1.15: +14 -2 lines
Diff to previous 1.15 (colored)

check for invalid padding length, reported by Dan McDonald (Sun Microsystems)
<danmcd@eng.sun.com>

Revision 1.15 / (download) - annotate - [select for diffs], Sat Mar 7 21:30:26 1998 UTC (26 years, 3 months ago) by provos
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.14: +140 -79 lines
Diff to previous 1.14 (colored)

improve performance by avoiding unnecessary copies.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Feb 22 01:23:32 1998 UTC (26 years, 3 months ago) by niklas
Branch: MAIN
Changes since 1.13: +12 -4 lines
Diff to previous 1.13 (colored)

Changes made for GCC 2.8 -Wall pleasures

Revision 1.13 / (download) - annotate - [select for diffs], Tue Feb 3 19:06:29 1998 UTC (26 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

bad types; wileyc@sekiya.twics.co.jp

Revision 1.12 / (download) - annotate - [select for diffs], Wed Jan 21 18:43:34 1998 UTC (26 years, 4 months ago) by provos
Branch: MAIN
Changes since 1.11: +1 -12 lines
Diff to previous 1.11 (colored)

rcvif not needed.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Nov 15 00:07:09 1997 UTC (26 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.10: +6 -2 lines
Diff to previous 1.10 (colored)

fix memory management errors

Revision 1.10 / (download) - annotate - [select for diffs], Tue Nov 4 09:11:13 1997 UTC (26 years, 7 months ago) by provos
Branch: MAIN
Changes since 1.9: +98 -112 lines
Diff to previous 1.9 (colored)

make it easier to add additional transforms. add blowfish and cast
encryption. some more info for kernfs/ipsec.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Oct 2 02:31:05 1997 UTC (26 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.8: +29 -27 lines
Diff to previous 1.8 (colored)

conditional error logging

Revision 1.8 / (download) - annotate - [select for diffs], Wed Oct 1 01:17:30 1997 UTC (26 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.7: +9 -1 lines
Diff to previous 1.7 (colored)

verify decryption by checking last padding bytes

Revision 1.7 / (download) - annotate - [select for diffs], Tue Sep 30 03:29:50 1997 UTC (26 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

same as for ip_esp_new.c, and indent

Revision 1.6 / (download) - annotate - [select for diffs], Sun Sep 28 22:57:49 1997 UTC (26 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.5: +10 -10 lines
Diff to previous 1.5 (colored)

log() needs a \n

Revision 1.5 / (download) - annotate - [select for diffs], Tue Aug 26 12:02:50 1997 UTC (26 years, 9 months ago) by provos
Branch: MAIN
Changes since 1.4: +3 -4 lines
Diff to previous 1.4 (colored)

new esp: encryption, authentication and replay protection +
tiny bug fixes

Revision 1.4 / (download) - annotate - [select for diffs], Sun Jul 27 23:30:36 1997 UTC (26 years, 10 months ago) by niklas
Branch: MAIN
Changes since 1.3: +61 -1 lines
Diff to previous 1.3 (colored)

expiration messages, fixes, updates, all sorts of things

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jul 18 18:09:55 1997 UTC (26 years, 11 months ago) by provos
Branch: MAIN
Changes since 1.2: +10 -10 lines
Diff to previous 1.2 (colored)

enablespi/disablespi in encap + print spi's in hostorder

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jul 14 08:48:46 1997 UTC (26 years, 11 months ago) by provos
Branch: MAIN
Changes since 1.1: +10 -2 lines
Diff to previous 1.1 (colored)

global byte counters.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Jul 11 23:37:57 1997 UTC (26 years, 11 months ago) by provos
Branch: MAIN

put old esp/ah and new esp/ah in different files.
generalised way of handling transforms.

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.