From owner-freebsd-questions@FreeBSD.ORG Wed Jul 2 19:19:19 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBE6B37B404 for ; Wed, 2 Jul 2003 19:19:19 -0700 (PDT) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8865843FCB for ; Wed, 2 Jul 2003 19:19:18 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (be-well.no-ip.com[24.147.188.198]) by comcast.net (sccrmhc11) with ESMTP id <2003070302191701100h7rlme>; Thu, 3 Jul 2003 02:19:17 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198] (may be forged)) by be-well.ilk.org (8.12.9/8.12.9) with ESMTP id h632JGsi049396 for ; Wed, 2 Jul 2003 22:19:16 -0400 (EDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.9/8.12.6/Submit) id h632JGjX049393; Wed, 2 Jul 2003 22:19:16 -0400 (EDT) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f Sender: lowell@be-well.no-ip.com To: freebsd-questions@freebsd.org References: <20030702220602.GF6061@kongemord.krig.net> From: Lowell Gilbert Date: 02 Jul 2003 22:19:16 -0400 In-Reply-To: <20030702220602.GF6061@kongemord.krig.net> Message-ID: <44smpo5p3v.fsf@be-well.ilk.org> Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: dhclient X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2003 02:19:20 -0000 "Bob Hall" writes: > I'm getting the following message: > dhclient: send_packet: Permission denied > I thought this was being caused by my firewall, but I made > some changes and I'm still getting the message. Being > wholly ignorant about this message, I'm assuming that > dhclient is trying to send a packet to my ISP's DHCP server, > and something is blocking it. I'm further assuming that > my firewall is doing the blocking, and my ignorance is > preventing me from finding a solution. Can someone tell me > if my assumptions are correct, or correct them? You're doing fine. > The firewall is ipfw with the SIMPLE option. The modifications > to the firewall script for DHCP were > # Accept bootps (dhcp): > ${fwcmd} add allow udp from ${oip}/32 68 to 0.0.0.0/0 67 out > ${fwcmd} add allow udp from 0.0.0.0/0 67 to ${oip}/32 68 in That doesn't make any sense. How about: ${fwcmd} add allow udp from any to any bootps keep-state out via ${oif} You don't have an IP address yet, so you can't put an IP address into the rule, and the all-zeros address would be what *your* machine is using. You don't know the address of the server, so you have to leave that unspecified.