Compare commits

...
Sign in to create a new pull request.

12 commits

Author SHA1 Message Date
Benjamin A. Beasley
61ab340e38 Generate ethercodes.dat from latest oui.csv 2023-11-10 13:21:43 -05:00
Benjamin A. Beasley
94144884f0 Generate ethercodes.dat from latest oui.csv 2023-10-04 10:40:56 -04:00
Benjamin A. Beasley
8cd55c3936 Update to 3.4 (close RHBZ#2237532) 2023-09-06 13:34:47 -04:00
Benjamin A. Beasley
e380b0639d Generate ethercodes.dat from latest oui.csv 2023-09-06 13:33:30 -04:00
Benjamin A. Beasley
e562742656 Generate ethercodes.dat from latest oui.csv 2023-08-21 13:35:52 -04:00
Benjamin A. Beasley
825050a0e2 Generate ethercodes.dat from latest oui.csv 2023-07-13 00:41:06 -04:00
Benjamin A. Beasley
ff0011a87f Generate ethercodes.dat from latest oui.csv 2023-05-24 17:54:57 -04:00
Benjamin A. Beasley
dd1a2ce856 Generate ethercodes.dat from latest oui.csv 2023-04-25 10:46:36 -04:00
Benjamin A. Beasley
e49f769124 Generate ethercodes.dat from latest oui.csv 2023-03-26 09:21:17 -04:00
Benjamin A. Beasley
10721bcfaa Generate ethercodes.dat from latest oui.csv 2023-02-15 17:18:21 -05:00
Benjamin A. Beasley
74dcfa54e4 Generate ethercodes.dat from latest oui.csv 2023-01-17 20:27:57 -05:00
Benjamin A. Beasley
00fd791ecc Generate ethercodes.dat from latest oui.csv 2022-12-19 09:51:12 -05:00
7 changed files with 23430 additions and 21138 deletions

1
.gitignore vendored
View file

@ -3,3 +3,4 @@
/arpwatch-3.1.tar.gz
/arpwatch-3.2.tar.gz
/arpwatch-3.3.tar.gz
/arpwatch-3.4.tar.gz

View file

@ -1,15 +0,0 @@
When arpwatch is terminated cleanly by a signal (INT/TERM/HUP) handler, the
exit code should be zero for success instead of nonzero for failure.
diff -Naur arpwatch-3.1-original/arpwatch.c arpwatch-3.1/arpwatch.c
--- arpwatch-3.1-original/arpwatch.c 2019-11-30 13:35:23.000000000 -0500
+++ arpwatch-3.1/arpwatch.c 2020-11-08 12:55:51.429575973 -0500
@@ -892,7 +892,7 @@
lg(LOG_DEBUG, "exiting");
checkpoint(0);
- exit(1);
+ exit(0);
}
RETSIGTYPE

View file

@ -1,15 +1,8 @@
When -i is not given, iterate all available devices until a usable one is found
instead of just trying the first one and giving up if it is not usable. See
RHBZ #842660.
Additionally, handle the case where a device provides both supported and
unsupported datalink types.
diff -Naur arpwatch-3.1-original/arpwatch.c arpwatch-3.1/arpwatch.c
--- arpwatch-3.1-original/arpwatch.c 2019-11-30 13:35:23.000000000 -0500
+++ arpwatch-3.1/arpwatch.c 2021-04-24 09:02:50.762535242 -0400
diff -Naur arpwatch-3.4-original/arpwatch.c arpwatch-3.4/arpwatch.c
--- arpwatch-3.4-original/arpwatch.c 2023-09-05 13:50:56.000000000 -0400
+++ arpwatch-3.4/arpwatch.c 2023-09-06 09:53:38.038275336 -0400
@@ -161,6 +161,8 @@
RETSIGTYPE die(int);
void die(int);
int isbogon(u_int32_t);
int main(int, char **);
+int try_open_live(pcap_t ** pd_ptr, char const * interface_name,

View file

@ -0,0 +1,12 @@
diff -Naur arpwatch-3.4-original/arpwatch.c arpwatch-3.4/arpwatch.c
--- arpwatch-3.4-original/arpwatch.c 2023-09-05 13:50:56.000000000 -0400
+++ arpwatch-3.4/arpwatch.c 2023-09-06 09:52:14.851126556 -0400
@@ -892,7 +892,7 @@
lg(LOG_DEBUG, "exiting");
checkpoint(0);
- exit(1);
+ exit(0);
}
void

View file

@ -1,6 +1,6 @@
Name: arpwatch
Epoch: 14
Version: 3.3
Version: 3.4
Release: %autorelease
Summary: Network monitoring tools for tracking IP addresses on a network
@ -37,7 +37,7 @@ Source0: https://ee.lbl.gov/downloads/arpwatch/arpwatch-%{version}.tar.gz
# updated), we store the file directly in the repository with the spec file;
# see the update-oui-csv script.
#
# File oui.csv last fetched 2022-08-03T18:59:17+00:00.
# File oui.csv last fetched 2023-11-10T18:21:43+00:00.
Source1: oui.csv
Source2: arpwatch.service
Source3: arpwatch.sysconfig
@ -68,12 +68,12 @@ Patch6: arpwatch-3.1-configure-no-local-pcap.patch
Patch7: arpwatch-3.1-all-zero-bogon.patch
# When arpwatch is terminated cleanly by a signal (INT/TERM/HUP) handler, the
# exit code should be zero for success instead of nonzero for failure.
Patch8: arpwatch-3.1-exitcode.patch
Patch8: arpwatch-3.4-exitcode.patch
# When -i is not given, do not just try the first device found, but keep
# checking devices until a usable one is found, if any is available.
# Additionally, handle the case where a device provides both supported and
# unsupported datalink types.
Patch9: arpwatch-3.1-devlookup.patch
Patch9: arpwatch-3.4-devlookup.patch
%global pkgstatedir %{_sharedstatedir}/arpwatch
%global service_user arpwatch
@ -118,6 +118,13 @@ awk '/^ \* / { print substr($0, 4); } /^ \*\// { exit }' arpwatch.c |
%build
%set_build_flags
# Prior to version 3.4, this was handled by the configure script. If it is not
# defined, the build failes because time.h is not included in report.c. This
# regregression was reported upstream by email to arpwatch@ee.lbl.gov on
# 2023-09-06.
export CPPFLAGS="${CPPFLAGS-} -DTIME_WITH_SYS_TIME=1"
%configure --with-sendmail=/usr/sbin/sendmail PYTHON=%{python3}
%make_build ARPDIR=%{pkgstatedir}

44508
oui.csv

File diff suppressed because it is too large Load diff

View file

@ -1 +1 @@
SHA512 (arpwatch-3.3.tar.gz) = 4e3d542917dc9060ae7b35b40f41cb696eb36e68846194a76f025c5ecb1df1e67d5c1c66ba3c7e581e1f915b988d05cb7805f28d410784bd27dc3a448dccdece
SHA512 (arpwatch-3.4.tar.gz) = 0c984ec856e76df4475b367a2e5fb81d0bfdb00fd7730b303c0e1d422f2d2b4f8afef80082bf938d6a6a3b9855f4acfaea23b111430d5d13751271c5b4d70c36