From owner-freebsd-questions@FreeBSD.ORG Sun Mar 21 13:53:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 374C9106564A; Sun, 21 Mar 2010 13:53:18 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from mail-bw0-f228.google.com (mail-bw0-f228.google.com [209.85.218.228]) by mx1.freebsd.org (Postfix) with ESMTP id 91E268FC13; Sun, 21 Mar 2010 13:53:17 +0000 (UTC) Received: by bwz28 with SMTP id 28so4151869bwz.14 for ; Sun, 21 Mar 2010 06:53:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=siMSZo5nr4uHTacpuKBtx27xPajaLbIp8OL6RyQiz90=; b=qTdX7h8J0O3m2jAiRWRmGNwymwAKuDiP1e10dh/m5zYa5Pw5wPiEbZYU65RkXTaW/j yEGXdkSRWdHKKH3JjGsXQqbkqr2KNYbEf1cbtBGJlny7vh0+s3UJonpQjoyQfH3Zdo1C A9OdumHKO0ZM+F1fyCKmj/dbgqytzg8ti27jk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=TJ255XjXE9mURjnifyOiQPn7dMOAM9aySEPrt48nd8d0SopuqseoCNXsTyGe1JyxIy 6DMOxhZhWP91JQS4zxV2hRizi3wgg7vaiR5Qd0VT3uqcDc+ju5hckUuPweS6d0Yg0DqG HrxfIeJyeViIwx71l5EAprS6j89+OEg1HRxFk= MIME-Version: 1.0 Received: by 10.204.131.85 with SMTP id w21mr3355485bks.174.1269179596110; Sun, 21 Mar 2010 06:53:16 -0700 (PDT) Date: Sun, 21 Mar 2010 15:53:16 +0200 Message-ID: From: Dan Naumov To: freebsd-questions@freebsd.org, freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: sftp server with speed throttling X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Mar 2010 13:53:18 -0000 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. Thanks. - Sincerely, Dan Naumov