head	1.3;
access;
symbols
	RELEASE_7_4_0:1.2
	RELEASE_8_2_0:1.2
	RELEASE_6_EOL:1.2
	RELEASE_8_1_0:1.2
	RELEASE_7_3_0:1.2
	RELEASE_8_0_0:1.2
	RELEASE_7_2_0:1.2
	RELEASE_7_1_0:1.2
	RELEASE_6_4_0:1.2
	RELEASE_5_EOL:1.2
	RELEASE_7_0_0:1.2
	RELEASE_6_3_0:1.2
	PRE_XORG_7:1.2
	RELEASE_4_EOL:1.2
	RELEASE_6_2_0:1.2
	RELEASE_6_1_0:1.2
	RELEASE_5_5_0:1.2
	RELEASE_6_0_0:1.2
	RELEASE_5_4_0:1.2
	RELEASE_4_11_0:1.2
	RELEASE_5_3_0:1.2
	RELEASE_4_10_0:1.2
	RELEASE_5_2_1:1.2
	RELEASE_5_2_0:1.2
	RELEASE_4_9_0:1.1
	RELEASE_5_1_0:1.1
	RELEASE_4_8_0:1.1
	RELEASE_5_0_0:1.1
	RELEASE_4_7_0:1.1;
locks; strict;
comment	@# @;


1.3
date	2011.05.01.20.14.17;	author bapt;	state dead;
branches;
next	1.2;

1.2
date	2003.10.22.16.08.54;	author andreas;	state Exp;
branches;
next	1.1;

1.1
date	2002.07.07.20.11.57;	author billf;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Remove unmaintained expired ports from security

2011-05-01 security/aafid2: Upstream disapear and distfile is no more available
2011-05-01 security/bjorb: Upstream disapear and distfile is no more available
2011-05-01 security/borzoi: Upstream disapear and distfile is no more available
2011-05-01 security/cmd5checkpw: Upstream disapear and distfile is no more available
2011-05-01 security/cops: Upstream disapear and distfile is no more available
2011-05-01 security/find_ddos: Upstream disapear and distfile is no more available
2011-05-01 security/ftpmap: Upstream disapear and distfile is no more available
2011-05-01 security/hafiye: Upstream disapear and distfile is no more available
2011-05-01 security/ident2: Upstream disapear and distfile is no more available
2011-05-01 security/liedentd: Upstream disapear and distfile is no more available
2011-05-01 security/pam_pop3: Upstream disapear and distfile is no more available
2011-05-01 security/poc: Upstream disapear and distfile is no more available
2011-05-01 security/portscanner: Upstream disapear and distfile is no more available
2011-05-01 security/ppgen: Upstream disapear and distfile is no more available
2011-05-01 security/qident: Upstream disapear and distfile is no more available
2011-05-01 security/quintuple-agent: Upstream disapear and distfile is no more available
2011-05-01 security/rc5pipe: Upstream disapear and distfile is no more available
2011-05-01 security/rid: Upstream disapear and distfile is no more available
2011-05-01 security/ssh: Upstream disapear and distfile is no more available
2011-05-01 security/tea-total: Upstream disapear and distfile is no more available
2011-05-01 security/uberkey: Upstream disapear and distfile is no more available
@
text
@--- portscanner.c.orig	Wed Aug 19 10:37:44 1998
+++ portscanner.c	Sun Jul  7 13:16:39 2002
@@@@ -25,8 +25,8 @@@@
 /***********************************************************/
 
 #include <stdio.h>
-#include <sys/socket.h>
 #include <sys/types.h>
+#include <sys/socket.h>
 #include <netinet/in.h>
 #include <unistd.h>
 #include <netdb.h>
@


1.2
log
@- 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>)
@
text
@@


1.1
log
@upgrade from 1.0 to 1.2

Submitted by:	fenner's distfile survey
@
text
@a12 17
@@@@ -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");
@

