diff options
author | andreas <andreas@FreeBSD.org> | 2003-10-23 00:08:54 +0800 |
---|---|---|
committer | andreas <andreas@FreeBSD.org> | 2003-10-23 00:08:54 +0800 |
commit | a3e1224ce39dfc8513b6476e3a4fa9737c2d58c2 (patch) | |
tree | b474a2895a0c41ba01ec9d5544a64a7ae6c89658 /security/portscanner | |
parent | ef1a2d849f7397b9ebf36aebe6dd4779a8f838e8 (diff) | |
download | freebsd-ports-gnome-a3e1224ce39dfc8513b6476e3a4fa9737c2d58c2.tar.gz freebsd-ports-gnome-a3e1224ce39dfc8513b6476e3a4fa9737c2d58c2.tar.zst freebsd-ports-gnome-a3e1224ce39dfc8513b6476e3a4fa9737c2d58c2.zip |
- fix from Peter:
get rid of 2nd half of the patch, fix was intended for
cosmetical reasons, but broke portscanner
- bumped port revision
This error is now fixed:
portscanner -vv -v -v -b 1 -e 6 xx.xxx.xxx.xx
xx.xxx.xx.xx
Error assigning master socket: Too many open files
Exit 255
Submitted by: Peter Edwards <peter.edwards@openet-telecom.com>
Approved by: portmgr@ (Joe Marcus Clarke <marcus@marcuscom.com>)
Diffstat (limited to 'security/portscanner')
-rw-r--r-- | security/portscanner/Makefile | 1 | ||||
-rw-r--r-- | security/portscanner/files/patch-ab | 17 |
2 files changed, 1 insertions, 17 deletions
diff --git a/security/portscanner/Makefile b/security/portscanner/Makefile index 7d5ff50d1a64..f19e08e857f0 100644 --- a/security/portscanner/Makefile +++ b/security/portscanner/Makefile @@ -7,6 +7,7 @@ PORTNAME= portscanner PORTVERSION= 1.2 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://www.ameth.org/~veilleux/PortScan/ DISTNAME= PortScanner-${PORTVERSION} diff --git a/security/portscanner/files/patch-ab b/security/portscanner/files/patch-ab index b92c4258e856..d1656f1d1a75 100644 --- a/security/portscanner/files/patch-ab +++ b/security/portscanner/files/patch-ab @@ -10,20 +10,3 @@ #include <netinet/in.h> #include <unistd.h> #include <netdb.h> -@@ -268,7 +268,7 @@ - goodproto = 0; - } else address2.sin_port = htons(base_port+current_port); - -- if (!finished) -+ if (!finished) { - if (connect(sock, (struct sockaddr *)&address2, sizeof(address2)) == 0) { - switch (verbose) { - case 0: if (strobe) -@@ -312,6 +312,7 @@ - finished = 1; - } - /* fprintf(stderr,"current_port: %d,b: %d,e:%d,b+c:%d\n", current_port, base_port,end_port,base_port+current_port); */ -+ } - } - - if (verbose == 2) printf("Port scan finished !\n"); |