From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <guix-patches-bounces+larch=yhetil.org@gnu.org>
Received: from mp12.migadu.com ([2001:41d0:8:6d80::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms0.migadu.com with LMTPS
	id WM3uBDNp1GGlYQEAgWs5BA
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 04 Jan 2022 16:35:15 +0100
Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp12.migadu.com with LMTPS
	id 8B6VATNp1GF5DAEAauVa8A
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 04 Jan 2022 16:35:15 +0100
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by aspmx1.migadu.com (Postfix) with ESMTPS id 65D6D29608
	for <larch@yhetil.org>; Tue,  4 Jan 2022 16:35:14 +0100 (CET)
Received: from localhost ([::1]:46772 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	id 1n4lqD-0001UR-GS
	for larch@yhetil.org; Tue, 04 Jan 2022 10:35:13 -0500
Received: from eggs.gnu.org ([209.51.188.92]:33160)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1n4lq2-0001Tz-9p
 for guix-patches@gnu.org; Tue, 04 Jan 2022 10:35:02 -0500
Received: from debbugs.gnu.org ([209.51.188.43]:55164)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1n4lq1-000631-WE
 for guix-patches@gnu.org; Tue, 04 Jan 2022 10:35:02 -0500
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1n4lq1-0004x5-UK
 for guix-patches@gnu.org; Tue, 04 Jan 2022 10:35:01 -0500
X-Loop: help-debbugs@gnu.org
Subject: [bug#53007] [PATCH] gnu: networking: Add arp-scan
Resent-From: manolis837@gmail.com
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: guix-patches@gnu.org
Resent-Date: Tue, 04 Jan 2022 15:35:01 +0000
Resent-Message-ID: <handler.53007.B.164131046918984@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: report 53007
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 53007@debbugs.gnu.org
Cc: Manolis Ragkousis <manolis837@gmail.com>
X-Debbugs-Original-To: guix-patches@gnu.org
Received: via spool by submit@debbugs.gnu.org id=B.164131046918984
 (code B ref -1); Tue, 04 Jan 2022 15:35:01 +0000
Received: (at submit) by debbugs.gnu.org; 4 Jan 2022 15:34:29 +0000
Received: from localhost ([127.0.0.1]:38477 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1n4lpS-0004w4-GE
 for submit@debbugs.gnu.org; Tue, 04 Jan 2022 10:34:29 -0500
Received: from lists.gnu.org ([209.51.188.17]:48340)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <manolis837@gmail.com>) id 1n4lpQ-0004vr-7I
 for submit@debbugs.gnu.org; Tue, 04 Jan 2022 10:34:24 -0500
Received: from eggs.gnu.org ([209.51.188.92]:33010)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <manolis837@gmail.com>)
 id 1n4lpP-0001OL-Tj
 for guix-patches@gnu.org; Tue, 04 Jan 2022 10:34:23 -0500
Received: from [2a00:1450:4864:20::436] (port=45919
 helo=mail-wr1-x436.google.com)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <manolis837@gmail.com>)
 id 1n4lpN-0005yv-VP
 for guix-patches@gnu.org; Tue, 04 Jan 2022 10:34:23 -0500
Received: by mail-wr1-x436.google.com with SMTP id v7so76852122wrv.12
 for <guix-patches@gnu.org>; Tue, 04 Jan 2022 07:34:21 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 
 h=from:to:cc:subject:date:message-id:mime-version
 :content-transfer-encoding;
 bh=Hkw47RtE62fMQmxOYHmCd9WPAZYkwCcyuiyD7z5ZU/Q=;
 b=ML1zFCOBqzfXqcv9tw2SlhHXemcZSl33s8LcMhawR1m5SUM1K/JDkLz3WCnEFxYh50
 NCpZdK368dPPTwhmd/Eda5EuvncI/hLZAou9gVcHi03GrO6Lc82A4Ii1kToSt0JdsuPP
 ixvmc76cA88NCNYipO4HOmOQTAwEOkZFU2Y/KcgKtakN1Cz8eHm/LhpMYxd+SWmo2Qdc
 97WuZq+jd+iZgsAQXSrapvLtKlUxo+QRHJspbUnlsRQh5MnVVAjYI8k0ld6Oqm3n5WEw
 sXlK4usL3oWMChFC5RkPOBdVo29wOZbo8WjEZ5D0jA/40Ruhhma6IcFmOXR2yWc3tofm
 7c4g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version
 :content-transfer-encoding;
 bh=Hkw47RtE62fMQmxOYHmCd9WPAZYkwCcyuiyD7z5ZU/Q=;
 b=Z90c4d8sHKklna7ZhX4Z74+mSsSnRZdKv6WHSktN3zORT+CILllwmg9QVQAOsLX/R0
 NPjr70OANY+2oc9Cr702/zOfqyS1VcsVY/xGLmJKeOKjBmhDqZgu2il+i3j2f0svrbVd
 el13ePa30ReyVPTssb0Tajfi61FswPfnBXcTrZEj+z5GArdjP61ekdBxzeDsYSmDI3dA
 u4GfKYQUSE4efO/dkYmnNeDY2ajSYjyqhVtLqoAq5AS7OhnwXPWW+zLwiEjFESJ9Er2/
 cYxApU87yP9kgzbClf7+2z56TYd04/vIkIzfCbhO0eg3WTiumIilabEGZT0JZ4aS3nnu
 gkBA==
X-Gm-Message-State: AOAM531VouqvLGmktBUQvtZSicTP5F/LmJUcvR0qBg8lD6Gd4D6qibCL
 9nK5QypMZgMA0h1sKsq7uoQeWZ1QZYhZ
X-Google-Smtp-Source: ABdhPJy9XuWQiQMuymCDFniIt9krXFU+96O8RvUGPez94M+sYpbY+z0dWGwSVQwQGBoOYcC0GhTG8A==
X-Received: by 2002:a5d:6da2:: with SMTP id u2mr41839922wrs.633.1641310459949; 
 Tue, 04 Jan 2022 07:34:19 -0800 (PST)
Received: from localhost.localdomain ([2a02:587:372a:1ded:d427:38d2:b042:c985])
 by smtp.gmail.com with ESMTPSA id g6sm39552980wri.67.2022.01.04.07.34.19
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 04 Jan 2022 07:34:19 -0800 (PST)
From: manolis837@gmail.com
Date: Tue,  4 Jan 2022 17:34:15 +0200
Message-Id: <20220104153415.5822-1-manolis837@gmail.com>
X-Mailer: git-send-email 2.32.0
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::436
 (failed)
Received-SPF: pass client-ip=2a00:1450:4864:20::436;
 envelope-from=manolis837@gmail.com; helo=mail-wr1-x436.google.com
X-Spam_score_int: 8
X-Spam_score: 0.8
X-Spam_bar: /
X-Spam_report: (0.8 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25,
 FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: guix-patches@gnu.org
List-Id: <guix-patches.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/guix-patches>
List-Post: <mailto:guix-patches@gnu.org>
List-Help: <mailto:guix-patches-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=subscribe>
Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org
Sender: "Guix-patches" <guix-patches-bounces+larch=yhetil.org@gnu.org>
X-Migadu-Flow: FLOW_IN
X-Migadu-Country: US
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1641310514;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:resent-cc:
	 resent-from:resent-sender:resent-message-id:list-id:list-help:
	 list-unsubscribe:list-subscribe:list-post:dkim-signature;
	bh=Hkw47RtE62fMQmxOYHmCd9WPAZYkwCcyuiyD7z5ZU/Q=;
	b=hv5n/TP6Zgjaaj3qZJcnQB7H1K06oAXQJv4yIqOPL6P7M2HcoUOk58AzHW10vwK+msGJTF
	Fm6Zhvn6qvosJccOtr7ccFC0Bte/q9OXKBFbFYK0LgcnnXTR1Uz1Qcdo8Z2gCpxBuHcGc1
	U95VE7fOp+bqYl0uiWHfoHqCxxpXpoh9YBPIauwvLoz92ILNwCQ00+A7ewlSBV25Bx+3er
	2nCNpkif4IoSa8qYINz0wg7f+ZmWIyFmJuulTchcnnKcU40zvzhmzVUXUcEEqhqQKspADN
	xHv4tdN4NxKW8aTLja+DwI6zmYOQZBEcH7Y7p9L6iZeZ49IQn1LT9gSK+BCF8A==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641310514; a=rsa-sha256; cv=none;
	b=h6YO8EjY4TTgsfj8XdD5l+jkvdRvop8A4ro6TmMJByBpclS1MungoJtuegljpOirOYpyXC
	NzFU4fGtkzO9jGKOUuM7n1BG2peWNSBsbk8I5VhOaFoHIEZT09YzzqzGRKujw1UeiBQhQL
	VE58Fkyg6m9WbfKB3XC2/FV0CmDjP6r5UULvigcXXmXxxbrtw1IMF+jrMSX9iGm5xA0lRr
	xsDU68u1s9T/1iiqm6q4tOgC8u3kNBGALpoAESXx9i43JymU6bXlq/gn2TbboG8YoNz+Ga
	pPn8fqpyOtxSE24/XCu5nwkKS78gcM5k6dWpesmgk5EPC/04Ey0mvf6HmmvWzQ==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ML1zFCOB;
	dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none);
	spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"
X-Migadu-Spam-Score: -1.19
Authentication-Results: aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ML1zFCOB;
	dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none);
	spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"
X-Migadu-Queue-Id: 65D6D29608
X-Spam-Score: -1.19
X-Migadu-Scanner: scn1.migadu.com
X-TUID: tAWs2SdNWvbf

From: Manolis Ragkousis <manolis837@gmail.com>

* gnu/packages/networking.scm (arp-scan): New variable.
---
 gnu/packages/networking.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index cc9cc61164..ac67d58541 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -47,6 +47,7 @@
 ;;; Copyright © 2021 Milkey Mouse <milkeymouse@meme.institute>
 ;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
 ;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
+;;; Copyright © 2022 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4143,3 +4144,32 @@ (define-public putty
 implementations.")
     (home-page "https://www.chiark.greenend.org.uk/~sgtatham/putty/")
     (license license:expat)))
+
+(define-public arp-scan
+  (package
+    (name "arp-scan")
+    (version "1.9.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/royhills/arp-scan/"
+                           "archive/refs/tags/" version ".tar.gz"))
+       (sha256
+        (base32 "0ff0c43rw1b4cm52rx7s6q0wsix3ahjjfhd8wk85nr9wjgj3cg70"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'bootstrap
+           (lambda _
+             (invoke "autoreconf" "-vfi"))))))
+    (inputs
+     (list libpcap))
+    (native-inputs
+     (list autoconf automake libtool pkg-config))
+    (propagated-inputs
+     (list perl-libwww))
+    (home-page "https://github.com/royhills/arp-scan")
+    (synopsis "Dscover and fingerprint IP hosts on the local network using ARP")
+    (description "A tool that uses ARP to discover and fingerprint IP hosts on the local network")
+    (license license:gpl3)))
-- 
2.33.1