opsb updates
This commit is contained in:
parent
63906db0b5
commit
8838f03a77
4 changed files with 10 additions and 8 deletions
|
@ -1,8 +1,9 @@
|
|||
Open Proxy Scanning Bot Module for NeoStats Changelog.
|
||||
==============================================================================
|
||||
* Version 1.0RC3 * 5/11/2002 * Fish
|
||||
* Version 1.0RC3a * 5/11/2002 * Fish
|
||||
- Fixed a problem when we delete a scanned user out of the active list when the tcp connect had finished, but not the dns bl lookup...
|
||||
- Attempting to find the cleanlist segv bug
|
||||
- Still trying to find this bug... Believe its in the buffer code
|
||||
|
||||
* Version 1.0RC2 * 27/10/2002 * Fish
|
||||
- Fixed a serious bug with not banning some proxies... ALL USERS SHOULD UPDATE
|
||||
|
|
4
opsb.c
4
opsb.c
|
@ -18,7 +18,7 @@
|
|||
** USA
|
||||
**
|
||||
** NeoStats CVS Identification
|
||||
** $Id: opsb.c,v 1.8 2002/11/05 13:31:59 fishwaldo Exp $
|
||||
** $Id: opsb.c,v 1.9 2002/11/18 13:45:32 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
|
||||
|
@ -62,7 +62,7 @@ int online;
|
|||
Module_Info my_info[] = { {
|
||||
"OPSB",
|
||||
"A Open Proxy Scanning Bot",
|
||||
"1.0RC3"
|
||||
"1.0RC3a"
|
||||
} };
|
||||
|
||||
|
||||
|
|
4
opsb.h
4
opsb.h
|
@ -4,7 +4,7 @@
|
|||
** Based from GeoStats 1.1.0 by Johnathan George net@lite.net
|
||||
*
|
||||
** NetStats CVS Identification
|
||||
** $Id: opsb.h,v 1.6 2002/11/05 13:31:59 fishwaldo Exp $
|
||||
** $Id: opsb.h,v 1.7 2002/11/18 13:45:32 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
|
||||
|
@ -76,7 +76,7 @@ struct sockinfo {
|
|||
int flags;
|
||||
int type;
|
||||
int bytes;
|
||||
char buf[1025];
|
||||
char buf[2048];
|
||||
};
|
||||
|
||||
typedef struct sockinfo socklist;
|
||||
|
|
7
proxy.c
7
proxy.c
|
@ -20,7 +20,7 @@
|
|||
** USA
|
||||
**
|
||||
** NeoStats CVS Identification
|
||||
** $Id: proxy.c,v 1.10 2002/11/07 10:50:12 fishwaldo Exp $
|
||||
** $Id: proxy.c,v 1.11 2002/11/18 13:45:32 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
|
||||
|
@ -496,9 +496,10 @@ int proxy_read(int socknum, char *sockname) {
|
|||
#ifdef DEBUG
|
||||
log("OPSB proxy_read(): Got this: %s (%d)",buf, i);
|
||||
#endif
|
||||
/* we check if this might be a normal http server */
|
||||
strncat(sockdata->buf, buf, 1022);
|
||||
/* copy the recieved data onto the buf, but don't overwrite the buffer */
|
||||
strncat(sockdata->buf, buf, 2047 - strlen(sockdata->buf));
|
||||
|
||||
/* this is a ok HTTP server */
|
||||
if (strstr(sockdata->buf, "Method Not Allowed")) {
|
||||
#ifdef DEBUG
|
||||
log("closing socket %d due to ok HTTP server", socknum);
|
||||
|
|
Reference in a new issue