Date: Mon, 22 Mar 2010 12:03:21 +0000 From: Vincent Hoffman <vince@unsane.co.uk> To: Ghirai <ghirai@ghirai.com> Cc: Dan Naumov <dan.naumov@gmail.com>, freebsd-questions@freebsd.org Subject: Re: sftp server with speed throttling Message-ID: <4BA75C89.9040607@unsane.co.uk> In-Reply-To: <20100322135310.93d206ce.ghirai@ghirai.com> References: <cf9b1ee01003210653l668377b7lc9002ebc68ff063d@mail.gmail.com> <4BA67994.1000506@unsane.co.uk> <20100322135310.93d206ce.ghirai@ghirai.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 22/03/2010 11:53, Ghirai wrote: > On Sun, 21 Mar 2010 19:55:00 +0000 > Vincent Hoffman <vince@unsane.co.uk> wrote: > > >> On 21/03/2010 13:53, Dan Naumov wrote: >> >>> What are my options if I want to run an sftp server with speed >>> throttling? My understanding is that openssh (which includes sftp) >>> in base does not support this directly, so I would have to either >>> use a custom kernel with ALTQ (and I would really rather stick to >>> GENERIC so I can use freebsd-update) which sounds like a bit too >>> much configuration work or pass sftp traffic through PF and >>> throttle it (ugly, would also affect ssh traffic). >>> >>> Are there any sftp servers with directly built-in functionality for >>> this? I just would to be able to set limits for upload speed >>> globally for the entire server and preferably to also be able to do >>> speed settings on a per-user basis. >>> >>> >> A quick google indicates there are at least 2 sftp servers with this >> functionality, >> http://www.proftpd.org/docs/contrib/mod_sftp.html >> http://mysecureshell.sourceforge.net/en/index.html >> >> Proftpd with mod_sftp needs the proftp-devel port so I'm guessing its >> still in testing but at least its in ports. >> No idea about the mysecureshell program, its not in ports. >> >> I havent actually tried with of these so no idea how well they work, >> good luck. >> >> > I used pure-ftpd, and it's pretty awesome. > > http://www.pureftpd.org/project/pure-ftpd > Unfortunately pureftpd doesn't do sftp as far as I'm aware (it does do ftps/ftp with tls but thats not the same thing.) Vince
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BA75C89.9040607>