Branch: Tag:

2005-04-25

2005-04-25 08:50:17 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added option to disable support for commands from rfc2428.

Rev: server/base_server/global_variables.pike:1.95
Rev: server/protocols/ftp.pike:2.104

1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2004, Roxen IS. - // $Id: global_variables.pike,v 1.94 2004/08/19 14:19:37 grubba Exp $ + // $Id: global_variables.pike,v 1.95 2005/04/25 08:50:08 grubba Exp $      // #pragma strict_types   #define DEFVAR mixed...:object
101:    defvar( "passive_port_max", 65535, LOCALE(321, "Passive port maximum"),    TYPE_INT,    LOCALE(322, "Maximum port number to use in the PASV/EPSV response.")); +  +  defvar( "rfc2428_support", 1, LOCALE(0, "Support EPRT/EPSV"), +  TYPE_FLAG, +  LOCALE(0, "Enable support for the EPRT and EPSV commands (RFC2428)." +  "Some firewalls don't handle these commands properly, " +  "so depending on your network configuration you may need " +  "to disable them. "));   }