| To: | <netfilter@lists.netfilter.org> |
|---|---|
| Subject: | SSHBrute Force: False Postives |
| From: | "Dominic Caputo" <jec6jec6@gmail.com> |
| Date: | Thu, 1 Feb 2007 13:28:09 +1100 |
| Delivered-to: | sp-com-lists@consult.net |
| Delivered-to: | netfilter-list1@securepoint.com |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:from:to:subject:date:mime-version:content-type:content-transfer-encoding:x-priority:x-msmail-priority:x-mailer:x-mimeole; b=dAmcV1i2KecieJekn1gMzhDmHxU0GgBJP8hiMCG7fh69aq0B4+7LIJWbzjfxrxIv30OM7sJsbcovZtwN3riz/nzd+9W4XedJJzfMVDtNQWdvqXSiYp/fic7K1XNI9jKQTAWSaZDfUlanAfjRF/dwmUclaSS/G5poqBKCesDXMEI= |
| List-archive: | </pipermail/netfilter> |
| List-help: | <mailto:netfilter-request@lists.netfilter.org?subject=help> |
| List-id: | General discussion and user questions <netfilter.lists.netfilter.org> |
| List-post: | <mailto:netfilter@lists.netfilter.org> |
| List-subscribe: | <https://lists.netfilter.org/mailman/listinfo/netfilter>, <mailto:netfilter-request@lists.netfilter.org?subject=subscribe> |
| List-unsubscribe: | <https://lists.netfilter.org/mailman/listinfo/netfilter>, <mailto:netfilter-request@lists.netfilter.org?subject=unsubscribe> |
| Sender: | netfilter-bounces@lists.netfilter.org |
I have been reading up on iptables and i am by no means an expert but i have
a problem with SSH brute force attacks on port 22. I am currently using the
config below to minimise these threats but i am constantly getting false
positives (logs actually say that my connection has been flagged as a brute
force connection even on the on the first attempt-but then on others it
connects first time with no problems)
#SSH Brute-Force Scan Check $IPTABLES -N SSH_Brute_Force$IPTABLES -A INPUT -p tcp --dport 22 -m state --state NEW -m recent --name SSH --set --rsource -j SSH_Brute_Force $IPTABLES -A SSH_Brute_Force -m recent ! --rcheck --seconds 60 --hitcount 4 --name SSH --rsource -j ACCEPT $IPTABLES -A SSH_Brute_Force -j LOG --log-level info --log-prefix "SSH Brute Force Attempt: " $IPTABLES -A SSH_Brute_Force -p tcp -j DROP Any help with this problem would be great Dominic |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Connect to localhost bound port from outside?, Grant Taylor |
|---|---|
| Next by Date: | Re: SSHBrute Force: False Postives, Lpct |
| Previous by Thread: | nfnl_listen: recvmsg overrun: No buffer space available" in nfct_event_conntrack() call, Павел Коколемин |
| Next by Thread: | Re: SSHBrute Force: False Postives, Lpct |
| Indexes: | [Date] [Thread] [Top] [All Lists] |