diff --git a/net-analyzer/ddos-mitigator/ChangeLog b/net-analyzer/ddos-mitigator/ChangeLog new file mode 100644 index 0000000..ab3514f --- /dev/null +++ b/net-analyzer/ddos-mitigator/ChangeLog @@ -0,0 +1,5 @@ +*ddos-mitigator-2.1.0 (17 Sep 2020) + + 17 Sep 2020; Manuel Friedli +ddos-mitigator-2.1.0.ebuild, + +metadata.xml: + net-analyzer/ddos-mitigator: Add ebuild for version 2.1.0. diff --git a/net-analyzer/ddos-mitigator/Manifest b/net-analyzer/ddos-mitigator/Manifest new file mode 100644 index 0000000..bd85e8e --- /dev/null +++ b/net-analyzer/ddos-mitigator/Manifest @@ -0,0 +1,4 @@ +DIST v2.1.0.tar.gz 6394 BLAKE2B 1e8ab8ac38338b005d7143b3272e985c6a3d760a4af25030219139618908563341ec753e71dd882f2feabd83ac9148dac148d760c89554af6deaed38f4db8733 SHA512 fa47e2260e8a6a88053ef936025450033f2ab24e73eaaea7bfdf5d4f7c399b98a4fc13f6ec2060ecb4de0c18c9c1f2f01d5ee8249ac24d53c336d102f7365612 +EBUILD ddos-mitigator-2.1.0.ebuild 632 BLAKE2B f6e0e91cb3224ab53bda00d135f3d2d8674c3c7901f6074e19a4f70d661bfde744f4121b2c6307f745ebe46c2d9dd843e9beaafdc7af841150e8900c5ab53ae4 SHA512 bd70cceefdbff59a5f9f915a6a877d565260cb9955e9e612f076fb42ce56cd83580bb2fe041a42edd91eb2aaacdf563fb982fa58883415cb32f972a9f87be08e +MISC ChangeLog 195 BLAKE2B 495db5446d78c7607cb98b1335ec04e8a743e38c8103a8468a811f3071c13f800c9c0f7c0d50967f98e2071c6c2d1031ad2f7e4070696ef721fb5c05461c6dd4 SHA512 9607d9f449bbedf038b18166a48b5046af4628e2f64816f6bab0e7a0c57d932e6e41046e209b0431188a0ab77ca8898f7ac8e2c1e7e3154bb7c85dd332ea5eb2 +MISC metadata.xml 248 BLAKE2B cb50cad2c614a99daa2e236f9e0d0fab1ab20a898c0b0f0c28a1387820ab1f2b9dd4d396a3b38f732b493824f96a29ee5894e80e09dbd08dff62c1aaba3feaa0 SHA512 29f9b96b0a77546cce6a8bffd82fae2fd0939d32a7a05ffd0d91f9250a019a3ddaa599b93988c82daabb9c4c4b284dd947e2c47f6ca7727b8539cffa91bcb8c2 diff --git a/net-analyzer/ddos-mitigator/ddos-mitigator-2.1.0.ebuild b/net-analyzer/ddos-mitigator/ddos-mitigator-2.1.0.ebuild new file mode 100644 index 0000000..695d0ba --- /dev/null +++ b/net-analyzer/ddos-mitigator/ddos-mitigator-2.1.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Script for blocking IP addresses with many concurrent connections" +HOMEPAGE="https://gittr.ch/linux/ddos-mitigator" +SRC_URI="https://gittr.ch/linux/ddos-mitigator/archive/v${PV}.tar.gz" +RESTRICT="mirror" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +S="${WORKDIR}/${PN}" + +RDEPEND=" + app-admin/sudo + dev-lang/python:3.8 + net-analyzer/fail2ban + sys-apps/coreutils + sys-apps/grep + sys-apps/moreutils + sys-apps/net-tools + sys-apps/util-linux +" + +src_install() { + dobin ddos-mitigator.sh + dobin geoip-lookup.py +} diff --git a/net-analyzer/ddos-mitigator/metadata.xml b/net-analyzer/ddos-mitigator/metadata.xml new file mode 100644 index 0000000..67a771c --- /dev/null +++ b/net-analyzer/ddos-mitigator/metadata.xml @@ -0,0 +1,8 @@ + + + + + manuel@fritteli.ch + Manuel Friedli + +