Comment 0 for bug 1540807

Revision history for this message
daniel CURTIS (anoda) wrote :

Hello. Because on Ubuntu 12.04 LTS an ArpON package is pretty outdated (ver. 2.0-2.1 0) I've decided to use a version from a Vivid release - 2.7.

It seems that ArpON ver. 2.7 has a bug related to a DARPI anti Arp Poisoning techniques. Because I am using a DHCP method to obtain an IP address I needed to use a DARPI method (Dynamin Arp Inspect.) instead of SARPI (Static Arp Inspect). After installation via 'apt-get' utility, configuring "arpon" file from '/etc/default/' directory and uncomment line responsible for a DARPI method, ArpON failed to start with a following error:

$ sudo /etc/init.d/arpon start
* Starting anti ARP poisoning daemon arpon
20:38:55 PID = </var/run/arpon.pid>

/usr/bin/arpon: invalid option -- 'd' [fail]

For a DARPI method line in the '/etc/default/arpon' file looks this way: DAEMON_OPTS="-q -f /var/log/arpon/arpon.log -g -d". According to the Ubuntu manpage[1] '-g' flag stands for "Works in logging mode", since '-d' flag means "Manages Arp Cache dynamically". Everything should work okay, but it does not. I've tried many possibilities, configurations etc.

And it seems, that a new ArpON 2.7 version requires a '-D' flag instead '-d'. So, now there must be the '-D' flag not '-d'. After this small change everything started to work okay:

$ sudo /etc/init.d/arpon start
* Starting anti ARP poisoning daemon arpon
20:43:32 PID = </var/run/arpon.pid> [OK]

One more test, to be one hundred percent sure: after running '/etc/init.d/arpon status' command, status of anti ARP poisoning daemon arpon is [OK]. Here are some technical details:

* Ubuntu 3.2.0-98.138-generic-pae 3.2.75 ('cat /proc/version_signature' command result)
* lsb_release -rd
   Description: Ubuntu 12.04.5 LTS
   Release: 12.04
* arpon: 2.7.2-1

By the way: ArpON sometimes crashed with "SIGSEGV in pthread_kill()" (after user login), but I will have to create a new bug report.

Best regards.
_____________

[1] http://manpages.ubuntu.com/manpages/trusty/man8/arpon.8.html