<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>block login for a given time span after x failed logins</title> 
  <pubDate>Fri, 10 Apr 2026 15:00:39 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/3474</link> 
  <atom:link rel="self" type="application/rss+xml" title="block login for a given time span after x failed logins" href="https://bugs.horde.org/ticket/3474/rss" /> 
  <description>block login for a given time span after x failed logins</description> 
 
   
   
  <item> 
   <title>Hi,



the attached patch adds support for blocking the logi</title> 
   <description>Hi,



the attached patch adds support for blocking the login after a given number of failed logins. That&#039;s very usefull to make brute force attacks more difficult when your horde is available to the internet.



Ciao,

Tobias</description> 
   <pubDate>Tue, 14 Feb 2006 10:33:34 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3474#t16731</link> 
  </item> 
   
  <item> 
   <title>Since this is a Kolab only feature (for now), please don&#039;t c</title> 
   <description>Since this is a Kolab only feature (for now), please don&#039;t create a new AUTH_REASON, but use AUTH_REASON_MESSAGE instead.

Also, there are a few coding standards missing: if-clauses alway go with curly braces; parentheses don&#039;t have padding spaces inside.

And maye you could use the History class instead, that might reduce the code.</description> 
   <pubDate>Tue, 14 Feb 2006 15:41:34 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3474#t16739</link> 
  </item> 
   
  <item> 
   <title>Hi,



thanks for the comments, attached is the new version </title> 
   <description>Hi,



thanks for the comments, attached is the new version of this patch.



Ciao,

Tobias</description> 
   <pubDate>Thu, 16 Feb 2006 12:35:01 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3474#t16854</link> 
  </item> 
   
  <item> 
   <title>A few more comments:

- The patch to conf.xml is missing

- </title> 
   <description>A few more comments:

- The patch to conf.xml is missing

- You assign $history_data, but never use it

- You loop through $history_log-&gt;getData() but overwrite $history_list each time inside the loop

- You could use getByTimestamp()  to get the number of failed logins during the configured time span in one go

- You never delete the history entries (when you have successful logins), which will fill up the history table with every failed login</description> 
   <pubDate>Thu, 16 Feb 2006 13:27:18 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3474#t16857</link> 
  </item> 
   
  <item> 
   <title>Hi,



here is the third revision ;)



&gt; A few more comment</title> 
   <description>Hi,



here is the third revision ;)



&gt; A few more comments:

&gt; - The patch to conf.xml is missing

fixed



&gt; - You assign $history_data, but never use it

fixed



&gt; - You loop through $history_log-&gt;getData() but overwrite 

&gt; $history_list each time inside the loop

using array_shift now



&gt; - You could use getByTimestamp()  to get the number of failed logins 

&gt; during the configured time span in one go

To complicated, left the code as it is



&gt; - You never delete the history entries (when you have successful 

&gt; logins), which will fill up the history table with every failed login

Only the relevant timestamps are copied into $new_login_history, so

the history will always be around 5 entries, not more.



Ciao,

Tobias

</description> 
   <pubDate>Tue, 21 Feb 2006 11:02:58 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3474#t16981</link> 
  </item> 
   
  <item> 
   <title>&gt; Hi,

Hi again,



sorry for the noise but i noticed a bug </title> 
   <description>&gt; Hi,

Hi again,



sorry for the noise but i noticed a bug in my previous patch.



No it checks for an empty history as well.



</description> 
   <pubDate>Tue, 21 Feb 2006 12:11:54 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3474#t16984</link> 
  </item> 
   
  <item> 
   <title>Committed, thanks.</title> 
   <description>Committed, thanks.</description> 
   <pubDate>Wed, 22 Feb 2006 18:35:06 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3474#t17033</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
