Your message dated Tue, 27 Sep 2016 13:21:26 +0000
with message-id <[email protected]>
and subject line Bug#742571: fixed in arp-scan 1.9-1
has caused the Debian Bug report #742571,
regarding arp-scan: The get-iab and get-oui perl scripts require changes to 
work correctly
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
742571: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742571
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: arp-scan
Version: 1.8.1-2
Severity: normal

Dear Maintainer,

The get-iab and get-oui perl scripts need to be modified 
each time I install arp-scan. The two main issues is that 
the URL has changed and that the perl regex does not parse 
the downloaded files correctly resulting in empty output 
files.

Also, the command line args are not properly parsed in the
perl getopts funcion.

Please also depend on libwww-perl for these scripts.

The following two patches fix the issues.

-- PATCH FOR: get-oui

--- usr/bin/get-oui     2012-03-14 06:57:30.000000000 -0700
+++ /usr/bin/get-oui    2013-06-16 08:01:47.092841984 -0700
@@ -32,7 +32,7 @@
 use Getopt::Std;
 use LWP::Simple;
 #
-my $default_url = 'http://standards.ieee.org/regauth/oui/oui.txt';
+my $default_url = 'http://standards.ieee.org/develop/regauth/oui/oui.txt';
 my $default_filename='ieee-oui.txt';
 #
 my $usage =
@@ -55,7 +55,7 @@
 #
 # Process options
 #
-die "$usage\n" unless getopts('hf:v',\%opts);
+die "$usage\n" unless getopts('hf:u:v',\%opts);
 if ($opts{h}) {
    print "$usage\n";
    exit(0);
@@ -93,6 +93,7 @@
 #
 print "Opening output file $filename\n" if $verbose;
 open OUTPUT, ">$filename" || die "Could not open $filename for writing";
+binmode OUTPUT, ':encoding(UTF-8)';
 #
 # Write the header comments to the output file.
 #
@@ -131,7 +132,7 @@
 # and write them to the output file looking like this:
 # 000000       XEROX CORPORATION
 #
-while ($content =~ m/^(\w+)-(\w+)-(\w+)\s+\(hex\)\s+(.*)$/gm) {
+while ($content =~ m/^\s+(\w+)-(\w+)-(\w+)\s+\(hex\)\s+(.*)$/gm) {
    print OUTPUT "$1$2$3\t$4\n";
    $lineno++;
 }

-- PATCH FOR: get-iab

--- usr/bin/get-iab     2012-03-14 06:57:30.000000000 -0700
+++ /usr/bin/get-iab    2013-06-16 07:26:34.726317148 -0700
@@ -36,7 +36,7 @@
 use Getopt::Std;
 use LWP::Simple;
 #
-my $default_url = 'http://standards.ieee.org/regauth/oui/iab.txt';
+my $default_url = 'http://standards.ieee.org/develop/regauth/iab/iab.txt';
 my $default_filename='ieee-iab.txt';
 #
 my $usage =
@@ -61,7 +61,7 @@
 #
 # Process options
 #
-die "$usage\n" unless getopts('hf:v',\%opts);
+die "$usage\n" unless getopts('hf:u:v',\%opts);
 if ($opts{h}) {
    print "$usage\n";
    exit(0);
@@ -99,6 +99,7 @@
 #
 print "Opening output file $filename\n" if $verbose;
 open OUTPUT, ">$filename" || die "Could not open $filename for writing";
+binmode OUTPUT, ':encoding(UTF-8)';
 #
 # Write the header comments to the output file.
 #
@@ -140,7 +141,7 @@
 # Note that the 0050C2 bit is a constant, and we take
 # the next three hex digits from the IEEE data.
 #
-while ($content =~ m/^(\w+)-\w+\s+\(base 16\)[         ]+(.*)$/gm) {
+while ($content =~ m/^\s+(\w+)-\w+\s+\(base 16\)[      ]+(.*)$/gm) {
    $iab_var = substr($1,0,3);
    $vendor = $2;
    $vendor = "PRIVATE" if length($vendor) == 0;

-- PATCH END --

-- System Information:
Debian Release: 7.4
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages arp-scan depends on:
ii  libc6       2.18-4
ii  libpcap0.8  1.3.0-1

Versions of packages arp-scan recommends:
ii  libwww-perl  6.04-1

arp-scan suggests no packages.

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/bin/get-iab (from arp-scan package)
debsums: changed file /usr/bin/get-oui (from arp-scan package)
debsums: changed file /usr/share/arp-scan/ieee-iab.txt (from arp-scan package)
debsums: changed file /usr/share/arp-scan/ieee-oui.txt (from arp-scan package)

--- End Message ---
--- Begin Message ---
Source: arp-scan
Source-Version: 1.9-1

We believe that the bug you reported is fixed in the latest version of
arp-scan, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marcos Fouces <[email protected]> (supplier of updated arp-scan package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 26 Aug 2016 15:13:01 +0200
Source: arp-scan
Binary: arp-scan
Architecture: source
Version: 1.9-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Security Tools Packaging Team 
<[email protected]>
Changed-By: Marcos Fouces <[email protected]>
Description:
 arp-scan   - arp scanning and fingerprinting tool
Closes: 481296 727323 739200 742571 763183 807750
Changes:
 arp-scan (1.9-1) unstable; urgency=medium
 .
   * Fix watch file
   * Add hardening flags (closes: #763183)
   * Build with autoreconf (closes: #727323)
   * Update to debhelper 9
   * Update copyright file to be dep-5 compliant
   * Bump standards-revision to 3.9.8
   * Set maintenance to pkg-security team with permission
     of William Vera.
   * New upstream release already imported on previous
     Kali release (Closes: #807750, #742571)
   * Use ieee-data package instead of fetch from ieee website
     (closes: #481296, #739200)
Checksums-Sha1:
 88a8ff369f7c791806b47bc553d91a86ea116953 1474 arp-scan_1.9-1.dsc
 6bf698572b21242778df9d2019fd386b2a21a135 488442 arp-scan_1.9.orig.tar.gz
 e06e4f914b76cb27426e6b2f11d1440f9c2175a8 6668 arp-scan_1.9-1.debian.tar.xz
Checksums-Sha256:
 861457c0459ea8df92ffdaac2f472e651292dd4781f0c9b4fcb2d9072951aeca 1474 
arp-scan_1.9-1.dsc
 ce908ac71c48e85dddf6dd4fe5151d13c7528b1f49717a98b2a2535bd797d892 488442 
arp-scan_1.9.orig.tar.gz
 6c20509491b15cb6664c28542da898d347e754d6b0a260f10f1bdd826412b24b 6668 
arp-scan_1.9-1.debian.tar.xz
Files:
 be66be72ec89873a8b7b5eee36d6471e 1474 admin optional arp-scan_1.9-1.dsc
 38584d6c1edfa9f6b41d496e4a5539f1 488442 admin optional arp-scan_1.9.orig.tar.gz
 2a7009a0468b0e56cfaa18bfc380a545 6668 admin optional 
arp-scan_1.9-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Comment: Signed by Raphael Hertzog

iQEcBAEBCgAGBQJX6m4YAAoJEAOIHavrwpq5UEoH/0YjERwI8R2kH7YMfoExtnGm
sCSZSMVRSI1zuaztT4UMNgkZYXLvo9i0v9PhlwKgOOEeBY39Kwuupi5h4OErODw8
+eb/Zf3Mm1YRW1Bco1v+d3jIxbIX2MciQvQDis9/xoTUVTqmCyJFvT82e4A2D5yi
0J8ia9KcuyJtXIABReKJjBD0iD/Hu/2XvRLypRJjN5HLZLHZsyvMsfTzI5liB4XY
7W+3I91DBBnMtj3iMdXYn30Z8qiXMRBTxMDYMxcbqjU06BobwBZIi3unrDgYI/T1
4ImY/ZVqOszgTK20VgonQtWETLCMiNjJnZieVWVeG9tKINoKdahhneotWfDnAuE=
=YZgM
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to