doing replay protection before learning remote host
[anytun.git] / README
blob978c57fcbf122b595cc9160d0b9eec4c12bc14ff
1 Dependencies
2 ============
4 Linux
5 -----
7 build-essential
8 libgcrypt11-dev
9 libboost1.35-dev
10 libboost-thread1.35-dev
11 libboost-system1.35-dev
12 libboost-regex1.35-dev
13 asciidoc (only for manpage)
16 OpenBSD
17 -------
19 libgcrypt
20 libgpg-error
21 boost
22 gmake
26 Installation
27 ============
29 Getting the source via subversion:
30 ----------------------------------
31 svn co http://anytun.org/svn/anytun/
33 Building from source
34 --------------------
36 # cd src
37 # ./configure
38 # make
40 Notes: 
41   - on OpenBSD you have to use gmake instead of make
42   - currently there is no syncronisation support for OpenBSD
43     you can build anytun without sync by invoking
44     
45     # make anytun-nosync 
47     instead of just 'make'
51 Errors:
52 -------
54 Note: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
55 Cannot open TUN/TAP dev /dev/anytun0: No such file or directory (errno=2)
57 Solution: Enabling tun/tap device
58 ------------------------------------
60 modprobe tun
61 cd /dev
62 ./MAKEDEV tun
64 edit /etc/modules and add the line
65 tun
66 to load the module automatically