From owner-freebsd-stable@FreeBSD.ORG Sun Jul 3 06:05:49 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC15516A41C for ; Sun, 3 Jul 2005 06:05:48 +0000 (GMT) (envelope-from smartweb@leadhill.net) Received: from natco8.natcotech.com (natco8.natcotech.com [205.167.142.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B0A643D46 for ; Sun, 3 Jul 2005 06:05:48 +0000 (GMT) (envelope-from smartweb@leadhill.net) Received: from localhost (int9.natcotech.com [192.168.1.9]) by natco8.natcotech.com (Postfix) with ESMTP id 7319D298096 for ; Sun, 3 Jul 2005 00:04:45 -0500 (CDT) Received: from natco8.natcotech.com ([192.168.1.8]) by localhost (natco9 [192.168.1.9]) (amavisd-new, port 10024) with LMTP id 04118-01-17 for ; Sun, 3 Jul 2005 00:04:45 -0500 (CDT) Received: from ibm.nlcc.us (ldhl-ras1-dial-12-28-24-226.natcotech.com [12.28.24.226]) by natco8.natcotech.com (Postfix) with ESMTP id 3910E29805A for ; Sun, 3 Jul 2005 00:04:44 -0500 (CDT) Received: (qmail 64144 invoked by uid 89); 3 Jul 2005 05:04:43 -0000 Received: from unknown (HELO ?192.168.0.2?) (billy@192.168.0.2) by ibm.nlcc.us with SMTP; 3 Jul 2005 05:04:43 -0000 Message-ID: <42C771F1.5020509@leadhill.net> Date: Sun, 03 Jul 2005 00:04:49 -0500 From: Billy Newsom User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Hans Lambermont , FreeBSD Stable References: <42C6F7E1.4060704@leadhill.net> <20050702204257.GA2844@leia.lambermont.dyndns.org> In-Reply-To: <20050702204257.GA2844@leia.lambermont.dyndns.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at natco9.natcotech.com Cc: Subject: Re: rcorder for FreeBSD 5.3? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jul 2005 06:05:49 -0000 Hans Lambermont wrote: > Billy Newsom wrote: > > >>Does anyone have FreeBSD 5.3 installed (preferably a version compiled >>before March 2005) > > > FreeBSD 5.3-RELEASE #3: Sun Dec 19 14:54:18 CET 2004 > > >>What is the output for this command under FreeBSD 5.3? >>sh -c "cd /etc/rc.d ; rcorder -s nostart * 2>/dev/null" > > > preseedrandom > initdiskless > rcconf.sh > initrandom > dumpon > vinum > gbde_swap > gbde > ccd > swap1 > early.sh > fsck > root > mountcritlocal > ipfilter > var > cleanvar > addswap > sysctl > hostname > ipmon > random > adjkerntz > atm1 > ipnat > ipfs > kldxref > sppp > serial > pccard > netif > isdnd > ppp-user > ipfw > dhclient > nsswitch > ip6addrctl > atm2 > routing > ip6fw > network_ipv6 > mroute6d > route6d > mrouted > routed > NETWORKING > devd > mountcritremote > lomac > syslogd > savecore > SERVERS > named > ntpdate > rpcbind > nisdomain > ypxfrd > ypserv > ypupdated > ypbind > ypset > yppasswdd > accounting > nfsclient > amd > atm3 > tmp > cleartmp > dmesg > ike > ipsec > ipxrouted > kerberos > kadmind > keyserv > kpasswdd > ldconfig > quota > nfsserver > mountd > nfsd > nfslocking > pflog > pf > pppoed > pwcheck > virecover > DAEMON > watchdogd > usbd > ugidfw > timed > apm > apmd > bootparams > local > lpd > motd > ntpd > rarpd > rtadvd > rwho > LOGIN > syscons > sshd > sendmail > archdep > abi > cron > devfs > jail > localpkg > netoptions > securelevel > resolv > pcvt > othermta > msgs > moused > mixer > inetd > bgfsck > > -- Hans Hmm. That's interesting. Thanks. Here's a diff I ran on the two outputs. Notice that the ipfilter script is in a different spot, but just barely. Although I was trying to make something of the situation, I don't immediately see how it can make a big difference. I was really trying to see if/how ipnat would stop working (at least immediately after reboot) until I flushed and reloaded ipnat. #diff -u 53.txt 54.txt --- 53.txt Sat Jul 2 23:05:19 2005 +++ 54.txt Sat Jul 2 23:06:17 2005 @@ -12,9 +12,9 @@ fsck root mountcritlocal -ipfilter var cleanvar +ipfilter addswap sysctl hostname @@ -95,6 +95,7 @@ bootparams local lpd +mixer motd ntpd rarpd @@ -117,6 +118,5 @@ othermta msgs moused -mixer inetd bgfsck Anyhow, I don't see what bearing any of this would have on ipnat mysteriously stop working for me. The only thing I see is that I might have at some point started using interface renaming. The only thing I can figure at this point by looking into this is that when I edited ipnat.rules, I used my renamed interfaces, just as I did in ipf.rules. What I see in the rcorder outputs is that /etc/rc.d/netif comes after /etc/rc.d/ipnat. In other words, perhaps my interface names in my ipnat.rules file is being loaded during bootup *before* those interface names exist! If so, ipnat would act weirdly, perhaps. One of the routines run by /etc/rc.d/netif on line 69 is /etc/rc.d/ipfilter resync which seems to resync ipfilter, but not ipnat. What I see is that it seems like renaming interfaces *might* have broken ipnat. And that might explain why I have to manually run "/sbin/ipnat -CF -f /etc/ipnat.rules" after every boot. I think I will script this, and watch the output of ipnat -l. As far as I know, ipnat was supposed to work fine with renamed interfaces, but maybe not.... dunno. Billy