Re: limit number of ssh connections

2011-09-19 Thread Damien Fleuriot
Again if your goal is to protect against attacks, you might want to look at sshguard from the ports. Otherwise I believe there's a sshd_config directive to limit the number of concurrent connections from a single source IP On 19 Sep 2011, at 22:02, James Strother jstrother9...@gmail.com wrote:

Re: limit number of ssh connections

2011-09-19 Thread Paul Macdonald
2011/9/19 Григорьев Александр mr.fes...@yandex.ru: If your target is protect freebsd box from bruting passwords from inet maybe security/knockd will help you? 19.09.2011, 23:05, James Strotherjstrother9...@gmail.com: Does anyone know a good way of limiting the number of ssh attempts from a

Re: limit number of ssh connections

2011-09-19 Thread Григорьев Александр
Standard inetd(8) has many options including limiting connections based on IP-address. Can it help in this case? 20.09.2011, 00:02, James Strother jstrother9...@gmail.com: That's an interesting project, I hadn't realized port knocking had become so easy to use. Unfortunately, for this

Re: limit number of ssh connections

2011-09-19 Thread James Strother
Wow, I'm glad I asked. This has been very helpful. @Григорьев Александр Thanks for the tip on inetd, that looks like it might just do the trick. @Paul Macdonald My main reason for looking into this was glancing through the logs on a server I just put online and seeing large numbers of

Re: limit number of ssh connections

2011-09-19 Thread Tim Daneliuk
On 9/19/2011 2:05 PM, James Strother wrote: Does anyone know a good way of limiting the number of ssh attempts from a single IP address? I found the following website, which describes a variety of approaches: http://www.freebsdwiki.net/index.php/Block_repeated_illegal_or_failed_SSH_logins

RE: limit number of ssh connections

2011-09-19 Thread Matt Emmerton
Strother Sent: Monday, September 19, 2011 5:47 PM To: freebsd-questions@freebsd.org Subject: Re: limit number of ssh connections Wow, I'm glad I asked. This has been very helpful. @Григорьев Александр Thanks for the tip on inetd, that looks like it might just do the trick. @Paul Macdonald My main

Re: limit number of ssh connections

2011-09-19 Thread suxor
Does anyone know a good way of limiting the number of ssh attempts from a single IP address? I found the following website, which describes a variety of approaches: http://www.freebsdwiki.net/index.php/Block_repeated_illegal_or_failed_SSH_logins But I am honestly not really happy

Re: limit number of ssh connections

2011-09-19 Thread Randal L. Schwartz
Григорьев == Григорьев Александр mr.fes...@yandex.ru writes: Григорьев If your target is protect freebsd box from bruting passwords Григорьев from inet maybe security/knockd will help you? Portknocking adds only a dozen bits or so to your password. Do you really think it helps to go from a

Re: limit number of ssh connections

2011-09-19 Thread Randal L. Schwartz
Paul == Paul Macdonald p...@ifdnrg.com writes: Paul in my experience running ssh on a high port cuts the amount of unwanted ssh Paul connections to approximately zero, in fact i got a surprise when seeing a sec Paul log from a box which i hadn't done this for I run sshd on 443 (for

Re: limit number of ssh connections

2011-09-19 Thread Chad Perrin
On Mon, Sep 19, 2011 at 05:11:28PM -0700, Randal L. Schwartz wrote: Григорьев == Григорьев Александр mr.fes...@yandex.ru writes: Григорьев If your target is protect freebsd box from bruting passwords Григорьев from inet maybe security/knockd will help you? Portknocking adds only a dozen

Re: limit number of ssh connections

2011-09-19 Thread Robert Bonomi
From owner-freebsd-questi...@freebsd.org Mon Sep 19 19:12:32 2011 From: mer...@stonehenge.com (Randal L. Schwartz) To: Paul Macdonald p...@ifdnrg.com Date: Mon, 19 Sep 2011 17:12:14 -0700 Cc: James Strother jstrother9...@gmail.com, freebsd-questions@freebsd.org Subject: Re: limit number