From 72c60b2eadd871117d8a7a68dbf67af3cd3d7040 Mon Sep 17 00:00:00 2001 From: Roy Hills Date: Sat, 10 Dec 2022 15:51:06 +0000 Subject: [PATCH] Pre release testing (#111) * Make cap_status enum values explicit * Set version to 1.10-rc1. Update ChangeLog. * Corrected version number * Minor changes --- ChangeLog | 6 ++++++ NEWS.md | 60 ++++++++++++++++++++++++---------------------------- arp-scan.h | 2 +- configure.ac | 2 +- get-iab | 2 +- 5 files changed, 37 insertions(+), 35 deletions(-) diff --git a/ChangeLog b/ChangeLog index bf8f775..e7d0932 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2022-12-01 Roy Hills + + * arp-scan.h: Make cap_status enum values explicit. + + * configure.ac: Set version to 1.10-rc1. + 2022-11-25 Roy Hills * Makefile.am: Add $(PACKAGE) to the PKGSYSCONFDIR macro definition diff --git a/NEWS.md b/NEWS.md index d9eebf2..a687487 100644 --- a/NEWS.md +++ b/NEWS.md @@ -8,7 +8,7 @@ release. For more details please read the ChangeLog file.** * **POSIX.1e capabilities support for Linux systems with libcap.** - Uses `CAP_NET_RAW` capability instead of superuser (root) permissions. - - May need to install `libcap-dev` or similar for \.configure to enable. + - May need to install `libcap-dev` or similar to build. - *Note that `libcap` (capabilities) and `libpcap` (packet capture) are different libraries.* - configure option `--with-libcap`, defaults to auto. @@ -26,9 +26,10 @@ release. For more details please read the ChangeLog file.** except CAP_NET_RAW and proceed as previously, but will remain as UID 0 and may encounter file permissions issues if it tries to open files with e.g. `--pcapsavefile` or `--ouifile` in user directories. - - --version displays `Built with libcap POSIX.1e capability support` (or not) + - --version displays `Built with libcap POSIX.1e capability support` if + enabled. - Adapted from the iputils-ping capabilities code. - - `make install` will install the arp-scan executable with the `CAP_NET_RAW` + - `make install` installs the arp-scan executable with the `CAP_NET_RAW` capability if `setcap` is available and works. Otherwise will fallback to SUID. @@ -58,32 +59,27 @@ release. For more details please read the ChangeLog file.** ## General improvements -* **Put man pages and --help output on a diet. Updated for new options.** -* **Option value length is now limited only by the maximum command line +* Put man pages and --help output on a diet. Updated for new options. +* Option value length is now limited only by the maximum command line length (normally around 100K). This allows for complex `--format` options, - long `--padding` lengths etc.** -* **arp-scan now prints a brief error message instead of half a page of usage - text for unknown options.** + long `--padding` lengths etc. +* arp-scan now prints a brief error message instead of half a page of usage + text for unknown options. ## Package Maintainers Notes * If you are packaging for Linux please build with libcap POSIX.1e capability support if your distribution allows it. -* If you are packaging for a Debian based system, the get-oui Perl script can - easily be edited to use the Debian ieee-data package. +* If you are packaging for a Debian based system, the `get-oui` Perl script can + easily be patched to use the Debian `ieee-data` package. -* Note that the `get-iab` script and the `ieee-iab.txt` file have been - removed from this version. +* The `get-iab` script and the `ieee-iab.txt` file have been removed from this + version. -* `Makefile.am` contains an `install-exec-hook` that will set `CAP_NET_RAW` on - the arp-scan executable if it can, otherwise it will install it SUID. you can - remove this install-exec-hook code if this behaviour is not desired. - -* Note that the `mac-vendor.txt` file has been moved to - `$(sysconfdir)/$(PACKAGE)` as detailed above. Users may make local changes - to this file and upstream changes should be infrequent. Please mark this - as a configuration file if possible so upgrades don't overwrite user changes. +* The `mac-vendor.txt` file has been moved to `$(sysconfdir)/$(PACKAGE)` as + detailed above. Users may make local changes to this file and upstream + changes should be infrequent. * If you have any problems packaging arp-scan, please open an issue on github. @@ -93,13 +89,13 @@ release. For more details please read the ChangeLog file.** - Allow the use of Linux IP aliases such as eth0:0 for the interface name. - Permit regular MAC addresses e.g. 00:0c:29:b9:43:1b in mac-vendor.txt. - - --limit=n option exits after n of hosts have responded, exit 1 for