comparison options.h @ 996:47643024fc90

Disable non-delayed zlib for server
author Matt Johnston <matt@ucc.asn.au>
date Wed, 28 Jan 2015 21:38:27 +0800
parents 6fb4c010c448
children a1e79ffa5862
comparison
equal deleted inserted replaced
995:6fb4c010c448 996:47643024fc90
172 * interoperability) */ 172 * interoperability) */
173 #ifndef DROPBEAR_ZLIB_WINDOW_BITS 173 #ifndef DROPBEAR_ZLIB_WINDOW_BITS
174 #define DROPBEAR_ZLIB_WINDOW_BITS 15 174 #define DROPBEAR_ZLIB_WINDOW_BITS 15
175 #endif 175 #endif
176 176
177 /* Server won't allow zlib compression until after authentication. Prevents
178 flaws in the zlib library being unauthenticated exploitable flaws.
179 Some old ssh clients may not support the alternative [email protected] method */
180 #define DROPBEAR_SERVER_DELAY_ZLIB 1
181
177 /* Whether to do reverse DNS lookups. */ 182 /* Whether to do reverse DNS lookups. */
178 /*#define DO_HOST_LOOKUP */ 183 /*#define DO_HOST_LOOKUP */
179 184
180 /* Whether to print the message of the day (MOTD). This doesn't add much code 185 /* Whether to print the message of the day (MOTD). This doesn't add much code
181 * size */ 186 * size */