diff options
author | Thomas Habets <thomas@habets.se> | 2019-11-23 18:33:43 +0000 |
---|---|---|
committer | Thomas Habets <thomas@habets.se> | 2019-11-23 18:33:43 +0000 |
commit | 75b5cdd16d471a0ec2d2b15d6e475b850340e0d6 (patch) | |
tree | b39924972c52ad0f4f20058663e33f17f21a34da | |
parent | 0e5a10f172f4bbda5c69d96f8262d5db7c9d9358 (diff) | |
download | arping-75b5cdd16d471a0ec2d2b15d6e475b850340e0d6.tar.gz |
Clarify that libnet 1.1 and newer is OK, not just 1.1.x
-rw-r--r-- | INSTALL | 10 | ||||
-rw-r--r-- | README | 16 | ||||
-rw-r--r-- | configure.ac | 2 |
3 files changed, 10 insertions, 18 deletions
@@ -4,8 +4,8 @@ This is the short version. For more info see the README. Dependencies ------------ -libnet 1.1.x - https://github.com/sam-github/libnet +libnet 1.1 or newer + https://github.com/libnet/libnet or http://ftp.debian.org/debian/pool/main/libn/libnet/libnet_1.1.2.1.orig.tar.gz Note: Libnet 1.1.5 or later needed for Linux capability support. @@ -29,9 +29,9 @@ to add stuff to the configure line, like: Installing, longer version -------------------------- -Note that arping 2.x requires libnet 1.1.x to work. It will NOT work with -libnet 1.0.x. Arping 1.x works with libnet 1.0.x, but it's not included in the -same package anymore. +Note that arping 2.x requires libnet 1.1 or newer to work. It will NOT +work with libnet 1.0.x. Arping 1.x works with libnet 1.0.x, but it's +not included in the same package anymore. Standard autotools: ./configure && make && make install @@ -122,20 +122,12 @@ A: -T <IP/host> allows you to restrict the arping to a limited subnet, which --- Q: ./configure says I need libnet and/or libpcap -A: Arping depends on libnet 1.1.x and libpcap, get libnet at: - http://packetfactory.openwall.net/projects/libnet/ - and libpcap from http://www.tcpdump.org. +A: Arping depends on libnet 1.1 or newer, and libpcap. Get libnet from + https://github.com/libnet/libnet and libpcap from http://www.tcpdump.org. Or more likely they were both included in your Linux distribution. - Lately www.packetfactory.net seems to be down, so you can get the original - tarball from the Debian archives: - http://ftp.debian.org/debian/pool/main/libn/libnet/libnet_1.1.4.orig.tar.gz - If that exact file doesn't exist there probably is one with a higher - version number. - - Or github.com: - http://github.com/sam-github/libnet - http://github.com/ThomasHabets/libnet + The original libnet site + was http://packetfactory.openwall.net/projects/libnet/, but is not updated. --- Q: I get bus error on my non-x86 box diff --git a/configure.ac b/configure.ac index 2e3a83f..03ed4cb 100644 --- a/configure.ac +++ b/configure.ac @@ -28,7 +28,7 @@ AC_CHECK_LIB([nsl], [gethostbyname]) AC_CHECK_LIB([cap], [cap_init]) AC_CHECK_LIB([rt], [clock_gettime]) AC_CHECK_LIB([net], [libnet_name_resolve], - [AC_MSG_ERROR([libnet 1.0.x found. Arping 2.x requires libnet 1.1.x])]) + [AC_MSG_ERROR([libnet 1.0.x found. Arping 2.x requires libnet 1.1 or newer])]) AC_CHECK_LIB([net], [libnet_init], ,[AC_MSG_ERROR([libnet 1.1.x not found])]) AC_CHECK_LIB([pcap], [pcap_open_live], ,[AC_MSG_ERROR([libpcap not found])]) AC_SEARCH_LIBS([clock_gettime], [rt]) |