The instructions for Ubuntu 16.04 are out of date (the config file does not list the same settings). For example there is no
DAEMON_OPTS="-q -f /var/log/arpon/arpon.log -g -D"
RUN="yes" latest settings arpon_3.0-ng+dfsg1-1
/etc/default/arpon
# Options for arpon(8)
# You must choose between static ARP inspection (SARPI), dynamic ARP inspection
# (DARPI), and hybrid ARP inspection' (HARPI). You can also pass other options
# to the daemon as explained in arpon(8), but do NOT pass `--daemon` or
# `--interface` (those will be added automatically as needed).
# DAEMON_ARGS="--sarpi"
DAEMON_ARGS="--darpi"
# DAEMON_ARGS="--harpi"
# when using systemd you have to enable arpon explicitly for each interface
# you want to run it on:
systemctl enable arpon@eth0
systemctl start arpon@eth0
# For the LSB init script, enter a list of interfaces into the list below;
# arpon will be started to protect ARP on these interfaces.
# Note: This is ignored when using systemd!
# INTERFACES="eth0 eth1"I have installed it and I get the following error when I try run any arpon command via terminal,
user@user:/var/run$ sudo arpon -d -i eth0 -s
ERROR: msg.c:232 msg_init: 'No such file or directory'.The pid exists but when I run
$ cat /var/run/arpon.pid it shows nothing.
1 Answer
I had the same problem and I solved it with
sudo mkdir /var/log/arponIt seems that this folder is missing and the log file /var/log/arpon/arpon.log cannot be created during execution.