debian/0000775000000000000000000000000012305176575007203 5ustar debian/copyright0000664000000000000000000000230311604457175011133 0ustar This package was debianized by Tim Brown on Tue, 13 Mar 2007 11:54:46 +0000. It was downloaded from http://www.nta-monitor.com/tools/arp-scan/ Upstream Author: Roy Hills Copyright: Roy Hills, 2005-2006 License: This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. The Debian packaging is © 2007, Tim Brown and is licensed under the GPL, see above. debian/changelog0000664000000000000000000000372612305176571011061 0ustar arp-scan (1.8.1-2ubuntu1) trusty; urgency=low * Use autotools-dev helper for newer arches. -- Daniel T Chen Mon, 03 Mar 2014 17:08:31 -0500 arp-scan (1.8.1-2) unstable; urgency=low * Added a patch to fix FTBFS on GNU/kFreeBSD. (Closes: #641643) + Thanks to Mats Erik Andersson. * Updated Standards Version to 3.9.3. -- William Vera Mon, 05 Mar 2012 22:00:00 -0600 arp-scan (1.8.1-1) unstable; urgency=low * New upstream release (Closes: #543383). * Added William Vera as Uploader. * Added a debian/watch file. * Added "Homepage" in debian/control. * Added libwww-perl as Recommend depend (Closes: #630563). * Fixed empty-directory usr/sbin/. * Added a patch to fix hyphen-used-as-minus-sign. * Updated debian/copyright * Updated debhelper version (>= 8). * Updated debian/compat to 8. * Updated Standards Version to 3.9.2. * Cleanup debian/rules. + distclean rule. * Switch to dpkg-source 3.0 (quilt) format -- William Vera Mon, 04 Jul 2011 19:37:30 -0500 arp-scan (1.6-2) unstable; urgency=low * Checksums weren't matching * Upload sponsored by Philipp Hug -- Tim Brown Tue, 22 May 2007 21:57:35 +0100 arp-scan (1.6-1) unstable; urgency=low * New upstream release -- Tim Brown Mon, 23 Apr 2007 15:17:25 +0100 arp-scan (1.5-5) unstable; urgency=low * Minor packaging flaw with orig tar ball -- Tim Brown Tue, 27 Mar 2007 16:56:10 +0100 arp-scan (1.5-4) unstable; urgency=low * Moved to main * Fixed W: arp-scan: extended-description-line-too-long? * Removed ieee-iab.txt, mac-vendor.txt and ieee-oui.txt from docs list -- Tim Brown Tue, 20 Mar 2007 18:40:59 +0000 arp-scan (1.5-3) unstable; urgency=low * Initial release (Closes: #415036) -- Tim Brown Tue, 13 Mar 2007 11:54:46 +0000 debian/dirs0000664000000000000000000000001011604457412010047 0ustar usr/bin debian/docs0000664000000000000000000000002111604455420010035 0ustar NEWS README TODO debian/patches/0000775000000000000000000000000011725305626010626 5ustar debian/patches/ftbfs_bds.patch0000664000000000000000000000102111725305606013573 0ustar Author: Mats Erik Andersson Description: Fix FTBFS on GNU/kFreeBSD. --- arp-scan-1.8.1.debian/arp-scan.h 2011-02-25 22:29:48.000000000 +0100 +++ arp-scan-1.8.1/arp-scan.h 2011-09-14 21:18:08.000000000 +0200 @@ -120,7 +120,7 @@ * * 5370 is the value of __APPLE_CC__ for Xcode 2.5 on Tiger with GCC 4.0.1 */ -#if defined(__APPLE_CC__) && (__APPLE_CC__ >= 5370) +#if defined(__APPLE_CC__) && (__APPLE_CC__ >= 5370) || defined __FreeBSD_kernel__ #include #endif #include debian/patches/fixmanpages.patch0000664000000000000000000002245711604462351014156 0ustar Author: William Vera Description: Fix hyphen-used-as-minus-sign in man pages. --- a/arp-fingerprint.1 2011-07-04 20:10:51.507999204 -0500 +++ b/arp-fingerprint.1 2011-07-04 20:10:57.175999203 -0500 @@ -101,8 +101,8 @@ .B -o Pass specified options to arp-scan. You need to enclose the options string in quotes if it contains spaces. e.g. --o "-I eth1". The commonly used options are --interface (-I) and --numeric -(-N). +\-o "\-I eth1". The commonly used options are \--interface (\-I) and \--numeric +(\-N). .SH EXAMPLES .nf $ arp-fingerprint 192.168.0.1 @@ -110,7 +110,7 @@ .fi .PP .nf -$ arp-fingerprint -o "-N -I eth1" 192.168.0.202 +$ arp-fingerprint \-o "\-N \-I eth1" 192.168.0.202 192.168.0.202 11110100000 FreeBSD 5.3, Win98, WinME, NT4, 2000, XP, 2003 .fi .SH NOTES --- a/arp-scan.1 2011-07-04 20:10:51.111999204 -0500 +++ b/arp-scan.1 2011-07-04 20:12:05.187999183 -0500 @@ -56,13 +56,13 @@ The target hosts to scan may be specified in one of three ways: by specifying the targets on the command line; by specifying a file containing the targets with the -.B --file +.B \--file option; or by specifying the -.B --localnet +.B \--localnet option which causes all possible hosts on the network attached to the interface (as defined by the interface address and mask) to be scanned. For hosts specified on the command line, or with the -.B --file +.B \--file option, you can use either IP addresses or hostnames. You can also use network specifications .BR IPnetwork/bits , @@ -186,14 +186,14 @@ = Field Bits Option Notes = -ar$hrd 16 --arphrd Default is 1 (ARPHRD_ETHER) -ar$pro 16 --arppro Default is 0x0800 -ar$hln 8 --arphln Default is 6 (ETH_ALEN) -ar$pln 8 --arppln Default is 4 (IPv4) -ar$op 16 --arpop Default is 1 (ARPOP_REQUEST) -ar$sha 48 --arpsha Default is interface h/w address -ar$spa 32 --arpspa Default is interface IP address -ar$tha 48 --arptha Default is zero (00:00:00:00:00:00) +ar$hrd 16 \--arphrd Default is 1 (ARPHRD_ETHER) +ar$pro 16 \--arppro Default is 0x0800 +ar$hln 8 \--arphln Default is 6 (ETH_ALEN) +ar$pln 8 \--arppln Default is 4 (IPv4) +ar$op 16 \--arpop Default is 1 (ARPOP_REQUEST) +ar$sha 48 \--arpsha Default is interface h/w address +ar$spa 32 \--arpspa Default is interface IP address +ar$tha 48 \--arptha Default is zero (00:00:00:00:00:00) ar$tpa 32 None Set to the target host IP address .TE .\" We need two paragraphs under the table to get the correct spacing. @@ -225,9 +225,9 @@ = Field Bits Option Notes = -Dest Address 48 --destaddr Default is ff:ff:ff:ff:ff:ff -Source Address 48 --srcaddr Default is interface address -Protocol Type 16 --prototype Default is 0x0806 +Dest Address 48 \--destaddr Default is ff:ff:ff:ff:ff:ff +Source Address 48 \--srcaddr Default is interface address +Protocol Type 16 \--prototype Default is 0x0806 .TE .\" We need two paragraphs under the table to get the correct spacing. .PP @@ -301,40 +301,40 @@ angle brackets. The letter indicates the type of data that is expected: .TP .B -A character string, e.g. --file=hostlist.txt. +A character string, e.g. \--file=hostlist.txt. .TP .B An integer, which can be specified as a decimal number or as a hexadecimal -number if preceeded with 0x, e.g. --arppro=2048 or --arpro=0x0800. +number if preceded with 0x, e.g. \--arppro=2048 or \--arpro=0x0800. .TP .B -A floating point decimal number, e.g. --backoff=1.5. +A floating point decimal number, e.g. \--backoff=1.5. .TP .B An Ethernet MAC address, which can be specified either in the format 01:23:45:67:89:ab, or as 01-23-45-67-89-ab. The alphabetic hex characters -may be either upper or lower case. E.g. --arpsha=01:23:45:67:89:ab. +may be either upper or lower case. E.g. \--arpsha=01:23:45:67:89:ab. .TP .B -An IPv4 address, e.g. --arpspa=10.0.0.1 +An IPv4 address, e.g. \--arpspa=10.0.0.1 .TP .B Binary data specified as a hexadecimal string, which should not include a leading 0x. The alphabetic hex characters may be either -upper or lower case. E.g. --padding=aaaaaaaaaaaa +upper or lower case. E.g. \--padding=aaaaaaaaaaaa .TP .B Something else. See the description of the option for details. .TP -.B --help or -h +.B \--help or \-h Display this usage message and exit. .TP -.B --file= or -f +.B \--file= or \-f Read hostnames or addresses from the specified file instead of from the command line. One name or IP address per line. Use "-" for standard input. .TP -.B --localnet or -l +.B \--localnet or \-l Generate addresses from network interface configuration. Use the network interface IP address and network mask to generate the list of target host addresses. @@ -342,11 +342,11 @@ addresses, so an interface address of 10.0.0.1 with netmask 255.255.255.0 would generate 256 target hosts from 10.0.0.0 to 10.0.0.255 inclusive. -If you use this option, you cannot specify the --file +If you use this option, you cannot specify the \--file option or specify any target hosts on the command line. The interface specifications are taken from the interface that arp-scan will use, which can be -changed with the --interface option. +changed with the \--interface option. .TP .B --retry= or -r Set total number of attempts per host to , @@ -356,7 +356,7 @@ Set initial per host timeout to ms, default=100. This timeout is for the first packet sent to each host. subsequent timeouts are multiplied by the backoff -factor which is set with --backoff. +factor which is set with \--backoff. .TP .B --interval= or -i Set minimum packet interval to . @@ -364,7 +364,7 @@ the rate at which packets can be sent. The packet interval will be no smaller than this number. If you want to use up to a given bandwidth, then it is -easier to use the --bandwidth option instead. +easier to use the \--bandwidth option instead. The interval specified is in milliseconds by default, or in microseconds if "u" is appended to the value. .TP @@ -376,7 +376,7 @@ units are megabits per second. The "K" and "M" suffixes represent the decimal, not binary, multiples. So 64K is 64000, not 65536. -You cannot specify both --interval and --bandwidth +You cannot specify both \--interval and \--bandwidth because they are just different ways to change the same underlying parameter. .TP @@ -393,7 +393,7 @@ Use more than once for greater effect: .IP "" 1 - Display the network address and mask used when the ---localnet option is specified, display any +\--localnet option is specified, display any nonzero packet padding, display packets received from unknown hosts, and show when each pass through the list completes. @@ -432,18 +432,18 @@ configured up interface (excluding loopback). The interface specified must support ARP. .TP -.B --quiet or -q +.B \--quiet or \-q Only display minimal output. If this option is specified, then only the minimum information is displayed. With this option, the OUI files are not used. .TP -.B --ignoredups or -g +.B \--ignoredups or \-g Don't display duplicate packets. By default, duplicate packets are displayed and are flagged with "(DUP: n)". .TP -.B --ouifile= or -O +.B \--ouifile= or \-O Use OUI file , default=/usr/local/share/arp-scan/ieee-oui.txt This file provides the IEEE Ethernet OUI to vendor string mapping. @@ -463,7 +463,7 @@ This sets the 48-bit hardware address in the Ethernet frame header for outgoing ARP packets. It does not change the hardware address in the ARP packet, see ---arpsha for details on how to change that address. +\--arpsha for details on how to change that address. The default is the Ethernet address of the outgoing interface. .TP @@ -480,7 +480,7 @@ Use as the ARP source Ethernet address This sets the 48-bit ar$sha field in the ARP packet It does not change the hardware address in the frame -header, see --srcaddr for details on how to change +header, see \--srcaddr for details on how to change that address. The default is the Ethernet address of the outgoing interface. .TP @@ -610,7 +610,7 @@ .IR eth0 . .PP .nf -$ arp-scan --interface=eth0 192.168.0.0/24 +$ arp-scan \--interface=eth0 192.168.0.0/24 Interface: eth0, datalink type: EN10MB (Ethernet) Starting arp-scan 1.4 with 256 hosts (http://www.nta-monitor.com/tools/arp-scan/) 192.168.0.1 00:c0:9f:09:b8:db QUANTA COMPUTER, INC. @@ -647,7 +647,7 @@ TX packets:1542776 errors:0 dropped:0 overruns:0 carrier:0 collisions:1644 txqueuelen:1000 RX bytes:6184146 (5.8 MiB) TX bytes:348887835 (332.7 MiB) -# arp-scan --localnet +# arp-scan \--localnet Interface: eth0, datalink type: EN10MB (Ethernet) Starting arp-scan 1.4 with 8 hosts (http://www.nta-monitor.com/tools/arp-scan/) 10.0.84.179 00:02:b3:63:c7:57 Intel Corporation --- a/get-iab.1 2011-07-04 20:10:50.935999204 -0500 +++ b/get-iab.1 2011-07-04 20:10:57.191999203 -0500 @@ -85,7 +85,7 @@ The default output file. .SH EXAMPLES .nf -$ get-iab -v +$ get-iab \-v Renaming ieee-iab.txt to ieee-iab.txt.bak Fetching IAB data from http://standards.ieee.org/regauth/oui/iab.txt Fetched 230786 bytes --- a/get-oui.1 2011-07-04 20:10:51.295999204 -0500 +++ b/get-oui.1 2011-07-04 20:10:57.199999203 -0500 @@ -94,7 +94,7 @@ The default output file. .SH EXAMPLES .nf -$ get-oui -v +$ get-oui \-v Renaming ieee-oui.txt to ieee-oui.txt.bak Fetching OUI data from http://standards.ieee.org/regauth/oui/oui.txt Fetched 1467278 bytes debian/patches/series0000664000000000000000000000006511725305626012044 0ustar fixmanpages.patch fix-spelling.patch ftbfs_bds.patch debian/patches/fix-spelling.patch0000664000000000000000000000140511604463072014244 0ustar Author: William Vera Description: Fix spelling error on source. --- a/arp-scan.c 2011-07-04 20:15:38.967999123 -0500 +++ b/arp-scan.c 2011-07-04 20:16:52.859999102 -0500 @@ -947,7 +947,7 @@ fprintf(stderr, " A character string, e.g. --file=hostlist.txt.\n"); fprintf(stderr, "\n"); fprintf(stderr, " An integer, which can be specified as a decimal number or as a hexadecimal\n"); - fprintf(stderr, " number if preceeded with 0x, e.g. --arppro=2048 or --arpro=0x0800.\n"); + fprintf(stderr, " number if preceded with 0x, e.g. --arppro=2048 or --arpro=0x0800.\n"); fprintf(stderr, "\n"); fprintf(stderr, " A floating point decimal number, e.g. --backoff=1.5.\n"); fprintf(stderr, "\n"); debian/watch0000664000000000000000000000012311604456335010224 0ustar version=3 http://www.nta-monitor.com/tools/arp-scan/archive/arp-scan-(.*)\.tar\.gz debian/control0000664000000000000000000000127412305176452010604 0ustar Source: arp-scan Section: admin Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Tim Brown Uploaders: William Vera Build-Depends: debhelper (>= 8), autotools-dev, libpcap0.8-dev Standards-Version: 3.9.3 Homepage: http://www.nta-monitor.com/tools/arp-scan/ Package: arp-scan Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: libwww-perl Description: arp scanning and fingerprinting tool arp-scan is a command-line tool that uses the ARP protocol to discover and fingerprint IP hosts on the local network. It is available for Linux and BSD under the GPL licence debian/source/0000775000000000000000000000000011604456310010470 5ustar debian/source/format0000664000000000000000000000001411604456310011676 0ustar 3.0 (quilt) debian/compat0000664000000000000000000000000211604457757010406 0ustar 8 debian/rules0000775000000000000000000000031212305176535010253 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 #export DH_OPTIONS=-v %: dh $@ --with autotools_dev override_dh_installchangelogs: dh_installchangelogs ChangeLog