projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
a13f69c
)
changed X & Y to 27 & 20 for cmd Dos protection
author
Dirk Koopman
<djk@tobit.co.uk>
Mon, 27 Mar 2023 23:20:56 +0000
(
00:20
+0100)
committer
Dirk Koopman
<djk@tobit.co.uk>
Mon, 27 Mar 2023 23:20:56 +0000
(
00:20
+0100)
Changes
patch
|
blob
|
history
perl/DXCommandmode.pm
patch
|
blob
|
history
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.
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 567b94560589ccc25672aa10c46e444167b0bc74..b3718721c69a843fe947c8a06d0725f0f36c37dc 100644
(file)
--- 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
$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
#
# obtain a new connection this is derived from dxchannel