From owner-freebsd-net@FreeBSD.ORG Sun Mar 21 19:55:03 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB880106566C; Sun, 21 Mar 2010 19:55:03 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id F2FD68FC08; Sun, 21 Mar 2010 19:55:02 +0000 (UTC) Received: from vhoffman-macbook.local ([10.0.0.173]) (authenticated bits=0) by unsane.co.uk (8.14.3/8.14.3) with ESMTP id o2LJt0Vm045536 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 21 Mar 2010 19:55:01 GMT (envelope-from vince@unsane.co.uk) Message-ID: <4BA67994.1000506@unsane.co.uk> Date: Sun, 21 Mar 2010 19:55:00 +0000 From: Vincent Hoffman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: Dan Naumov References: In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@freebsd.org, freebsd-questions@freebsd.org Subject: Re: sftp server with speed throttling X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Mar 2010 19:55:03 -0000 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. Vince > Thanks. > > - Sincerely, > Dan Naumov > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >