From owner-freebsd-questions@freebsd.org Tue Apr 12 13:59:46 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1FFDCB0C0EE for ; Tue, 12 Apr 2016 13:59:46 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9B35419DA for ; Tue, 12 Apr 2016 13:59:44 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id u3CDxXnR002129; Tue, 12 Apr 2016 23:59:33 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Tue, 12 Apr 2016 23:59:33 +1000 (EST) From: Ian Smith To: pete wright cc: freebsd-questions@freebsd.org, sathiyaraj v Subject: Re: DUMmYNet configuration In-Reply-To: Message-ID: <20160412234436.Q1139@sola.nimnet.asn.au> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2016 13:59:46 -0000 In freebsd-questions Digest, Vol 619, Issue 2, Message: 5 On Mon, 11 Apr 2016 10:13:53 -0700 pete wright wrote: > On Mon, Apr 11, 2016 at 9:23 AM, sathiyaraj v wrote: > > Hi team, > > > > I am new to FreeBSD. I want to understand the DUMMYNET concept. How > > firewall rules can be applied using dummynet? Is there any socket necessary > > to apply the firewall rules? How the rules work internally? Can you please > > help me to understand? > > > reading the available documentation is probably the best first step. > > http://info.iet.unipi.it/~luigi/dummynet/ Yes, that's the best introduction to the concepts, however configuration information is consolidated in ipfw(8) (ie, man ipfw) where dummynet has its own chapter and some practical examples. Probably best to subscribe to the freebsd-ipfw@freebsd.org list, and hunt through its archives, for a deeper exploration or more questions. As for how it works internally, you really have to dive into sources. cheers, Ian