head	1.4;
access;
symbols
	RELEASE_6_1_0:1.3
	RELEASE_5_5_0:1.3
	RELEASE_6_0_0:1.3
	RELEASE_5_4_0:1.3
	RELEASE_4_11_0:1.3
	RELEASE_5_3_0:1.3
	RELEASE_4_10_0:1.3
	RELEASE_5_2_1:1.3
	RELEASE_5_2_0:1.3
	RELEASE_4_9_0:1.3
	RELEASE_5_1_0:1.3
	RELEASE_4_8_0:1.3
	RELEASE_5_0_0:1.3
	RELEASE_4_7_0:1.3
	RELEASE_4_6_2:1.3
	RELEASE_4_6_1:1.3
	RELEASE_4_6_0:1.3
	RELEASE_5_0_DP1:1.3
	RELEASE_4_5_0:1.3
	RELEASE_4_4_0:1.3
	RELEASE_4_3_0:1.3
	RELEASE_4_2_0:1.3
	RELEASE_4_1_1:1.3
	RELEASE_4_1_0:1.3
	RELEASE_3_5_0:1.3
	RELEASE_4_0_0:1.3
	RELEASE_3_4_0:1.2
	RELEASE_3_3_0:1.2
	RELEASE_3_2_0:1.2
	RELEASE_3_1_0:1.1
	RELEASE_2_2_8:1.1;
locks; strict;
comment	@# @;


1.4
date	2006.04.06.13.54.44;	author archie;	state dead;
branches;
next	1.3;

1.3
date	2000.01.26.01.55.21;	author archie;	state Exp;
branches;
next	1.2;

1.2
date	99.03.10.22.27.54;	author archie;	state Exp;
branches;
next	1.1;

1.1
date	98.11.17.03.24.13;	author archie;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Remove the skip port. Created before there was an IPSec implementation on
FreeBSD, it is now extremely obsolete. In any case it doesn't compile. Earlier
version of this port can still be used on older versions of FreeBSD of course.
@
text
@diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/keymgrd/skiplocal.C work.new/skip/keymgrd/skiplocal.C
--- skipsrc-1.0.orig/skip/keymgrd/skiplocal.C	Fri Oct 25 13:12:55 1996
+++ work.new/skip/keymgrd/skiplocal.C	Mon Jan 24 12:35:41 2000
@@@@ -88,8 +88,7 @@@@
 
 void
 usage(char *s){
-	fprintf(stderr, "%s [add|export|extract|list|keygen|rm"
-		, s);
+	fprintf(stderr, "%s [add|export|extract|list|keygen|rm]\n", s);
 	exit(1);
 }
 
@


1.3
log
@Bash this port until it compiles under -current again.
@
text
@@


1.2
log
@Build SKIP port as a KLD instead of an LKM.
@
text
@d1 13
a13 39
diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/man/skiphost.1m work.new/skip/man/skiphost.1m
--- skipsrc-1.0.orig/skip/man/skiphost.1m	Fri Oct 25 13:12:57 1996
+++ work.new/skip/man/skiphost.1m	Mon Mar  8 21:33:38 1999
@@@@ -42,6 +42,8 @@@@
 .BI \-s " sender NSID       "   \-S " sender key ID"...
 .if n .ti +8n
 .BI \-v " SKIP version      "   \-A " tunnel address  " \-T
+.if n .ti +8n
+.BI \-f " source IP address "
 ]
 .if n .ti +5n
 [
@@@@ -53,9 +55,13 @@@@
 .if n .ti +8n
 .BI \-r " receiver NSID     "   \-R " receiver key ID"...
 .if n .ti +8n
+.BI \-f " source IP address "
+.if n .ti +8n
 .BI \-s " sender NSID       "   \-S " sender key ID"...
 .if n .ti +8n
 .BI \-v " SKIP version      "   \-A " tunnel address  " \-T
+.if n .ti +8n
+.BI \-f " source IP address "
 ]
 .SH DESCRIPTION
 .B
@@@@ -185,6 +191,12 @@@@
 address in outgoing packets with the supplied value.
 This permits hiding of network topology.
 By default, the tunnel address is set to the destination address. 
+.TP 
+.BI \-f " source IP address"
+This option is used in tunneling mode to replace the source IP
+address in outgoing packets with the supplied value.
+This permits hiding of network topology.
+By default, the source address is not changed when the packet is encrypted.
 .TP 
 .BI \-T
 Encrypt or authenticate only the data part of the IP packet. By default,
@


1.1
log
@SKIP needs a custom mbuf flag; use M_PROTO1 instead of M_EOR.
PR:		ports/8712
Reviewed by:	Archie Cobbs <archie@@whistle.com>
Submitted by:	Christopher N . Harrell <cnh@@eng.mindspring.net>
@
text
@d1 39
a39 13
diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_if.h skipsrc-1.0/skip/freebsd/skip_if.h
--- skipsrc-1.0.orig/skip/freebsd/skip_if.h	Fri Oct 25 20:12:43 1996
+++ skipsrc-1.0/skip/freebsd/skip_if.h	Mon Nov 16 22:55:25 1998
@@@@ -104,7 +104,7 @@@@
 /*
  * returns TRUE if SKIP has processed this buffer
  */
-#define	SKIP_DECRYPTED(m)	((m)->m_flags & M_EOR)
+#define	SKIP_DECRYPTED(m)	((m)->m_flags & M_PROTO1)
 
 /* 
  * Macro to retrieve an ifnet 
diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_os.h skipsrc-1.0/skip/freebsd/skip_os.h
@

