From f43ac25669a7b9368d9537eed2043a864a906303 Mon Sep 17 00:00:00 2001 From: Dirk Koopman Date: Tue, 28 Mar 2023 00:20:56 +0100 Subject: [PATCH] changed X & Y to 27 & 20 for cmd Dos protection --- Changes | 2 ++ perl/DXCommandmode.pm | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index 6cf31108..0049d7b0 100644 --- 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. diff --git a/perl/DXCommandmode.pm b/perl/DXCommandmode.pm index 567b9456..b3718721 100644 --- a/perl/DXCommandmode.pm +++ b/perl/DXCommandmode.pm @@ -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 -- 2.43.0