From owner-freebsd-questions@FreeBSD.ORG Sat May 15 00:33:27 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 1A6FA106566C for ; Sat, 15 May 2010 00:33:27 +0000 (UTC) (envelope-from theultramage@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id 9BCEC8FC14 for ; Sat, 15 May 2010 00:33:26 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id l26so1465231fgb.13 for ; Fri, 14 May 2010 17:33:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:x-enigmail-version:content-type :content-transfer-encoding; bh=28QE6gCSl7MUj1U8glhkaCZtVrzE0zMqK+m0fkKbPwQ=; b=IcfLsT6uZ5RayHjMKjn3/D2vLYB/y9BPI4Qqd55TDnTZaZH6hK7RhP4iGGpdwHN2L9 mYQCsGpVVa9UTw3r840C0R8pzXRprE1yHK3XOniGiIJzgcTxM10eRQ/yp60FxRfAkKKx tbinbEoRpAzwFOj1EPHXiEwy+PKVPq8C6WPys= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:content-type:content-transfer-encoding; b=JSaYEQJcPkRbvVj8pDn4B7/CWfIP0VFtAq64aPCvDIYaV0eWN0mYdLwKtOZE2+vmtx eFLy+czKvK0T4NPejQwvCXFVMbA38ZtjKRjw1WYSY0DwJhD0yy2Z7gCxcPtsrSn0ekYg 5v0gavwcZFUXnlxZyKcMAyNytBTKyCMtNbajk= Received: by 10.87.66.15 with SMTP id t15mr3810183fgk.37.1273883605243; Fri, 14 May 2010 17:33:25 -0700 (PDT) Received: from [192.168.0.31] (217-75-87-8.chassco.swan.sk [217.75.87.8]) by mx.google.com with ESMTPS id 12sm4066381fks.20.2010.05.14.17.33.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 14 May 2010 17:33:24 -0700 (PDT) Message-ID: <4BEDEBC6.5000505@gmail.com> Date: Sat, 15 May 2010 02:33:10 +0200 From: umage User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: ipfw natd rules not loading on startup 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: Sat, 15 May 2010 00:33:27 -0000 I performed a kernel+world update of my freebsd router, RELENG_8 branch, apparently from the version 6 months ago to current. I use ipfw and a shell script that gets loaded at startup. I noticed after rebooting that ipfw did not load two rules, both of type "divert natd". However, if I run the script manually, or call it from the end of /etc/rc, it will add these rules as well. Currently I am using a workaround. I could not find any mention of warnings or errors in the logs. I couldn't find any way of making ipfw log errors. I tried piping my script's output to a file, but it did not say anything useful. Noone I asked knew what to do. I noticed that there has been a revamp of ipfw and its supporting scripts recently, so it's possible something broke along the way (for example, a missing rc dependency on natd?). Advice would be appreciated.