[Wicket-user] Prevent Brute Force and the like

2006-11-06 Thread Johannes Fahrenkrug
Hi! I'd like to prevent brute force attacks on the login page of my wicket application. What would be the best approach? This is what I'm thinking about doing: Record when the last request for the loginpage from a certain IP came in and only handle the request when at least a second or two

Re: [Wicket-user] Prevent Brute Force and the like

2006-11-06 Thread Korbinian Bachl
An: wicket-user@lists.sourceforge.net Betreff: [Wicket-user] Prevent Brute Force and the like Hi! I'd like to prevent brute force attacks on the login page of my wicket application. What would be the best approach? This is what I'm thinking about doing: Record when the last request

Re: [Wicket-user] Prevent Brute Force and the like

2006-11-06 Thread Johannes Fahrenkrug
An: wicket-user@lists.sourceforge.net Betreff: [Wicket-user] Prevent Brute Force and the like Hi! I'd like to prevent brute force attacks on the login page of my wicket application. What would be the best approach? This is what I'm thinking about doing: Record when the last request

Re: [Wicket-user] Prevent Brute Force and the like

2006-11-06 Thread Erik van Oosten
be solution of choice here. Regards Korbinian -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Johannes Fahrenkrug Gesendet: Montag, 6. November 2006 14:01 An: wicket-user@lists.sourceforge.net Betreff: [Wicket-user] Prevent Brute Force

Re: [Wicket-user] Prevent Brute Force and the like

2006-11-06 Thread Rüdiger Schulz
Hello Johannes, that's a good topic you've got here... I agree to Korbinian that locking out IPs is a bad idea. One could extend that to the combination of username/IP, but that could be worked around with a more sofisticated script. What do you think about logging false logins on a per-user

Re: [Wicket-user] Prevent Brute Force and the like

2006-11-06 Thread Johan Compagner
isn't this more the responsibility for the hardware/software that runs wicket?So Apache or WebLogic itself? That does the throttling?I wouldn't try to solve this in a webapplication. johan On 11/6/06, Johannes Fahrenkrug [EMAIL PROTECTED] wrote: Hi!I'd like to prevent brute force attacks on the

Re: [Wicket-user] Prevent Brute Force and the like

2006-11-06 Thread Pierre-Yves Saumont
here. Regards Korbinian -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Johannes Fahrenkrug Gesendet: Montag, 6. November 2006 14:01 An: wicket-user@lists.sourceforge.net Betreff: [Wicket-user] Prevent Brute Force and the like

Re: [Wicket-user] Prevent Brute Force and the like

2006-11-06 Thread Johannes Fahrenkrug
I guess that depends... I think you have to let the webapplication handle it if you want to prevent brute force dictionary attacks on the login page only. Especially if you want to do this on a per username basis or even use captchas (thanks Pierre-Yves). I don't think the hardware or the

Re: [Wicket-user] Prevent Brute Force and the like

2006-11-06 Thread Alexandre Bairos
-Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] Im Auftrag von Johannes Fahrenkrug Gesendet: Montag, 6. November 2006 14:01 An: wicket-user@lists.sourceforge.net Betreff: [Wicket-user] Prevent Brute Force and the like Hi! I'd like to prevent brute force attacks

Re: [Wicket-user] Prevent Brute Force and the like

2006-11-06 Thread Johannes Fahrenkrug
Hello Rüdiger, What do you think about logging false logins on a per-user basis, and delay the response after the first false attempt by a couple of seconds until another valid login for that user happened? I think the Linux shell login works like that. That's not a bad idea... that would

Re: [Wicket-user] Prevent Brute Force and the like

2006-11-06 Thread Korbinian Bachl
PROTECTED] Im Auftrag von Pierre-Yves Saumont Gesendet: Montag, 6. November 2006 15:56 An: wicket-user@lists.sourceforge.net Betreff: Re: [Wicket-user] Prevent Brute Force and the like Could you please explain cachapta / provide a link to an article? I suppose he means captcha. You should

Re: [Wicket-user] Prevent Brute Force and the like

2006-11-06 Thread Korbinian Bachl
PROTECTED] Im Auftrag von Korbinian Bachl Gesendet: Montag, 6. November 2006 16:20 An: [EMAIL PROTECTED]; wicket-user@lists.sourceforge.net Betreff: Re: [Wicket-user] Prevent Brute Force and the like emm.. yes i meant captcha - look here for a working wicket example as well as source-code: http

Re: [Wicket-user] Prevent Brute Force and the like

2006-11-06 Thread Erik van Oosten
Disadvantage is that the server will keep the request processing thread occupied during the waiting period. A brute force attach that fires multiple requests simultaneously will not be stopped by this and will bring the server to its knees even more quickly. So Johan was right, you should not

Re: [Wicket-user] Prevent Brute Force and the like

2006-11-06 Thread Johannes Fahrenkrug
Erik, Disadvantage is that the server will keep the request processing thread occupied during the waiting period. A brute force attach that fires multiple requests simultaneously will not be stopped by this and will bring the server to its knees even more quickly. So Johan was right, you