From owner-freebsd-questions@FreeBSD.ORG Wed May 14 08:43:48 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 16591106566B for ; Wed, 14 May 2008 08:43:48 +0000 (UTC) (envelope-from cybersans@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.231]) by mx1.freebsd.org (Postfix) with ESMTP id DE4718FC1C for ; Wed, 14 May 2008 08:43:47 +0000 (UTC) (envelope-from cybersans@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so4853788rvf.43 for ; Wed, 14 May 2008 01:43:47 -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:to:subject:in-reply-to:mime-version:content-type:references; bh=yr+VOyWtcmL4jG6olJtFWmXN32UV3eHTnMozYoPGM8k=; b=ioWuALuhSi520s6cIjB8ks58tOmAjBu+VaCuJpYAesGhB2Su4gvFZPU57wXqbMW/chLaURHAVZo1uo1cu+IAHjPLdNz3Ny/GA/PAzGeIpztUWpXel0rNzq0Z+4fTJxSrjGGXgVvwkiODMDyubw8D4010+5/URqsfmKq47D9CXM4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=pGpHh7gYiyQv1NzTecOpXhit9Pmn1STLPDqNX3zUcvF5/X52kRIoOEHVw6ViaxxZtPHgsA/v30okSQjFKinhTx8CF27KjsctnUd4oMDrUTcyKBqknTlbPVkve1Rd/cQehZ3yZToRgVnSzussynN9yPCuFGKV3N8siN30Qw3D8Q0= Received: by 10.140.169.4 with SMTP id r4mr357813rve.131.1210754627453; Wed, 14 May 2008 01:43:47 -0700 (PDT) Received: by 10.141.84.20 with HTTP; Wed, 14 May 2008 01:43:47 -0700 (PDT) Message-ID: <15af975d0805140143n56a4a533i82246aecec2b4253@mail.gmail.com> Date: Wed, 14 May 2008 16:43:47 +0800 From: "CyberSans AirBort" To: "Doug Hardie" , freebsd-questions@freebsd.org In-Reply-To: <15af975d0805140140m588027f7xa77cabb997e2b5bc@mail.gmail.com> MIME-Version: 1.0 References: <15af975d0805131824i142a4847u852a6ad09f61e526@mail.gmail.com> <15af975d0805140140m588027f7xa77cabb997e2b5bc@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: problem on pf @ freebsd 7.0 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: Wed, 14 May 2008 08:43:48 -0000 forgot to cc'ed to freebsd-questions@freebsd.org On Wed, May 14, 2008 at 4:40 PM, CyberSans AirBort wrote: > kldstat only shows: > Id Refs Address Size Name > 1 7 0xc0400000 910b90 kernel > 2 1 0xc0d11000 6a32c acpi.ko > 3 1 0xc6c4f000 22000 linux.ko > > yes, i already put: > pf_load="YES" > pflog_load="YES" > pfsync_load="YES" > inside /boot/loader.conf > > and my previous message, i already compile the kernel with pf and put > appropriate line inside /etc/rc.conf > > and the pf still do not loading when freebsd 7.0 boot up. > > thank you > > > On Wed, May 14, 2008 at 2:28 PM, Doug Hardie wrote: > > > > > On May 13, 2008, at 18:24, CyberSans AirBort wrote: > > > > hello there. sorry if this similar question been asked before in this > > > forum. > > > > > > my problem is, i install freebsd 7.0 and after that compile the kernel > > > to > > > enable pf (using the same method like freebsd's handbook said): > > > > > > device pf > > > device pflog > > > device pfsync > > > > > > options ALTQ > > > options ALTQ_CBQ > > > options ALTQ_RED > > > options ALTQ_RIO > > > options ALTQ_HFSC > > > options ALTQ_CDNR > > > options ALTQ_PRIQ > > > options ALTQ_NOPCC > > > > > > and i put everything inside /etc/rc.conf > > > > > > pf_enable="YES" > > > pf_rules="/etc/pf.conf" > > > pf_flags="" > > > pflog_enable="YES" > > > pflog_logfile="/var/log/pflog" > > > pflog_flags="" > > > > > > and guess what? pf is not loading when startup. i have to manually > > > restarted > > > the pf using /etc/rc.d/pf restart > > > > > > is that a bug? i never have this kind of problem when using version > > > 5.* or > > > 6.* > > > > > > > Did you load the kernel extensions: pflog and pf? Use kldstat and make > > sure both of them appear. I had to add pflog_load="YES" to > > /boot/loader.conf to get it to work properly. > > > > > > > > >