From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 18 08:34:28 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 126D81065672 for ; Wed, 18 Feb 2009 08:34:28 +0000 (UTC) (envelope-from xorquewasp@googlemail.com) Received: from mail-ew0-f21.google.com (mail-ew0-f21.google.com [209.85.219.21]) by mx1.freebsd.org (Postfix) with ESMTP id 999A98FC1B for ; Wed, 18 Feb 2009 08:34:27 +0000 (UTC) (envelope-from xorquewasp@googlemail.com) Received: by ewy14 with SMTP id 14so2884743ewy.19 for ; Wed, 18 Feb 2009 00:34:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:subject :message-id:mime-version:content-type:content-disposition; bh=XDJPpLrk+0r70bT4WvUeU7Z2c2/r0UOfHVAicNOv7BA=; b=NrjpXre+kSSDUbEEGpHvYyyA4B/tiGZdwcidelWsx2CPga7y4oH577o2/gjEgCs1jX i+ex7+gyOFeVxJ+4KFPiYBfpveNR6q99aB83igvb6Bf7yQdXCj0ZHJra8iF58wKCEyo7 vRBiBB9CYH7pmliWZk+jF5WskhcFZuxKbEm7E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition; b=mg5ZMiYYEKHVX5X39VRCkZX6e5yRPzYG/klv3nKCnp47mFTVpSXrfrEX2Q0lK53lZx iuKEHeZKCh7UzgT5K5Q8f8qT9kOP6tBCkXISC9/hU+tIfqnchdFViXKgJ3rx735weIw2 LHARRyJm6ZzDoVvvWNMX3YwsUfkDBnlAAYr/8= Received: by 10.210.12.18 with SMTP id 18mr5019142ebl.110.1234946066730; Wed, 18 Feb 2009 00:34:26 -0800 (PST) Received: from logik.internal.network (81-86-41-187.dsl.pipex.com [81.86.41.187]) by mx.google.com with ESMTPS id 23sm12519292eya.36.2009.02.18.00.34.26 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 18 Feb 2009 00:34:26 -0800 (PST) Received: by logik.internal.network (Postfix, from userid 11001) id 50A2F5CA8; Wed, 18 Feb 2009 08:34:24 +0000 (UTC) Date: Wed, 18 Feb 2009 08:34:24 +0000 From: xorquewasp@googlemail.com To: freebsd-hackers@freebsd.org Message-ID: <20090218083424.GA62198@logik.internal.network> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: Simulating bad network conditions X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 08:34:28 -0000 Hello. I want to verify that a program I'm developing works correctly in poor network conditions (high latency, random packet loss, etc). I seem to remember reading something once about somebody simulating these conditions with PF but can't remember where. Anybody got any ideas about how I could go about doing this? Ideally it won't involve starting up a hundred large BitTorrent downloads and randomly ripping out network cables... thanks, xw