Package: release.debian.org Severity: normal User: [email protected] Usertags: unblock X-Debbugs-Cc: [email protected]
Dear Release Team, Please unblock package netdiscover. [ Reason ] The revision 0.7-4 has a patch (030) to add an important fix from the upstream[1]. This fix allows netdiscover to use correctly CIDR /24 if netdiscover is being built with libpcap >= 1.10. This fix closes #991258 [1] https://github.com/netdiscover-scanner/netdiscover/commit/2de0187c8b6aad3ca5393d96fbc5b00c453c3d23 Short explanation: Older versions of libpcap ignored to_ms on Linux. The current version captures packets until a buffer a filled or the specified timeout elapses. The value 0 disables that timeout, so libpcap will only start delivering packets once the buffer is filled. [ Impact ] If the unblock isn't granted, the user will not able to scan a network using the option '-r <IP>/24', so only /8 and /16 will work. [ Tests ] Several tests were made after the fix and it worked fine. [ Risks ] This is a trivial fix and it has no risks for the whole source code. [ Checklist ] [x] all changes are documented in the d/changelog [x] I reviewed all changes and I approve them [x] attach debdiff against the package in testing unblock netdiscover/0.7-4
diff -Nru netdiscover-0.7/debian/changelog netdiscover-0.7/debian/changelog --- netdiscover-0.7/debian/changelog 2021-02-06 00:05:00.000000000 -0300 +++ netdiscover-0.7/debian/changelog 2021-07-18 17:23:16.000000000 -0300 @@ -1,3 +1,10 @@ +netdiscover (0.7-4) unstable; urgency=medium + + * debian/patches/030_fix_cidr24.patch: created to fix no results with CIDR /24 + and libpcap >= 1.10. Thanks to Enrico Schmitz. (Closes: #991258) + + -- Joao Eriberto Mota Filho <[email protected]> Sun, 18 Jul 2021 17:23:16 -0300 + netdiscover (0.7-3) unstable; urgency=medium * debian/patches/20_update-oui.patch: updated. diff -Nru netdiscover-0.7/debian/patches/030_fix_cidr24.patch netdiscover-0.7/debian/patches/030_fix_cidr24.patch --- netdiscover-0.7/debian/patches/030_fix_cidr24.patch 1969-12-31 21:00:00.000000000 -0300 +++ netdiscover-0.7/debian/patches/030_fix_cidr24.patch 2021-07-18 17:23:16.000000000 -0300 @@ -0,0 +1,21 @@ +Description: Fix no results with CIDR /24 and libpcap >= 1.10 +Author: Enrico Schmitz +Origin: https://github.com/netdiscover-scanner/netdiscover/commit/2de0187c8b6aad3ca5393d96fbc5b00c453c3d23 +Bug: https://github.com/netdiscover-scanner/netdiscover/issues/9 +Bug-Debian: https://bugs.debian.org/991258 +Forwarded: not-needed +Reviewed-By: Joao Eriberto Mota Filho <[email protected]> +Last-Update: 2021-07-18 +Index: netdiscover/src/ifaces.h +=================================================================== +--- netdiscover.orig/src/ifaces.h ++++ netdiscover/src/ifaces.h +@@ -45,7 +45,7 @@ extern "C" + typedef uint16_t u_int16_t; + typedef uint8_t u_int8_t; + #else +- #define PCAP_TOUT 0 ++ #define PCAP_TOUT 512 + #endif + + diff -Nru netdiscover-0.7/debian/patches/series netdiscover-0.7/debian/patches/series --- netdiscover-0.7/debian/patches/series 2021-02-06 00:04:57.000000000 -0300 +++ netdiscover-0.7/debian/patches/series 2021-07-18 17:23:16.000000000 -0300 @@ -1,2 +1,3 @@ 10_fix-makefile.patch 20_update-oui.patch +030_fix_cidr24.patch

