I have followed the instructions in the FreeBSD Handbook for implementing pf,
but when I run pfctl -e, I get:
pfctl: /dev/pf: No such file or directory".
I do an ls of /dev and sure enough, there's no pf device. I have googled for a
couple of days (!) and my fingers are about to fall off and
Hi Gavin,
Check your /etc/make.conf. I remember that you can disable it if
NO_PF=YES is not commented out. Also, I remember reading it somewhere
that pf requires 'device bpf' in the kernel (which you might want to
check for that too). I presume you used a copy of GENERIC kernel file
and comment
Hi Gavin,
Have you rebuilt world or is it a clean install? Update the src to
RELENG_6_2 patch 9 via cvs? If I remember correctly, a clean install
of 6.2-RELEASE from the cD should have the require pf device. You can
start using it by enabling in the rc.conf. (ALTQ will not be available
until yo
On Fri, Jan 25, 2008 at 11:45:00AM -0800, Gavin Spomer wrote:
> My mistake, I DO have pf.ko:
>
> # ls /boot/kernel/pf.ko
> -r-xr-xr-x 1 root wheel 184K Jan 25 09:33 kernel/pf.ko
>
>I was trying "ls /boot/kernel/pf" before. Now I'm wondering why I'm still
> getting "kldload: c
On Fri, Jan 25, 2008 at 02:18:40PM -0800, Gavin Spomer wrote:
> >>> Gary Palmer <[EMAIL PROTECTED]> 01/25/08 1:47 PM >>>
> ENOENT ("No such file or directory") can also mean that a symbol that the
> module requires cannot be found in the kernel. This can be many things,
> including a missing prere
>>> Gary Palmer <[EMAIL PROTECTED]> 01/25/08 1:47 PM >>>
On Fri, Jan 25, 2008 at 11:45:00AM -0800, Gavin Spomer wrote:
> My mistake, I DO have pf.ko:
> # ls /boot/kernel/pf.ko
> -r-xr-xr-x 1 root wheel 184K Jan 25 09:33 kernel/pf.ko
>I was trying "ls /boot/kernel/pf" before. Now
My mistake, I DO have pf.ko:
# ls /boot/kernel/pf.ko
-r-xr-xr-x 1 root wheel 184K Jan 25 09:33 kernel/pf.ko
I was trying "ls /boot/kernel/pf" before. Now I'm wondering why I'm still
getting "kldload: can't load pf.ko: No such file or
directory" when I run kldload.
Sigh,
>>> Jeremy Chadwick <[EMAIL PROTECTED]> 01/25/08 10:05 AM >>>
On Fri, Jan 25, 2008 at 09:54:19AM -0800, Gavin Spomer wrote:
> I followed your instructions to a "T" and then after I rebooted, I double
> checked everything to make sure I didn't do
>anything stupid. Still no /dev/pf. Running klds
I followed your instructions to a "T" and then after I rebooted, I double
checked everything to make sure I didn't do
anything stupid. Still no /dev/pf. Running kldstat still shows that pf.ko
didn't get loaded. Trying to load it via your
instructions (kldload -v pf) I get:
kldload: c
On Fri, Jan 25, 2008 at 08:51:48AM -0800, Gavin Spomer wrote:
>Okay, well it's obvious that the modules aren't getting loaded, even
> though (as I said in original email) I have the
>correct lines in /etc/rc.conf. I ran kldstat and only got:
>
> Id Refs AddressSize Name
>
Thanks Jeremy. See more below.
>>> Jeremy Chadwick <[EMAIL PROTECTED]> 01/25/08 8:12 AM >>>
On Fri, Jan 25, 2008 at 07:43:54AM -0800, Gavin Spomer wrote:
> I did it via the command line:
> make buildkernel KERNCONF=MACHINEHOSTNAME
> make installkernel KERNCONT=MACHINEHOSTNAME
Your
On Fri, Jan 25, 2008 at 07:43:54AM -0800, Gavin Spomer wrote:
>I only have 3 lines in my /etc/make.conf: a comment and 2 lines about what
> perl to use.
>Is NO_PF=YES the default if not specified?
NO_PF in /etc/make.conf (RELENG_6), or WITHOUT_PF in /etc/src.conf
(RELENG_7) will simply di
>>> Gary Palmer <[EMAIL PROTECTED]> 01/25/08 2:41 PM >>>
>Geez, I'm so embarrassed. This is the first time I've ever run dmesg. Lots
> of stuff in there; anything in particular I'm looking
>for? I see "link_elf: symbol altq_remove undefined" 6 times at the end.
> Before that I see "pid 34
On Fri, Jan 25, 2008 at 02:18:40PM -0800, Gavin Spomer wrote:
> >>> Gary Palmer <[EMAIL PROTECTED]> 01/25/08 1:47 PM >>>
> On Fri, Jan 25, 2008 at 11:45:00AM -0800, Gavin Spomer wrote:
> > My mistake, I DO have pf.ko:
> > # ls /boot/kernel/pf.ko
> > -r-xr-xr-x 1 root wheel 184K Jan
On Fri, Jan 25, 2008 at 09:54:19AM -0800, Gavin Spomer wrote:
> I followed your instructions to a "T" and then after I rebooted, I double
> checked everything to make sure I didn't do
>anything stupid. Still no /dev/pf. Running kldstat still shows that pf.ko
> didn't get loaded. Trying to loa
First of all, thanks! :)
>>> Tommy Pham <[EMAIL PROTECTED]> 01/24/08 5:17 PM >>>
Check your /etc/make.conf. I remember that you can disable it if
NO_PF=YES is not commented out.
I only have 3 lines in my /etc/make.conf: a comment and 2 lines about what
perl to use. Is NO_PF=YES the default
>>> Tommy Pham <[EMAIL PROTECTED]> 01/25/08 7:56 AM >>>
Hi Gavin,
Have you rebuilt world or is it a clean install? Update the src to
RELENG_6_2 patch 9 via cvs? If I remember correctly, a clean install
of 6.2-RELEASE from the cD should have the require pf device. You can
start using it by enablin
On Fri, Jan 25, 2008 at 08:59:19AM -0800, Gavin Spomer wrote:
> >>> Tommy Pham <[EMAIL PROTECTED]> 01/25/08 7:56 AM >>>
> Hi Gavin,
> Have you rebuilt world or is it a clean install? Update the src to
> RELENG_6_2 patch 9 via cvs? If I remember correctly, a clean install
> of 6.2-RELEASE from the
>>> Jeremy Chadwick <[EMAIL PROTECTED]> 01/25/08 2:39 PM >>>
> link_elf: symbol altq_remove undefined
> link_elf: symbol altq_remove undefined
> link_elf: symbol altq_remove undefined
> link_elf: symbol altq_remove undefined
> link_elf: symbol altq_remove undefined
> link_elf: symbol altq_remove un
Well, after a recommendation from our university network engineer, Chris, who
is a FreeBSD expert, I decided to look into the whole devfs thing. Although it
was new to me, a couple of quick glances at man pages and experiments produced
a /dev/pf for me. Now I have a firewall! :D Seems very stran
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gavin Spomer <[EMAIL PROTECTED]> wrote:
>
> Although it was new to me, a couple of quick glances at man pages and
> experiments produced a /dev/pf for me.
Can you tell us what it was that you changed? Someone else may need to
know, someday.
> One th
>>> David DeSimone <[EMAIL PROTECTED]> 01/28/08 3:50 PM >>>
Gavin Spomer <[EMAIL PROTECTED]> wrote:
>
> Although it was new to me, a couple of quick glances at man pages and
> experiments produced a /dev/pf for me.
Can you tell us what it was that you changed? Someone else may need to
know, someda
>>> Vadym Chepkov <[EMAIL PROTECTED]> 01/29/08 12:06 PM >>>
Gavin,
I have never had to do anything like this and nevertheless I have /dev/pf
I have pf compiled into the kernel, so I wouldn't blame it on "must be
module" either.
Could you send me, please, the following files, I would really like to
L config
- /etc/make.conf
- /etc/rc.conf
- /etc/fstab
- /boot/loader.conf
Thanks
Sincerely,
Vadym Chepkov
- Original Message -
From: "Gavin Spomer" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, January 29, 2008 12:23 PM
Subject: Re: How does /dev/pf get created?
David DeSimone &l
iginal Message -
From: "Gavin Spomer" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, January 29, 2008 4:05 PM
Subject: Re: How does /dev/pf get created?
>>> Vadym Chepkov <[EMAIL PROTECTED]> 01/29/08 12:06 PM >>>
Gavin,
I have never had to do anything like thi
aybe it is getting destroyed ?
Vadym
- Original Message -
From: "Gavin Spomer" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, January 29, 2008 4:05 PM
Subject: Re: How does /dev/pf get created?
Vadym Chepkov <[EMAIL PROTECTED]> 01/29/08 12:06 PM >>>
Gavin,
I ha
26 matches
Mail list logo