From d72e6687675da21e7a4d60604151bbf9d5be1a50 Mon Sep 17 00:00:00 2001 From: rofl0r Date: Tue, 24 Apr 2012 01:48:17 +0200 Subject: [PATCH] use sane defaults --- src/core.h | 2 +- src/libproxychains.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core.h b/src/core.h index 8fc00db..2a1d49d 100644 --- a/src/core.h +++ b/src/core.h @@ -18,7 +18,7 @@ #ifndef __CORE_HEADER #define __CORE_HEADER #define BUFF_SIZE 8*1024 // used to read responses from proxies. -#define MAX_LOCALNET 1024 +#define MAX_LOCALNET 64 typedef union { unsigned char octet[4]; diff --git a/src/libproxychains.c b/src/libproxychains.c index 8a0bf6d..52f7cf2 100644 --- a/src/libproxychains.c +++ b/src/libproxychains.c @@ -41,7 +41,7 @@ #define SOCKADDR_2(x) (satosin(x)->sin_addr) #define SOCKPORT(x) (satosin(x)->sin_port) #define SOCKFAMILY(x) (satosin(x)->sin_family) -#define MAX_CHAIN 30*1024 +#define MAX_CHAIN 512 int tcp_read_time_out; int tcp_connect_time_out;