summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/Makefile1
-rw-r--r--www/slowhttptest/Makefile22
-rw-r--r--www/slowhttptest/distinfo3
-rw-r--r--www/slowhttptest/files/patch-src_Makefile.am12
-rw-r--r--www/slowhttptest/pkg-descr11
5 files changed, 49 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index b6921790e0cd..fb880c02faef 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2226,6 +2226,7 @@
SUBDIR += sitecopy
SUBDIR += skytemplate
SUBDIR += slowcgi
+ SUBDIR += slowhttptest
SUBDIR += smarty2
SUBDIR += smarty3
SUBDIR += smb_auth
diff --git a/www/slowhttptest/Makefile b/www/slowhttptest/Makefile
new file mode 100644
index 000000000000..a33998ac4572
--- /dev/null
+++ b/www/slowhttptest/Makefile
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+PORTNAME= slowhttptest
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.7
+CATEGORIES= www
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Application Layer DoS attack simulator for pentesting
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USES= autoreconf ssl
+GNU_CONFIGURE= yes
+USE_GITHUB= yes
+GH_ACCOUNT= shekyan
+
+PLIST_FILES= bin/slowhttptest \
+ man/man1/slowhttptest.1.gz
+
+.include <bsd.port.mk>
diff --git a/www/slowhttptest/distinfo b/www/slowhttptest/distinfo
new file mode 100644
index 000000000000..e16d3ce7ba3d
--- /dev/null
+++ b/www/slowhttptest/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1563526512
+SHA256 (shekyan-slowhttptest-v1.7_GH0.tar.gz) = 9fd3ce4b0a7dda2e96210b1e438c0c8ec924a13e6699410ac8530224b29cfb8e
+SIZE (shekyan-slowhttptest-v1.7_GH0.tar.gz) = 117115
diff --git a/www/slowhttptest/files/patch-src_Makefile.am b/www/slowhttptest/files/patch-src_Makefile.am
new file mode 100644
index 000000000000..731ca3e1112e
--- /dev/null
+++ b/www/slowhttptest/files/patch-src_Makefile.am
@@ -0,0 +1,12 @@
+--- src/Makefile.am.orig 2019-07-19 09:10:22 UTC
++++ src/Makefile.am
+@@ -1,7 +1,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+-FLAGS=@CFLAGS@ -Wall -I/usr/local/include
+-LDFLAGS=@LDFLAGS@ -L/usr/local/lib -lssl
++FLAGS=@CFLAGS@ -Wall
++LDFLAGS=@LDFLAGS@
+
+ bin_PROGRAMS = slowhttptest
+ slowhttptest_SOURCES = slowhttptestmain.cc slowhttptest.cc slowsocket.cc slowstats.cc slowurl.cc slowlog.cc text-generator.cc range-generator.cc slowhttptest.h slowsocket.h slowstats.h slowurl.h slowlog.h text-generator.h range-generator.h
diff --git a/www/slowhttptest/pkg-descr b/www/slowhttptest/pkg-descr
new file mode 100644
index 000000000000..9c9d6c67d078
--- /dev/null
+++ b/www/slowhttptest/pkg-descr
@@ -0,0 +1,11 @@
+SlowHTTPTest is a highly configurable tool that simulates some Application
+Layer Denial of Service attacks by prolonging HTTP connections in different
+ways.
+
+Use it to test your web server for DoS vulnerabilites, or just to figure out
+how many concurrent connections it can handle. SlowHTTPTest works on majority
+of Linux platforms, OS X and Cygwin - a Unix-like environment and command-line
+interface for Microsoft Windows, and comes with a Dockerfile to make things even
+easier.
+
+WWW: https://github.com/shekyan/slowhttptest