Table of Contents
tar zxvpf aftr-usermode-snapshot-YYYYMMDD.tgz
This creates a a directory named
aftr-usermode-snapshot-YYYYMMDD, which
we refer to as $src_path hereafter.
cd $src_path
./configure
make
An executable file aftr will be created,
the executable binary of the AFTR daemon program. This is expected
to be run on $src_path (there is no
make install step) and when needed under gdb.
Here is the list of configuration flags
(i.e., CFLAGS):
AFTRCONFIG: config file path
(default aftr.conf)
AFTRSCRIPT: script file path
(default ./aftr-script)
AFTRDEVICE: name of the interface/device
(default tun0)
AFTRPORT: port for TCP control channels
(default 1015)
AFTRFACILITY: syslog facility
(default LOG_LOCAL5)
AFTRLOGOPTION: openlog option
(default LOG_NDELAY)
TRACE_NAT: enable tracing of NAT
entry creation/deletion (default is undef,
i.e., only tunnels and buckets are traced)
NOPRIVACY: trace all addresses and ports
in NAT entry tracing (default is undef)
SIGNSHDR: define it to add a signature
header in structures (default is undef)
SIZES: define it to print sizes of
principal data structures (default is undef)
USE_TUN_PI: use the tun_pi struct in tun
interface/device I/O
(required on some platforms for IPv6 support)
notyet: some unfinished and arguable
features (undef of course)