<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.frotmail.nl/index.php?action=history&amp;feed=atom&amp;title=Bruteforce_SSH</id>
	<title>Bruteforce SSH - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.frotmail.nl/index.php?action=history&amp;feed=atom&amp;title=Bruteforce_SSH"/>
	<link rel="alternate" type="text/html" href="https://wiki.frotmail.nl/index.php?title=Bruteforce_SSH&amp;action=history"/>
	<updated>2026-04-05T13:33:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.frotmail.nl/index.php?title=Bruteforce_SSH&amp;diff=59&amp;oldid=prev</id>
		<title>Eric: Created page with &quot;Onderstaand script beperkt het aantal nieuwe ssh connecties per host tot 1 per 15 sec Iedere keer dat hij een host blokkeerd moet hij opnieuw 15 sec wachten   # Change the value of external_if to the name of your Internet-facing interface!  external_if=eth1    /sbin/iptables --new-chain sshthrottle    /sbin/iptables --append sshthrottle \         --match recent --update --seconds 15 --name sshthrottlelog \         --jump DROP     /sbin/iptables --append sshthrottle \...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.frotmail.nl/index.php?title=Bruteforce_SSH&amp;diff=59&amp;oldid=prev"/>
		<updated>2022-04-05T09:18:05Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Onderstaand script beperkt het aantal nieuwe ssh connecties per host tot 1 per 15 sec Iedere keer dat hij een host blokkeerd moet hij opnieuw 15 sec wachten   # Change the value of external_if to the name of your Internet-facing interface!  external_if=eth1    /sbin/iptables --new-chain sshthrottle    /sbin/iptables --append sshthrottle \         --match recent --update --seconds 15 --name sshthrottlelog \         --jump DROP     /sbin/iptables --append sshthrottle \...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Onderstaand script beperkt het aantal nieuwe ssh connecties per host tot 1 per 15 sec&lt;br /&gt;
Iedere keer dat hij een host blokkeerd moet hij opnieuw 15 sec wachten&lt;br /&gt;
&lt;br /&gt;
 # Change the value of external_if to the name of your Internet-facing interface!&lt;br /&gt;
 external_if=eth1&lt;br /&gt;
 &lt;br /&gt;
 /sbin/iptables --new-chain sshthrottle&lt;br /&gt;
 &lt;br /&gt;
 /sbin/iptables --append sshthrottle \&lt;br /&gt;
        --match recent --update --seconds 15 --name sshthrottlelog \&lt;br /&gt;
        --jump DROP&lt;br /&gt;
  &lt;br /&gt;
 /sbin/iptables --append sshthrottle \&lt;br /&gt;
        --match recent --set --name sshthrottlelog \&lt;br /&gt;
        --jump LOG --log-prefix &amp;quot;ssh connection stifled &amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 /sbin/iptables --append sshthrottle --jump DROP&lt;br /&gt;
 &lt;br /&gt;
 /sbin/iptables --append INPUT --in-interface $external_if \&lt;br /&gt;
        --protocol tcp --destination-port 22 \&lt;br /&gt;
        --match state --state NEW \&lt;br /&gt;
        --match recent --update --seconds 15 --name sshthrottle \&lt;br /&gt;
        --jump sshthrottle&lt;br /&gt;
 &lt;br /&gt;
 /sbin/iptables --append INPUT --in-interface $external_if \&lt;br /&gt;
        --protocol tcp --destination-port 22 \&lt;br /&gt;
        --match state --state NEW \&lt;br /&gt;
        --match recent --set --name sshthrottle \&lt;br /&gt;
        --jump ACCEPT&lt;br /&gt;
&lt;br /&gt;
[http://dlgwiki.dot42.org/index.php/Blocking_ssh_brute_force_attacks_with_iptables]&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux]]&lt;/div&gt;</summary>
		<author><name>Eric</name></author>
	</entry>
</feed>