Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Oct 2001 00:40:32 -0400
From:      Nathan Mace <nmace85@yahoo.com>
To:        cjclark@alum.mit.edu
Cc:        kory@avatar.com, freebsd-questions@FreeBSD.ORG
Subject:   Re: more rc.conf troubles
Message-ID:  <20011004004032.501488e2.nmace85@yahoo.com>
In-Reply-To: <20011003205355.L8391@blossom.cjclark.org>
References:  <20011003204158.3b538dfd.nmace85@yahoo.com> <003501c14c6d$2919fdc0$14ce21c7@avatar.com> <20011003214710.318de708.nmace85@yahoo.com> <20011003205355.L8391@blossom.cjclark.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

--Multipart_Thu__4_Oct_2001_00:40:32_-0400_081c9200
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

ok i changed my /etc/rc.conf file to point at the ipfw.rules file...at
bootup it says that it loads the firewall rules ok...but it doesn't. 
and for some reason dmesg isn't showing all of my bootup info...when it
boots up alot of the text is in 'bold' but some of it isn't....dmesg
only prints out the bold part...so i can't tell you for sure what ipfw
is saying because i can't read that fast ;)

i've included my ipfw.rules file...for some reason i tend to thing the
problem is with it...i saw in the rc.firewall file that they kept using
$fwcmd in front of the rules....do i have to use that in my rules file? 
why?  what is it?  

thanks for your time....
nathan


On Wed, 3 Oct 2001 20:53:55 -0700
"Crist J. Clark" <cristjc@earthlink.net> wrote:

> On Wed, Oct 03, 2001 at 09:47:10PM -0400, Nathan Mace wrote:
> > On Wed, 3 Oct 2001 17:40:26 -0700
> > "Kory Hamzeh" <kory@avatar.com> wrote:
> > 
> > > Not sure. Do you have firewalls link in the kernel maybe?
> > 
> > 
> > i'm not sure what you mean...yes i did compile it into the
> kernel...i
> > guess that would be a good reason for it always starting huh?
> > 
> > but even then it doesn't explain why it doesn't add the rule that is
> in
> > the /root/ipfw.rules file??
> 
> If it's in the kernel, the firewall is just there, always.
> 
> There are two good reasons you are not getting your rules in after
> looking at your rc.conf(5). First,
> 
>   firewall_enable="NO"
> 
> The start up scripts will not try to load any rules. Second,
> 
>   firewall_script="/etc/rc.firewall"
>   firewall_type="/root/ipfw.rules"
> 
> You probably mean,
> 
>   firewall_script="/root/ipfw.rules"
> 
> -- 
> Crist J. Clark                           cjclark@alum.mit.edu
>                                          cjclark@jhu.edu
>                                          cjc@freebsd.org

--Multipart_Thu__4_Oct_2001_00:40:32_-0400_081c9200
Content-Type: application/octet-stream;
 name="rc.conf"
Content-Disposition: attachment;
 filename="rc.conf"
Content-Transfer-Encoding: base64

CiMgLS0gc3lzaW5zdGFsbCBnZW5lcmF0ZWQgZGVsdGFzIC0tICMKIyBDcmVhdGVkOiBUdWUgU2Vw
IDE4IDAwOjM1OjQxIDIwMDEKIyBFbmFibGUgbmV0d29yayBkYWVtb25zIGZvciB1c2VyIGNvbnZl
bmllbmNlLgojIFRoaXMgZmlsZSBub3cgY29udGFpbnMganVzdCB0aGUgb3ZlcnJpZGVzIGZyb20g
L2V0Yy9kZWZhdWx0cy9yYy5jb25mCiMgcGxlYXNlIG1ha2UgYWxsIGNoYW5nZXMgdG8gdGhpcyBm
aWxlLgpob3N0bmFtZT0iY2hlZWNoLnVjaGFzd3YuZWR1IgppZmNvbmZpZ194bDA9IkRIQ1AiCmlu
ZXRkX2VuYWJsZT0iWUVTIgprZXJuX3NlY3VyZWxldmVsX2VuYWJsZT0iTk8iCmxpbnV4X2VuYWJs
ZT0iWUVTIgptb3VzZWRfZW5hYmxlPSJZRVMiCnNhdmVyPSJmaXJlIgpzZW5kbWFpbF9lbmFibGU9
Ik5PIgpzc2hkX2VuYWJsZT0iWUVTIgp1c2JkX2VuYWJsZT0iWUVTIgojIC0tIHN5c2luc3RhbGwg
Z2VuZXJhdGVkIGRlbHRhcyAtLSAjCnNlbmRtYWlsX2VuYWJsZT0iTk8iCnBvcnRtYXBfZW5hYmxl
PSJOTyIKIyAtLSBzeXNpbnN0YWxsIGdlbmVyYXRlZCBkZWx0YXMgLS0gIwpkZWZhdWx0cm91dGVy
PSIxNzIuMTYuMTI5LjEyOSIKaG9zdG5hbWU9ImNoZWVjaC51Y2hhc3d2LmVkdSIKCgoKI2ZpcmV3
YWxsLS1pcGZ3CmZpcmV3YWxsX2VuYWJsZT0iWUVTIgpmaXJld2FsbF9zY3JpcHQ9Ii9yb290L2lw
ZncucnVsZXMiCmZpcmV3YWxsX3F1aWV0PSJOTyIKbG9nX2luX3ZhaW49IllFUyIKZmlyZXdhbGxf
bG9nZ2luZ19lbmFibGU9IllFUyIKaWNtcF9kcm9wX3JlZGlyZWN0PSJZRVMiCgoKCiMgLS0gc3lz
aW5zdGFsbCBnZW5lcmF0ZWQgZGVsdGFzIC0tICMKaWZjb25maWdfeGwwPSJpbmV0IDE3Mi4xNi4w
LjcgIG5ldG1hc2sgMjU1LjI1NS4wLjAiCmRlZmF1bHRyb3V0ZXI9IjE3Mi4xNi4xMjkuMTI5Igpo
b3N0bmFtZT0iY2hlZWNoLnVjaGFzd3YuZWR1Igo=

--Multipart_Thu__4_Oct_2001_00:40:32_-0400_081c9200
Content-Type: application/octet-stream;
 name="ipfw.rules"
Content-Disposition: attachment;
 filename="ipfw.rules"
Content-Transfer-Encoding: base64

NjU1MzQgYWxsb3cgaXAgZnJvbSBhbnkgdG8gYW55Cg==

--Multipart_Thu__4_Oct_2001_00:40:32_-0400_081c9200--

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011004004032.501488e2.nmace85>