From: Sebastian Hahn Date: Sat, 15 Jan 2011 18:39:27 +0000 (+0100) Subject: Tighten accepted circwindow parameters X-Git-Tag: tor-0.2.2.21-alpha~1^2^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0df51a7f39599aa799fd91f12e13e404a490e603;p=thirdparty%2Ftor.git Tighten accepted circwindow parameters Based on discussion in bug 2317, these values seem to be sane. --- diff --git a/src/or/or.h b/src/or/or.h index acca61f7d3..22c8498b66 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -765,8 +765,8 @@ typedef enum { /** Initial value for both sides of a circuit transmission window when the * circuit is initialized. Measured in cells. */ #define CIRCWINDOW_START 1000 -#define CIRCWINDOW_START_MIN 1 -#define CIRCWINDOW_START_MAX 100000 +#define CIRCWINDOW_START_MIN 100 +#define CIRCWINDOW_START_MAX 1000 /** Amount to increment a circuit window when we get a circuit SENDME. */ #define CIRCWINDOW_INCREMENT 100 /** Initial value on both sides of a stream transmission window when the