summaryrefslogtreecommitdiff
path: root/net/proxycheck
diff options
context:
space:
mode:
authorzuntum <zuntum@pkgsrc.org>2003-02-17 11:50:40 +0000
committerzuntum <zuntum@pkgsrc.org>2003-02-17 11:50:40 +0000
commit9cc9cc04e5e8a63fcb7830257ee07b3750d1217c (patch)
treebb4691bf9837d94d5d9e5760fdb9da308f1a6c15 /net/proxycheck
parent8e92b8ca772b9fe86a0d28d2738a4378cb381f03 (diff)
downloadpkgsrc-9cc9cc04e5e8a63fcb7830257ee07b3750d1217c.tar.gz
Initial import of net/proxycheck (version 0.41)
proxycheck is a simple tool that will work on a reasonable *nix system and may be used to quickly check whenever a given host or set of hosts has open proxy server running. Open proxies of various kinds are (ab)used nowadays for various evil things like sending mass spam, hacking into your machine, making denial of service attacks (DoS) and the like. Every such machine should be either secured properly or turned off permanently, but that's not an option, since in most cases there is either no administrator of such machines exists at all, or he has no clue about what's on that machine, or it's irrelevant for him. Provided by Todd Vierling in PR#20110.
Diffstat (limited to 'net/proxycheck')
-rw-r--r--net/proxycheck/DESCR11
-rw-r--r--net/proxycheck/Makefile16
-rw-r--r--net/proxycheck/PLIST3
-rw-r--r--net/proxycheck/distinfo5
-rw-r--r--net/proxycheck/patches/patch-aa17
5 files changed, 52 insertions, 0 deletions
diff --git a/net/proxycheck/DESCR b/net/proxycheck/DESCR
new file mode 100644
index 00000000000..1491a2c3199
--- /dev/null
+++ b/net/proxycheck/DESCR
@@ -0,0 +1,11 @@
+proxycheck is a simple tool that will work on a reasonable *nix system
+and may be used to quickly check whenever a given host or set of hosts
+has open proxy server running.
+
+Open proxies of various kinds are (ab)used nowadays for various evil
+things like sending mass spam, hacking into your machine, making denial
+of service attacks (DoS) and the like. Every such machine should be
+either secured properly or turned off permanently, but that's not an
+option, since in most cases there is either no administrator of such
+machines exists at all, or he has no clue about what's on that machine,
+or it's irrelevant for him.
diff --git a/net/proxycheck/Makefile b/net/proxycheck/Makefile
new file mode 100644
index 00000000000..b6d0a0d03f8
--- /dev/null
+++ b/net/proxycheck/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/02/17 11:50:40 zuntum Exp $
+#
+
+DISTNAME= proxycheck-0.41
+CATEGORIES= net
+MASTER_SITES= http://www.corpit.ru/mjt/proxycheck/
+
+MAINTAINER= tv@pobox.com
+HOMEPAGE= http://www.corpit.ru/mjt/proxycheck.html
+COMMENT= Tester for open (promiscuous) proxy systems
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/proxycheck ${PREFIX}/bin/
+ ${INSTALL_MAN} ${WRKSRC}/proxycheck.1 ${PREFIX}/man/man1/
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/proxycheck/PLIST b/net/proxycheck/PLIST
new file mode 100644
index 00000000000..64c1bceb3f5
--- /dev/null
+++ b/net/proxycheck/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/02/17 11:50:40 zuntum Exp $
+bin/proxycheck
+man/man1/proxycheck.1
diff --git a/net/proxycheck/distinfo b/net/proxycheck/distinfo
new file mode 100644
index 00000000000..84e5faa930d
--- /dev/null
+++ b/net/proxycheck/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/02/17 11:50:40 zuntum Exp $
+
+SHA1 (proxycheck-0.41.tar.gz) = 4594f1b2b1e17edc150a3846526c92b3e5f1e2c6
+Size (proxycheck-0.41.tar.gz) = 26363 bytes
+SHA1 (patch-aa) = f837783b2b68d022dd5a68e2e751a6a895d4877c
diff --git a/net/proxycheck/patches/patch-aa b/net/proxycheck/patches/patch-aa
new file mode 100644
index 00000000000..5149ace768a
--- /dev/null
+++ b/net/proxycheck/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/02/17 11:50:40 zuntum Exp $
+
+--- Makefile.orig Wed Jan 29 10:58:02 2003
++++ Makefile Wed Jan 29 11:00:01 2003
+@@ -1,12 +1,5 @@
+-CC = cc
+-CFLAGS = -O
+ DEFS = -D_GNU_SOURCE
+ LD = $(CC)
+-LDFLAGS =
+-
+-# For Solaris, we need -lsocket -lnsl and -lresolv for inet_aton
+-SOCKLIBS = `[ -f /usr/lib/libsocket.so ] && echo -lresolv -lsocket -lnsl || :`
+-
+ USE_CFLAGS = $(CFLAGS) $(DEFS)
+
+ SRCS = proxycheck.c pxy.c event.c memmem.c