Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Warden
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pavel Valach
Warden
Commits
932d12bf
You need to sign in or sign up before continuing.
Commit
932d12bf
authored
12 years ago
by
Tomáš Plesník
Browse files
Options
Downloads
Patches
Plain Diff
oprava validacnich podminek
parent
f7bf0fb3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/warden-server/lib/Warden.pm
+4
-4
4 additions, 4 deletions
src/warden-server/lib/Warden.pm
with
4 additions
and
4 deletions
src/warden-server/lib/Warden.pm
+
4
−
4
View file @
932d12bf
...
...
@@ -222,19 +222,19 @@ sub saveNewEvent
sendMsg
("
err
",
"
Unknown detected time format - client from: '
$ip
'; CN(AN):
$alt_names
; used detected: '
$detected
'
",
"
Unknown detected time format '
$detected
'
");
}
elsif
(
$target_port
!~
/^\d+\z/
||
!
defined
$target_port
)
{
}
elsif
(
$target_port
!~
/^\d+\z/
&&
defined
$target_port
)
{
sendMsg
("
err
",
"
Unknown target port - client from: '
$ip
'; CN(AN):
$alt_names
; used target_port: '
$target_port
'
",
"
Unknown target port '
$target_port
'
");
}
elsif
(
$attack_scale
!~
/^\d+\z/
||
!
defined
$attack_scale
)
{
}
elsif
(
$attack_scale
!~
/^\d+\z/
&&
defined
$attack_scale
)
{
sendMsg
("
err
",
"
Unknown attack scale - client from: '
$ip
'; CN(AN):
$alt_names
; used attack_scale: '
$attack_scale
'
",
"
Unknown attack scale '
$attack_scale
'
");
}
elsif
(
$priority
!~
/^\d+\z/
||
!
defined
$priority
)
{
}
elsif
(
$priority
!~
/^\d+\z/
&&
defined
$priority
)
{
sendMsg
("
err
",
"
Unknown priority - client from: '
$ip
'; CN(AN):
$alt_names
; used priority: '
$priority
'
",
"
Unknown priority '
$priority
'
");
}
elsif
(
$timeout
!~
/^\d+\z/
||
!
defined
$timeout
)
{
}
elsif
(
$timeout
!~
/^\d+\z/
&&
defined
$timeout
)
{
sendMsg
("
err
",
"
Unknown timeout - client from: '
$ip
'; CN(AN):
$alt_names
; used timeout: '
$timeout
'
",
"
Unknown timeout '
$timeout
'
");
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment