Re: Bug in ipfw und ip6fw oder bin ich total unfähig

From: Bernd Walter <ticso(at)cicely8.cicely.de>
Date: Mon, 6 Jan 2003 00:12:36 +0100

On Sun, Jan 05, 2003 at 11:41:36PM +0100, Matthias Fechner wrote:
> Hallo Bernd,
>
> * Bernd Walter <ticso(at)cicely8.cicely.de> [03-01-03 21:15]:
> > [473]cicely6# uname -a
> > FreeBSD cicely6.cicely.de 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sat Dec 28 15:50:23 CET 2002 ticso(at)cicely5.cicely.de:/var/d9/obj/var/d2/builder/FreeBSD-2002-12-27-cicely6/src/sys/CICELY6 i386
>
> So, hab jetzt auch mal upgedatet, aber ich habe immer noch Probleme.
> uname -a
> FreeBSD server.idefix.loc 5.0-RC FreeBSD 5.0-RC #0: Sun Jan 5 22:53:56 CET 2003 root(at)server.idefix.loc:/usr/src/sys/i386/compile/SERVER i386
>
> Was jetzt ziemlich kriminell ist, ich habe das Problem jetzt auch beim
> normalen ipfw(oder mir ist es jetzt erst aufgefallen - hab mich gleich
> mal ausgesperrt).

5.0 arbeitet default mit IPFW2 Syntax - die scheint weniger tolerabel zu
sein als die bisherige.
Wobei ich deine Zeilen aber problemlos eingeben kann.

> #!/bin/sh
> LOCALNET=192.168.0.0/24
> SERVER=192.168.1.1
>
> ipfw -f flush
> ipfw add pass all from any to any via lo0
> ipfw add pass all from 192.168.0.251 to $LOCALNET
> ipfw add pass all from $LOCALNET to 192.168.0.251
> [...]

Bist du sicher, das genau diese für die Fehlermeldung sorgen?
Im Zweifelsfall mal per sh -x /home/idefix/firewall.bsd/my-firewall
starten.

Sorry - ich bin da auch etwas ratlos.

-- 
B.Walter              COSMO-Project         http://www.cosmo-project.de
ticso(at)cicely.de         Usergroup           info(at)cosmo-project.de
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Mon 06 Jan 2003 - 00:12:44 CET

search this site