blob: 2da89209ae793a1edb889c3e87d8b1cfef65d6f6 (
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
134
|
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-socket-dev
using gnutls:
libgnutls-dev
using openssl:
libssl-dev
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:
Visual Studio C++ (Express Edition is just fine)
lua-5.1.x
Installation
============
Getting the source via subversion:
----------------------------------
svn co https://svn.anylike.org/anylike/trunk anylike
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
-------------------
Download Lua 5.1 from www.lua.org and extract it inside the anylike
root directory. Open the vcproj file inside src\win32 directory. Open
the Visual Studio Prompt from the Tools menu and change to the Lua
directory you just created (i.e.: cd c:\anylike\lua-5.1.4\).
Use the following command to build lua:
etc\luavs.bat
After this there should be a lua51.lib as well as a lua.exe and a luac.exe
inside the src directory of the Lua tree.
Close the Command Prompt select the target (Release or Debug) and compile
the project. Now there should be an anylike.exe inside src\win32\Release or
src\win32\Debug depending on the target you have selected.
Installing
----------
# sudo make install
This will install anylike under the --prefix defined with configure.
Uninstalling
------------
# sudo make remove
This removes everytthing except for the config files
# sudo make purge
This also removes the config files
Usage:
======
tba..
|