summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/network/ifw.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/network/ifw.pm b/lib/network/ifw.pm
index 44f58da..1148605 100644
--- a/lib/network/ifw.pm
+++ b/lib/network/ifw.pm
@@ -129,11 +129,13 @@ sub attack_to_hash {
$attack->{prefix} eq 'SCAN' ? N("Port scanning")
: $attack->{prefix} eq 'SERV' ? N("Service attack")
: $attack->{prefix} eq 'PASS' ? N("Password cracking")
+ : $attack->{prefix} eq 'NEW' ? N("New connection")
: N(qq("%s" attack), $attack->{prefix});
$attack->{msg} =
$attack->{prefix} eq "SCAN" ? N("A port scanning attack has been attempted by %s.", $attack->{hostname})
: $attack->{prefix} eq "SERV" ? N("The %s service has been attacked by %s.", $attack->{service}, $attack->{hostname})
: $attack->{prefix} eq "PASS" ? N("A password cracking attack has been attempted by %s.", $attack->{hostname})
+ : $attack->{prefix} eq "NEW" ? N("%s is connecting on the %s service.", $attack->{hostname}, $attack->{service})
: N(qq(A "%s" attack has been attempted by %s), $attack->{prefix}, $attack->{hostname});
$attack;
}