- make work with fqdn
- bump PORTREVISION PR: ports/115210 Submitted by: Alex Keda <admin_AT_lissyara.su> Approved by: Jui-Nan Lin (maintainer), clsung (mentor)
This commit is contained in:
parent
909df45205
commit
5619909972
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=199704
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= sshit
|
||||
PORTVERSION= 0.6
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= http://anp.ath.cx/sshit/ \
|
||||
${MASTER_SITE_LOCAL}
|
||||
|
@ -1,11 +1,11 @@
|
||||
--- sshit.orig Sun Jul 1 22:13:45 2007
|
||||
+++ sshit Sun Jul 1 22:14:46 2007
|
||||
--- sshit.orig Sun Aug 5 10:56:39 2007
|
||||
+++ sshit Sun Aug 5 10:59:03 2007
|
||||
@@ -317,7 +317,7 @@
|
||||
|
||||
while (<>) {
|
||||
chomp;
|
||||
- if (/(failed|Invalid user) .*from (\d+\.\d+\.\d+\.\d+|[\da-fA-F:]+)/i ) { # IPv4 & IPv6
|
||||
+ if (/(failed|error|Invalid user) .*from (\d+\.\d+\.\d+\.\d+|[\da-fA-F:]+)/i ) { # IPv4 & IPv6
|
||||
+ if (/(failed|error|Invalid user) .*from (\d+\.\d+\.\d+\.\d+|([a-z-]+\.)+[a-z]{2,4}|[\da-fA-F:]+)/i ) { # IPv4 & IPv6
|
||||
$ip = $2;
|
||||
if ($list{$ip}{name}) {
|
||||
if ($list{$ip}{n} >= $MAX_COUNT) {
|
||||
|
Loading…
Reference in New Issue
Block a user