Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Mar 2010 13:53:10 +0200
From:      Ghirai <ghirai@ghirai.com>
To:        Vincent Hoffman <vince@unsane.co.uk>
Cc:        Dan Naumov <dan.naumov@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: sftp server with speed throttling
Message-ID:  <20100322135310.93d206ce.ghirai@ghirai.com>
In-Reply-To: <4BA67994.1000506@unsane.co.uk>
References:  <cf9b1ee01003210653l668377b7lc9002ebc68ff063d@mail.gmail.com> <4BA67994.1000506@unsane.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100322135310.93d206ce.ghirai>