changed X & Y to 27 & 20 for cmd Dos protection
authorDirk Koopman <djk@tobit.co.uk>
Mon, 27 Mar 2023 23:20:56 +0000 (00:20 +0100)
committerDirk Koopman <djk@tobit.co.uk>
Mon, 27 Mar 2023 23:20:56 +0000 (00:20 +0100)
Changes
perl/DXCommandmode.pm

diff --git a/Changes b/Changes
index 6cf311084844bb4801b37a4b398aae23cfd5e308..0049d7b06d630e039ead7aa9c1ec4d2f7f798405 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,3 +1,5 @@
+25Mar23=======================================================================
+1. Changed the default of X and Y (in item 2 below) to 27 and 20 respectively.
 24Mar23=======================================================================
 1. Restore perl regex version of is_ipaddr. This *should* allow windows 
    updates to work again.
index 567b94560589ccc25672aa10c46e444167b0bc74..b3718721c69a843fe947c8a06d0725f0f36c37dc 100644 (file)
@@ -65,8 +65,8 @@ $cmdimportdir = "$main::root/cmd_import"; # the base directory for importing com
 $users = 0;                                      # no of users on this node currently
 $maxusers = 0;                           # max no users on this node for this run
 $maxcmdlth = 512;                              # max length of incoming cmd line (including the command and any arguments
-$maxcmdcount = 16;                             # max no cmds entering $cmdinterval seconds
-$cmdinterval = 9;                              # if user enters more than $maxcmdcount in $cmdinterval seconds, they are logged off
+$maxcmdcount = 27;                             # max no cmds entering $cmdinterval seconds
+$cmdinterval = 20;                             # if user enters more than $maxcmdcount in $cmdinterval seconds, they are logged off
 
 #
 # obtain a new connection this is derived from dxchannel