From owner-freebsd-questions@FreeBSD.ORG Mon Jun 4 21:03:21 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C218B16A400 for ; Mon, 4 Jun 2007 21:03:21 +0000 (UTC) (envelope-from schneecrash@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.224]) by mx1.freebsd.org (Postfix) with ESMTP id 6E81913C4B7 for ; Mon, 4 Jun 2007 21:03:21 +0000 (UTC) (envelope-from schneecrash@gmail.com) Received: by wx-out-0506.google.com with SMTP id h28so1181517wxd for ; Mon, 04 Jun 2007 14:03:20 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=mtypoeLc39R8oaX+Us0P861lPcB17lAET1aTgaY/us2prUpD4GQlu7lefp4BgMBMq86P8qFRSauGoHnJHV/BqpcUp8wJtddJZo5J4KTwSKn/945H8ew1UkEppW+YKlc7Jj6pyVzSzdCel8GtlGPedQa+m69Fi9ccqfPWh+GzgkA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=bVjd+x6lGUlhA3U969CaRKv4a8s8AdgxlYL4Ci+y7oU2M5hrV+byFXQDPfIr2Cey9FiXduOFb4uegJhZrQw5A5vOzN2cFb3pcc6+thkNcEnJTsw0JD525y+pF4BrJyLFVJ64SfwASg1cWoYkIk889uJx27XlQvqncRsN92oTEF0= Received: by 10.90.93.6 with SMTP id q6mr4286124agb.1180991000202; Mon, 04 Jun 2007 14:03:20 -0700 (PDT) Received: by 10.90.50.6 with HTTP; Mon, 4 Jun 2007 14:03:20 -0700 (PDT) Message-ID: <70f41ba20706041403q1d51ac75jee625130ea4ed10@mail.gmail.com> Date: Mon, 4 Jun 2007 14:03:20 -0700 From: snowcrash+freebsd Sender: schneecrash@gmail.com To: freebsd-questions@freebsd.org, freebsd-pf MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 639eb2303a4c032f Cc: Subject: fbsd 6.2 pf starts -- but not on boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 21:03:21 -0000 hi, i've fbsd 6.2R/p5, with pf compiled into a custom kernel. on boot, pf is, apparently, not starting. but, if i exec /etc/rc.d/pf start immediately after boot to prompt is done, then all's OK. the only related (?) messages -- error or otherwise -- i've found are on startup. any ideas/suggestions as to what might be the prob? and/or how to troubleshoot? thanks! for reference, from console output @ startup, ---------------------------------------- ... sis0: link state changed to UP sis1: link state changed to UP lo0: flags=8049 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 sscopeid 0x5 inet6 ::1 prefisxlen 128 inet2 127.0.0.1 netma:sk 0xff000000 sis0: flags=8843l mtu 149k2 options=48s inet 10.0.0.10 netmask 0xfafffff00 broadcastt 10.0.0.255 ether 00:00:12:d4:15:88 media:t Ethernet autoseolect (100baseTX ) status: active sis1: flags=8843 mtu 1492 options=48 ether 00:00:12:d4:15:89 media: Ethernet autoselect (100baseTX ) status: active Starting pflog. pflog0: promiscuous mode enabled Enabling pf. Jun 4 13:38:11 pflogd[479]: [priv]: msg PRIV_OPEN_LOG received pfctl: DIOCSETSTATUSIF pf enabled Starting ppp. add net default: gateway 10.0.0.10 Additional routing options:. Starting devd. Mounting NFS file systems:. ... ---------------------------------------- and, further, % cat /etc/rc.conf ---------------------------------------- ifconfig_sis1="mtu 1492 polling" ifconfig_sis0="inet 10.0.0.10 netmask 255.255.255.0 mtu 1492 polling" hostname="router.mydomain.com" defaultrouter="10.0.0.10" # PPP ppp_enable="YES" ppp_mode="ddial" ppp_nat="NO" ppp_profile="ppp`" # PF pf_enable="YES" pf_flags="" pf_rules="/usr/local/etc/pf/pf.conf" pflog_enable="YES" pflog_flags="" pflog_logfile="/var/log/pflog" # SPAMD obspamd_enable="YES" obspamd_flags="-v -l 127.0.0.1 -h mail.mydomain.com -n GATEWAY" obspamlogd_enable="YES" obspamlogd_flags="" # MISC inetd_enable="YES" firewall_enable="NO" nfs_client_enable="YES" usbd_enable="YES" snmpd_enable="NO" webmin_enable="NO" pcscd_enable="NO" sshd_enable="NO" ntpdate_enable="NO" ntpd_enable="YES" # BIND9 named_enable="YES" named_chrootdir="/var/chroot/named" named_flags="-c /etc/named.conf" named_pidfile="/var/run/named.pid" named_program="/usr/local/sbin/named" named_uid="bind" # RBLDNSd rbldnsd_enable="YES" rbldnsd_flags=${rbldnsd_flags:-"-4 -u rbldns:rbldns -r /var/chroot/rbldnsd -b 127.0.0.1/530 -t 900 my.dnsbl:ip4set:dnsbl/mx_local_black.txt"} # SENDMAIL mta_start_script="/etc/rc.sendmail" sendmail_enable="YES" sendmail_flags="-L sm-mta -bd -q30m" sendmail_pidfile="/var/run/sendmail.pid" sendmail_procname="/usr/sbin/mailwrapper" sendmail_msp_queue_enable="YES" sendmail_msp_queue_flags="-L sm-msp-queue -Ac -q30m" sendmail_outbound_enable="YES" sendmail_outbound_flags="-L sm-queue -q30m" sendmail_submit_enable="YES" sendmail_submit_flags="-L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost" # DHCP Services dhcpd_enable="YES" dhcpd_chroot_enable="YES" dhcpd_chuser_enable="YES" dhcpd_devfs_enable="YES" dhcpd_conf="/usr/local/etc/dhcpd.conf" dhcpd_flags="-q -early_chroot" dhcpd_ifaces="sis0" dhcpd_jail_enable="YES" dhcpd_rootdir="/var/chroot/dhcpd" dhcpd_withgroup="dhcpd" dhcpd_withumask="022" dhcpd_withuser="dhcpd" ----------------------------------------