From owner-freebsd-questions@FreeBSD.ORG Tue Jul 8 18:19:26 2008 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 CA8E9106566B for ; Tue, 8 Jul 2008 18:19:26 +0000 (UTC) (envelope-from mail@godfur.com) Received: from mail.el.net (mail.el.net [64.81.218.253]) by mx1.freebsd.org (Postfix) with ESMTP id 5D7ED8FC16 for ; Tue, 8 Jul 2008 18:19:26 +0000 (UTC) (envelope-from mail@godfur.com) Received: (qmail 7135 invoked by uid 1008); 8 Jul 2008 19:23:21 -0000 Received: from unknown (HELO kalins-macbook-pro.local) (kalin@el.net@74.1.12.115) by mail.el.net with ESMTPA; 8 Jul 2008 19:23:21 -0000 Message-ID: <4873AFAB.9050804@godfur.com> Date: Tue, 08 Jul 2008 14:19:23 -0400 From: kalin m User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: Matthew Seaman References: <4873927E.3050307@godfur.com> <44ej64s4e7.fsf@be-well.ilk.org> <48739EB6.4040909@infracaninophile.co.uk> In-Reply-To: <48739EB6.4040909@infracaninophile.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Lowell Gilbert , freebsd-questions@freebsd.org Subject: Re: ports 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: Tue, 08 Jul 2008 18:19:26 -0000 right.... named... thanks.... Matthew Seaman wrote: > Lowell Gilbert wrote: >> kalin m writes: >> >>> brand new install of freebsd 7. some httpd and named. >>> what are these? >> >> Use sockstat(1) to find out? >> >>> udp6 0 0 *.54168 *.* >>> udp4 0 0 *.54167 *.* > > Almost certainly named -- it appears to listen on a high numbered > UDP port, but all it is is the next /source/ port for an outgoing > UDP packet. You can configure named to always send packets using a > fixed port number (which can be helpful for firewalling) by: > > query-source address 12.34.56.78 port 53; > query-source-v6 address 1999:aaaa:bbbb:cccc::1 port 53; > transfer-source 12.34.56.78 port 53; > transfer-source-v6 1999:aaaa:bbbb:cccc::1 port 53; > notify-source 12.34.56.78 port 53; > notify-source-v6 1999:aaaa:bbbb:cccc::1 port 53; > > Cheers, > > Matthew >