ArpON ver. 2.7 and a bug with the DARPI setting?

Asked by daniel CURTIS

Hello. Because ArpON version on Ubuntu 12.04 LTS is pretty outdated (2.0-2.1), I've decided to install ArpON 2.7.2-1 from a Vivid release. As we know ArpON is a portable handler daemon that make Arp secure in order to avoid Arp Spoofing/Poisoning and so on.

I'm writing because I've noticed some problems during configuration. Because I am using DHCP method to obtain an IP address I've to use a DARPI method (Dynamic Arp Inspect.) instead of SARPI (Static Arp Inspect) etc. After installation via 'apt-get' utility, editing/configuring "arpon" file from '/etc/default/' directory and uncommnet 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 DARPI a 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". So, everything should work okay, right? But it does not. I've tried many possibilities, configurations etc. And it seems that a new ArpON version 2.7 requires a '-D' flag instead '-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 checking, to be one hundred percent sure -- using '/etc/init.d/arpon status' command: "Checking status of anti ARP poisoning daemon arpon [OK]". So, it seems that there is a problem with a '-d' flag (should be '-D').

Does someone who uses ArpON 2.7 with a DARPI method, could check this issue? Thanks.

Best regards.
_____________

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

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu arpon Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I suggest you report a bug

Can you help with this problem?

Provide an answer of your own, or ask daniel CURTIS for more information if necessary.

To post a message you must log in.