Package Details: arpon-ng 3.0-4

Git Clone URL: https://aur.archlinux.org/arpon-ng.git (read-only, click to copy)
Package Base: arpon-ng
Description: Prevents MITM attacks on the Address Resolution Protocol (ARP)
Upstream URL: http://arpon.sourceforge.net
Licenses: BSD
Conflicts: arpon
Provides: arpon
Submitter: adrolter
Maintainer: adrolter
Last Packager: adrolter
Votes: 5
Popularity: 0.000000
First Submitted: 2017-03-21 07:10 (UTC)
Last Updated: 2017-12-05 05:56 (UTC)

Latest Comments

rageltman commented on 2020-12-15 04:00 (UTC)

The package fails to build with:

[2020-12-15T03:07:55.882Z] -- Generating done
[2020-12-15T03:07:55.882Z] -- Build files have been written to: /build/arpon-ng/src/ArpON-3.0-ng/build
[2020-12-15T03:07:55.882Z] Scanning dependencies of target arpon
[2020-12-15T03:07:55.882Z] [  5%] Building C object src/CMakeFiles/arpon.dir/arpca.c.o
[2020-12-15T03:07:55.882Z] In file included from /usr/include/string.h:519,
[2020-12-15T03:07:55.882Z]                  from /build/arpon-ng/src/ArpON-3.0-ng/src/arpca.c:43:
[2020-12-15T03:07:55.882Z] In function ‘strncpy’,
[2020-12-15T03:07:55.882Z]     inlined from ‘arpca_add’ at /build/arpon-ng/src/ArpON-3.0-ng/src/arpca.c:439:9,
[2020-12-15T03:07:55.882Z]     inlined from ‘arpca_overwrite’ at /build/arpon-ng/src/ArpON-3.0-ng/src/arpca.c:373:13:
[2020-12-15T03:07:55.882Z] /usr/include/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Werror=stringop-truncation]
[2020-12-15T03:07:55.882Z]   106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
[2020-12-15T03:07:55.882Z]       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2020-12-15T03:07:55.882Z] cc1: all warnings being treated as errors
[2020-12-15T03:07:55.882Z] make[2]: *** [src/CMakeFiles/arpon.dir/build.make:82: src/CMakeFiles/arpon.dir/arpca.c.o] Error 1
[2020-12-15T03:07:55.882Z] make[1]: *** [CMakeFiles/Makefile2:274: src/CMakeFiles/arpon.dir/all] Error 2
[2020-12-15T03:07:55.882Z] make: *** [Makefile:149: all] Error 2
[2020-12-15T03:07:55.882Z] ==> ERROR: A failure occurred in build().
[2020-12-15T03:07:55.882Z]     Aborting...
script returned exit code 255

eniac commented on 2018-08-11 08:48 (UTC) (edited on 2018-08-11 09:00 (UTC) by eniac)

Placing the sed command (as specified by sigmacold) before the make in build() fixed the compilation errors for me.

sigmacold commented on 2018-06-25 20:34 (UTC) (edited on 2018-06-25 20:34 (UTC) by sigmacold)

build error:

ArpON-3.0-ng/src/arpca.c:439:9: error: ‘strncpy’ specified bound 16 equals destination size [-Werror=stringop-truncation] strncpy(ar.arp_dev, interface, IF_NAMESIZE);

I had to remove -Werror for it to compile. sed -i -e 's:-Werror::g' build/src/CMakeFiles/arpon.dir/flags.make

dpirate commented on 2017-12-05 12:38 (UTC)

Hey, thanks a lot! I'm gonna update immediately. Yesterday I tried to find a way to do it with an option in the service file or some switch to arpon-ng but couldn't find anything relevant.

adrolter commented on 2017-12-05 06:03 (UTC) (edited on 2017-12-05 06:06 (UTC) by adrolter)

@cjsthompson – I was feeling generous today (and TBH I've been wanting to implement this feature), so release 3.0-4 adds the environment variable ARPON_SYSLOG_VERBOSITY to /etc/conf.d/arpon(.pacnew), allowing control over the maximum syslog/journald message verbosity. You'll probably want to set it to "WARNING".

dpirate commented on 2017-12-04 20:36 (UTC)

Is there a way to prevent arpon-ng from spamming journald with INFO/NOTICE stuff?

archtom commented on 2017-05-31 12:32 (UTC)

Installation works without errors again, thanks a lot for the very fast fix.

adrolter commented on 2017-05-31 06:48 (UTC)

@archtom – Thank you for reporting. Fixed.

archtom commented on 2017-05-30 10:17 (UTC)

Hey, thanks for the package. Unfortunately it does not build with 7.1.1-2. Downgrading to gcc-6.3.1-2 and gcc-libs-6.3.1-2 solves the problem temporarily. Thanks for fixing in advance.