diff options
author | Andreas Klemm <andreas@FreeBSD.org> | 2003-10-22 16:08:54 +0000 |
---|---|---|
committer | Andreas Klemm <andreas@FreeBSD.org> | 2003-10-22 16:08:54 +0000 |
commit | bba56e760c17909362498af571f1cfe21e7e03b8 (patch) | |
tree | 3506fab15bcadcc7c9e2198872889e1f8bca42e2 /security | |
parent | add ctrlproxy 2.5 (diff) |
- 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>)
Notes
Notes:
svn path=/head/; revision=91901
Diffstat (limited to 'security')
-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"); |