summaryrefslogtreecommitdiff
path: root/README
blob: a7617389d84ebffb5549bd9c3b17a8080848b673 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
Introduction
============

anylike is an IKEv2 Implementation written in Lua and C. It's main design
goal is to provide anytun and uanytun or any other SATP implementation with
a key exchange mechanism but it should also be possible to use anylike as 
key exchange daemon for IPSec security associations. The use of Lua guarantees
that anylike is easily portable to many platforms including very small ones
like wireless routers.


Dependencies
============

anylike can be built using either gnutls or the openssl library. 
The latter is more performant in most cases but there are some license 
issues when using this library. It also needs more space when installed.


Linux
-----

common:
 build-essential
 lua5.1
 liblua5.1-0-dev
 liblua5.1-socket2

using gnutls:
 libgnutls-dev

using openssl:
 libssl-dev

if you want to use clang as compiler
 clang

if you want to rebuild the manpage:
 asciidoc


FreeBSD
-------

common:
 devel/gmake
 lang/lua
 net/luasocket
 
using gnutls:
 security/gnutls

using openssl:
 security/openssl


Windows
-------

common:
  MinGW and MSYS (details follow)
  lua-5.1.x

using gnutls:
  http://josefsson.org/gnutls4win/gnutls-2.9.9.zip (extract in MinGW Directory)

using openssl:
  MSYS openssl dll (extract in MinGW Directory)
  MSYS openssl dev (extract in MinGW Directory)


Installation
============

Getting the source via GIT:
---------------------------

git clone https://git.spreadspace.org/anytun/anylike.git
cd anylike


Building from source
--------------------

using gnutls:

# cd src
# ./configure
# make

using openssl:

# cd src
# ./configure --use-openssl
# make

Notes: 
  - try './configure --help' for further information
  - on FreeBSD you have to use gmake instead of make


Building on Windows
-------------------

anylike can be built on Windows using MinGW and MSYS..

tba ...


Installing
----------

# sudo make install

This will install anylike under the --prefix defined with configure.


Uninstalling
------------

# sudo make remove

This removes everything except for the config files

# sudo make purge

This also removes the config files


Usage:
======

tba..