** Description changed: 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 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". Everything should - work okay, but it does not. I've tried many possibilities, - configurations etc. + 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., but nothing worked. 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: + '-d'. At least in Ubuntu 12.04 LTS and it seems that in others flavors + (Xubuntu etc) also. Please see: + + DAEMON_OPTS="-q -f /var/log/arpon/arpon.log -g -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: + One more test, to be one hundred percent sure: status of anti ARP + poisoning daemon arpon is [OK] after running 'sudo /etc/init.d/arpon + status' command, . 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 + 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. + By the way: ArpON sometimes crashing with "SIGSEGV in pthread_kill()" + (right after user login), but I have to create a new bug report. Best regards. _____________ [1] http://manpages.ubuntu.com/manpages/trusty/man8/arpon.8.html
** Description changed: 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. + (ver. 2.0-2.1) 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 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". Everything should work okay, but it does not. I've tried many possibilities, configurations etc., but nothing worked. And it seems, that a new ArpON 2.7 version requires a '-D' flag instead '-d'. At least in Ubuntu 12.04 LTS and it seems that in others flavors (Xubuntu etc) also. Please see: DAEMON_OPTS="-q -f /var/log/arpon/arpon.log -g -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: status of anti ARP poisoning daemon arpon is [OK] after running 'sudo /etc/init.d/arpon status' command, . 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 crashing with "SIGSEGV in pthread_kill()" (right after user login), but I have to create a new bug report. Best regards. _____________ [1] http://manpages.ubuntu.com/manpages/trusty/man8/arpon.8.html ** Description changed: Hello. Because on Ubuntu 12.04 LTS an ArpON package is pretty outdated (ver. 2.0-2.1) 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 + Poisoning techniques. Because, I am using a DHCP method to obtain an IP + address, I had 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 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". Everything should work okay, but it does not. I've tried many possibilities, configurations etc., but nothing worked. And it seems, that a new ArpON 2.7 version requires a '-D' flag instead '-d'. At least in Ubuntu 12.04 LTS and it seems that in others flavors (Xubuntu etc) also. Please see: DAEMON_OPTS="-q -f /var/log/arpon/arpon.log -g -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: status of anti ARP poisoning daemon arpon is [OK] after running 'sudo /etc/init.d/arpon status' command, . 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 crashing with "SIGSEGV in pthread_kill()" (right after user login), but I have to create a new bug report. Best regards. _____________ [1] http://manpages.ubuntu.com/manpages/trusty/man8/arpon.8.html -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1540807 Title: ArpON ver. 2.7: the DARPI and -d (--darpi) flag bug. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/arpon/+bug/1540807/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs