• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

COPYRIGHTH A D16-Apr-19991.3 KiB2726

MakefileH A D03-May-20221.1 KiB4418

READMEH A D28-Jun-19992.3 KiB6448

README.portH A D03-May-20221 KiB4527

TODOH A D26-Apr-1999256 86

defs.hH A D03-May-2022241 149

pipsecd.conf.sampleH A D17-Aug-19991.6 KiB4544

tunip.cH A D03-May-202261.2 KiB2,3421,828

README

1$Id: README,v 1.11 1999/06/28 16:03:28 beyssac Exp $
2
3Currently implements:
4
5	- IPSEC-compliant IP tunnelling (i.e., tunnel-mode only):
6	    - authentication: IP-AH (RFC 2402) and HMAC (RFC 2104) with:
7			RFC 2403: MD5 (HMAC-MD5-96)
8			RFC 2404: SHA1 (HMAC-SHA1-96)
9			RIPEMD160 (HMAC-RIPEMD160-96)
10	    - encryption: IP-ESP (RFC 2406) with:
11			Blowfish in CBC mode.
12			RFC 2405: DES in CBC mode.
13			DES3 in CBC mode.
14			CAST in CBC mode.
15			IDEA in CBC mode.
16	      Additional authentication is supported too, with the same methods
17	      as in AH mode.
18	- IP tunnels over UDP with MD5 (simple keyed hash) authentication.
19	- IP tunnels over ICMP ECHO REPLY with HMAC-MD5-96 authentication.
20
21You NEED to first install the OpenSSL "crypto" library (previously
22part of SSLeay). See http://www.openssl.org/ for download and mirrors.
23
24- compile and install
25- under *BSD: make a kernel with the "tun" device, by adding the following
26  line to your kernel configuration:
27
28	pseudo-device tun 1
29
30  Then remake a kernel (config MYKERNEL; cd ../../compile/MYKERNEL;
31	make depend; make; mv /kernel /kernel.old; cp kernel /)
32
33- under Linux: install the "userlink" module, port of the BSD tun driver
34
35- create the file /etc/ipsec/pipsecd.conf (see pipsecd.conf.sample
36  for an example)
37
38- start /usr/local/sbin/pipsecd
39
40- under *BSD:
41	ifconfig tun0 <virtual_local_ip> <virtual_dest_ip> netmask <mask> mtu 1440
42
43- under Linux 2.0.x:
44	ifconfig ul0 <virtual_local_ip> pointopoint <virtual_dest_ip> netmask <mask> mtu 1440
45	route add <virtual_dest_ip> ul0
46
47- under Linux 2.2.x, approximately this (I need to check the MTU stuff):
48	ifconfig ul0 <virtual_local_ip> pointopoint <virtual_dest_ip> netmask <mask>
49	ip route add <virtual_dest_ip> mtu 1440 dev ul0
50  (portability? what do you mean?)
51
52- once this works, you can create the script /etc/ipsec/startup
53  and make it executable. It's run after the program starts, you
54  can put there any interface configuration, routes, mtu and such.
55
56- this should be done on both ends, of course. Then a ping to the remote
57  point to point virtual address (the one ifconfig shows) should work.
58
59From then on, add any routes or routing protocols of your liking.
60Be careful, however, that the route to the REAL IP address of the
61other end of the tunnel is not routed _through_ the tunnel, as it
62would create a loop (the program detects this and warns you but is
63unable to correct it).
64

README.port

1This is the ported version of the pipsecd program
2from Pierre Beyssac at the ENST.
3
4The main difference with the original code are:
5- it compiles with OpenSSL-0.94
6- config files are in /usr/local/etc/ipsec
7
8
9Apart from that it works exactly as the original work from
10Pierre Beyssac.
11
12You can obtain the source distribution of pipsecd at:
13http://www.enst.fr/~beyssac/pipsec/
14or
15http://www.mindstep.com/pipsec/
16
17
18Version 19991014 (pipsec-19991014.tar.gz):
19------------------------------------------
20
21This version adds the following fetures:
22- tunnels over UDP and ICMP packets (in authentication mode only).
23- logging of events to syslog
24- startup script in /usr/local/etc/rc.d (port only)
25
26
27Version 19990831 (pipsec-19990831.tar.gz):
28------------------------------------------
29
30No new feature.
31Source distribution mirrored at http://www.mindstep.com/pipsec/
32
33
34Version 19990519:
35-----------------
36
37Initial version for the ports distribution.
38
39
40Enjoy!
41
42Patrick Bihan-Faou - MindStep Corporation
43patrick@mindstep.com - http://www.mindstep.com/
44
45