OSDN Git Service

2013.10.24
[uclinux-h8/uClinux-dist.git] / freeswan / klips / test / ji / tfir
1 #!/bin/sh
2 #
3 # RCSID $Id: tfir,v 1.3 1999/04/06 04:54:35 rgb Exp $
4 #
5 # This script is OBSOLETE -- rgb, May 6th, 1998
6
7 tncfg attach ipsec0 eth0
8 ifconfig ipsec0 10.2.0.143 netmask 255.255.0.0
9 route add -net 10.3.0.0 netmask 255.255.0.0 dev ipsec0
10
11 # forward path
12
13 ../utils/addrt 10.1.0.0 255.255.0.0 10.3.0.0 255.255.0.0 10.2.0.139 103
14 echo sleeping after addrt
15 sleep 1
16
17 ../utils/setsa 10.2.0.139 103 ip4 10.2.0.143 10.2.0.139
18 ../utils/setsa 10.2.0.139 105 esp des-cbc 66306630 6630663066303132
19 ../utils/setsa 10.2.0.139 106 ah md5 66306630663031326630663066303132
20
21 ../utils/spigrp 10.2.0.139 103 10.2.0.139 105 10.2.0.139 106
22
23 # return path
24
25 ../utils/setsa 10.2.0.143 115 esp des-cbc 66306630 6630663066303132
26 ../utils/setsa 10.2.0.143 116 ah md5 66306630663031326630663066303132
27
28 #
29 # $Log: tfir,v $
30 # Revision 1.3  1999/04/06 04:54:35  rgb
31 # Fix/Add RCSID Id: and Log: bits to make PHMDs happy.  This includes
32 # patch shell fixes.
33 #
34 #