Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/setkey update examples, so that they would at least pas...
details: https://anonhg.NetBSD.org/src/rev/df17765f4479
branches: trunk
changeset: 487857:df17765f4479
user: itojun <itojun%NetBSD.org@localhost>
date: Wed Jun 14 03:02:12 2000 +0000
description:
update examples, so that they would at least pass the parser.
diffstat:
sbin/setkey/sample.cf | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 2b113b2452e3 -r df17765f4479 sbin/setkey/sample.cf
--- a/sbin/setkey/sample.cf Wed Jun 14 01:55:37 2000 +0000
+++ b/sbin/setkey/sample.cf Wed Jun 14 03:02:12 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: sample.cf,v 1.1 2000/06/13 15:15:25 itojun Exp $
+# $NetBSD: sample.cf,v 1.2 2000/06/14 03:02:12 itojun Exp $
#
# Copyright (C) 1995, 1996, 1997, 1998, and 1999 WIDE Project.
# All rights reserved.
@@ -170,7 +170,7 @@
get fec0:0:0:1::1 fec0:0:0:2::2 ah 0x10004 ;
# Also delete command, you can delete a entry of either SP or SA.
-spddelete out fec0:0:0:1::/64 fec0:0:0:2:/64 any ;
+spddelete fec0:0:0:1::/64 fec0:0:0:2::/64 any -P out;
delete fec0:0:0:1::1 fec0:0:0:2::2 ah 0x10004 ;
# By dump command, you can dump all entry of either SP or SA.
@@ -204,7 +204,7 @@
add ::1 ::1 esp 10014 -m any -E rc5-cbc "testtest1234" ;
add ::1 ::1 esp 10015 -m transport -f zero-pad -E simple ;
add ::1 ::1 esp 10016 -m tunnel -f random-pad -r 8 -lh 100 -ls 80 -E simple ;
-add ::1 ::1 esp 10017 -m transport -f seq-pad -f cyclic-seq -E simple ;
+add ::1 ::1 esp 10017 -m transport -f seq-pad -f nocyclic-seq -E simple ;
add ::1 ::1 esp 10018 -m transport -E simple ;
#add ::1 ::1 ah 20000 -m transport -A null ;
add ::1 ::1 ah 20001 -m any -A hmac-md5 "1234123412341234";
Home |
Main Index |
Thread Index |
Old Index