RE: Dialup firewalling with FreeBSD

2003-10-21 Thread Aaron Burke
 Hello,
 I followed this doc to install my firewall. Upon reboot I get 
 about 12 lines
 more or less like this:
 
 ipfw: size mismatch (have 176 need..)
 It also says that dev tun0 doesn't exist.
Does the tun0 device exist after boot?
If so, I have faced a similar problem in the past. 

However, I did have some people at a SeaFUG (now SeaBUG) meeting
come up with a solution. I basically had to open the tun0 port
before ipfw got started. I can past in the examples if you need
them. (if you have tun0 after boot)

And allthough dmesg showed several errors, the firewall did work
as expected. I, perhaps like you, dont like looking at errors.

 
 How do I correct this.
Do you have pseudo-device tun in your kernel config file? Is
it remmed out?

I am not sure if GENERIC has it or not.

 TIA
 j
 hullATmonisys.ca


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dialup firewalling with FreeBSD

2003-10-18 Thread Giorgos Keramidas
On 2003-10-17 15:09, whole_r [EMAIL PROTECTED] wrote:
 Hello,
 I followed this doc to install my firewall. Upon reboot I get about 12 lines
 more or less like this:

 ipfw: size mismatch (have 176 need..)
 It also says that dev tun0 doesn't exist.

 How do I correct this.

If your kernel and userland in sync?  If not, try building world *and*
kernel from the same sources and installing both, as described in the
/usr/src/UPDATING file.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dialup firewalling with FreeBSD

2003-10-18 Thread Sergey 'DoubleF' Zaharchenko
On Fri, 17 Oct 2003 15:09:21 -0400 whole_r [EMAIL PROTECTED] probably wrote:

 Hello,
 I followed this doc to install my firewall. Upon reboot I get about 12 lines
 more or less like this:
 
 ipfw: size mismatch (have 176 need..)

Don't know about this, probably the ipfw program doesn't talk correctly
to the kernel, and you should rebuild (both or one of) your world and
kernel but

 It also says that dev tun0 doesn't exist.

This is correct and OK, since you don't have a connection established at
boot-time. After you have connected, the rule will get active just as
you expect.

-- 
DoubleF
Organic chemistry is the chemistry of carbon compounds.  Biochemistry
is the study of carbon compounds that crawl.
-- Mike Adams


pgp0.pgp
Description: PGP signature


RE: Dialup firewalling with FreeBSD

2003-10-18 Thread fbsd_user
Readers of this list do not have ESP to read your mind, so you have
to post details of your problem when asking for help.

What version of FBSD are you running? What kind of dial out modem?
Where you able to get connected to internet before activating IPFW?
IPFW will not work if your modem is not found at boot time.
Is your modem an winmodem? Post these files  ppp.log   ppp.conf
rc.conf   dmesg.boot

If you are using FBSD 5.x version  reinstall with 4.8 or 4.9 these
are the supported production versions. The 5.x versions is for
people who develop code changes to FBSD and is not intended for the
general user like you.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of whole_r
Sent: Friday, October 17, 2003 3:09 PM
To: [EMAIL PROTECTED]
Subject: Dialup firewalling with FreeBSD

Hello,
I followed this doc to install my firewall. Upon reboot I get about
12 lines
more or less like this:

ipfw: size mismatch (have 176 need..)
It also says that dev tun0 doesn't exist.

How do I correct this.
TIA
j
hullATmonisys.ca

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]